diff options
author | 2021-09-02 11:46:24 +0200 | |
---|---|---|
committer | 2021-09-02 11:46:24 +0200 | |
commit | b838b0a14792b1bf04ca83278dfe865c3b0104dc (patch) | |
tree | 39316d9e301300fd9b0f724a6f1fa923c3f989af /android/package_test.go | |
parent | 7686708a43cc2a9f6e5289df6e6710e034f832e2 (diff) |
Do not modules in files called "Blueprints".
The only case for this was Blueprint itself at build/blueprint, but with
that being a part of Soong, this special case is not necessary anymore.
Test: Presubmits.
Change-Id: Icc51cd80bd43f936a97018061cfbf76fc385e4c3
Diffstat (limited to 'android/package_test.go')
-rw-r--r-- | android/package_test.go | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/android/package_test.go b/android/package_test.go index 3bd30cc93..7ea10a4da 100644 --- a/android/package_test.go +++ b/android/package_test.go @@ -13,7 +13,7 @@ var packageTests = []struct { { name: "package must not accept visibility and name properties", fs: map[string][]byte{ - "top/Blueprints": []byte(` + "top/Android.bp": []byte(` package { name: "package", visibility: ["//visibility:private"], @@ -21,21 +21,21 @@ var packageTests = []struct { }`), }, expectedErrors: []string{ - `top/Blueprints:5:14: unrecognized property "licenses"`, - `top/Blueprints:3:10: unrecognized property "name"`, - `top/Blueprints:4:16: unrecognized property "visibility"`, + `top/Android.bp:5:14: unrecognized property "licenses"`, + `top/Android.bp:3:10: unrecognized property "name"`, + `top/Android.bp:4:16: unrecognized property "visibility"`, }, }, { name: "multiple packages in separate directories", fs: map[string][]byte{ - "top/Blueprints": []byte(` + "top/Android.bp": []byte(` package { }`), - "other/Blueprints": []byte(` + "other/Android.bp": []byte(` package { }`), - "other/nested/Blueprints": []byte(` + "other/nested/Android.bp": []byte(` package { }`), }, @@ -43,7 +43,7 @@ var packageTests = []struct { { name: "package must not be specified more than once per package", fs: map[string][]byte{ - "top/Blueprints": []byte(` + "top/Android.bp": []byte(` package { default_visibility: ["//visibility:private"], default_applicable_licenses: ["license"], |