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

Unified Diff: chrome/android/BUILD.gn

Issue 1301613002: Allow overriding Chromium-branded Android resources. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 | « no previous file | chrome/android/java/res/drawable-hdpi/fre_product_logo.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/BUILD.gn
diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
index b0cbbe1d64a7580ffd35c18dbca4ec2b98c2da40..f4558b7a021a98708971983086c4c0c8269ea3db 100644
--- a/chrome/android/BUILD.gn
+++ b/chrome/android/BUILD.gn
@@ -43,10 +43,10 @@ locale_pak_resources("chrome_locale_paks") {
# GYP: //chrome/chrome.gyp:chrome_java (resources part)
android_resources("chrome_java_resources") {
- resource_dirs = [
- "java/res",
- "java/res_default",
- ]
+ if (!defined(android_branding_res_dirs)) {
+ android_branding_res_dirs = [ "//chrome/android/java/res_chromium" ]
+ }
+ resource_dirs = [ "java/res" ] + android_branding_res_dirs
deps = [
":chrome_locale_paks",
":chrome_strings_grd",
« no previous file with comments | « no previous file | chrome/android/java/res/drawable-hdpi/fre_product_logo.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698