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

Side by Side Diff: build/gyp_chromium

Issue 153073004: Move landmines into gyp_chromium (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 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 | « build/get_landmines.py ('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 #!/usr/bin/env python 1 #!/usr/bin/env python
2 2
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # This script is wrapper for Chromium that adds some support for how GYP 7 # This script is wrapper for Chromium that adds some support for how GYP
8 # is invoked by Chromium beyond what can be done in the gclient hooks. 8 # is invoked by Chromium beyond what can be done in the gclient hooks.
9 9
10 import glob 10 import glob
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 ['-I' + i for i in additional_include_files(supplemental_includes, args)]) 481 ['-I' + i for i in additional_include_files(supplemental_includes, args)])
482 482
483 args.extend(['-D', 'gyp_output_dir=' + GetOutputDirectory()]) 483 args.extend(['-D', 'gyp_output_dir=' + GetOutputDirectory()])
484 484
485 print 'Updating projects from gyp files...' 485 print 'Updating projects from gyp files...'
486 sys.stdout.flush() 486 sys.stdout.flush()
487 487
488 # Off we go... 488 # Off we go...
489 gyp_rc = gyp.main(args) 489 gyp_rc = gyp.main(args)
490 490
491 # Check for landmines (reasons to clobber the build). This must be run here,
492 # rather than a separate runhooks step so that any environment modifications
493 # from above are picked up.
494 print 'Running build/landmines.py...'
495 subprocess.check_call(
496 [sys.executable, os.path.join(script_dir, 'landmines.py')])
iannucci 2014/02/05 23:47:50 Presumably 'args' doesn't contain any relevant goo
scottmg 2014/02/05 23:55:17 Hm, good question. I think -Dgyp_output_dir is the
497
491 if vs2013_runtime_dll_dirs: 498 if vs2013_runtime_dll_dirs:
492 CopyVsRuntimeDlls(GetOutputDirectory(), vs2013_runtime_dll_dirs) 499 CopyVsRuntimeDlls(GetOutputDirectory(), vs2013_runtime_dll_dirs)
493 500
494 sys.exit(gyp_rc) 501 sys.exit(gyp_rc)
OLDNEW
« no previous file with comments | « build/get_landmines.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698