Index: testing/test.gni |
diff --git a/testing/test.gni b/testing/test.gni |
index a6daf7e5cc6f25c4b8f49afd10d09df891f2ae82..a280a1beeada18b078d87ee1de3fbed101e889e6 100644 |
--- a/testing/test.gni |
+++ b/testing/test.gni |
@@ -64,6 +64,13 @@ template("test") { |
} |
unittest_apk(apk_name) { |
+ forward_variables_from(invoker, |
+ [ |
+ "android_manifest", |
+ "use_default_launcher", |
+ "write_asset_list", |
+ ]) |
+ |
unittests_dep = ":$library_name" |
apk_name = main_target_name |
if (defined(invoker.output_name)) { |
@@ -79,12 +86,6 @@ template("test") { |
if (defined(invoker.apk_asset_location)) { |
asset_location = invoker.apk_asset_location |
} |
- if (defined(invoker.android_manifest)) { |
- android_manifest = invoker.android_manifest |
- } |
- if (defined(invoker.use_default_launcher)) { |
- use_default_launcher = invoker.use_default_launcher |
- } |
} |
_test_name = main_target_name |