diff options
author | 2021-01-06 18:08:07 +0000 | |
---|---|---|
committer | 2021-01-06 18:08:07 +0000 | |
commit | 659f11fcfcc55f97b5d6ca6e75668fecbeaa01c3 (patch) | |
tree | 114ba80c3c6fa81ee49de3c25df1da1b054d6730 /android/package_test.go | |
parent | 5542859c312bac47097a116d5d439727fefa24a1 (diff) | |
parent | 13351b2c7d181f6d100001e86ca3faa6cabb92eb (diff) |
Merge changes from topic "metalics"
* changes:
Define the standard license_kind rules.
Export soong license data to make.
Add ability to declare licenses in soong.
Diffstat (limited to 'android/package_test.go')
-rw-r--r-- | android/package_test.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/android/package_test.go b/android/package_test.go index ade95d42d..99be13ffa 100644 --- a/android/package_test.go +++ b/android/package_test.go @@ -17,9 +17,11 @@ var packageTests = []struct { package { name: "package", visibility: ["//visibility:private"], + licenses: ["license"], }`), }, expectedErrors: []string{ + `top/Blueprints:5:14: unrecognized property "licenses"`, `top/Blueprints:3:10: unrecognized property "name"`, `top/Blueprints:4:16: unrecognized property "visibility"`, }, @@ -44,9 +46,10 @@ var packageTests = []struct { "top/Blueprints": []byte(` package { default_visibility: ["//visibility:private"], + default_applicable_licenses: ["license"], } - package { + package { }`), }, expectedErrors: []string{ |