• Home
  • Raw
  • Download

Lines Matching refs:sys

17 import sys
23 sys.path.insert(0, os.path.join(chrome_src, 'tools', 'gyp', 'pylib'))
30 sys.path.insert(1, os.path.join(chrome_src, 'tools'))
31 sys.path.insert(1, os.path.join(chrome_src, 'tools', 'generate_shim_headers'))
32 sys.path.insert(1, os.path.join(chrome_src, 'tools', 'grit'))
33 sys.path.insert(1, os.path.join(chrome_src, 'chrome', 'tools', 'build'))
34 sys.path.insert(1, os.path.join(chrome_src, 'native_client', 'build'))
35 sys.path.insert(1, os.path.join(chrome_src, 'native_client_sdk', 'src',
37 sys.path.insert(1, os.path.join(chrome_src, 'remoting', 'tools', 'build'))
38 sys.path.insert(1, os.path.join(chrome_src, 'third_party', 'liblouis'))
39 sys.path.insert(1, os.path.join(chrome_src, 'third_party', 'WebKit',
52 if sys.platform == 'win32':
54 sys.path.insert(0, os.path.join(chrome_src, 'third_party', 'psyco_win32'))
92 if sys.platform in ('cygwin', 'win32'):
128 for i in range(len(sys.argv))[1:]:
129 if sys.argv[i].startswith('-D'):
130 if sys.argv[i] == '-D' and i + 1 < len(sys.argv):
131 cmdline_input_items += [sys.argv[i + 1]]
132 elif len(sys.argv[i]) > 2:
133 cmdline_input_items += [sys.argv[i][2:]]
146 for item in sys.argv[1:]:
190 args = sys.argv[1:]
196 [sys.executable, os.path.join(script_dir, 'landmines.py')])
198 sys.exit(0)
208 if sys.platform == 'cygwin':
216 [os.path.join(python_dir, 'python.exe')] + sys.argv,
219 sys.exit(p.returncode)
251 if sys.platform not in ('darwin',):
258 sys.exit(1)
266 if sys.platform.startswith(('linux', 'win', 'freebsd')) and \
269 elif sys.platform == 'darwin' and not os.environ.get('GYP_GENERATORS') and \
311 sys.stdout.flush()
321 [sys.executable, os.path.join(script_dir, 'landmines.py')])
329 sys.exit(gyp_rc)