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

Unified Diff: chrome/app/resources/BUILD.gn

Issue 361253004: Add compiling chrome/browser to GN build on Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/browser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/resources/BUILD.gn
diff --git a/chrome/app/resources/BUILD.gn b/chrome/app/resources/BUILD.gn
index 5a29fa3da36eaace4605755463bc6f9baf7f883b..808247253a3ce750107464baf1e1b71bf7775c03 100644
--- a/chrome/app/resources/BUILD.gn
+++ b/chrome/app/resources/BUILD.gn
@@ -9,3 +9,21 @@ import("//tools/grit/grit_rule.gni")
grit("locale_settings") {
source = "locale_settings.grd"
}
+
+# GYP version: chrome/chrome_resources.gyp:platform_locale_settings
+grit("platform_locale_settings") {
+ if (is_win) {
+ source = "locale_settings_win.grd"
+ } else if (is_mac || is_ios) {
+ source = "locale_settings_mac.grd"
+ } else if (is_chromeos) {
+ if (is_chrome_branded) {
+ source = "locale_settings_google_chromeos.grd"
+ } else {
+ source = "locale_settings_chromiumos.grd"
+ }
+ } else if (is_posix) {
+ # All other posix systems just use the Linux one.
+ source = "locale_settings_linux.grd"
+ }
+}
« no previous file with comments | « no previous file | chrome/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698