diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 04:54:47 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 04:54:47 +0000 |
commit | 2635f24cf1a39ef7a0710a1312ca6d8ae5f61680 (patch) | |
tree | cd1d5fb4e738cc8700bb37e4af4aa9ff2c8e528b | |
parent | 84c200062ded0cd92d9a7baa6bda84cacc7a30ab (diff) | |
parent | 0c7011fa73af62ba1ff8f5107e6b56ea8a2be8f1 (diff) | |
download | googletest-android14-mainline-mediaprovider-release.tar.gz |
Snap for 10453563 from 0c7011fa73af62ba1ff8f5107e6b56ea8a2be8f1 to mainline-mediaprovider-releaseaml_mpr_341614010aml_mpr_341511070aml_mpr_341411070aml_mpr_341313030aml_mpr_341111030aml_mpr_341111020aml_mpr_341015090aml_mpr_341015030aml_mpr_340919000android14-mainline-mediaprovider-release
Change-Id: Ib965b1a7bd8b41a28b1ab510e458dd009b228559
-rw-r--r-- | googlemock/Android.bp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/googlemock/Android.bp b/googlemock/Android.bp index 40473d43..77cf6501 100644 --- a/googlemock/Android.bp +++ b/googlemock/Android.bp @@ -34,6 +34,9 @@ cc_defaults { "-Wno-missing-field-initializers", "-Wno-sign-compare", "-Wno-unused-parameter", + // We need to generate exception tables, otherwise any users of this + // library that use testing::Throw will trigger undefined behaviour. + "-fexceptions", ], } @@ -87,6 +90,8 @@ cc_library_static { rtti: true, static_libs: ["libgtest"], vendor_available: true, + product_available: true, + native_bridge_supported: true, } cc_library_static { @@ -98,6 +103,8 @@ cc_library_static { srcs: ["src/gmock_main.cc"], static_libs: ["libgtest"], vendor_available: true, + product_available: true, + native_bridge_supported: true, } // Deprecated: use libgmock instead |