summaryrefslogtreecommitdiff
path: root/android/variable.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2017-05-25 10:18:24 -0700
committer Colin Cross <ccross@android.com> 2017-05-25 10:18:24 -0700
commitdab550d68b06b3fd91c0425826adc262b7cde595 (patch)
treed2e9344f60c7073f25fa7c1f588dae074395d6ff /android/variable.go
parenta9ec71f54f41c6261909525030a44d34a8cff479 (diff)
Add pdk product variable
The pdk product variable will be set by make when TARGET_BUILD_PDK is set, and can be used to disable modules that won't build in the PDK. Test: builds Bug: 62086238 Change-Id: I2191a57b9b06680fd741308e7464275a89773530
Diffstat (limited to 'android/variable.go')
-rw-r--r--android/variable.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/android/variable.go b/android/variable.go
index 666d72947..05f50b5e7 100644
--- a/android/variable.go
+++ b/android/variable.go
@@ -138,6 +138,7 @@ type productVariables struct {
EnableCFI *bool `json:",omitempty"`
Device_uses_hwc2 *bool `json:",omitempty"`
Treble *bool `json:",omitempty"`
+ Pdk *bool `json:",omitempty"`
VendorPath *string `json:",omitempty"`