Index: testing/test.gni |
diff --git a/testing/test.gni b/testing/test.gni |
index 9aa7cc47de7e59b196425c13e21ea341b4dc3734..e4cce69a94ae97cd9ccfd101fbcb6a73437ff2aa 100644 |
--- a/testing/test.gni |
+++ b/testing/test.gni |
@@ -5,12 +5,6 @@ |
# ============================================================================== |
# TEST SETUP |
# ============================================================================== |
- |
-if (is_android) { |
- import("//build/config/android/config.gni") |
- import("//build/config/android/rules.gni") |
- import("//build/config/sanitizers/sanitizers.gni") |
-} |
# Define a test as an executable (or apk on Android) with the "testonly" flag |
# set. |
@@ -19,6 +13,10 @@ |
# use_native_activity: Test implements ANativeActivity_onCreate(). |
template("test") { |
if (is_android) { |
+ import("//build/config/android/config.gni") |
+ import("//build/config/android/rules.gni") |
+ import("//build/config/sanitizers/sanitizers.gni") |
+ |
_use_raw_android_executable = defined(invoker.use_raw_android_executable) && |
invoker.use_raw_android_executable |
@@ -119,9 +117,6 @@ |
apk_name = invoker.output_name |
install_script_name = "install_${invoker.output_name}" |
} |
- |
- # Add the Java classes so that each target does not have to do it. |
- deps += [ "//base/test:test_support_java" ] |
# TODO(agrieve): Remove this data_dep once bots don't build the _apk |
# target (post-GYP). |