| Index: build/gyp_v8
|
| diff --git a/build/gyp_v8 b/build/gyp_v8
|
| index bc733dfca6fceb3da58e0e7ca5e4a380de1cf03c..14467eccaad29fc63a06686675933db6950323a8 100755
|
| --- a/build/gyp_v8
|
| +++ b/build/gyp_v8
|
| @@ -34,6 +34,7 @@ import glob
|
| import os
|
| import platform
|
| import shlex
|
| +import subprocess
|
| import sys
|
|
|
| script_dir = os.path.dirname(os.path.realpath(__file__))
|
| @@ -107,6 +108,14 @@ def additional_include_files(args=[]):
|
|
|
| def run_gyp(args):
|
| rc = gyp.main(args)
|
| +
|
| + # Check for landmines (reasons to clobber the build). This must be run here,
|
| + # rather than a separate runhooks step so that any environment modifications
|
| + # from above are picked up.
|
| + print 'Running build/landmines.py...'
|
| + subprocess.check_call(
|
| + [sys.executable, os.path.join(script_dir, 'landmines.py')])
|
| +
|
| if rc != 0:
|
| print 'Error running GYP'
|
| sys.exit(rc)
|
|
|