summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-10-03 05:03:02 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-10-03 05:03:02 +0200
commit669f6ce416e2b8c27dcef22146c3aa4e7f1723ae (patch)
treeb67d51b05b5aaec2df34dbea24bfeaff7b9192c6
parentSnap for 5039702 from 9dd3fa8064bb56caca36fe6c6fdb634c374b8ecc to qt-release (diff)
parentMerge "Reland: "recovery_test_component: Add libbinderthreadstate as static dependency."" am: f89067ab97 am: 6ab02efb27 (diff)
downloadandroid_bootable_recovery-669f6ce416e2b8c27dcef22146c3aa4e7f1723ae.tar
android_bootable_recovery-669f6ce416e2b8c27dcef22146c3aa4e7f1723ae.tar.gz
android_bootable_recovery-669f6ce416e2b8c27dcef22146c3aa4e7f1723ae.tar.bz2
android_bootable_recovery-669f6ce416e2b8c27dcef22146c3aa4e7f1723ae.tar.lz
android_bootable_recovery-669f6ce416e2b8c27dcef22146c3aa4e7f1723ae.tar.xz
android_bootable_recovery-669f6ce416e2b8c27dcef22146c3aa4e7f1723ae.tar.zst
android_bootable_recovery-669f6ce416e2b8c27dcef22146c3aa4e7f1723ae.zip
-rw-r--r--minadbd/Android.bp2
-rw-r--r--tests/Android.bp14
2 files changed, 7 insertions, 9 deletions
diff --git a/minadbd/Android.bp b/minadbd/Android.bp
index 00244ee7e..370232b3f 100644
--- a/minadbd/Android.bp
+++ b/minadbd/Android.bp
@@ -52,6 +52,7 @@ cc_library {
cc_test {
name: "minadbd_test",
+ isolated: true,
defaults: [
"minadbd_defaults",
@@ -64,7 +65,6 @@ cc_test {
static_libs: [
"libminadbd_services",
"libadbd",
- "libBionicGtestMain",
],
shared_libs: [
diff --git a/tests/Android.bp b/tests/Android.bp
index ab4d31da2..2cfc32572 100644
--- a/tests/Android.bp
+++ b/tests/Android.bp
@@ -45,7 +45,7 @@ cc_defaults {
static_libs: [
"libutils",
],
- }
+ },
},
}
@@ -93,12 +93,14 @@ librecovery_static_libs = [
"libhidlbase",
"libhidltransport",
"libhwbinder",
+ "libbinderthreadstate",
"libvndksupport",
"libtinyxml2",
]
cc_test {
name: "recovery_unit_test",
+ isolated: true,
defaults: [
"recovery_test_defaults",
@@ -117,7 +119,6 @@ cc_test {
"libotautil",
"libupdater",
"libgtest_prod",
- "libBionicGtestMain",
],
data: ["testdata/*"],
@@ -125,6 +126,7 @@ cc_test {
cc_test {
name: "recovery_manual_test",
+ isolated: true,
defaults: [
"recovery_test_defaults",
@@ -135,14 +137,11 @@ cc_test {
srcs: [
"manual/recovery_test.cpp",
],
-
- static_libs: [
- "libBionicGtestMain",
- ],
}
cc_test {
name: "recovery_component_test",
+ isolated: true,
defaults: [
"recovery_test_defaults",
@@ -159,7 +158,6 @@ cc_test {
"libupdater",
"libupdate_verifier",
"libprotobuf-cpp-lite",
- "libBionicGtestMain",
],
data: [
@@ -170,6 +168,7 @@ cc_test {
cc_test_host {
name: "recovery_host_test",
+ isolated: true,
defaults: [
"recovery_test_defaults",
@@ -193,7 +192,6 @@ cc_test_host {
"libdivsufsort64",
"libdivsufsort",
"libz",
- "libBionicGtestMain",
],
data: ["testdata/*"],