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

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

Issue 953463003: Reland #317760 - add gn_all, gyp_all targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: do not try to remove views_unittests on android Created 5 years, 10 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 | « build/all.gyp ('k') | chrome/test/BUILD.gn » ('j') | 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 # 46 #
47 # output_name (optiona) 47 # output_name (optiona)
48 # Provide an alternate base name for the generated files, like the .d 48 # Provide an alternate base name for the generated files, like the .d
49 # files. Normally these are based on the target name and go in the 49 # files. Normally these are based on the target name and go in the
50 # output_dir, but if multiple targets with the same name end up in 50 # output_dir, but if multiple targets with the same name end up in
51 # the same output_dir, they can collide. 51 # the same output_dir, they can collide.
52 # 52 #
53 # use_qualified_include (optional) 53 # use_qualified_include (optional)
54 # If set, output_dir is not added to include_dirs. 54 # If set, output_dir is not added to include_dirs.
55 # 55 #
56 # configs (optional)
57 # List of additional configs to be applied to the generated target.
56 # deps (optional) 58 # deps (optional)
57 # inputs (optional) 59 # inputs (optional)
58 # List of additional files, required for grit to process source file. 60 # List of additional files, required for grit to process source file.
59 # visibility (optional) 61 # visibility (optional)
60 # Normal meaning. 62 # Normal meaning.
61 # 63 #
62 # Example 64 # Example
63 # 65 #
64 # grit("my_resources") { 66 # grit("my_resources") {
65 # # Source and outputs are required. 67 # # Source and outputs are required.
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 # target rather than this library. 433 # target rather than this library.
432 deps = [ 434 deps = [
433 ":$grit_custom_target", 435 ":$grit_custom_target",
434 ] 436 ]
435 public_configs = [ ":$grit_config" ] 437 public_configs = [ ":$grit_config" ]
436 438
437 if (defined(invoker.public_configs)) { 439 if (defined(invoker.public_configs)) {
438 public_configs += invoker.public_configs 440 public_configs += invoker.public_configs
439 } 441 }
440 442
443 if (defined(invoker.configs)) {
444 configs += invoker.configs
445 }
446
441 if (defined(invoker.visibility)) { 447 if (defined(invoker.visibility)) {
442 visibility = invoker.visibility 448 visibility = invoker.visibility
443 } 449 }
444 output_name = grit_output_name 450 output_name = grit_output_name
445 } 451 }
446 } 452 }
OLDNEW
« no previous file with comments | « build/all.gyp ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698