Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Unified Diff: content/shell/android/BUILD.gn

Issue 2605793002: [android] Convert linker tests to platform mode. (Closed)
Patch Set: mikecase comment Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/config/android/internal_rules.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 = [
« no previous file with comments | « build/config/android/internal_rules.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698