aboutsummaryrefslogtreecommitdiffstats
path: root/Android.bp
diff options
context:
space:
mode:
authorInseob Kim <inseob@google.com>2019-11-15 09:59:12 +0900
committerInseob Kim <inseob@google.com>2020-02-07 02:58:29 +0900
commit8471cdaced6a8c240ec9908916c567ef9c0dac5b (patch)
treec97aee6184513f14425503478da2900f51e6510b /Android.bp
parent9acd7c3d36ae2066327bce9d91c3722f3952dc9d (diff)
downloadbuild_soong-8471cdaced6a8c240ec9908916c567ef9c0dac5b.tar.gz
build_soong-8471cdaced6a8c240ec9908916c567ef9c0dac5b.tar.bz2
build_soong-8471cdaced6a8c240ec9908916c567ef9c0dac5b.zip
Implement vendor snapshot
Vendor snapshot can be captured with "m dist vendor-snapshot". With vendor snapshot and vndk snapshot, older version of /vendor and newer version of /system will be able to be built together by setting BOARD_VNDK_VERSION to past vendor's version. Only vendor modules under AOSP are to be captured. In detail, modules under following directories are ignored: - device/ - vendor/ - hardware/, except for interfaces/, libhardware/, libhardware_legacy/, and ril/ Test modules (cc_test, etc.) and sanitized modules are also ignored. Bug: 65377115 Test: m dist vendor-snapshot Change-Id: If7a2f6de7f36deee936930c0ccf7c47c4a0cebf6
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 9b55c8c7..cb2f773a 100644
--- a/Android.bp
+++ b/Android.bp
@@ -186,11 +186,13 @@ bootstrap_go_package {
"cc/rs.go",
"cc/sanitize.go",
"cc/sabi.go",
+ "cc/snapshot_utils.go",
"cc/stl.go",
"cc/strip.go",
"cc/sysprop.go",
"cc/tidy.go",
"cc/util.go",
+ "cc/vendor_snapshot.go",
"cc/vndk.go",
"cc/vndk_prebuilt.go",
"cc/xom.go",