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

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

Issue 1458653002: New build flag system, convert Google Now flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « tools/grit/grit/util.py ('k') | no next file » | 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 # 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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 "-D", 237 "-D",
238 "enable_app_list", 238 "enable_app_list",
239 ] 239 ]
240 } 240 }
241 if (enable_settings_app) { 241 if (enable_settings_app) {
242 grit_defines += [ 242 grit_defines += [
243 "-D", 243 "-D",
244 "enable_settings_app", 244 "enable_settings_app",
245 ] 245 ]
246 } 246 }
247 if (enable_google_now) {
248 grit_defines += [
249 "-D",
250 "enable_google_now",
251 ]
252 }
253
254 if (enable_webrtc) { 247 if (enable_webrtc) {
255 grit_defines += [ 248 grit_defines += [
256 "-D", 249 "-D",
257 "enable_webrtc", 250 "enable_webrtc",
258 ] 251 ]
259 } 252 }
260 if (enable_hangout_services_extension) { 253 if (enable_hangout_services_extension) {
261 grit_defines += [ 254 grit_defines += [
262 "-D", 255 "-D",
263 "enable_hangout_services_extension", 256 "enable_hangout_services_extension",
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 if (defined(invoker.configs)) { 473 if (defined(invoker.configs)) {
481 configs += invoker.configs 474 configs += invoker.configs
482 } 475 }
483 476
484 if (defined(invoker.visibility)) { 477 if (defined(invoker.visibility)) {
485 visibility = invoker.visibility 478 visibility = invoker.visibility
486 } 479 }
487 output_name = grit_output_name 480 output_name = grit_output_name
488 } 481 }
489 } 482 }
OLDNEW
« no previous file with comments | « tools/grit/grit/util.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698