Home
last modified time | relevance | path

Searched refs:environ (Results 1 – 25 of 466) sorted by relevance

12345678910>>...19

/external/chromium_org/tools/gyp/test/compiler-override/
Dgyptest-compiler-env.py24 if key in os.environ:
25 del os.environ[key]
44 oldenv = os.environ.copy()
46 os.environ['CC'] = 'python %s/my_cc.py FOO' % here
47 os.environ['CXX'] = 'python %s/my_cxx.py FOO' % here
48 os.environ['LINK'] = 'python %s/my_ld.py FOO_LINK' % here
52 os.environ.clear()
53 os.environ.update(oldenv)
63 oldenv = os.environ.copy()
65 os.environ['CC'] = 'python %s/my_cc.py FOO' % here
[all …]
Dgyptest-compiler-global-settings.py37 old_env = dict(os.environ)
38 os.environ['GYP_CROSSCOMPILE'] = '1'
40 os.environ.clear()
41 os.environ.update(old_env)
53 old_env = dict(os.environ)
54 os.environ['GYP_CROSSCOMPILE'] = '1'
56 os.environ.clear()
57 os.environ.update(old_env)
63 old_env = dict(os.environ)
64 os.environ['CC_host'] = '%s %s/my_cc.py SECRET' % (replacements['PYTHON'],
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/bin/
Drunant.py42 if os.environ.has_key('ANT_HOME'):
43 ANT_HOME = os.environ['ANT_HOME']
52 if not os.environ.has_key('JAVACMD'):
53 if os.environ.has_key('JAVA_HOME'):
54 if not os.path.exists(os.environ['JAVA_HOME']):
57 JAVACMD = os.path.join(os.environ['JAVA_HOME'], 'bin', 'java')
61 JAVACMD = os.environ['JAVACMD']
72 if os.environ.has_key('LOCALCLASSPATH'):
73 LOCALCLASSPATH += os.pathsep + os.environ['LOCALCLASSPATH']
76 if os.environ.has_key('ANT_OPTS'):
[all …]
/external/chromium_org/tools/gyp/test/defines-escaping/
Dgyptest-defines-escaping.py19 os.environ['GYP_DEFINES'] = (
24 del os.environ['GYP_DEFINES']
36 os.environ['GYP_DEFINES'] = \
40 del os.environ['GYP_DEFINES']
54 os.environ['GYP_DEFINES'] = (
63 del os.environ['GYP_DEFINES']
77 os.environ['GYP_DEFINES'] = (
86 del os.environ['GYP_DEFINES']
101 os.environ['GYP_DEFINES'] = (
108 del os.environ['GYP_DEFINES']
[all …]
/external/chromium_org/tools/gyp/test/defines/
Dgyptest-defines-env.py18 os.environ['GYP_DEFINES'] = 'value=10'
21 del os.environ['GYP_DEFINES']
34 os.environ['GYP_DEFINES'] = 'value=20'
37 del os.environ['GYP_DEFINES']
52 os.environ['GYP_DEFINES'] = 'value=30'
55 del os.environ['GYP_DEFINES']
70 os.environ['GYP_DEFINES'] = 'value=40'
73 del os.environ['GYP_DEFINES']
/external/llvm/utils/lit/lit/
DTestingConfig.py20 'LIBRARY_PATH' : os.environ.get('LIBRARY_PATH',''),
21 'LD_LIBRARY_PATH' : os.environ.get('LD_LIBRARY_PATH',''),
23 [os.environ.get('PATH','')]),
24 'SYSTEMROOT' : os.environ.get('SYSTEMROOT',''),
25 'TERM' : os.environ.get('TERM',''),
31 'INCLUDE' : os.environ.get('INCLUDE',''),
32 'PATHEXT' : os.environ.get('PATHEXT',''),
34 'TEMP' : os.environ.get('TEMP',''),
35 'TMP' : os.environ.get('TMP',''),
41 if 'LIT_PRESERVES_TMP' in os.environ:
[all …]
/external/chromium_org/tools/auto_bisect/
Dbuilder.py314 os.environ['GYP_GENERATORS'] = gyp_var + ',ninja'
316 os.environ['GYP_GENERATORS'] = 'ninja'
319 os.environ['GYP_DEFINES'] = 'component=shared_library '\
324 os.environ['GYP_GENERATORS'] = 'make'
329 os.environ['GYP_DEFINES'] = '%s %s' % (os.getenv('GYP_DEFINES', default=''),
332 os.environ['GYP_DEFINES'] += ' gomadir=%s' % goma_dir
384 os.path.join(os.environ['VS100COMNTOOLS'], '..', 'IDE', 'devenv.com'))
409 for key in os.environ:
413 if os.environ.has_key(key):
414 del os.environ[key]
[all …]
/external/chromium_org/build/
Dvs_toolchain.py31 bool(int(os.environ.get('DEPOT_TOOLS_WIN_TOOLCHAIN', '1')))
48 os.environ['GYP_MSVS_OVERRIDE_PATH'] = toolchain
49 os.environ['GYP_MSVS_VERSION'] = version
56 os.environ['GYP_DEFINES'] = ' '.join('%s=%s' % (k, pipes.quote(str(v)))
58 os.environ['WINDOWSSDKDIR'] = win8sdk
59 os.environ['WDK_DIR'] = wdk
62 os.environ['PATH'] = runtime_path + ';' + os.environ['PATH']
117 if os.environ.get('GYP_MSVS_OVERRIDE_PATH'):
118 pgo_x86_runtime_dir = os.path.join(os.environ.get('GYP_MSVS_OVERRIDE_PATH'),
146 bool(int(os.environ.get('DEPOT_TOOLS_WIN_TOOLCHAIN', '1')))
[all …]
Dgyp_environment.py27 not os.environ.get('GYP_GENERATORS'):
28 os.environ['GYP_GENERATORS'] = 'ninja'
29 elif sys.platform == 'darwin' and not os.environ.get('GYP_GENERATORS') and \
30 not 'OS=ios' in os.environ.get('GYP_DEFINES', []):
31 os.environ['GYP_GENERATORS'] = 'ninja'
/external/chromium_org/third_party/skia/experimental/webtry/
Dgyp_for_webtry7 skia_src = os.path.abspath(os.environ.get('SKIA_SRC', os.path.join( script_dir, "..", "..")))
23 if not os.environ.get('GYP_GENERATORS'):
24 os.environ['GYP_GENERATORS'] = 'ninja'
29 webtry_cache_dir = os.path.abspath(os.environ.get('WEBTRY_CACHE', WEBTRY_CACHE_DEFAULT))
30 webtry_inout_dir = os.path.abspath(os.environ.get('WEBTRY_INOUT', WEBTRY_INOUT_DEFAULT))
39 os.environ['CC'] = '../../skia/experimental/webtry/safec'
40 os.environ['CXX'] = '../../skia/experimental/webtry/safec++'
41 os.environ['LD'] = '../../skia/experimental/webtry/safec++'
/external/chromium_org/tools/gyp/test/make_global_settings/env-wrapper/
Dgyptest-wrapper.py17 os.environ['CC_wrapper'] = 'distcc'
18 os.environ['LINK_wrapper'] = 'distlink'
19 os.environ['CC.host_wrapper'] = 'ccache'
23 old_env = dict(os.environ)
24 os.environ['GYP_CROSSCOMPILE'] = '1'
26 os.environ.clear()
27 os.environ.update(old_env)
/external/chromium_org/testing/gtest/test/
Dgtest_test_utils.py62 environ = os.environ.copy() variable
69 environ[env_var] = value
70 elif env_var in environ:
71 del environ[env_var]
98 if flag.upper() in os.environ:
99 _flag_map[flag] = os.environ[flag.upper()]
268 old_environ = os.environ.copy()
269 _ReplaceEnvDict(os.environ, env)
287 _ReplaceEnvDict(os.environ, old_environ)
317 if GTEST_OUTPUT_VAR_NAME in os.environ:
[all …]
Dgtest_env_var_test.py45 environ = os.environ.copy() variable
59 environ[env_var] = value
60 elif env_var in environ:
61 del environ[env_var]
70 return gtest_test_utils.Subprocess(args, env=environ).output
Dgtest_filter_unittest.py59 os.environ['EMPTY_VAR'] = ''
71 os.environ['UNSET_VAR'] = 'X'
72 del os.environ['UNSET_VAR']
166 environ = os.environ.copy() variable
173 environ[env_var] = value
174 elif env_var in environ:
175 del environ[env_var]
182 env=environ).output
188 p = gtest_test_utils.Subprocess([COMMAND] + (args or []), env=environ)
207 original_env = environ.copy()
[all …]
/external/gtest/test/
Dgtest_test_utils.py62 environ = os.environ.copy() variable
69 environ[env_var] = value
70 elif env_var in environ:
71 del environ[env_var]
98 if flag.upper() in os.environ:
99 _flag_map[flag] = os.environ[flag.upper()]
268 old_environ = os.environ.copy()
269 _ReplaceEnvDict(os.environ, env)
287 _ReplaceEnvDict(os.environ, old_environ)
317 if GTEST_OUTPUT_VAR_NAME in os.environ:
[all …]
Dgtest_env_var_test.py45 environ = os.environ.copy() variable
59 environ[env_var] = value
60 elif env_var in environ:
61 del environ[env_var]
70 return gtest_test_utils.Subprocess(args, env=environ).output
Dgtest_filter_unittest.py59 os.environ['EMPTY_VAR'] = ''
71 os.environ['UNSET_VAR'] = 'X'
72 del os.environ['UNSET_VAR']
166 environ = os.environ.copy() variable
173 environ[env_var] = value
174 elif env_var in environ:
175 del environ[env_var]
182 env=environ).output
188 p = gtest_test_utils.Subprocess([COMMAND] + (args or []), env=environ)
207 original_env = environ.copy()
[all …]
/external/lldb/test/plugins/
Dbuilder_base.py21 return os.environ["ARCH"] if "ARCH" in os.environ else ""
25 return os.environ["CC"] if "CC" in os.environ else "clang"
54 if not arch and "ARCH" in os.environ:
55 arch = os.environ["ARCH"]
66 if not cc and "CC" in os.environ:
67 cc = os.environ["CC"]
/external/chromium_org/content/common/
Dset_process_title_linux.cc48 extern char** environ;
59 if (!g_main_argv || !environ || !fmt) in setproctitle()
75 for (i = 0; environ[i]; ++i) { in setproctitle()
76 uintptr_t env_i = (uintptr_t) environ[i]; in setproctitle()
80 char* copy = strdup(environ[i]); in setproctitle()
84 environ[i] = copy; in setproctitle()
113 if (((uintptr_t) environ) / page_size == ((uintptr_t) main_argv) / page_size) in setproctitle_init()
/external/chromium_org/third_party/webrtc/build/
Dgyp_webrtc41 if int(os.environ.get('GYP_CHROMIUM_NO_ACTION', 0)):
45 if 'SKIP_WEBRTC_GYP_ENV' not in os.environ:
70 if not os.environ.get('GYP_GENERATORS'):
71 os.environ['GYP_GENERATORS'] = 'ninja'
74 if int(os.environ.get('DEPOT_TOOLS_WIN_TOOLCHAIN', '1')):
84 if all(('ninja' in os.environ.get('GYP_GENERATORS', ''),
86 'GYP_CROSSCOMPILE' not in os.environ)):
87 os.environ['GYP_CROSSCOMPILE'] = '1'
/external/chromium_org/build/toolchain/win/
Dsetup_toolchain.py36 if envvar in os.environ:
44 os.pathsep + os.environ[envvar]
46 result[envvar.upper()] = os.environ[envvar]
97 environ = FormatAsEnvironmentBlock(important_env_vars) variable
99 env_file.write(environ)
106 environ = FormatAsEnvironmentBlock(important_env_vars) variable
108 env_file.write(environ)
/external/chromium_org/third_party/mesa/src/scons/
Dgallium.py90 return int(os.environ['NUMBER_OF_PROCESSORS'])
119 if os.environ.has_key('CC'):
120 env['CC'] = os.environ['CC']
131 if os.environ.has_key('CFLAGS'):
132 env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CFLAGS'])
133 if os.environ.has_key('CXX'):
134 env['CXX'] = os.environ['CXX']
135 if os.environ.has_key('CXXFLAGS'):
136 env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS'])
137 if os.environ.has_key('LDFLAGS'):
[all …]
/external/mesa3d/scons/
Dgallium.py90 return int(os.environ['NUMBER_OF_PROCESSORS'])
119 if os.environ.has_key('CC'):
120 env['CC'] = os.environ['CC']
131 if os.environ.has_key('CFLAGS'):
132 env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CFLAGS'])
133 if os.environ.has_key('CXX'):
134 env['CXX'] = os.environ['CXX']
135 if os.environ.has_key('CXXFLAGS'):
136 env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS'])
137 if os.environ.has_key('LDFLAGS'):
[all …]
/external/chromium_org/build/android/pylib/
Dconstants.py14 DIR_SOURCE_ROOT = os.environ.get('CHECKOUT_SOURCE_ROOT',
152 EMULATOR_SDK_ROOT = os.environ.get('ANDROID_EMULATOR_SDK_ROOT',
157 os.environ.get('CHROMIUM_OUT_DIR', 'out'),
166 return os.environ['BUILDTYPE']
172 os.environ['BUILDTYPE'] = build_type
183 DIR_SOURCE_ROOT, os.environ.get('CHROMIUM_OUT_DIR', 'out'),
199 if os.environ.get('ANDROID_SDK_ROOT'):
/external/chromium_org/tools/gyp/test/msvs/external_builder/
Dgyptest-all.py17 if int(os.environ.get('GYP_MSVS_VERSION', 0)) < 2010:
35 os.environ['GYP_DEFINES'] = 'use_external_builder=1'
39 del os.environ['GYP_DEFINES']
48 os.environ['GYP_DEFINES'] = 'use_external_builder=1'
52 del os.environ['GYP_DEFINES']

12345678910>>...19