Merge "Switch owner
to *string to disable concat"
This commit is contained in:
@@ -246,8 +246,8 @@ func translateAndroidMkModule(ctx blueprint.SingletonContext, w io.Writer, mod b
|
|||||||
if amod.commonProperties.Vendor {
|
if amod.commonProperties.Vendor {
|
||||||
fmt.Fprintln(w, "LOCAL_VENDOR_MODULE := true")
|
fmt.Fprintln(w, "LOCAL_VENDOR_MODULE := true")
|
||||||
}
|
}
|
||||||
if amod.commonProperties.Owner != "" {
|
if amod.commonProperties.Owner != nil {
|
||||||
fmt.Fprintln(w, "LOCAL_MODULE_OWNER :=", amod.commonProperties.Owner)
|
fmt.Fprintln(w, "LOCAL_MODULE_OWNER :=", *amod.commonProperties.Owner)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -147,7 +147,7 @@ type commonProperties struct {
|
|||||||
Proprietary bool
|
Proprietary bool
|
||||||
|
|
||||||
// vendor who owns this module
|
// vendor who owns this module
|
||||||
Owner string
|
Owner *string
|
||||||
|
|
||||||
// whether this module is device specific and should be installed into /vendor
|
// whether this module is device specific and should be installed into /vendor
|
||||||
Vendor bool
|
Vendor bool
|
||||||
|
Reference in New Issue
Block a user