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

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

Issue 2405013002: Move some global feature defines to buildflags (Closed)
Patch Set: Comment Created 4 years, 2 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 | « chrome/test/base/in_process_browser_test.cc ('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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 "-D", 282 "-D",
283 "enable_app_list", 283 "enable_app_list",
284 ] 284 ]
285 } 285 }
286 if (enable_webrtc) { 286 if (enable_webrtc) {
287 grit_defines += [ 287 grit_defines += [
288 "-D", 288 "-D",
289 "enable_webrtc", 289 "enable_webrtc",
290 ] 290 ]
291 } 291 }
292 if (enable_hangout_services_extension) {
293 grit_defines += [
294 "-D",
295 "enable_hangout_services_extension",
296 ]
297 }
298 if (enable_task_manager) { 292 if (enable_task_manager) {
299 grit_defines += [ 293 grit_defines += [
300 "-D", 294 "-D",
301 "enable_task_manager", 295 "enable_task_manager",
302 ] 296 ]
303 } 297 }
304 if (enable_notifications) { 298 if (enable_notifications) {
305 grit_defines += [ 299 grit_defines += [
306 "-D", 300 "-D",
307 "enable_notifications", 301 "enable_notifications",
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 if (defined(invoker.configs)) { 539 if (defined(invoker.configs)) {
546 configs += invoker.configs 540 configs += invoker.configs
547 } 541 }
548 542
549 if (defined(invoker.visibility)) { 543 if (defined(invoker.visibility)) {
550 visibility = invoker.visibility 544 visibility = invoker.visibility
551 } 545 }
552 output_name = grit_output_name 546 output_name = grit_output_name
553 } 547 }
554 } 548 }
OLDNEW
« no previous file with comments | « chrome/test/base/in_process_browser_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698