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

Unified Diff: chrome/android/BUILD.gn

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: chrome/android/BUILD.gn
diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
index 0b67e344222af69c44af6153519516baf7bfc4b8..b7fafb68a4c55a015da8fb6a0dc6090fb2378b55 100644
--- a/chrome/android/BUILD.gn
+++ b/chrome/android/BUILD.gn
@@ -370,6 +370,12 @@ junit_binary("chrome_junit_tests") {
google_play_services_library,
]
srcjar_deps = [ "//base:base_build_config_gen" ]
+
+ package_name = manifest_package
+ resource_dirs = [
jbudorick 2017/03/30 19:11:44 Is there a way we can get this from the resources
mikecase (-- gone --) 2017/03/31 17:35:07 Really unsure. I took a look through the build con
jbudorick 2017/04/03 19:43:25 As mentioned offline: the build_config tracks reso
+ "//chrome/android/java/res/",
jbudorick 2017/03/30 19:11:44 Should this also include res_chromium?
mikecase (-- gone --) 2017/03/31 17:35:07 Probably? Done
+ "$root_gen_dir/chrome/android/chrome_strings_grd_grit_output/",
+ ]
}
chrome_version_java_dir = "$root_gen_dir/templates/chrome_version_java"

Powered by Google App Engine
This is Rietveld 408576698