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

Unified Diff: build/config/android/rules.gni

Issue 2767613002: Expose resources in Robolectric/JUnit tests. (Closed)
Patch Set: Added support for multiple resource files. Created 3 years, 9 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
Index: build/config/android/rules.gni
diff --git a/build/config/android/rules.gni b/build/config/android/rules.gni
index ba8930f693bc7cfe469aecc4ccabc5382d458d2d..7d5d7120afc5643c10be544016eda92666827371 100644
--- a/build/config/android/rules.gni
+++ b/build/config/android/rules.gni
@@ -1063,6 +1063,12 @@ if (enable_java_templates) {
test_suite = invoker.target_name
test_type = "junit"
ignore_all_data_deps = true
+ forward_variables_from(invoker,
+ [
+ "android_manifest_path",
+ "resource_dirs",
+ "package_name",
+ ])
}
java_binary(_java_binary_target_name) {

Powered by Google App Engine
This is Rietveld 408576698