diff options
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | 2023-09-13 01:21:12 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2023-09-13 01:21:12 +0000 |
commit | 3278dc27230ddd87d7c23592473b37f3e4cc0cb4 (patch) | |
tree | 99c4f4152e2d43d097b68c0115e3e5c6c7ca14af | |
parent | d233f327dabb2afa3c76d908e1e3d00c06149d16 (diff) | |
parent | 63e2c5671e9901fcd021912c2ddfc4343491b6f0 (diff) | |
download | ndk-3278dc27230ddd87d7c23592473b37f3e4cc0cb4.tar.gz |
Merge "Create a soong module for ndk_system STL headers" into main am: 63e2c5671e
Original change: https://android-review.googlesource.com/c/platform/prebuilts/ndk/+/2744135
Change-Id: Ia48c843684232517ec0f506fc4230eac72c7f5cd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | Android.bp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp index 9b8550ee3..3c228674a 100644 --- a/Android.bp +++ b/Android.bp @@ -75,3 +75,18 @@ cc_library_static { sdk_version: "minimum", export_include_dirs: ["current/sources/android/cpufeatures"], } + +// A module that encapsulates the header files of NDK System STL +cc_library_headers { + name: "ndk_system", + sdk_version: "minimum", + sdk_variant_only: true, + stl: "none", + export_system_include_dirs: ["current/sources/cxx-stl/system/include"], + // the headers are available to both the platform and anyapex. + // this availability is required to compile jni deps of any android_app in these api domains. + apex_available: [ + "//apex_available:anyapex", + "//apex_available:platform", + ], +} |