summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 04:46:09 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 04:46:09 +0000
commit6d2cc89506f5c5e6c7687f95095c519d20920a53 (patch)
treea80cb0561fb5c030c36606ae90363b5ef9aed214
parentebe407a56196ae6cb821fdb02be951fca9aed3cb (diff)
parent3548fae93da01b9b99ff0a98bcad42df62aee1f0 (diff)
downloadlibcxx-aml_con_341410300.tar.gz
Snap for 10453563 from 3548fae93da01b9b99ff0a98bcad42df62aee1f0 to mainline-conscrypt-releaseaml_con_341614000aml_con_341511080aml_con_341410300aml_con_341310090aml_con_341110000android14-mainline-conscrypt-release
Change-Id: I665f704b9a0d9871cdd20c5ebf7bd38cb7ae151b
-rw-r--r--Android.bp35
1 files changed, 13 insertions, 22 deletions
diff --git a/Android.bp b/Android.bp
index 1ce1365ab..3451e7701 100644
--- a/Android.bp
+++ b/Android.bp
@@ -96,6 +96,10 @@ cc_library_static {
],
// being part of updatable apexes, this should work on older releases
min_sdk_version: "apex_inherit",
+ // sdk_version normally isn't needed as only the platform variant
+ // is used, except on riscv64 which doesn't have an NDK libc++ and
+ // reuses this module for sdk variants.
+ sdk_version: "current",
native_bridge_supported: true,
srcs: [
"src/algorithm.cpp",
@@ -161,6 +165,10 @@ cc_library_shared {
],
// being part of updatable apexes, this should work on older releases
min_sdk_version: "apex_inherit",
+ // sdk_version normally isn't needed as only the platform variant
+ // is used, except on riscv64 which doesn't have an NDK libc++ and
+ // reuses this module for sdk variants.
+ sdk_version: "current",
whole_static_libs: ["libc++_static"],
stl: "none",
@@ -168,6 +176,9 @@ cc_library_shared {
target: {
darwin: {
+ // TODO: LLD does not implement force_symbols_weak_list or
+ // force_symbols_not_weak_list. Opt out and keep using ld64.
+ use_clang_lld: false,
unexported_symbols_list: "lib/libc++unexp.exp",
force_symbols_not_weak_list: "lib/notweak.exp",
force_symbols_weak_list: "lib/weak.exp",
@@ -180,10 +191,6 @@ cc_library_shared {
enabled: true,
},
},
-
- header_abi_checker: {
- diff_flags: ["-allow-adding-removing-weak-symbols"],
- },
}
cc_library_static {
@@ -205,7 +212,7 @@ cc_library_static {
"//apex_available:platform",
"com.android.art",
"com.android.art.debug",
- "com.android.bluetooth",
+ "com.android.btservices",
],
// being part of updatable apexes, this should work on older releases
min_sdk_version: "apex_inherit",
@@ -241,6 +248,7 @@ cc_binary {
"-fsized-deallocation",
"-fexceptions",
"-fcoroutines-ts",
+ "-Wno-deprecated-experimental-coroutine",
"-Wno-format-zero-length",
"-Wno-implicit-fallthrough",
"-Wno-non-virtual-dtor",
@@ -283,23 +291,6 @@ cc_binary {
cpp_std: "c++17",
}
-python_test {
- name: "filesystem_dynamic_test_helper.py",
- main: "test/support/filesystem_dynamic_test_helper.py",
- srcs: [
- "test/support/filesystem_dynamic_test_helper.py",
- ],
- version: {
- py2: {
- enabled: true,
- embedded_launcher: true,
- },
- py3: {
- enabled: false,
- },
- },
-}
-
// Export libc++ headers for inclusion in the musl sysroot.
genrule {
name: "libc_musl_sysroot_libc++_headers",