|
|
GN: Make file/dir resolving return errors.
Previously GN would silently eat some types of errors when resolving files or directory names, leading to unexpected behavior.
This adds error checking to the resolution functions.
Committed: https://crrev.com/ff0986feacdae709a944b7cc6ee990b6cc304b76
Cr-Commit-Position: refs/heads/master@{#332697}
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+235 lines, -122 lines) |
Patch |
 |
M |
tools/gn/action_target_generator.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
tools/gn/command_format.cc
|
View
|
|
1 chunk |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
tools/gn/commands.cc
|
View
|
|
2 chunks |
+11 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tools/gn/filesystem_utils_unittest.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tools/gn/function_exec_script.cc
|
View
|
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
tools/gn/function_get_path_info.cc
|
View
|
|
2 chunks |
+11 lines, -7 lines |
0 comments
|
Download
|
 |
M |
tools/gn/function_read_file.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
tools/gn/function_rebase_path.cc
|
View
|
1
|
4 chunks |
+15 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tools/gn/function_write_file.cc
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
tools/gn/functions.cc
|
View
|
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
tools/gn/label.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tools/gn/label_pattern.cc
|
View
|
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tools/gn/setup.cc
|
View
|
|
2 chunks |
+10 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tools/gn/source_dir.h
|
View
|
|
2 chunks |
+16 lines, -4 lines |
0 comments
|
Download
|
 |
M |
tools/gn/source_dir.cc
|
View
|
1
2
3
|
6 chunks |
+54 lines, -28 lines |
0 comments
|
Download
|
 |
M |
tools/gn/source_dir_unittest.cc
|
View
|
|
3 chunks |
+78 lines, -38 lines |
0 comments
|
Download
|
 |
M |
tools/gn/source_file.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tools/gn/value_extractors.cc
|
View
|
|
2 chunks |
+3 lines, -7 lines |
0 comments
|
Download
|
Total messages: 14 (7 generated)
|