diff options
author | Dario Freni <dariofreni@google.com> | 2018-05-29 13:28:54 +0100 |
---|---|---|
committer | Dario Freni <dariofreni@google.com> | 2018-07-19 14:04:30 +0100 |
commit | fd05a74e06686ca9fecff162531f0dac99006a8a (patch) | |
tree | 572ae985b80c4f3a6d4c5188037c1f8e604e9d57 /android/androidmk.go | |
parent | 23be383843c4cfaeb863e6725752c953c74f035b (diff) | |
download | build_soong-fd05a74e06686ca9fecff162531f0dac99006a8a.tar.gz build_soong-fd05a74e06686ca9fecff162531f0dac99006a8a.tar.bz2 build_soong-fd05a74e06686ca9fecff162531f0dac99006a8a.zip |
Add support for /product-services partition
This is an adaptation of Icc4f8c16bc389fe20db680849f311d02df1299c3, to
support modules that are installed on the /product-services partition.
Bug: 80741439
Test: m -j both with and without enabling the new partition
Change-Id: I72b335ad38baff5848cd3da7489343f8cf98ff16
Diffstat (limited to 'android/androidmk.go')
-rw-r--r-- | android/androidmk.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/android/androidmk.go b/android/androidmk.go index a24d7bc2..9f711bf5 100644 --- a/android/androidmk.go +++ b/android/androidmk.go @@ -242,6 +242,9 @@ func translateAndroidMkModule(ctx SingletonContext, w io.Writer, mod blueprint.M if Bool(amod.commonProperties.Product_specific) { fmt.Fprintln(&data.preamble, "LOCAL_PRODUCT_MODULE := true") } + if Bool(amod.commonProperties.ProductServices_specific) { + fmt.Fprintln(&data.preamble, "LOCAL_PRODUCT_SERVICES_MODULE := true") + } if amod.commonProperties.Owner != nil { fmt.Fprintln(&data.preamble, "LOCAL_MODULE_OWNER :=", *amod.commonProperties.Owner) } |