OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "tools/gn/ninja_binary_target_writer.h" | 5 #include "tools/gn/ninja_binary_target_writer.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <string.h> |
| 9 |
7 #include <cstring> | 10 #include <cstring> |
8 #include <set> | 11 #include <set> |
9 #include <sstream> | 12 #include <sstream> |
10 | 13 |
11 #include "base/containers/hash_tables.h" | 14 #include "base/containers/hash_tables.h" |
12 #include "base/strings/string_util.h" | 15 #include "base/strings/string_util.h" |
13 #include "tools/gn/config_values_extractors.h" | 16 #include "tools/gn/config_values_extractors.h" |
14 #include "tools/gn/deps_iterator.h" | 17 #include "tools/gn/deps_iterator.h" |
15 #include "tools/gn/err.h" | 18 #include "tools/gn/err.h" |
16 #include "tools/gn/escape.h" | 19 #include "tools/gn/escape.h" |
(...skipping 1024 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1041 "\n" | 1044 "\n" |
1042 "In the latter case, either rename one of the files or move one of\n" | 1045 "In the latter case, either rename one of the files or move one of\n" |
1043 "the sources to a separate source_set to avoid them both being in\n" | 1046 "the sources to a separate source_set to avoid them both being in\n" |
1044 "the same target."); | 1047 "the same target."); |
1045 g_scheduler->FailWithError(err); | 1048 g_scheduler->FailWithError(err); |
1046 return false; | 1049 return false; |
1047 } | 1050 } |
1048 } | 1051 } |
1049 return true; | 1052 return true; |
1050 } | 1053 } |
OLD | NEW |