aboutsummaryrefslogtreecommitdiff
path: root/cc/vndk_prebuilt.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2018-09-04 16:28:17 -0700
committerColin Cross <ccross@android.com>2018-09-10 23:12:12 -0700
commitb60190a4f8b1f1a3bfd8af702cea0c2f06f6831b (patch)
tree05225182066f8477a9a912320be32f8b016ca6be /cc/vndk_prebuilt.go
parentb496cfd9d238423afb165d6e4006f247c96bb7bc (diff)
downloadsoong-b60190a4f8b1f1a3bfd8af702cea0c2f06f6831b.tar.gz
Use soong_cc_prebuilt.mk instead of prebuilt.mk for Soong cc modules
Export Soong cc modules to Make using a new soong_cc_prebuilt.mk that bypasses all of prebuilt_internal.mk, dynamic_binary.mk and binary.mk. This also means that stripping is handled in Soong instead of Make. Relands If9008c50920779048480f5eeeb0084f26006c998 with fixes for mac builds. Bug: 113936524 Test: m checkbuild Change-Id: I9710ff57f0793f36eb889eabd08bd60a365a88dd
Diffstat (limited to 'cc/vndk_prebuilt.go')
-rw-r--r--cc/vndk_prebuilt.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/vndk_prebuilt.go b/cc/vndk_prebuilt.go
index 849bb3fb5..2d7274d03 100644
--- a/cc/vndk_prebuilt.go
+++ b/cc/vndk_prebuilt.go
@@ -149,6 +149,7 @@ func vndkPrebuiltSharedLibrary() *Module {
module.stl = nil
module.sanitize = nil
library.StripProperties.Strip.None = BoolPtr(true)
+ module.Properties.UseVndk = true
prebuilt := &vndkPrebuiltLibraryDecorator{
libraryDecorator: library,