Lines Matching refs:join
43 CHROMIUM_DIR = os.path.abspath(os.path.join(THIS_DIR, '..', '..', '..'))
44 THIRD_PARTY_DIR = os.path.join(CHROMIUM_DIR, 'third_party')
45 LLVM_DIR = os.path.join(THIRD_PARTY_DIR, 'llvm')
46 LLVM_BOOTSTRAP_DIR = os.path.join(THIRD_PARTY_DIR, 'llvm-bootstrap')
47 LLVM_BOOTSTRAP_INSTALL_DIR = os.path.join(THIRD_PARTY_DIR,
49 LLVM_LTO_GOLD_PLUGIN_DIR = os.path.join(THIRD_PARTY_DIR, 'llvm-lto-gold-plugin')
50 CHROME_TOOLS_SHIM_DIR = os.path.join(LLVM_DIR, 'tools', 'chrometools')
51 LLVM_BUILD_DIR = os.path.join(CHROMIUM_DIR, 'third_party', 'llvm-build',
53 COMPILER_RT_BUILD_DIR = os.path.join(LLVM_BUILD_DIR, 'compiler-rt')
54 CLANG_DIR = os.path.join(LLVM_DIR, 'tools', 'clang')
55 LLD_DIR = os.path.join(LLVM_DIR, 'tools', 'lld')
60 COMPILER_RT_DIR = os.path.join(LLVM_DIR, 'projects', 'compiler-rt')
62 COMPILER_RT_DIR = os.path.join(LLVM_DIR, 'compiler-rt')
63 LIBCXX_DIR = os.path.join(LLVM_DIR, 'projects', 'libcxx')
64 LIBCXXABI_DIR = os.path.join(LLVM_DIR, 'projects', 'libcxxabi')
66 os.path.join(LLVM_DIR, '..', 'llvm-build-tools'))
68 os.path.join(LLVM_DIR, '..', 'llvm-build', 'cr_build_revision'))
69 BINUTILS_DIR = os.path.join(THIRD_PARTY_DIR, 'binutils')
70 BINUTILS_BIN_DIR = os.path.join(BINUTILS_DIR, BINUTILS_DIR,
72 BFD_PLUGINS_DIR = os.path.join(BINUTILS_DIR, 'Linux_x64', 'Release',
75 ANDROID_NDK_DIR = os.path.join(
191 os.remove(os.path.join(dirpath, 'CMakeCache.txt'))
193 RmTree(os.path.join(dirpath, 'CMakeFiles'))
218 command = ' '.join([pipes.quote(c) for c in command])
243 CopyFile(os.path.join(root, f), dst)
263 OLD_SHIM_DIR = os.path.join(LLVM_DIR, 'tools', 'zzz-chrometools')
279 with file(os.path.join(CHROME_TOOLS_SHIM_DIR, 'CMakeLists.txt'), 'w') as f:
299 gcc_dir = os.path.join(LLVM_BUILD_TOOLS_DIR, 'gcc485precise')
312 svn_dir = os.path.join(LLVM_BUILD_TOOLS_DIR, svn_ver)
322 cmake_dir = os.path.join(LLVM_BUILD_TOOLS_DIR,
327 cmake_dir = os.path.join(LLVM_BUILD_TOOLS_DIR, 'cmake343', 'bin')
338 gnuwin_dir = os.path.join(LLVM_BUILD_TOOLS_DIR, 'gnuwin')
340 GNUWIN_STAMP = os.path.join(gnuwin_dir, 'stamp')
359 sys.path.append(os.path.join(CHROMIUM_DIR, 'build'))
365 sys.path.append(os.path.join(CHROMIUM_DIR, 'tools', 'gyp', 'pylib'))
374 dia_path = os.path.join(GetVSVersion().Path(), 'DIA SDK', 'bin', 'amd64')
375 dia_dll = os.path.join(dia_path, DIA_DLL[GetVSVersion().ShortName()])
383 clang = os.path.join(LLVM_BUILD_DIR, 'bin', 'clang')
407 os.path.join(LLVM_BUILD_DIR, "lib/LLVMgold.so")):
430 CopyDiaDllTo(os.path.join(LLVM_BUILD_DIR, 'bin'))
480 cc = os.path.join(args.gcc_toolchain, 'bin', 'gcc')
481 cxx = os.path.join(args.gcc_toolchain, 'bin', 'g++')
508 binutils_incdir = os.path.join(BINUTILS_DIR, 'Linux_x64/Release/include')
518 '-DCMAKE_C_FLAGS=' + ' '.join(cflags),
519 '-DCMAKE_CXX_FLAGS=' + ' '.join(cxxflags),
528 CopyDiaDllTo(os.path.join(LLVM_BOOTSTRAP_DIR, 'bin'))
534 CopyFile(libstdcpp, os.path.join(LLVM_BOOTSTRAP_INSTALL_DIR, 'lib'))
537 cc = os.path.join(LLVM_BOOTSTRAP_INSTALL_DIR, 'bin', 'clang-cl.exe')
538 cxx = os.path.join(LLVM_BOOTSTRAP_INSTALL_DIR, 'bin', 'clang-cl.exe')
544 cc = os.path.join(LLVM_BOOTSTRAP_INSTALL_DIR, 'bin', 'clang')
545 cxx = os.path.join(LLVM_BOOTSTRAP_INSTALL_DIR, 'bin', 'clang++')
567 os.path.join(LLVM_BOOTSTRAP_INSTALL_DIR, 'lib', 'LLVMgold.so'),
568 os.path.join(BFD_PLUGINS_DIR, 'LLVMgold.so')])
580 '-DCMAKE_C_FLAGS=' + ' '.join(lto_cflags),
581 '-DCMAKE_CXX_FLAGS=' + ' '.join(lto_cflags),
582 '-DCMAKE_EXE_LINKER_FLAGS=' + ' '.join(lto_ldflags),
583 '-DCMAKE_SHARED_LINKER_FLAGS=' + ' '.join(lto_ldflags),
584 '-DCMAKE_MODULE_LINKER_FLAGS=' + ' '.join(lto_ldflags)]
638 '-DCMAKE_C_FLAGS=' + ' '.join(cflags),
639 '-DCMAKE_CXX_FLAGS=' + ' '.join(cxxflags),
640 '-DCMAKE_EXE_LINKER_FLAGS=' + ' '.join(ldflags),
641 '-DCMAKE_SHARED_LINKER_FLAGS=' + ' '.join(ldflags),
642 '-DCMAKE_MODULE_LINKER_FLAGS=' + ' '.join(ldflags),
647 '-DCHROMIUM_TOOLS_SRC=%s' % os.path.join(CHROMIUM_DIR, 'tools', 'clang'),
648 '-DCHROMIUM_TOOLS=%s' % ';'.join(chrome_tools)]
658 if not os.path.exists(os.path.join(LLVM_BUILD_DIR, 'lib')):
659 os.mkdir(os.path.join(LLVM_BUILD_DIR, 'lib'))
662 CopyFile(libstdcpp, os.path.join(LLVM_BUILD_DIR, 'lib'))
672 RunCommand(['strip', '-x', os.path.join(LLVM_BUILD_DIR, 'bin', 'clang')])
674 RunCommand(['strip', os.path.join(LLVM_BUILD_DIR, 'bin', 'clang')])
694 '-DCMAKE_C_FLAGS=' + ' '.join(cflags),
695 '-DCMAKE_CXX_FLAGS=' + ' '.join(cxxflags)]
700 os.path.join(LLVM_BUILD_DIR, 'bin', 'llvm-config'),
720 asan_rt_lib_src_dir = os.path.join(COMPILER_RT_BUILD_DIR, 'lib', platform)
724 asan_rt_lib_src_dir = os.path.join(COMPILER_RT_BUILD_DIR, 'lib', 'clang',
726 asan_rt_lib_dst_dir = os.path.join(LLVM_BUILD_DIR, 'lib', 'clang',
729 CopyDirectoryContents(os.path.join(asan_rt_lib_src_dir, '..', '..'),
730 os.path.join(asan_rt_lib_dst_dir, '..', '..'),
735 os.path.join(COMPILER_RT_BUILD_DIR, 'include/sanitizer'),
736 os.path.join(LLVM_BUILD_DIR, 'lib/clang', VERSION, 'include/sanitizer'))
740 for dylib in glob.glob(os.path.join(asan_rt_lib_dst_dir, '*.dylib')):
753 sanitizer_include_dir = os.path.join(LLVM_BUILD_DIR, 'lib', 'clang',
755 aux_sanitizer_include_dir = os.path.join(LLVM_BUILD_DIR, 'lib', 'clang',
761 CopyFile(os.path.join(sanitizer_include_dir, f),
765 make_toolchain = os.path.join(
769 toolchain_dir = os.path.join(
784 for f in glob.glob(os.path.join(toolchain_dir, 'include/c++/*/unwind.h')):
788 build_dir = os.path.join(LLVM_BUILD_DIR, 'android-' + target_arch)
790 os.mkdir(os.path.join(build_dir))
796 '-DCMAKE_C_COMPILER=' + os.path.join(LLVM_BUILD_DIR, 'bin/clang'),
797 '-DCMAKE_CXX_COMPILER=' + os.path.join(LLVM_BUILD_DIR, 'bin/clang++'),
798 '-DLLVM_CONFIG_PATH=' + os.path.join(LLVM_BUILD_DIR, 'bin/llvm-config'),
799 '-DCMAKE_C_FLAGS=' + ' '.join(cflags),
800 '-DCMAKE_CXX_FLAGS=' + ' '.join(cflags),
810 shutil.copy(os.path.join(root, runtime), asan_rt_lib_dst_dir)
818 CopyDiaDllTo(os.path.join(LLVM_BUILD_DIR, 'bin'))