Merge "Clean up package names."
This commit is contained in:
commit
3eb2312db6
|
@ -505,6 +505,8 @@ func (a *AndroidMkEntries) fillInEntries(ctx fillInEntriesContext, mod blueprint
|
|||
// TODO(b/151177513): Does this code need to set LOCAL_MODULE_IS_CONTAINER ?
|
||||
if amod.commonProperties.Effective_package_name != nil {
|
||||
a.SetString("LOCAL_LICENSE_PACKAGE_NAME", *amod.commonProperties.Effective_package_name)
|
||||
} else if len(amod.commonProperties.Effective_licenses) > 0 {
|
||||
a.SetString("LOCAL_LICENSE_PACKAGE_NAME", strings.Join(amod.commonProperties.Effective_licenses, " "))
|
||||
}
|
||||
a.SetString("LOCAL_MODULE_CLASS", a.Class)
|
||||
a.SetString("LOCAL_PREBUILT_MODULE_FILE", a.OutputFile.String())
|
||||
|
|
|
@ -20,6 +20,7 @@ package {
|
|||
|
||||
license {
|
||||
name: "Android-Apache-2.0",
|
||||
package_name: "Android",
|
||||
license_kinds: ["SPDX-license-identifier-Apache-2.0"],
|
||||
copyright_notice: "Copyright (C) The Android Open Source Project",
|
||||
license_text: ["LICENSE"],
|
||||
|
|
Loading…
Reference in New Issue