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

Side by Side Diff: components/strings/BUILD.gn

Issue 2512563003: Convert enable_plugins to a buildflag header. (Closed)
Patch Set: Merge Created 4 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 unified diff | Download patch
« no previous file with comments | « components/renderer_context_menu/render_view_context_menu_base.cc ('k') | content/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/locales.gni") 5 import("//build/config/locales.gni")
6 import("//ppapi/features/features.gni")
6 import("//tools/grit/grit_rule.gni") 7 import("//tools/grit/grit_rule.gni")
7 8
8 if (is_android) { 9 if (is_android) {
9 import("//build/config/android/rules.gni") 10 import("//build/config/android/rules.gni")
10 android_components_strings_java_resources = [ 11 android_components_strings_java_resources = [
11 "java/res/values-am/components_strings.xml", 12 "java/res/values-am/components_strings.xml",
12 "java/res/values-ar/components_strings.xml", 13 "java/res/values-ar/components_strings.xml",
13 "java/res/values-bg/components_strings.xml", 14 "java/res/values-bg/components_strings.xml",
14 "java/res/values-ca/components_strings.xml", 15 "java/res/values-ca/components_strings.xml",
15 "java/res/values-cs/components_strings.xml", 16 "java/res/values-cs/components_strings.xml",
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 public_deps = [ 60 public_deps = [
60 ":components_chromium_strings", 61 ":components_chromium_strings",
61 ":components_google_chrome_strings", 62 ":components_google_chrome_strings",
62 ":components_locale_settings", 63 ":components_locale_settings",
63 ":components_strings", 64 ":components_strings",
64 ] 65 ]
65 } 66 }
66 67
67 grit("components_strings") { 68 grit("components_strings") {
68 source = "../components_strings.grd" 69 source = "../components_strings.grd"
70 defines = [ "enable_plugins=$enable_plugins" ]
71
69 outputs = [ 72 outputs = [
70 "grit/components_strings.h", 73 "grit/components_strings.h",
71 ] 74 ]
72 foreach(locale, locales_with_fake_bidi) { 75 foreach(locale, locales_with_fake_bidi) {
73 outputs += [ "components_strings_$locale.pak" ] 76 outputs += [ "components_strings_$locale.pak" ]
74 } 77 }
75 78
76 if (is_android) { 79 if (is_android) {
77 outputs += android_components_strings_java_resources 80 outputs += android_components_strings_java_resources
78 } 81 }
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 grit_output_dir = "$root_gen_dir/components/strings/java/res" 180 grit_output_dir = "$root_gen_dir/components/strings/java/res"
178 generated_files = 181 generated_files =
179 rebase_path(android_components_locale_settings_java_resources, 182 rebase_path(android_components_locale_settings_java_resources,
180 "java/res", 183 "java/res",
181 ".") 184 ".")
182 deps = [ 185 deps = [
183 ":components_locale_settings", 186 ":components_locale_settings",
184 ] 187 ]
185 } 188 }
186 } 189 }
OLDNEW
« no previous file with comments | « components/renderer_context_menu/render_view_context_menu_base.cc ('k') | content/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698