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

Unified Diff: remoting/resources/BUILD.gn

Issue 702903004: Add chrome perf tests and sniffer to GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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: remoting/resources/BUILD.gn
diff --git a/remoting/resources/BUILD.gn b/remoting/resources/BUILD.gn
index 085ac3f14b6786b1d955f7617756eb7d314dac7b..4caecf9ff516210bdb2ec3dd6b3ab9440d0b984d 100644
--- a/remoting/resources/BUILD.gn
+++ b/remoting/resources/BUILD.gn
@@ -162,8 +162,16 @@ grit("strings") {
outputs += process_file_template(
remoting_locales,
[ "remoting/resources/{{source_name_part}}.pak" ])
+
+ messages_locales = remoting_locales_with_underscores
+ if (!is_chromeos) {
+ # The messages output includes a separate one for en-US that the pak ones
+ # don't have. We don't need to do this on ChromeOS since en_US is in the
+ # locales list be default there.
+ messages_locales += [ "en_US" ]
+ }
outputs += process_file_template(
- remoting_locales_with_underscores,
+ messages_locales,
[ "remoting/webapp/_locales/{{source_name_part}}/messages.json" ])
}

Powered by Google App Engine
This is Rietveld 408576698