|
Add runtime dependency extraction for GN.
GN will now compute the list of files required for targets to run based on dependencies and data files listed on the targets.
This is exposed via the "gn desc ... runtime_deps" command, and via a new switch that will write runtime deps files for specific targets at generation time.
Committed: https://crrev.com/0db9185ce7bc14d96ce262978912a41941f46522
Cr-Commit-Position: refs/heads/master@{#329976}
Total comments: 4
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+614 lines, -13 lines) |
Patch |
 |
M |
tools/gn/BUILD.gn
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tools/gn/build_settings.h
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
tools/gn/command_desc.cc
|
View
|
1
|
6 chunks |
+43 lines, -1 line |
0 comments
|
Download
|
 |
M |
tools/gn/command_gen.cc
|
View
|
1
2
3
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tools/gn/command_help.cc
|
View
|
1
|
4 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
tools/gn/gn.gyp
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tools/gn/ninja_target_writer.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
A |
tools/gn/runtime_deps.h
|
View
|
1
2
3
4
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tools/gn/runtime_deps.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+227 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tools/gn/runtime_deps_unittest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+242 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tools/gn/standard_out.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tools/gn/switches.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tools/gn/switches.cc
|
View
|
1
2
3
|
3 chunks |
+36 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tools/gn/variables.cc
|
View
|
1
|
1 chunk |
+13 lines, -6 lines |
0 comments
|
Download
|
Total messages: 26 (11 generated)
|