Home | History | Annotate | Download | only in build

Lines Matching refs:os

34 import os
38 script_dir = os.path.dirname(__file__)
39 v8_root = os.path.normpath(os.path.join(script_dir, os.pardir))
41 sys.path.insert(0, os.path.join(v8_root, 'build', 'gyp', 'pylib'))
46 Reads in a *.gyp_env file and applies the valid keys to os.environ.
48 if not file_path or not os.path.exists(file_path):
54 e.filename = os.path.abspath(file_path)
64 if var in os.environ:
66 var, os.path.abspath(file_path)
69 os.environ[var] = val
83 specified_includes.add(os.path.realpath(arg[2:]))
87 if os.path.realpath(path) not in specified_includes:
91 AddInclude(os.path.join(script_dir, 'common.gypi'))
94 supplements = glob.glob(os.path.join(v8_root, '*', 'supplement.gypi'))
103 if 'SKIP_V8_GYP_ENV' not in os.environ:
105 gyp_env_path = os.path.join(os.path.dirname(v8_root), 'v8.gyp_env')
119 gyp_file = os.environ.get('V8_GYP_FILE')
125 args.append(os.path.join(script_dir, 'all.gyp'))
137 syntax_check = os.environ.get('V8_GYP_SYNTAX_CHECK')