|
This is an ordered set tailored to GN's (simple) needs.
This vector is now used to store all config lists. Previously the code did a bunch of work to uniquify configs at certain points (in target.cc) but direct_dependent_configs still ended up with lots of duplicates.
Before this patch the chrome/browser target has 41098 direct_dependent_configs, and after this patch it has 7. Apparently we were also spending a lot of time on these. Before this patch Windows wall clock time was 1031ms, and after this patch it's 831ms. Linux was 834ms before and 593ms after.
Also fix minor build issues in base I noticed while working on this.
R=viettrungluu@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287865
Total comments: 2
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+570 lines, -175 lines) |
Patch |
|
M |
base/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
base/debug/stack_trace_win.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
tools/gn/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/gn/builder.h
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
tools/gn/builder.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+23 lines, -6 lines |
0 comments
|
Download
|
|
M |
tools/gn/command_desc.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
1 chunk |
+20 lines, -1 line |
0 comments
|
Download
|
|
M |
tools/gn/gn.gyp
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/gn/header_checker.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
tools/gn/label.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/gn/label_ptr.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+37 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/gn/ninja_binary_target_writer.h
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
|
M |
tools/gn/ninja_binary_target_writer.cc
|
View
|
1
2
3
4
5
6
7
|
7 chunks |
+20 lines, -23 lines |
0 comments
|
Download
|
|
M |
tools/gn/ninja_binary_target_writer_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+6 lines, -15 lines |
0 comments
|
Download
|
|
M |
tools/gn/output_file.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+22 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/gn/source_dir.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/gn/source_file.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/gn/target.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
6 chunks |
+32 lines, -15 lines |
0 comments
|
Download
|
|
M |
tools/gn/target.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+25 lines, -57 lines |
0 comments
|
Download
|
|
M |
tools/gn/target_generator.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
tools/gn/target_generator.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
tools/gn/target_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
1 chunk |
+7 lines, -7 lines |
0 comments
|
Download
|
|
A |
tools/gn/unique_vector.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
1 chunk |
+189 lines, -0 lines |
0 comments
|
Download
|
|
A |
tools/gn/unique_vector_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
1 chunk |
+43 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/gn/value_extractors.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+17 lines, -23 lines |
0 comments
|
Download
|
|
M |
tools/gn/value_extractors.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+66 lines, -10 lines |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|