Skip to content

Instantly share code, notes, and snippets.

@atiq-cs
Created November 19, 2017 00:34
Show Gist options
  • Save atiq-cs/3ef335c79fef5fb2cfb39f2bfcddaf49 to your computer and use it in GitHub Desktop.
Save atiq-cs/3ef335c79fef5fb2cfb39f2bfcddaf49 to your computer and use it in GitHub Desktop.
Search result for linux specific code in v8 project, greped for sys.platform
$ find . -type f -name *.py -exec egrep sys.platform {} \; -print
if sys.platform.startswith('win32'):
./v8/buildtools/clang_format/script/clang-format.py
if sys.platform == 'darwin':
./v8/buildtools/third_party/libc++/trunk/utils/sym_check/sym_check/util.py
return sys.platform.lower().strip()
./v8/buildtools/third_party/libc++/trunk/test/libcxx/test/target_info.py
if sys.platform.startswith("linux"):
elif sys.platform == "darwin":
./v8/tools/nacl-run.py
# Value of sys.platform so that the file is rejected if loaded from a
self.OS = sys.platform
if data.get('OS') != sys.platform:
assert not os.path.isabs(out.isolate_file) or sys.platform == 'win32'
follow_symlinks = sys.platform != 'win32'
is_win = sys.platform in ('win32', 'cygwin')
./v8/tools/swarming_client/isolate.py
'os': sys.platform,
./v8/tools/swarming_client/utils/on_error.py
if sys.platform == 'win32':
./v8/tools/swarming_client/utils/logging_utils.py
if sys.platform == 'win32':
elif sys.platform == 'darwin':
if sys.platform == 'win32':
elif sys.platform == 'darwin':
if sys.platform != 'win32': # All non-Windows OSes.
assert sys.platform == 'win32'
if sys.platform == 'win32':
if sys.platform == 'win32':
if sys.platform == 'win32':
if sys.platform == 'win32':
elif action == SYMLINK and sys.platform != 'win32':
if sys.platform != 'win32':
if sys.platform != 'win32':
if sys.platform != 'win32':
if sys.platform != 'win32':
if sys.platform != 'win32':
if sys.platform != 'win32':
if sys.platform != 'win32':
if sys.platform == 'win32':
if not i and sys.platform == 'win32':
if sys.platform != 'win32':
./v8/tools/swarming_client/utils/file_path.py
if sys.platform == 'win32':
./v8/tools/swarming_client/utils/fs.py
if sys.platform == 'win32':
if sys.platform == 'win32':
./v8/tools/swarming_client/isolate_format.py
'-o', '--os', default=sys.platform,
'sys.platform values like darwin, linux2 or win32 default: '
if sys.platform != 'win32':
./v8/tools/swarming_client/example/common.py
if sys.platform in ('win32', 'cygwin'):
./v8/tools/swarming_client/tools/run_swarming_tests_on_swarming.py
if sys.platform not in ('darwin', 'win32'):
if sys.platform != 'win32':
./v8/tools/swarming_client/isolated_format.py
if sys.platform == 'win32':
if sys.platform == 'win32':
./v8/tools/swarming_client/third_party/depot_tools/fix_encoding.py
if sys.platform.startswith("java"):
./v8/tools/swarming_client/third_party/requests/packages/urllib3/packages/six.py
on_windows = sys.platform.startswith('win')
./v8/tools/swarming_client/third_party/colorama/ansitowin32.py
if sys.platform.startswith('win'): # pragma: no cover
./v8/tools/swarming_client/third_party/infra_libs/logs/logs.py
if sys.platform == 'win32': # pragma: no cover
./v8/tools/swarming_client/third_party/infra_libs/ts_mon/config.py
if sys.platform.startswith('win'): # pragma: no cover
./v8/tools/swarming_client/third_party/infra_libs/httplib2_utils.py
if sys.platform == 'win32':
./v8/tools/swarming_client/third_party/infra_libs/utils.py
if sys.platform.startswith("java"):
if sys.platform == "win32":
./v8/tools/swarming_client/third_party/six/__init__.py
if sys.platform == 'win32':
if sys.platform != 'win32':
root, '.' + os.path.sep, blacklist, sys.platform != 'win32')
./v8/tools/swarming_client/isolateserver.py
if sys.platform == 'darwin':
elif sys.platform == 'win32':
./v8/tools/swarming_client/run_isolated.py
MODE_R = trace_inputs.Results.File.READ if sys.platform != 'win32' else None
MODE_W = trace_inputs.Results.File.WRITE if sys.platform != 'win32' else None
if sys.platform == 'win32':
if sys.platform == 'darwin':
if sys.platform == 'win32':
if sys.platform != 'win32':
if sys.platform != 'linux2':
if sys.platform == 'win32':
'initial_cwd': self.tempdir if sys.platform != 'win32' else None,
./v8/tools/swarming_client/tests/trace_inputs_smoke_test.py
if sys.platform == 'win32':
./v8/tools/swarming_client/tests/threading_utils_test.py
prefix = u'\\\\\\\\?\\\\' if sys.platform == 'win32' else u''
if sys.platform == 'win32':
elif sys.platform == 'darwin':
./v8/tools/swarming_client/tests/run_isolated_smoke_test.py
if sys.platform == 'win32':
if sys.platform != 'win32':
./v8/tools/swarming_client/tests/isolateserver_test.py
if sys.platform in ('darwin', 'win32'):
./v8/tools/swarming_client/tests/trace_inputs/child2.py
if sys.platform == 'win32':
./v8/tools/swarming_client/tests/trace_inputs/tricky_filename.py
'OS': sys.platform,
'OS': sys.platform,
'OS': sys.platform,
'OS': sys.platform,
'EXECUTABLE_SUFFIX': '.exe' if sys.platform == 'win32' else '',
if sys.platform == 'win32':
'OS': sys.platform,
'OS': sys.platform,
'OS': sys.platform,
'OS': sys.platform,
'OS': sys.platform,
u'OS': unicode(sys.platform),
sys.platform,
'.exe' if sys.platform=='win32' else '',
./v8/tools/swarming_client/tests/isolate_test.py
self.assertFileMode(filepath, mode, 0 if sys.platform == 'win32' else 077)
if sys.platform == 'win32':
if sys.platform == 'win32':
if sys.platform == 'darwin':
if sys.platform in ('darwin', 'win32'):
if sys.platform == 'win32':
if sys.platform == 'win32':
if sys.platform != 'win32':
./v8/tools/swarming_client/tests/file_path_test.py
u'os': unicode(sys.platform),
u'os': unicode(sys.platform),
u'os': unicode(sys.platform),
u'os': unicode(sys.platform),
./v8/tools/swarming_client/tests/on_error_test.py
if sys.platform != 'win32':
./v8/tools/swarming_client/tests/trace_inputs_test.py
if sys.platform == 'win32' else u'/path/to/non_existing')
./v8/tools/swarming_client/tests/isolate_format_test.py
if sys.platform == 'win32':
if sys.platform == 'win32':
if sys.platform == 'win32':
./v8/tools/swarming_client/tests/run_isolated_test.py
if sys.platform != 'win32':
if sys.platform != 'win32':
u'OS': unicode(sys.platform),
u'EXECUTABLE_SUFFIX': u'.exe' if sys.platform == 'win32' else u'',
if sys.platform != 'win32':
if sys.platform != 'win32':
if sys.platform != 'win32':
if sys.platform != 'win32':
./v8/tools/swarming_client/tests/isolate_smoke_test.py
if sys.platform == 'win32':
./v8/tools/swarming_client/tests/test_utils.py
if sys.platform == 'darwin':
if sys.platform != 'win32':
./v8/tools/swarming_client/tests/isolated_format_test.py
'signal.SIGBREAK' if sys.platform == 'win32' else 'signal.SIGTERM')
if sys.platform == 'win32':
timedout = 1 if sys.platform == 'win32' else -9
is_win = (sys.platform == 'win32')
is_win = (sys.platform == 'win32')
./v8/tools/swarming_client/tests/subprocess42_test.py
if sys.platform == 'win32':
./v8/tools/swarming_client/tests/logging_utils_test.py
if sys.platform == 'win32':
if sys.platform == 'win32':
if sys.platform != 'win32':
if sys.platform == 'cygwin':
return flavors.get(sys.platform, Strace)(**kwargs)
./v8/tools/swarming_client/trace_inputs.py
proc = subprocess.Popen(cmd, bufsize=1, shell=sys.platform == 'win32',
if sys.platform == 'darwin':
elif sys.platform == 'win32':
not sys.platform.startswith('linux') or
if sys.platform.startswith('linux'):
if sys.platform.startswith('linux'):
exe_ext = '.exe' if sys.platform == 'win32' else ''
if sys.platform == 'win32':
so_ext = 'dylib' if sys.platform == 'darwin' else 'so'
if sys.platform == 'darwin':
elif sys.platform.startswith('linux'):
elif sys.platform == 'win32':
if sys.platform == 'darwin' and f.endswith('.dylib'):
elif (sys.platform.startswith('linux') and
if sys.platform != 'win32':
if sys.platform == 'darwin':
if sys.platform == 'darwin':
if sys.platform.startswith('linux'):
./v8/tools/clang/scripts/package.py
if sys.platform == 'win32':
./v8/tools/clang/scripts/test_tool.py
if sys.platform == 'win32':
if msvc_arch and sys.platform == 'win32':
if sys.platform != 'win32':
if not sys.platform.startswith('linux') or args.gcc_toolchain:
if sys.platform == 'win32':
suffix = 'Darwin' if sys.platform == 'darwin' else 'Linux'
if sys.platform != 'win32':
sys.platform.startswith('linux') and
if sys.platform == 'win32' or sys.platform == 'cygwin':
elif sys.platform == 'darwin':
assert sys.platform.startswith('linux')
if sys.platform == 'win32':
if sys.platform == 'darwin':
if sys.platform.startswith('linux'):
if sys.platform == 'win32':
if sys.platform == 'darwin' and args.bootstrap:
cc_args = base_cmake_args if sys.platform != 'win32' else cmake_args
if sys.platform == 'darwin':
elif sys.platform.startswith('linux'):
#if args.bootstrap and sys.platform == 'win32':
if sys.platform != 'win32':
[LLVM_DIR if sys.platform == 'win32' else COMPILER_RT_DIR],
if sys.platform == 'win32':
elif sys.platform == 'darwin':
assert sys.platform.startswith('linux')
if sys.platform == 'win32':
if sys.platform != 'win32':
if sys.platform == 'darwin':
if sys.platform == 'win32':
default=sys.platform.startswith('linux'))
if args.lto_gold_plugin and not sys.platform.startswith('linux'):
if sys.platform == 'darwin' or sys.platform.startswith('linux'):
./v8/tools/clang/scripts/update.py
if sys.platform == 'win32':
./v8/tools/clang/scripts/run_tool.py
if not sys.platform in ['win32', 'cygwin']:
LIBSUFFIX = 'dylib' if sys.platform == 'darwin' else 'so'
./v8/tools/clang/scripts/blink_gc_plugin_flags.py
use_shell = sys.platform.startswith("win")
./v8/testing/gmock/scripts/upload.py
use_shell = sys.platform.startswith("win")
./v8/testing/gtest/scripts/upload.py
if not sys.platform.startswith('linux'):
./v8/third_party/binutils/download.py
if sys.platform in ('win32', 'cygwin'):
./v8/test/promises-aplus/testcfg.py
if sys.platform == 'win32':
./v8/build/gyp/PRESUBMIT.py
if sys.platform not in ('win32', 'cygwin'):
if sys.platform == 'cygwin':
./v8/build/gyp/pylib/gyp/MSVSVersion.py
if sys.platform == 'win32':
if sys.platform == 'win32' and os.path.exists(filename):
if sys.platform in flavors:
return flavors[sys.platform]
if sys.platform.startswith('sunos'):
if sys.platform.startswith('freebsd'):
if sys.platform.startswith('openbsd'):
if sys.platform.startswith('netbsd'):
if sys.platform.startswith('aix'):
./v8/build/gyp/pylib/gyp/common.py
if sys.platform == 'win32':
./v8/build/gyp/pylib/gyp/input.py
if sys.platform in ('win32', 'cygwin'):
elif sys.platform.startswith('linux'):
elif sys.platform == 'darwin':
./v8/build/gyp/pylib/gyp/generator/ninja.py
if sys.platform.startswith('win'):
./v8/build/gyp/pylib/gyp/generator/ninja_test.py
if sys.platform == 'darwin':
./v8/build/gyp/pylib/gyp/generator/xcode_test.py
(sys.version, sys.platform, repr(sorted(locals.keys())))
./v8/build/gyp/pylib/gyp/generator/gypsh.py
if sys.platform not in ('win32', 'cygwin'):
./v8/build/gyp/pylib/gyp/generator/msvs.py
if sys.platform in ('cygwin', 'win32'):
if sys.platform == 'darwin':
elif sys.platform in ('win32', 'cygwin'):
./v8/build/gyp/pylib/gyp/__init__.py
if sys.platform.startswith('aix'):
./v8/build/gyp/pylib/gyp/flock_tool.py
self.original_platform = sys.platform
sys.platform = self.original_platform
sys.platform = argument
./v8/build/gyp/pylib/gyp/common_test.py
if sys.platform == 'win32':
./v8/build/gyp/test/rules-variables/gyptest-rules-variables.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-cl-runtime-checks.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-cl-default-char-is-unsigned.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-debug-info.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-generate-manifest.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-profile.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-target-machine.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-noimportlib.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-cl-pdbname.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-cl-exception-handling.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-nodefaultlib.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-library-directories.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-unsupported-manifest.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-default-libs.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-incremental.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-opt-ref.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-cl-runtime-library.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-lib-ltcg.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-cl-rtti.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-additional-deps.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-warnings-as-errors.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-macro-vcinstalldir.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-safeseh.py
if (sys.platform == 'win32' and
./v8/build/gyp/test/win/gyptest-link-enable-winrt-app-revision.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-pdb-output.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-entrypointsymbol.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-defrelink.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-cl-warning-as-error.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-macro-targetpath.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-delay-load-dlls.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-cl-compile-as-managed.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-uldi.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-macros-containing-gyp.py
if sys.platform == 'win32':
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-large-pdb.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-aslr.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-force-symbol-reference.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-midl-includedirs.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-deffile.py
if (sys.platform == 'win32' and
./v8/build/gyp/test/win/gyptest-link-enable-winrt.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-cl-function-level-linking.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-cl-character-set.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-tsaware.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-cl-debug-format.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-macro-targetext.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-quoting-commands.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-rc-build.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-ltcg.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-asm-files.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-fixed-base.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-nxcompat.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-macro-targetfilename.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-shard.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-cl-warning-level.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-cl-enable-enhanced-instruction-set.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-cl-disable-specific-warnings.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-long-command-line.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/generator-output-different-drive/gyptest-generator-output-different-drive.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-outputfile.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-pdb-no-output.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-library-adjust.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-midl-rules.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-macro-targetname.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-system-include.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-stacksize.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-cl-calling-convention.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/precompiled/gyptest-all.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-restat-importlib.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-ml-safeseh.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-crosscompile-ar.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-cl-optimizations.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-opt-icf.py
if (sys.platform == 'win32' and
./v8/build/gyp/test/win/gyptest-cl-analysis.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-cl-force-include-files.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-pdb.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-cl-treat-wchar-t-as-built-in-type.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-subsystem.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-cl-buffer-security-check.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-uldi-depending-on-module.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-cl-pdbname-override.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-ordering.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-update-manifest.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-mapfile.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-base-address.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-cl-floating-point-model.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-cl-additional-options.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-pgo.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-cl-additional-include-dirs.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-macros-in-inputs-and-outputs.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-macro-projectname.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-additional-options.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/win-tool/gyptest-win-tool-handles-readonly-files.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-command-quote.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-midl-excluded.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-enable-uac.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-embed-manifest.py
if (sys.platform == 'win32' and
./v8/build/gyp/test/win/gyptest-link-enable-winrt-target-platform-version.py
if sys.platform == 'win32':
./v8/build/gyp/test/win/gyptest-link-large-address-aware.py
if sys.platform == 'win32':
./v8/build/gyp/test/rules/gyptest-special-variables.py
if sys.platform == 'win32':
./v8/build/gyp/test/rules/gyptest-all.py
if sys.platform == 'win32':
./v8/build/gyp/test/rules/gyptest-default.py
if sys.platform == 'win32':
./v8/build/gyp/test/many-actions/gyptest-many-actions-unsorted.py
if sys.platform == 'win32':
./v8/build/gyp/test/many-actions/gyptest-many-actions.py
if sys.platform == 'win32':
./v8/build/gyp/test/ninja/normalize-paths-win/gyptest-normalize-paths.py
if sys.platform == 'win32':
./v8/build/gyp/test/ninja/use-custom-environment-files/gyptest-use-custom-environment-files.py
objext = '.obj' if sys.platform == 'win32' else '.o'
./v8/build/gyp/test/ninja/chained-dependency/gyptest-chained-dependency.py
if sys.platform == 'win32' or sys.platform == 'win64':
./v8/build/gyp/test/ninja/s-needs-no-depfiles/gyptest-s-needs-no-depfiles.py
if sys.platform == 'win32':
objext = '.obj' if sys.platform == 'win32' else '.o'
./v8/build/gyp/test/ninja/action_dependencies/gyptest-action-dependencies.py
if sys.platform == 'darwin' and TestMac.Xcode.Version()>="0600":
./v8/build/gyp/test/ios/gyptest-extension.py
if sys.platform == 'darwin':
./v8/build/gyp/test/ios/gyptest-per-config-settings.py
if sys.platform == 'darwin' and TestMac.Xcode.Version() >= '0600':
./v8/build/gyp/test/ios/gyptest-app-ios-assets-catalog.py
if sys.platform == 'darwin':
./v8/build/gyp/test/ios/gyptest-deployment-target.py
if sys.platform == 'darwin':
./v8/build/gyp/test/ios/gyptest-xcode-ninja.py
if sys.platform == 'darwin':
./v8/build/gyp/test/ios/gyptest-crosscompile.py
if sys.platform == 'darwin' and TestMac.Xcode.Version()>="0700":
./v8/build/gyp/test/ios/gyptest-framework.py
if sys.platform == "darwin":
./v8/build/gyp/test/ios/xctests/gyptest-xctests.py
if sys.platform == 'darwin':
./v8/build/gyp/test/ios/gyptest-app-ios.py
if sys.platform == 'darwin':
./v8/build/gyp/test/ios/gyptest-archs.py
if sys.platform == 'darwin':
if sys.platform == 'darwin' and TestMac.Xcode.Version() >= "0620":
./v8/build/gyp/test/ios/gyptest-watch.py
if sys.platform == 'darwin':
expected_status = 0 if sys.platform in ['darwin', 'win32'] else 1
./v8/build/gyp/test/arflags/gyptest-arflags.py
if sys.platform in ['win32', 'cygwin']:
./v8/build/gyp/test/actions-multiple/gyptest-all.py
if sys.platform in ('darwin', 'win32'):
./v8/build/gyp/test/actions-multiple-outputs-with-dependencies/gyptest-action.py
if sys.platform == 'win32':
./v8/build/gyp/test/actions-multiple-outputs/gyptest-multiple-outputs.py
if sys.platform != 'win32':
./v8/build/gyp/test/symlinks/gyptest-symlinks.py
if sys.platform == 'win32':
./v8/build/gyp/test/compiler-override/gyptest-compiler-global-settings.py
if sys.platform == 'win32':
./v8/build/gyp/test/compiler-override/gyptest-compiler-env.py
if sys.platform == 'win32':
./v8/build/gyp/test/compiler-override/gyptest-compiler-env-toolchain.py
if sys.platform == 'win32':
./v8/build/gyp/test/msvs/rules_stdout_stderr/gyptest-rules-stdout-stderr.py
if sys.platform == 'win32':
./v8/build/gyp/test/msvs/config_attrs/gyptest-config_attrs.py
if sys.platform == 'win32':
./v8/build/gyp/test/msvs/missing_sources/gyptest-missing.py
if sys.platform == 'win32':
./v8/build/gyp/test/msvs/buildevents/gyptest-ninja-warnings.py
if sys.platform != 'win32':
./v8/build/gyp/test/assembly/gyptest-assembly.py
if sys.platform == 'win32':
./v8/build/gyp/test/assembly/gyptest-override.py
if sys.platform != 'darwin':
./v8/build/gyp/test/link-objects/gyptest-all.py
if sys.platform == 'win32':
subprocess.mswindows = (sys.platform == 'win32')
if sys.platform == 'win32' and command[0] == '"':
if sys.platform == 'win32':
if sys.platform == 'win32':
if sys.platform == 'win32':
./v8/build/gyp/test/lib/TestCmd.py
if sys.platform == 'win32':
elif sys.platform == 'cygwin':
elif string.find(sys.platform, 'irix') != -1:
elif string.find(sys.platform, 'darwin') != -1:
elif string.find(sys.platform, 'sunos') != -1:
./v8/build/gyp/test/lib/TestCommon.py
if sys.platform not in ('win32', 'cygwin'):
./v8/build/gyp/test/lib/TestWin.py
if sys.platform == 'win32':
if sys.platform != 'win32':
if sys.platform == 'darwin':
if sys.platform == 'darwin':
if sys.platform != 'darwin':
if sys.platform != 'darwin' and sys.platform != 'win32':
if sys.platform == 'darwin':
if type == self.STATIC_LIB and sys.platform != 'darwin':
elif type == self.SHARED_LIB and sys.platform != 'darwin':
if sys.platform == 'cygwin':
assert sys.platform == 'darwin'
if sys.platform in ('win32', 'cygwin'):
assert sys.platform in ('win32', 'cygwin')
if sys.platform == 'darwin':
if sys.platform != 'darwin':
if sys.platform != 'darwin' and sys.platform != 'win32':
./v8/build/gyp/test/lib/TestGyp.py
if sys.platform in ('win32', 'cygwin'):
./v8/build/gyp/test/target/gyptest-target.py
if sys.platform != 'win32':
./v8/build/gyp/test/copies/gyptest-attribs.py
if sys.platform == 'darwin':
./v8/build/gyp/test/copies/gyptest-updir.py
if sys.platform.startswith('linux'):
./v8/build/gyp/test/linux/gyptest-target-rpath.py
if sys.platform.startswith('linux'):
./v8/build/gyp/test/linux/gyptest-implicit-rpath.py
if sys.platform.startswith('linux'):
./v8/build/gyp/test/linux/gyptest-ldflags-duplicates.py
if test.format in supports_thick and sys.platform.startswith('linux'):
./v8/build/gyp/test/standalone-static-library/gyptest-standalone-static-library.py
if sys.platform == 'win32':
./v8/build/gyp/test/configurations/x64/gyptest-x86.py
if ((test.format == 'make' and sys.platform == 'darwin') or
./v8/build/gyp/test/errors/gyptest-errors.py
if sys.platform == 'win32':
./v8/build/gyp/test/variables/filelist/gyptest-filelist-golden.py
if sys.platform == 'win32':
if sys.platform == 'win32':
./v8/build/gyp/test/escaping/gyptest-colon.py
if sys.platform == 'win32':
./v8/build/gyp/test/rules-dirname/gyptest-dirname.py
if sys.platform == 'darwin':
./v8/build/gyp/test/dependencies/gyptest-lib-only.py
if sys.platform != 'win32' and test.format != 'make':
if sys.platform == 'darwin':
./v8/build/gyp/test/no-cpp/gyptest-no-cpp.py
if ((test.format == 'make' and sys.platform == 'darwin') or
./v8/build/gyp/test/same-source-file-name/gyptest-static.py
if sys.platform.startswith('linux'):
./v8/build/gyp/test/toolsets/gyptest-toolsets.py
if sys.platform != 'win32':
if sys.platform == 'win32':
if sys.platform != 'win32':
./v8/build/gyp/test/make_global_settings/env-wrapper/gyptest-wrapper.py
if sys.platform == 'win32':
if sys.platform == 'win32':
if sys.platform in ('linux2', 'darwin'):
./v8/build/gyp/test/make_global_settings/ld/gyptest-make_global_settings_ld.py
if sys.platform in ('linux2', 'darwin'):
if sys.platform == 'win32':
./v8/build/gyp/test/make_global_settings/wrapper/gyptest-wrapper.py
if sys.platform == 'win32':
if sys.platform == 'win32':
if sys.platform in ('linux2', 'darwin'):
if sys.platform == 'win32':
./v8/build/gyp/test/make_global_settings/ar/gyptest-make_global_settings_ar.py
if sys.platform == 'win32':
./v8/build/gyp/test/make_global_settings/full-toolchain/gyptest-make_global_settings.py
if sys.platform in ('linux2', 'darwin'):
if sys.platform == 'linux2':
elif sys.platform == 'darwin':
if sys.platform == 'win32':
./v8/build/gyp/test/make_global_settings/basics/gyptest-make_global_settings.py
if sys.platform in ('win32', 'cygwin'):
./v8/build/gyp/test/library_dirs/gyptest-library-dirs.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-postbuild-copy-bundle.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-non-strs-flattened-to-env.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-app-error.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-libraries.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-framework-headers.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-postbuild.py
if sys.platform == 'darwin':
if sys.platform == 'darwin' and TestMac.Xcode.Version() >= '0600':
./v8/build/gyp/test/mac/gyptest-app-assets-catalog.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-postbuild-fail.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-ldflags.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-objc-arc.py
if sys.platform == 'darwin':
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-framework.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-loadable-module-bundle-product-extension.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-global-settings.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-sdkroot.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-type-envvars.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-sourceless-module.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-identical-name.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-xcode-gcc.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-libtool-zero.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-archs.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-unicode-settings.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-strip.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-framework-dirs.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-objc-gc.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-lto.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-ldflags-passed-to-libtool.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-depend-on-bundle.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-prefixheader.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-swift-library.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-copies.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-clang-cxx-language-standard.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-kext.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-clang-cxx-library.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-rebuild.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-action-envvars.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-xcode-env-order.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-postbuild-multiple-configurations.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-infoplist-process.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-postbuild-defaults.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-installname.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-rpath.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-postbuild-static-library.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-xctest.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-xcode-gcc-clang.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-missing-cfbundlesignature.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-copy-dylib.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-loadable-module.py
if sys.platform in ('darwin', 'win32'):
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-app.py
if sys.platform in ('darwin'):
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-bundle-resources.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-deployment-target.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-cflags.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-xcode-support-actions.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-debuginfo.py
if sys.platform == 'darwin':
./v8/build/gyp/test/mac/gyptest-strip-default.py
if sys.platform == 'darwin':
./v8/build/gyp/test/generator-output/gyptest-mac-bundle.py
shell=(sys.platform == 'win32'),
}[sys.platform]
./v8/build/gyp/gyptest.py
if sys.platform.startswith('linux'):
elif sys.platform == 'darwin':
elif sys.platform == 'win32':
./v8/build/gyp/buildbot/buildbot_run.py
return sys.platform in ['win32', 'cygwin']
return sys.platform.startswith(('linux', 'freebsd', 'SunOS'))
return sys.platform == 'darwin'
./v8/build/landmine_utils.py
if ((sys.platform in ('win32', 'cygwin') or os.path.exists(json_data_file))
if ((sys.platform in ('win32', 'cygwin') or force) and
./v8/build/vs_toolchain.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment