Home | History | Annotate | Download | only in gypfiles

Lines Matching refs:os

11 import os
15 SCRIPT_DIR = os.path.dirname(os.path.realpath(__file__))
16 V8_ROOT = os.path.abspath(os.path.join(SCRIPT_DIR, os.pardir))
21 Reads in a *.gyp_env file and applies the valid keys to os.environ.
23 if not file_path or not os.path.exists(file_path):
29 e.filename = os.path.abspath(file_path)
40 if var in os.environ:
42 var, os.path.abspath(file_path)
45 os.environ[var] = val
51 if 'SKIP_V8_GYP_ENV' not in os.environ:
53 gyp_env_path = os.path.join(os.path.dirname(V8_ROOT), 'v8.gyp_env')
56 if not os.environ.get('GYP_GENERATORS'):
58 os.environ['GYP_GENERATORS'] = 'ninja'