Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(167)

Side by Side Diff: tools/gn/ninja_binary_target_writer.cc

Issue 1549203002: Switch to standard integer types in tools/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/gn/ninja_action_target_writer_unittest.cc ('k') | tools/gn/ninja_build_writer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « tools/gn/ninja_action_target_writer_unittest.cc ('k') | tools/gn/ninja_build_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698