|
Add an output_dir override to GN.
This adds support for the ability for targets to override their output
directory. The tool defines a default output directory in terms of the normal
patterns. The target can optionally supply an override, and the tool uses the
new {{output_dir}} pattern when specifying tool output to express the result of
the default-or-override.
Committed: https://crrev.com/f2eba7f76b6effb82ddce70d2bb227f4e25b1f69
Cr-Commit-Position: refs/heads/master@{#387366}
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+306 lines, -49 lines) |
Patch |
|
M |
tools/gn/binary_target_generator.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
tools/gn/binary_target_generator.cc
|
View
|
|
3 chunks |
+28 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/gn/docs/reference.md
|
View
|
1
|
9 chunks |
+74 lines, -13 lines |
0 comments
|
Download
|
|
M |
tools/gn/example/build/toolchain/BUILD.gn
|
View
|
|
3 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
|
M |
tools/gn/function_toolchain.cc
|
View
|
|
8 chunks |
+42 lines, -13 lines |
0 comments
|
Download
|
|
M |
tools/gn/ninja_binary_target_writer.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
tools/gn/ninja_binary_target_writer.cc
|
View
|
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
|
M |
tools/gn/ninja_binary_target_writer_unittest.cc
|
View
|
|
11 chunks |
+27 lines, -16 lines |
0 comments
|
Download
|
|
M |
tools/gn/substitution_type.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
tools/gn/substitution_type.cc
|
View
|
|
4 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/gn/substitution_writer.cc
|
View
|
|
2 chunks |
+21 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/gn/substitution_writer_unittest.cc
|
View
|
|
1 chunk |
+42 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/gn/target.h
|
View
|
1
2
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/gn/tool.h
|
View
|
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/gn/variables.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/gn/variables.cc
|
View
|
1
|
2 chunks |
+29 lines, -0 lines |
0 comments
|
Download
|
Total messages: 18 (7 generated)
|