|
Add the concept of a source set to GN.
A source set acts like a static library in most cases, but doesn't actually make the library. The object files will be added to targets that depend on it.
I changed the default component mode to be a "source set" rather than a shared library in non-component mode.
This fixes the script target writer unit test on Windows.
BUG=
R=scottmg@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=227596
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+365 lines, -66 lines) |
Patch |
 |
M |
tools/gn/BUILD.gn
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
tools/gn/functions.h
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tools/gn/functions.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
tools/gn/functions_target.cc
|
View
|
|
3 chunks |
+64 lines, -11 lines |
0 comments
|
Download
|
 |
M |
tools/gn/gn.gyp
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
tools/gn/ninja_binary_target_writer.h
|
View
|
1
2
|
2 chunks |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tools/gn/ninja_binary_target_writer.cc
|
View
|
|
5 chunks |
+129 lines, -42 lines |
0 comments
|
Download
|
 |
A |
tools/gn/ninja_binary_target_writer_unittest.cc
|
View
|
1
|
1 chunk |
+89 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tools/gn/ninja_helper.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
tools/gn/ninja_script_target_writer_unittest.cc
|
View
|
1
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tools/gn/ninja_target_writer.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
tools/gn/output_file.h
|
View
|
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
tools/gn/secondary/build/config/BUILDCONFIG.gn
|
View
|
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
tools/gn/secondary/build/toolchain/nacl/BUILD.gn
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tools/gn/secondary/chrome/BUILD.gn
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
tools/gn/target.h
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
tools/gn/target.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
tools/gn/target_generator.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|