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

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

Issue 25849004: Clean up unused constant globals (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chrome/app/breakpad_linux.cc Created 7 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ('k') | no next file » | 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 <fstream> 5 #include <fstream>
6 6
7 #include "base/atomicops.h" 7 #include "base/atomicops.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
(...skipping 18 matching lines...) Expand all
29 // Suppress output on success. 29 // Suppress output on success.
30 const char kSwitchQuiet[] = "q"; 30 const char kSwitchQuiet[] = "q";
31 31
32 // Skip actually executing GYP. This is for when you're working on the GN 32 // Skip actually executing GYP. This is for when you're working on the GN
33 // build and don't want to wait for GYP to regenerate. All GN files are 33 // build and don't want to wait for GYP to regenerate. All GN files are
34 // regenerated, but the GYP ones are not. 34 // regenerated, but the GYP ones are not.
35 const char kSwitchNoGyp[] = "no-gyp"; 35 const char kSwitchNoGyp[] = "no-gyp";
36 36
37 // Where to have GYP write its outputs. 37 // Where to have GYP write its outputs.
38 const char kDirOut[] = "out.gn"; 38 const char kDirOut[] = "out.gn";
39 const char kSourceDirOut[] = "//out.gn/";
40 39
41 // We'll do the GN build to here. 40 // We'll do the GN build to here.
42 const char kBuildSourceDir[] = "//out.gn/Debug/"; 41 const char kBuildSourceDir[] = "//out.gn/Debug/";
43 42
44 // File that GYP will write dependency information to. 43 // File that GYP will write dependency information to.
45 const char kGypDepsSourceFileName[] = "//out.gn/gyp_deps.txt"; 44 const char kGypDepsSourceFileName[] = "//out.gn/gyp_deps.txt";
46 45
47 void TargetResolvedCallback(base::subtle::Atomic32* write_counter, 46 void TargetResolvedCallback(base::subtle::Atomic32* write_counter,
48 const Target* target) { 47 const Target* target) {
49 base::subtle::NoBarrier_AtomicIncrement(write_counter, 1); 48 base::subtle::NoBarrier_AtomicIncrement(write_counter, 1);
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 base::IntToString((end_gyp_time - begin_time).InMilliseconds()) + 364 base::IntToString((end_gyp_time - begin_time).InMilliseconds()) +
366 "ms)\n"; 365 "ms)\n";
367 366
368 OutputString(stats); 367 OutputString(stats);
369 } 368 }
370 369
371 return 0; 370 return 0;
372 } 371 }
373 372
374 } // namespace commands 373 } // namespace commands
OLDNEW
« no previous file with comments | « sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698