summaryrefslogtreecommitdiff
path: root/android/variable.go
diff options
context:
space:
mode:
author Justin Yun <justinyun@google.com> 2019-11-18 19:52:14 +0900
committer Justin Yun <justinyun@google.com> 2019-12-20 17:56:08 +0900
commit5f7f7e8a39e45822a17aefe9251be684b8550b2f (patch)
tree1da4c9e9813fcf5b7d096a01678b270f1662c35b /android/variable.go
parent120d73fe4fdfe463b5bacc413912c0b9ad2536a1 (diff)
Create product variant for product partition
When PRODUCT_PRODUCT_VNDK_VERSION is set to 'current', product modules are enforced to use only VNDK libs from the system partition as BOARD_VNDK_VERSION does to vendor partition. Modules with 'vendor_available: true' create product variant as well as core and vendor variants. The product variant as an image variant is used for the modules in /product or /system/product. It must not affect the current build behavior without PRODUCT_PRODUCT_VNDK_VERSION set. Bug: 134099726 Bug: 138966004 Bug: 144534640 Test: build without PRODUCT_PRODUCT_VNDK_VERSION set Change-Id: I4d3585c110d84493e45bf76d550dc240bb26137f
Diffstat (limited to 'android/variable.go')
-rw-r--r--android/variable.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/android/variable.go b/android/variable.go
index 628408eac..9647c7a27 100644
--- a/android/variable.go
+++ b/android/variable.go
@@ -306,6 +306,8 @@ type productVariables struct {
ProductPrivateSepolicyDirs []string `json:",omitempty"`
ProductCompatibleProperty *bool `json:",omitempty"`
+ ProductVndkVersion *string `json:",omitempty"`
+
TargetFSConfigGen []string `json:",omitempty"`
MissingUsesLibraries []string `json:",omitempty"`