aboutsummaryrefslogtreecommitdiffstats
path: root/android
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2019-04-10 12:27:35 -0700
committerDan Willemsen <dwillemsen@google.com>2019-04-11 16:42:06 -0700
commit898efa15a1c0ed751f7795289f9be7d9a959386c (patch)
tree4de226178fe2ba5f694d5b6d268634e5af878fec /android
parentcdec2035fd3b76d78b3dc0f4318604ccbc45af70 (diff)
downloadbuild_soong-898efa15a1c0ed751f7795289f9be7d9a959386c.tar.gz
build_soong-898efa15a1c0ed751f7795289f9be7d9a959386c.tar.bz2
build_soong-898efa15a1c0ed751f7795289f9be7d9a959386c.zip
Expose TargetFSConfigGen to DeviceConfig from Make
Bug: 118089258 Test: m oemaids_header_gen oemaids_headers Change-Id: I2675822ae01af9bbec70f0c0413c047f36b5e024 Merged-In: I2675822ae01af9bbec70f0c0413c047f36b5e024 (cherry picked from commit 71c74607133b017c874340c0cce6892a14733b50)
Diffstat (limited to 'android')
-rw-r--r--android/config.go4
-rw-r--r--android/variable.go2
2 files changed, 6 insertions, 0 deletions
diff --git a/android/config.go b/android/config.go
index 2e0750b7..705b1e1d 100644
--- a/android/config.go
+++ b/android/config.go
@@ -1032,3 +1032,7 @@ func (c *config) ProductHiddenAPIStubsSystem() []string {
func (c *config) ProductHiddenAPIStubsTest() []string {
return c.productVariables.ProductHiddenAPIStubsTest
}
+
+func (c *deviceConfig) TargetFSConfigGen() *string {
+ return c.config.productVariables.TargetFSConfigGen
+}
diff --git a/android/variable.go b/android/variable.go
index 56ca666f..7daa9263 100644
--- a/android/variable.go
+++ b/android/variable.go
@@ -281,6 +281,8 @@ type productVariables struct {
ProductHiddenAPIStubs []string `json:",omitempty"`
ProductHiddenAPIStubsSystem []string `json:",omitempty"`
ProductHiddenAPIStubsTest []string `json:",omitempty"`
+
+ TargetFSConfigGen *string `json:",omitempty"`
}
func boolPtr(v bool) *bool {