diff options
Diffstat (limited to 'build_gyp')
-rwxr-xr-x | build_gyp/gyp_pdfium | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build_gyp/gyp_pdfium b/build_gyp/gyp_pdfium index c65337861e..c79593b990 100755 --- a/build_gyp/gyp_pdfium +++ b/build_gyp/gyp_pdfium @@ -26,6 +26,10 @@ def run_gyp(args): def main(): + if int(os.environ.get('GYP_PDFIUM_NO_ACTION', 0)): + print 'Skipping gyp_pdfium due to GYP_PDFIUM_NO_ACTION env var.' + sys.exit(0) + args = sys.argv[1:] args.append(os.path.join(pdfium_root, 'build_gyp', 'all.gyp')) |