diff options
| author | 2017-11-17 12:10:28 +0900 | |
|---|---|---|
| committer | 2017-12-05 10:19:43 +0900 | |
| commit | 7154928c93e062775c1d3885ed59a5b61c48e168 (patch) | |
| tree | 0047694a146398263efaf491dbbfcfbd7197fc9d /android/variable.go | |
| parent | 5760c9a12c0660c8639d11d770236bea7a900b1a (diff) | |
Install VNDK snapshot libraries for system build
When BOARD_VNDK_VERSION := <VNDK version>, or
PRODUCT_EXTRA_VNDK_VERSIONS includes the needed <VNDK version> list,
the prebuilt VNDK libs in prebuilts/vndk/ directory will be
installed.
Each prebuilt VNDK module uses "vndk_prebuilt_shared" for shared
VNDK/VNDK-SP libs.
Following is the sample configuration of a vndk snapshot module:
vndk_prebuilt_shared {
name: "libfoo",
version: "27",
vendor_available: true,
vndk: {
enabled: true,
},
arch: {
arm64: {
srcs: ["arm/lib64/libfoo.so"],
},
arm: {
srcs: ["arm/lib/libfoo.so"],
},
},
}
The Android.bp for the snapshot modules will be auto-generated by a
script.
Bug: 38304393
Bug: 65377115
Bug: 68123344
Test: set BOARD_VNDK_VERSION := 27
copy a snapshot for v27
build with make command
Change-Id: Ib93107530dbabb4a24583f4d6e4f0c513c9adfec
Diffstat (limited to 'android/variable.go')
| -rw-r--r-- | android/variable.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/android/variable.go b/android/variable.go index e8d5c69bb..a3920a1cb 100644 --- a/android/variable.go +++ b/android/variable.go @@ -192,6 +192,8 @@ type productVariables struct { DeviceKernelHeaders []string `json:",omitempty"` DistDir *string `json:",omitempty"` + + ExtraVndkVersions []string `json:",omitempty"` } func boolPtr(v bool) *bool { |