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

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

Issue 2517953003: Move enable_webrtc to a buildflag header. (Closed)
Patch Set: Fix Created 4 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 | « remoting/protocol/BUILD.gn ('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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 "-D", 239 "-D",
240 "enable_media_router", 240 "enable_media_router",
241 ] 241 ]
242 } 242 }
243 if (enable_themes) { 243 if (enable_themes) {
244 grit_defines += [ 244 grit_defines += [
245 "-D", 245 "-D",
246 "enable_themes", 246 "enable_themes",
247 ] 247 ]
248 } 248 }
249 if (enable_webrtc) {
250 grit_defines += [
251 "-D",
252 "enable_webrtc",
253 ]
254 }
255 if (enable_task_manager) { 249 if (enable_task_manager) {
256 grit_defines += [ 250 grit_defines += [
257 "-D", 251 "-D",
258 "enable_task_manager", 252 "enable_task_manager",
259 ] 253 ]
260 } 254 }
261 if (enable_notifications) { 255 if (enable_notifications) {
262 grit_defines += [ 256 grit_defines += [
263 "-D", 257 "-D",
264 "enable_notifications", 258 "enable_notifications",
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 if (defined(invoker.configs)) { 496 if (defined(invoker.configs)) {
503 configs += invoker.configs 497 configs += invoker.configs
504 } 498 }
505 499
506 if (defined(invoker.visibility)) { 500 if (defined(invoker.visibility)) {
507 visibility = invoker.visibility 501 visibility = invoker.visibility
508 } 502 }
509 output_name = grit_output_name 503 output_name = grit_output_name
510 } 504 }
511 } 505 }
OLDNEW
« no previous file with comments | « remoting/protocol/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698