Revert "Revert "Make some common properties overridden when used in defaults modules""
This reverts commit 5c3c768187
.
This reapplies I70e45caa92f65dc6a3bc81ae33a5a8f34ad11890 along with
additional changes in other projects to match the new types.
Bug: 68337468
Test: m checkbuild
Change-Id: I2d2d876b291869f834a6468d3e2ad99148f94a15
This commit is contained in:
@@ -231,10 +231,10 @@ func translateAndroidMkModule(ctx blueprint.SingletonContext, w io.Writer, mod b
|
||||
if len(amod.commonProperties.Init_rc) > 0 {
|
||||
fmt.Fprintln(&data.preamble, "LOCAL_INIT_RC := ", strings.Join(amod.commonProperties.Init_rc, " "))
|
||||
}
|
||||
if amod.commonProperties.Proprietary {
|
||||
if Bool(amod.commonProperties.Proprietary) {
|
||||
fmt.Fprintln(&data.preamble, "LOCAL_PROPRIETARY_MODULE := true")
|
||||
}
|
||||
if amod.commonProperties.Vendor {
|
||||
if Bool(amod.commonProperties.Vendor) {
|
||||
fmt.Fprintln(&data.preamble, "LOCAL_VENDOR_MODULE := true")
|
||||
}
|
||||
if amod.commonProperties.Owner != nil {
|
||||
|
Reference in New Issue
Block a user