Minimal license feature.

Keeps license declarations from breaking the build without implementing
the full feature.

Test: m all

Bug: 181768532

Change-Id: Ic78672cd25da13aa9078a48b06446f66780c792d
Merged-in: Ic78672cd25da13aa9078a48b06446f66780c792d
Merged-in: If3fbc157c6ffed8e3ee4bdd9aa56fabe2c24444b
Merged-in: Ie7e1695ecb8cd943124426a0cad2c0d1db2b46ed
This commit is contained in:
Bob Badour
2021-03-15 20:00:01 -07:00
parent 807a8f9142
commit 58d85b87bc
7 changed files with 430 additions and 0 deletions

View File

@@ -208,6 +208,9 @@ type commonProperties struct {
// emit build rules for this module
Enabled *bool `android:"arch_variant"`
// Names of the licenses that apply to this module.
Licenses []string
// control whether this module compiles for 32-bit, 64-bit, or both. Possible values
// are "32" (compile for 32-bit only), "64" (compile for 64-bit only), "both" (compile for both
// architectures), or "first" (compile for 64-bit on a 64-bit platform, and 32-bit on a 32-bit