Index: build/config/android/rules.gni |
diff --git a/build/config/android/rules.gni b/build/config/android/rules.gni |
index 01202c944b6fd3408848051080dd386018ad1a72..008bf36ff55c16113af5ec13721b4af134e88ada 100644 |
--- a/build/config/android/rules.gni |
+++ b/build/config/android/rules.gni |
@@ -1799,6 +1799,8 @@ template("android_apk") { |
# srcjar_deps: List of srcjar dependencies. The .java files in the srcjars |
# will be added to java_files and be included in this apk. |
# apk_name: Name for final apk. |
+# support_apk_path: Path to a support apk. If present, the test runner script |
+# will install it on the device before running the instrumentation tests. |
# final_apk_path: Path to final built apk. Default is |
# $root_out_dir/apks/$apk_name.apk. Setting this will override apk_name. |
# native_libs: List paths of native libraries to include in this apk. If these |
@@ -1838,6 +1840,9 @@ template("instrumentation_test_apk") { |
if (defined(invoker.isolate_file)) { |
isolate_file = invoker.isolate_file |
} |
+ if (defined(invoker.support_apk_path)) { |
+ support_apk_path = invoker.support_apk_path |
+ } |
} |
} |