Revert^2 "Support ART's target gtests in atest."
This reverts commit 615212399037ea41987282800f077941d7ec9f54.
Test: Run the test locally
Change-Id: I257b0cb1e4210a1d4ec3060c4470c0f8af2ee45b
diff --git a/test/Android.bp b/test/Android.bp
index dec938e..86205e3 100644
--- a/test/Android.bp
+++ b/test/Android.bp
@@ -917,6 +917,18 @@
"$(location soong_zip) -o $(out) -C $(genDir)/res -D $(genDir)/res",
}
+art_cc_test {
+ name: "ArtGtestsTarget",
+ data: [
+ // We need the ART testing apex, which contains all gtest binaries.
+ // Note that due to linker constraints the gtests must be in the apex.
+ ":com.android.art.testing",
+ ":art-gtest-jars",
+ ],
+ test_suites: ["device-tests"],
+ test_config: "gtests-target.xml",
+}
+
filegroup {
name: "art-gtest-jars",
srcs: [