Move gtest tool dependencies from makefile to soong
Bug: 147817558
Bug: 147819342
Test: run test individually and remove the tools directory between runs
Change-Id: Ida773d76fdeadb38695d6a2556ad4a55adb823b5
diff --git a/dexlayout/Android.bp b/dexlayout/Android.bp
index 44af58d..82fbf2b 100644
--- a/dexlayout/Android.bp
+++ b/dexlayout/Android.bp
@@ -236,6 +236,10 @@
"libartd-dexlayout",
],
srcs: ["dexlayout_test.cc"],
+ required: [
+ "dexlayoutd",
+ "dexdump",
+ ],
}
art_cc_binary {
@@ -271,4 +275,5 @@
"art_gtest_defaults",
],
srcs: ["dexdiag_test.cc"],
+ required: ["dexdiag"],
}