aboutsummaryrefslogtreecommitdiff
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-10 20:24:16 -0700
commit71c74607133b017c874340c0cce6892a14733b50 (patch)
tree7270f4ce257eea5b06fc2de39cd203cff6024548 /android
parent33055f641aebc332b3c68b50ef40ee2b8ed6b74b (diff)
downloadsoong-71c74607133b017c874340c0cce6892a14733b50.tar.gz
Expose TargetFSConfigGen to DeviceConfig from Make
Bug: 118089258 Test: m oemaids_header_gen oemaids_headers Change-Id: I2675822ae01af9bbec70f0c0413c047f36b5e024
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 0c9f95769..ed05c7267 100644
--- a/android/config.go
+++ b/android/config.go
@@ -1048,3 +1048,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 16d7b1384..666f29f81 100644
--- a/android/variable.go
+++ b/android/variable.go
@@ -287,6 +287,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 {