diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-12-13 00:07:01 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-12-13 00:07:01 +0000 |
commit | d3eb409207e115913ca857370ec3f57b0176bcc0 (patch) | |
tree | 16765b6280082dc0b023adec56c46e6ebb418999 /build/config/android/BUILD.gn | |
parent | 613d0296f2046c72066f26bb60fc8fda2addd45f (diff) | |
parent | 5d6766f0e0e4382d8cd4d0376232d344e40970b6 (diff) | |
download | angle-d3eb409207e115913ca857370ec3f57b0176bcc0.tar.gz |
Snap for 11211173 from 5d6766f0e0e4382d8cd4d0376232d344e40970b6 to 24Q1-releaseandroid-14.0.0_r37android-14.0.0_r36android-14.0.0_r35android-14.0.0_r34android-14.0.0_r33android-14.0.0_r32android-14.0.0_r31android-14.0.0_r30android-14.0.0_r29android14-qpr2-s5-releaseandroid14-qpr2-s4-releaseandroid14-qpr2-s3-releaseandroid14-qpr2-s2-releaseandroid14-qpr2-s1-releaseandroid14-qpr2-release
Change-Id: Id5855d5fd079a29ecbd0c367f5bf73f6e0f16ee7
Diffstat (limited to 'build/config/android/BUILD.gn')
-rw-r--r-- | build/config/android/BUILD.gn | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/build/config/android/BUILD.gn b/build/config/android/BUILD.gn index 697d598f0b..6705999966 100644 --- a/build/config/android/BUILD.gn +++ b/build/config/android/BUILD.gn @@ -82,6 +82,20 @@ config("compiler") { # that is Android-only. Please see that target for advice on what should go in # :runtime_library vs. :compiler. config("runtime_library") { + libs = [] + ldflags = [] + + # On 64-bit platforms, the only symbols provided by libandroid_support.a are + # strto{d,f,l,ul}_l. These symbols are not used by our libc++, and newer NDKs + # don't provide a libandroid_support.a on 64-bit platforms, so we only depend + # on this library on 32-bit platforms. + if (current_cpu == "arm" || current_cpu == "x86") { + libs += [ "android_support" ] + } + + if (current_cpu == "arm" && arm_version == 6) { + libs += [ "atomic" ] + } } config("hide_all_but_jni_onload") { |