summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 05:23:43 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 05:23:43 +0000
commit620dd01b895e4ba6a204de8ebac734dc7a9cd18d (patch)
tree50e8e783a2c0cbce888ea828654d50e89603c5e7
parent4f53714813fb01ac3f5b46c541dec6fbbab424c1 (diff)
parent2b138a48dfc67ca57d88b7a16eefd4d37ede25ba (diff)
downloadgtest_extras-android14-mainline-uwb-release.tar.gz
Change-Id: I222af36fbd388a0352855001666d333be262e9fc
-rw-r--r--Android.bp14
1 files changed, 14 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index ef855f2..c156e28 100644
--- a/Android.bp
+++ b/Android.bp
@@ -16,8 +16,16 @@ package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
+cc_defaults {
+ name: "libgtest_isolated_defaults",
+ vendor_available: true,
+ product_available: true,
+ native_bridge_supported: true
+}
+
cc_library_static {
name: "libgtest_isolated",
+ defaults: ["libgtest_isolated_defaults"],
host_supported: true,
cflags: ["-Wall", "-Werror", "-Wextra", "-Wconversion"],
export_include_dirs: ["include"],
@@ -44,6 +52,7 @@ cc_library_static {
cc_library_static {
name: "libgtest_isolated_main",
+ defaults: ["libgtest_isolated_defaults"],
host_supported: true,
cflags: ["-Wall", "-Werror", "-Wextra"],
srcs: [
@@ -63,7 +72,12 @@ cc_library_static {
cc_test {
name: "gtest_isolated_tests",
+ defaults: ["libgtest_isolated_defaults"],
host_supported: true,
+ tidy_timeout_srcs: [
+ "tests/OptionsTest.cpp",
+ "tests/SystemTests.cpp",
+ ],
srcs: [
"tests/OptionsTest.cpp",
"tests/SystemTests.cpp",