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

Side by Side Diff: tools/grit/grit_rule.gni

Issue 2494183002: Remove some global defines and build flags. (Closed)
Patch Set: 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
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 # Instantiate grit. This will produce a script target to run grit, and a 5 # Instantiate grit. This will produce a script target to run grit, and a
6 # static library that compiles the .cc files. 6 # static library that compiles the .cc files.
7 # 7 #
8 # Parameters 8 # Parameters
9 # 9 #
10 # source (required) 10 # source (required)
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 ] 179 ]
180 } 180 }
181 181
182 if (use_ozone) { 182 if (use_ozone) {
183 grit_defines += [ 183 grit_defines += [
184 "-D", 184 "-D",
185 "use_ozone", 185 "use_ozone",
186 ] 186 ]
187 } 187 }
188 188
189 if (enable_image_loader_extension) {
190 grit_defines += [
191 "-D",
192 "image_loader_extension",
193 ]
194 }
195
196 if (is_android) { 189 if (is_android) {
197 grit_defines += [ 190 grit_defines += [
198 "-E", 191 "-E",
199 "ANDROID_JAVA_TAGGED_ONLY=true", 192 "ANDROID_JAVA_TAGGED_ONLY=true",
200 ] 193 ]
201 } 194 }
202 195
203 if (is_mac || is_ios) { 196 if (is_mac || is_ios) {
204 grit_defines += [ 197 grit_defines += [
205 "-D", 198 "-D",
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 if (defined(invoker.configs)) { 514 if (defined(invoker.configs)) {
522 configs += invoker.configs 515 configs += invoker.configs
523 } 516 }
524 517
525 if (defined(invoker.visibility)) { 518 if (defined(invoker.visibility)) {
526 visibility = invoker.visibility 519 visibility = invoker.visibility
527 } 520 }
528 output_name = grit_output_name 521 output_name = grit_output_name
529 } 522 }
530 } 523 }
OLDNEW
« no previous file with comments | « third_party/WebKit/public/public_features.gni ('k') | ui/file_manager/file_manager_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698