Revert^2 "Remove redundant odrefresh test template"
This reverts commit 14d071c03b3aea353e21bd9ccd4f89337c38bd76.
Reason for revert: Fixed test breakage
Test: N/A
Change-Id: Iaf6f28577f26375861e228282ff7c613e82d3a72
diff --git a/odrefresh/Android.bp b/odrefresh/Android.bp
index 7f79e11..4ed395d 100644
--- a/odrefresh/Android.bp
+++ b/odrefresh/Android.bp
@@ -210,6 +210,11 @@
"libdexfiled",
"libdexoptd",
],
+ // The test config template is needed even though it's not used by the test
+ // runner. Otherwise, Soong will generate a test config, which is adding
+ // `art-host-test` as a test tag, while this test does not support running
+ // on host.
+ // TODO(b/214016626): Remove this line once the bug is fixed.
test_config_template: "//art/test:art-gtests-target-standalone-template",
}
@@ -224,7 +229,6 @@
"libdexfile",
"libdexopt",
],
- test_config_template: "//art/test:art-gtests-target-standalone-template",
}
genrule {