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

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

Issue 2406303003: Move enable_app_list to a buildflag. (Closed)
Patch Set: More grit defines 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/data/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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 "enable_print_preview", 270 "enable_print_preview",
271 ] 271 ]
272 } 272 }
273 } 273 }
274 if (enable_themes) { 274 if (enable_themes) {
275 grit_defines += [ 275 grit_defines += [
276 "-D", 276 "-D",
277 "enable_themes", 277 "enable_themes",
278 ] 278 ]
279 } 279 }
280 if (enable_app_list) {
281 grit_defines += [
282 "-D",
283 "enable_app_list",
284 ]
285 }
286 if (enable_webrtc) { 280 if (enable_webrtc) {
287 grit_defines += [ 281 grit_defines += [
288 "-D", 282 "-D",
289 "enable_webrtc", 283 "enable_webrtc",
290 ] 284 ]
291 } 285 }
292 if (enable_task_manager) { 286 if (enable_task_manager) {
293 grit_defines += [ 287 grit_defines += [
294 "-D", 288 "-D",
295 "enable_task_manager", 289 "enable_task_manager",
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 if (defined(invoker.configs)) { 533 if (defined(invoker.configs)) {
540 configs += invoker.configs 534 configs += invoker.configs
541 } 535 }
542 536
543 if (defined(invoker.visibility)) { 537 if (defined(invoker.visibility)) {
544 visibility = invoker.visibility 538 visibility = invoker.visibility
545 } 539 }
546 output_name = grit_output_name 540 output_name = grit_output_name
547 } 541 }
548 } 542 }
OLDNEW
« no previous file with comments | « chrome/test/data/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698