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

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

Issue 2407483002: Make enable_service_discovery a chrome/ feature. (Closed)
Patch Set: 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 | « tools/gn/docs/cookbook.md ('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 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 "-D", 300 "-D",
301 "enable_task_manager", 301 "enable_task_manager",
302 ] 302 ]
303 } 303 }
304 if (enable_notifications) { 304 if (enable_notifications) {
305 grit_defines += [ 305 grit_defines += [
306 "-D", 306 "-D",
307 "enable_notifications", 307 "enable_notifications",
308 ] 308 ]
309 } 309 }
310 if (enable_service_discovery) {
311 grit_defines += [
312 "-D",
313 "enable_service_discovery",
314 ]
315 }
316 if (mac_views_browser) { 310 if (mac_views_browser) {
317 grit_defines += [ 311 grit_defines += [
318 "-D", 312 "-D",
319 "mac_views_browser", 313 "mac_views_browser",
320 ] 314 ]
321 } 315 }
322 316
323 # TODO(aberent): Enable for other platforms once the build machines have 317 # TODO(aberent): Enable for other platforms once the build machines have
324 # Java on them (and hence can run the closure compiler). 318 # Java on them (and hence can run the closure compiler).
325 _strip_resource_files = is_android 319 _strip_resource_files = is_android
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 if (defined(invoker.configs)) { 545 if (defined(invoker.configs)) {
552 configs += invoker.configs 546 configs += invoker.configs
553 } 547 }
554 548
555 if (defined(invoker.visibility)) { 549 if (defined(invoker.visibility)) {
556 visibility = invoker.visibility 550 visibility = invoker.visibility
557 } 551 }
558 output_name = grit_output_name 552 output_name = grit_output_name
559 } 553 }
560 } 554 }
OLDNEW
« no previous file with comments | « tools/gn/docs/cookbook.md ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698