aboutsummaryrefslogtreecommitdiffstats
path: root/android/module.go
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2017-07-18 19:42:09 -0700
committerDan Willemsen <dwillemsen@google.com>2017-07-18 19:42:09 -0700
commitefac4a87ee8e0160c4b5f41326db4fa35066cf23 (patch)
tree41fc6b7db92115ee4a1de4bd3ff9b28662073a56 /android/module.go
parent3c8ba15bdd3b50b7c9d765b5c17a49a33948db97 (diff)
downloadbuild_soong-efac4a87ee8e0160c4b5f41326db4fa35066cf23.tar.gz
build_soong-efac4a87ee8e0160c4b5f41326db4fa35066cf23.tar.bz2
build_soong-efac4a87ee8e0160c4b5f41326db4fa35066cf23.zip
Switch `owner` to *string to disable concat
If owner is specified in a defaults module, we shouldn't concat that with the owner specified in a module using that defaults module. A string pointer will produce the correct behavior (overriding the default) Bug: 37330627 Test: out/soong/Android-*.mk looks correct after this change Change-Id: I64574e2ba81c11b042248d7a44702ec4534ee932
Diffstat (limited to 'android/module.go')
-rw-r--r--android/module.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/module.go b/android/module.go
index fcb5aeef..3a3d1735 100644
--- a/android/module.go
+++ b/android/module.go
@@ -147,7 +147,7 @@ type commonProperties struct {
Proprietary bool
// vendor who owns this module
- Owner string
+ Owner *string
// whether this module is device specific and should be installed into /vendor
Vendor bool