aboutsummaryrefslogtreecommitdiff
path: root/cc/vndk_prebuilt.go
diff options
context:
space:
mode:
authorInseob Kim <inseob@google.com>2020-06-01 23:23:05 +0900
committerInseob Kim <inseob@google.com>2020-06-05 04:26:17 +0000
commit1042d29705429de6e93cb7bce6c5d86f76ec60c0 (patch)
tree17116f90e72635848392634577a25b49f09ea560 /cc/vndk_prebuilt.go
parent7f283f4bd0b5e0bdbde09ed117fbc70b6cee2d8f (diff)
downloadsoong-1042d29705429de6e93cb7bce6c5d86f76ec60c0.tar.gz
Implement cc_object vendor snapshot
cc_object modules are also necessary for vendor snapshot. Bug: 157106227 Test: m vendor-snapshot Change-Id: Idf4fd37a26f6f712f3cbab43133622f9f9bd9372 Merged-In: Idf4fd37a26f6f712f3cbab43133622f9f9bd9372 (cherry picked from commit 502679e0619ca0266d33ff0665217f97f15d2cdc)
Diffstat (limited to 'cc/vndk_prebuilt.go')
-rw-r--r--cc/vndk_prebuilt.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cc/vndk_prebuilt.go b/cc/vndk_prebuilt.go
index 53b518186..5a44c4663 100644
--- a/cc/vndk_prebuilt.go
+++ b/cc/vndk_prebuilt.go
@@ -186,6 +186,10 @@ func (p *vndkPrebuiltLibraryDecorator) nativeCoverage() bool {
return false
}
+func (p *vndkPrebuiltLibraryDecorator) isSnapshotPrebuilt() bool {
+ return true
+}
+
func (p *vndkPrebuiltLibraryDecorator) install(ctx ModuleContext, file android.Path) {
arches := ctx.DeviceConfig().Arches()
if len(arches) == 0 || arches[0].ArchType.String() != p.arch() {