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

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

Issue 2734973002: Stop setting use_qualified_include to true now that that is the default. (Closed)
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « components/resources/BUILD.gn ('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("//ppapi/features/features.gni")
7 import("//tools/grit/grit_rule.gni") 7 import("//tools/grit/grit_rule.gni")
8 8
9 if (is_android) { 9 if (is_android) {
10 import("//build/config/android/rules.gni") 10 import("//build/config/android/rules.gni")
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 public_deps = [ 60 public_deps = [
61 ":components_chromium_strings", 61 ":components_chromium_strings",
62 ":components_google_chrome_strings", 62 ":components_google_chrome_strings",
63 ":components_locale_settings", 63 ":components_locale_settings",
64 ":components_strings", 64 ":components_strings",
65 ] 65 ]
66 } 66 }
67 67
68 grit("components_strings") { 68 grit("components_strings") {
69 source = "../components_strings.grd" 69 source = "../components_strings.grd"
70 use_qualified_include = true
71 defines = [ "enable_plugins=$enable_plugins" ] 70 defines = [ "enable_plugins=$enable_plugins" ]
72 71
73 outputs = [ 72 outputs = [
74 "grit/components_strings.h", 73 "grit/components_strings.h",
75 ] 74 ]
76 foreach(locale, locales_with_fake_bidi) { 75 foreach(locale, locales_with_fake_bidi) {
77 outputs += [ "components_strings_$locale.pak" ] 76 outputs += [ "components_strings_$locale.pak" ]
78 } 77 }
79 78
80 if (is_android) { 79 if (is_android) {
81 outputs += android_components_strings_java_resources 80 outputs += android_components_strings_java_resources
82 } 81 }
83 } 82 }
84 83
85 if (is_android) { 84 if (is_android) {
86 java_strings_grd_prebuilt("components_strings_grd") { 85 java_strings_grd_prebuilt("components_strings_grd") {
87 grit_output_dir = "$root_gen_dir/components/strings/java/res" 86 grit_output_dir = "$root_gen_dir/components/strings/java/res"
88 generated_files = 87 generated_files =
89 rebase_path(android_components_strings_java_resources, "java/res", ".") 88 rebase_path(android_components_strings_java_resources, "java/res", ".")
90 deps = [ 89 deps = [
91 ":components_strings", 90 ":components_strings",
92 ] 91 ]
93 } 92 }
94 } 93 }
95 94
96 grit("components_chromium_strings") { 95 grit("components_chromium_strings") {
97 source = "../components_chromium_strings.grd" 96 source = "../components_chromium_strings.grd"
98 use_qualified_include = true
99 outputs = [ 97 outputs = [
100 "grit/components_chromium_strings.h", 98 "grit/components_chromium_strings.h",
101 ] 99 ]
102 foreach(locale, locales_with_fake_bidi) { 100 foreach(locale, locales_with_fake_bidi) {
103 outputs += [ "components_chromium_strings_$locale.pak" ] 101 outputs += [ "components_chromium_strings_$locale.pak" ]
104 } 102 }
105 } 103 }
106 104
107 grit("components_google_chrome_strings") { 105 grit("components_google_chrome_strings") {
108 source = "../components_google_chrome_strings.grd" 106 source = "../components_google_chrome_strings.grd"
109 use_qualified_include = true
110 outputs = [ 107 outputs = [
111 "grit/components_google_chrome_strings.h", 108 "grit/components_google_chrome_strings.h",
112 ] 109 ]
113 foreach(locale, locales_with_fake_bidi) { 110 foreach(locale, locales_with_fake_bidi) {
114 outputs += [ "components_google_chrome_strings_$locale.pak" ] 111 outputs += [ "components_google_chrome_strings_$locale.pak" ]
115 } 112 }
116 } 113 }
117 114
118 if (is_android) { 115 if (is_android) {
119 android_components_locale_settings_java_resources = [ 116 android_components_locale_settings_java_resources = [
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 "java/res/values-uk/components_locale_settings.xml", 156 "java/res/values-uk/components_locale_settings.xml",
160 "java/res/values-vi/components_locale_settings.xml", 157 "java/res/values-vi/components_locale_settings.xml",
161 "java/res/values-zh-rCN/components_locale_settings.xml", 158 "java/res/values-zh-rCN/components_locale_settings.xml",
162 "java/res/values-zh-rTW/components_locale_settings.xml", 159 "java/res/values-zh-rTW/components_locale_settings.xml",
163 "java/res/values/components_locale_settings.xml", 160 "java/res/values/components_locale_settings.xml",
164 ] 161 ]
165 } 162 }
166 163
167 grit("components_locale_settings") { 164 grit("components_locale_settings") {
168 source = "../components_locale_settings.grd" 165 source = "../components_locale_settings.grd"
169 use_qualified_include = true
170 outputs = [ 166 outputs = [
171 "grit/components_locale_settings.h", 167 "grit/components_locale_settings.h",
172 ] 168 ]
173 foreach(locale, locales_with_fake_bidi) { 169 foreach(locale, locales_with_fake_bidi) {
174 outputs += [ "components_locale_settings_$locale.pak" ] 170 outputs += [ "components_locale_settings_$locale.pak" ]
175 } 171 }
176 172
177 if (is_android) { 173 if (is_android) {
178 outputs += android_components_locale_settings_java_resources 174 outputs += android_components_locale_settings_java_resources
179 } 175 }
180 } 176 }
181 177
182 if (is_android) { 178 if (is_android) {
183 java_strings_grd_prebuilt("components_locale_settings_grd") { 179 java_strings_grd_prebuilt("components_locale_settings_grd") {
184 grit_output_dir = "$root_gen_dir/components/strings/java/res" 180 grit_output_dir = "$root_gen_dir/components/strings/java/res"
185 generated_files = 181 generated_files =
186 rebase_path(android_components_locale_settings_java_resources, 182 rebase_path(android_components_locale_settings_java_resources,
187 "java/res", 183 "java/res",
188 ".") 184 ".")
189 deps = [ 185 deps = [
190 ":components_locale_settings", 186 ":components_locale_settings",
191 ] 187 ]
192 } 188 }
193 } 189 }
OLDNEW
« no previous file with comments | « components/resources/BUILD.gn ('k') | content/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698