|
Windows precompiled header support in GN.
Introduces aprecompiled_header_type flag on a tool to say whether it supports precompiled headers, and flags on configs/targets that allow one to specify which header is precompiled.
This does not implement GCC precompiled headers, but the type flag will allow future expansion (the implementation will be mostly separate).
Renames SOURCE_CC to SOURCE_CPP to avoid confusion with Toolchain::TYPE_CC (which is actually the C compiler).
BUG= 297678
Committed: https://crrev.com/3dab5fe87ddb0efe646f6ab393ab07533d75237d
Cr-Commit-Position: refs/heads/master@{#336674}
Total comments: 5
Total comments: 9
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+935 lines, -195 lines) |
Patch |
|
M |
build/config/BUILD.gn
|
View
|
1
2
3
4
5
6
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
|
M |
build/toolchain/win/BUILD.gn
|
View
|
1
2
3
4
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/gn/BUILD.gn
|
View
|
1
2
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/gn/config_values.h
|
View
|
1
2
|
3 chunks |
+19 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/gn/config_values_extractors.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
tools/gn/config_values_generator.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
tools/gn/config_values_generator.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+31 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/gn/filesystem_utils.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
tools/gn/function_toolchain.cc
|
View
|
1
2
3
4
|
4 chunks |
+35 lines, -1 line |
0 comments
|
Download
|
|
M |
tools/gn/header_checker.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
tools/gn/ninja_binary_target_writer.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+59 lines, -18 lines |
0 comments
|
Download
|
|
M |
tools/gn/ninja_binary_target_writer.cc
|
View
|
1
2
3
4
5
6
|
10 chunks |
+394 lines, -114 lines |
0 comments
|
Download
|
|
M |
tools/gn/ninja_binary_target_writer_unittest.cc
|
View
|
1
2
3
4
|
10 chunks |
+96 lines, -33 lines |
0 comments
|
Download
|
|
M |
tools/gn/path_output.h
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/gn/path_output.cc
|
View
|
1
2
3
4
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/gn/source_file_type.h
|
View
|
1
2
3
4
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
|
M |
tools/gn/source_file_type.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
tools/gn/target.h
|
View
|
|
4 chunks |
+14 lines, -2 lines |
0 comments
|
Download
|
|
M |
tools/gn/target.cc
|
View
|
1
2
3
4
|
3 chunks |
+61 lines, -5 lines |
0 comments
|
Download
|
|
M |
tools/gn/target_unittest.cc
|
View
|
1
2
|
1 chunk |
+55 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/gn/test_with_scope.h
|
View
|
1
2
3
4
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
tools/gn/test_with_scope.cc
|
View
|
1
2
3
4
|
2 chunks |
+10 lines, -13 lines |
0 comments
|
Download
|
|
M |
tools/gn/tool.h
|
View
|
1
2
3
4
|
3 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/gn/tool.cc
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
tools/gn/toolchain.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
tools/gn/variables.h
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/gn/variables.cc
|
View
|
1
2
|
2 chunks |
+72 lines, -0 lines |
0 comments
|
Download
|
Total messages: 11 (4 generated)
|