Index: content/shell/android/BUILD.gn |
diff --git a/content/shell/android/BUILD.gn b/content/shell/android/BUILD.gn |
index bd907a9c7d2d21a7f1b70291038b1587221a07fc..27cc2f864c095398e67da6cc9cb6a956344bebce 100644 |
--- a/content/shell/android/BUILD.gn |
+++ b/content/shell/android/BUILD.gn |
@@ -182,7 +182,11 @@ if (current_cpu != "x64") { |
android_manifest_dep = ":chromium_linker_test_manifest" |
} |
- android_apk("chromium_linker_test_apk") { |
+ _linker_test_apk_target_name = "chromium_linker_test_apk__apk" |
+ _linker_test_apk_test_runner_target_name = |
+ "chromium_linker_test_apk__test_runner_script" |
+ |
+ android_apk(_linker_test_apk_target_name) { |
testonly = true |
deps = [ |
":content_shell_assets", |
@@ -205,6 +209,21 @@ if (current_cpu != "x64") { |
enable_chromium_linker_tests = true |
} |
+ test_runner_script(_linker_test_apk_test_runner_target_name) { |
+ test_name = "chromium_linker_test_apk" |
+ test_type = "linker" |
+ apk_target = ":$_linker_test_apk_target_name" |
+ ignore_all_data_deps = true |
+ } |
+ |
+ group("chromium_linker_test_apk") { |
+ testonly = true |
+ deps = [ |
+ ":$_linker_test_apk_target_name", |
+ ":$_linker_test_apk_test_runner_target_name", |
+ ] |
+ } |
+ |
shared_library("linker_test") { |
testonly = true |
sources = [ |