diff options
author | 2021-01-06 18:08:07 +0000 | |
---|---|---|
committer | 2021-01-06 18:08:07 +0000 | |
commit | 659f11fcfcc55f97b5d6ca6e75668fecbeaa01c3 (patch) | |
tree | 114ba80c3c6fa81ee49de3c25df1da1b054d6730 /android/defaults.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/defaults.go')
-rw-r--r-- | android/defaults.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/android/defaults.go b/android/defaults.go index 44753ce22..aacfbacc6 100644 --- a/android/defaults.go +++ b/android/defaults.go @@ -204,6 +204,9 @@ func InitDefaultsModule(module DefaultsModule) { // its checking phase and parsing phase so add it to the list as a normal property. AddVisibilityProperty(module, "visibility", &commonProperties.Visibility) + // The applicable licenses property for defaults is 'licenses'. + setPrimaryLicensesProperty(module, "licenses", &commonProperties.Licenses) + base.module = module } |