aboutsummaryrefslogtreecommitdiffstats
path: root/cc/library_headers.go
diff options
context:
space:
mode:
authorMartin Stjernholm <mast@google.com>2020-03-10 22:37:59 +0000
committerPaul Duffin <paulduffin@google.com>2020-05-06 08:17:10 +0100
commitfcb99e07fcef950541b6165ae1816df2c4d83efc (patch)
treea19017b67926aeac9c8b7734cc7327a8f4f30d50 /cc/library_headers.go
parent39978527ce84a4cc82651e9d12efec7a630dfef4 (diff)
downloadbuild_soong-fcb99e07fcef950541b6165ae1816df2c4d83efc.tar.gz
build_soong-fcb99e07fcef950541b6165ae1816df2c4d83efc.tar.bz2
build_soong-fcb99e07fcef950541b6165ae1816df2c4d83efc.zip
Add SDK member support for cc_object.
Test: m nothing Test: Add sdk { name: "runtime-module-sdk", native_shared_libs: [ "libc", "libdl", "libm", "ld-android", ], native_objects: [ "crtbegin_dynamic", "crtbegin_static", "crtend_android", ], } to bionic/apex/Android.bp. Then: build/soong/scripts/build-aml-prebuilts.sh runtime-module-sdk Take the generated runtime-module-sdk-current.zip and unzip into a master-art tree without bionic/, edit the generated Android.bp to extend cc_prebuilt_* modules with: nocrt: true, stl: "none", system_shared_libs: [], apex_available: ["//apex_available:anyapex"], recovery_available: true, vendor_available: true, ramdisk_available: true, Then "m com.android.art.debug". This passes Soong but fails in the build step because more members are required. Bug: 148934017 Merged-In: I2ab8f6aadb1440b325697cae4a8ed761c62d15d2 Change-Id: I2ab8f6aadb1440b325697cae4a8ed761c62d15d2 (cherry picked from commit cd07bce43756d5246e07d079a4a24040981f54ff)
Diffstat (limited to 'cc/library_headers.go')
-rw-r--r--cc/library_headers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/library_headers.go b/cc/library_headers.go
index 88cf7afd..b7ab3907 100644
--- a/cc/library_headers.go
+++ b/cc/library_headers.go
@@ -29,7 +29,7 @@ var headersLibrarySdkMemberType = &librarySdkMemberType{
SupportsSdk: true,
},
prebuiltModuleType: "cc_prebuilt_library_headers",
- linkTypes: nil,
+ noOutputFiles: true,
}
func RegisterLibraryHeadersBuildComponents(ctx android.RegistrationContext) {