Move `host_supported: false` down from the cc_defaults module.
art_artd_tests gets `host_supported: true` from art_gtest_defaults, so
it needs to be overridden directly in the leaf module.
Cherry-picked from ag/18909799.
Test: m art_artd_tests art_standalone_artd_tests
on master-art
Bug: 177273468
Change-Id: Ie2e03354872a91fc9a926b2ba0ee477b4da17643
Merged-In: Ie2e03354872a91fc9a926b2ba0ee477b4da17643
diff --git a/artd/Android.bp b/artd/Android.bp
index 2fdd6a7..b645ec6 100644
--- a/artd/Android.bp
+++ b/artd/Android.bp
@@ -63,9 +63,6 @@
art_cc_defaults {
name: "art_artd_tests_defaults",
defaults: ["artd_defaults"],
- // TODO(b/235464166): The host test does not build on master-art because of
- // the dependency on libbinder_ndk.
- host_supported: false,
srcs: [
"artd_test.cc",
],
@@ -80,6 +77,9 @@
"art_gtest_defaults",
"art_artd_tests_defaults",
],
+ // TODO(b/235464166): The host test does not build on master-art because of
+ // the dependency on libbinder_ndk.
+ host_supported: false,
}
// Standalone version of ART gtest `art_artd_tests`, not bundled with the ART
@@ -90,4 +90,7 @@
"art_standalone_gtest_defaults",
"art_artd_tests_defaults",
],
+ // TODO(b/235464166): The host test does not build on master-art because of
+ // the dependency on libbinder_ndk.
+ host_supported: false,
}