/external/python/setuptools/pkg_resources/tests/ |
D | test_find_distributions.py | 20 def target_dir(self, tmpdir): member in TestFindDistributions 21 target_dir = tmpdir.mkdir('target') 23 target_dir.mkdir('not.an.egg') 24 return str(target_dir) 32 def test_non_egg_dir_named_egg(self, target_dir): argument 33 dists = pkg_resources.find_distributions(target_dir) 36 def test_standalone_egg_directory(self, project_dir, target_dir): argument 42 '-d', target_dir, 47 dists = pkg_resources.find_distributions(target_dir) 49 dists = pkg_resources.find_distributions(target_dir, only=True) [all …]
|
/external/skqp/infra/bots/assets/clang_linux/ |
D | create.py | 20 def create_asset(target_dir): argument 22 target_dir = os.path.abspath(target_dir) 49 "-DCMAKE_INSTALL_PREFIX=" + target_dir, 55 subprocess.check_call(["cp", "bin/llvm-symbolizer", target_dir + "/bin"]) 56 subprocess.check_call(["cp", "bin/llvm-profdata", target_dir + "/bin"]) 57 subprocess.check_call(["cp", "bin/llvm-cov", target_dir + "/bin"]) 60 subprocess.check_call(["cp", libstdcpp.strip(), target_dir + "/lib"]) 67 "-DCMAKE_C_COMPILER=" + target_dir + "/bin/clang", 68 "-DCMAKE_CXX_COMPILER=" + target_dir + "/bin/clang++", 71 subprocess.check_call(["cp", "-r", "lib", target_dir + "/msan"]) [all …]
|
/external/skia/infra/bots/assets/clang_linux/ |
D | create.py | 20 def create_asset(target_dir): argument 22 target_dir = os.path.abspath(target_dir) 49 "-DCMAKE_INSTALL_PREFIX=" + target_dir, 55 subprocess.check_call(["cp", "bin/llvm-symbolizer", target_dir + "/bin"]) 56 subprocess.check_call(["cp", "bin/llvm-profdata", target_dir + "/bin"]) 57 subprocess.check_call(["cp", "bin/llvm-cov", target_dir + "/bin"]) 60 subprocess.check_call(["cp", libstdcpp.strip(), target_dir + "/lib"]) 67 "-DCMAKE_C_COMPILER=" + target_dir + "/bin/clang", 68 "-DCMAKE_CXX_COMPILER=" + target_dir + "/bin/clang++", 71 subprocess.check_call(["cp", "-r", "lib", target_dir + "/msan"]) [all …]
|
/external/skia/infra/bots/assets/svg/ |
D | create.py | 24 def create_asset(target_dir): argument 26 target_dir = os.path.realpath(target_dir) 28 if not os.path.exists(target_dir): 29 os.makedirs(target_dir) 34 '--output_dir', target_dir, 42 '--output_dir', target_dir, 54 target_dir 62 create_asset(args.target_dir)
|
/external/skqp/infra/bots/assets/svg/ |
D | create.py | 24 def create_asset(target_dir): argument 26 target_dir = os.path.realpath(target_dir) 28 if not os.path.exists(target_dir): 29 os.makedirs(target_dir) 34 '--output_dir', target_dir, 42 '--output_dir', target_dir, 54 target_dir 62 create_asset(args.target_dir)
|
/external/skqp/infra/bots/assets/ |
D | asset_utils.py | 120 def upload(self, name, version, target_dir, extra_tags=None): argument 125 '--in', target_dir, 136 def download(self, name, version, target_dir): argument 140 target_dir = os.path.abspath(target_dir) 147 '--root', target_dir, 190 def upload(self, name, version, target_dir, extra_tags=None): argument 192 target_dir = os.path.abspath(target_dir) 195 zip_utils.zip(target_dir, zip_file, blacklist=ZIP_BLACKLIST) 200 def download(self, name, version, target_dir): argument 204 target_dir = os.path.abspath(target_dir) [all …]
|
/external/skia/infra/bots/assets/ |
D | asset_utils.py | 120 def upload(self, name, version, target_dir, extra_tags=None): argument 125 '--in', target_dir, 136 def download(self, name, version, target_dir): argument 140 target_dir = os.path.abspath(target_dir) 147 '--root', target_dir, 190 def upload(self, name, version, target_dir, extra_tags=None): argument 192 target_dir = os.path.abspath(target_dir) 195 zip_utils.zip(target_dir, zip_file, blacklist=ZIP_BLACKLIST) 200 def download(self, name, version, target_dir): argument 204 target_dir = os.path.abspath(target_dir) [all …]
|
/external/skqp/infra/bots/assets/valgrind/ |
D | create.py | 62 def copy_files(target_dir): argument 64 os.mkdir(os.path.join(target_dir, 'bin')) 66 os.path.join(target_dir, 'bin', 'valgrind')) 67 os.mkdir(os.path.join(target_dir, 'lib')) 68 os.mkdir(os.path.join(target_dir, 'lib', 'valgrind')) 71 os.path.join(target_dir, 'lib', 'valgrind', lib)) 75 os.path.join(target_dir, 'lib', 'valgrind', libname)) 78 os.path.join(target_dir, 'lib', 'valgrind', 'default.supp')) 81 def create_asset(target_dir): argument 93 copy_files(target_dir) [all …]
|
/external/skia/infra/bots/assets/valgrind/ |
D | create.py | 62 def copy_files(target_dir): argument 64 os.mkdir(os.path.join(target_dir, 'bin')) 66 os.path.join(target_dir, 'bin', 'valgrind')) 67 os.mkdir(os.path.join(target_dir, 'lib')) 68 os.mkdir(os.path.join(target_dir, 'lib', 'valgrind')) 71 os.path.join(target_dir, 'lib', 'valgrind', lib)) 75 os.path.join(target_dir, 'lib', 'valgrind', libname)) 78 os.path.join(target_dir, 'lib', 'valgrind', 'default.supp')) 81 def create_asset(target_dir): argument 93 copy_files(target_dir) [all …]
|
/external/skqp/infra/bots/assets/armhf_sysroot/ |
D | create.py | 22 def create_asset(target_dir): argument 35 shutil.copytree('/usr/arm-linux-gnueabihf', target_dir) 37 os.path.join(target_dir, 'gcc-cross')) 42 os.path.join(target_dir, 'lib')) 44 os.path.join(target_dir, 'include')) 51 bad_libpthread = os.path.join(target_dir, "lib", "libpthread.so") 58 bad_libc = os.path.join(target_dir, "lib", "libc.so") 74 create_asset(args.target_dir)
|
/external/skia/infra/bots/assets/armhf_sysroot/ |
D | create.py | 22 def create_asset(target_dir): argument 35 shutil.copytree('/usr/arm-linux-gnueabihf', target_dir) 37 os.path.join(target_dir, 'gcc-cross')) 42 os.path.join(target_dir, 'lib')) 44 os.path.join(target_dir, 'include')) 51 bad_libpthread = os.path.join(target_dir, "lib", "libpthread.so") 58 bad_libc = os.path.join(target_dir, "lib", "libc.so") 74 create_asset(args.target_dir)
|
/external/skqp/infra/bots/ |
D | zip_utils.py | 27 def zip(target_dir, zip_file, blacklist=None): # pylint: disable=W0622 argument 29 if not os.path.isdir(target_dir): 30 raise IOError('%s does not exist!' % target_dir) 33 for r, d, f in os.walk(target_dir, topdown=True): 38 zi.filename = os.path.relpath(filepath, target_dir) 57 z.write(dirpath, os.path.relpath(dirpath, target_dir)) 60 def unzip(zip_file, target_dir): argument 62 if not os.path.isdir(target_dir): 63 os.makedirs(target_dir) 70 dst_path = os.path.join(target_dir, dst_subpath)
|
/external/skia/infra/bots/ |
D | zip_utils.py | 27 def zip(target_dir, zip_file, blacklist=None): # pylint: disable=W0622 argument 29 if not os.path.isdir(target_dir): 30 raise IOError('%s does not exist!' % target_dir) 33 for r, d, f in os.walk(target_dir, topdown=True): 38 zi.filename = os.path.relpath(filepath, target_dir) 57 z.write(dirpath, os.path.relpath(dirpath, target_dir)) 60 def unzip(zip_file, target_dir): argument 62 if not os.path.isdir(target_dir): 63 os.makedirs(target_dir) 70 dst_path = os.path.join(target_dir, dst_subpath)
|
/external/skia/infra/bots/assets/gcloud_linux/ |
D | create.py | 25 def create_asset(target_dir): argument 27 target_dir = os.path.abspath(target_dir) 33 '-C', target_dir]) 38 env["HOME"] = target_dir 39 gcloud_exe = os.path.join(target_dir, 'bin', 'gcloud') 58 create_asset(args.target_dir)
|
/external/skqp/infra/bots/assets/gcloud_linux/ |
D | create.py | 25 def create_asset(target_dir): argument 27 target_dir = os.path.abspath(target_dir) 33 '-C', target_dir]) 38 env["HOME"] = target_dir 39 gcloud_exe = os.path.join(target_dir, 'bin', 'gcloud') 58 create_asset(args.target_dir)
|
/external/skqp/infra/bots/assets/skp/ |
D | create.py | 25 def create_asset(chrome_src_path, browser_executable, target_dir, argument 30 target_dir = os.path.realpath(target_dir) 32 if not os.path.exists(target_dir): 33 os.makedirs(target_dir) 77 shutil.copyfile(os.path.join(src, f), os.path.join(target_dir, f)) 81 'gsutil', 'cp', os.path.join(PRIVATE_SKPS_GS, '*'), target_dir]) 91 create_asset(args.chrome_src_path, args.browser_executable, args.target_dir,
|
/external/skia/infra/bots/assets/skp/ |
D | create.py | 25 def create_asset(chrome_src_path, browser_executable, target_dir, argument 30 target_dir = os.path.realpath(target_dir) 32 if not os.path.exists(target_dir): 33 os.makedirs(target_dir) 77 shutil.copyfile(os.path.join(src, f), os.path.join(target_dir, f)) 81 'gsutil', 'cp', os.path.join(PRIVATE_SKPS_GS, '*'), target_dir]) 91 create_asset(args.chrome_src_path, args.browser_executable, args.target_dir,
|
/external/skqp/infra/bots/assets/android_ndk_windows/ |
D | create.py | 22 def create_asset(target_dir): argument 25 subprocess.check_call(["unzip", "ndk.zip", "-d", target_dir]) 26 for f in glob.glob(os.path.join(target_dir, NDK_VER, "*")): 27 shutil.move(f, target_dir) 32 shutil.rmtree(os.path.join(target_dir, 40 create_asset(args.target_dir)
|
/external/skia/infra/bots/assets/android_ndk_windows/ |
D | create.py | 22 def create_asset(target_dir): argument 25 subprocess.check_call(["unzip", "ndk.zip", "-d", target_dir]) 26 for f in glob.glob(os.path.join(target_dir, NDK_VER, "*")): 27 shutil.move(f, target_dir) 32 shutil.rmtree(os.path.join(target_dir, 40 create_asset(args.target_dir)
|
/external/v8/gypfiles/ |
D | vs_toolchain.py | 171 def _CopyRuntime2013(target_dir, source_dir, dll_pattern): argument 176 target = os.path.join(target_dir, dll) 181 def _CopyRuntime2015(target_dir, source_dir, dll_pattern, suffix): argument 186 target = os.path.join(target_dir, dll) 190 print 'Copying %s to %s...' % (ucrt_src_dir, target_dir) 193 ucrt_dst_file = os.path.join(target_dir, file_part) 195 _CopyRuntimeImpl(os.path.join(target_dir, 'ucrtbase' + suffix), 199 def _CopyRuntime(target_dir, source_dir, target_cpu, debug): argument 204 _CopyRuntime2015(target_dir, source_dir, '%s140' + suffix, suffix) 206 _CopyRuntime2013(target_dir, source_dir, 'msvc%s120' + suffix) [all …]
|
/external/skia/infra/bots/assets/mips64el_toolchain_linux/ |
D | create.py | 47 def create_asset(target_dir): argument 56 subprocess.check_call(['dpkg-deb', '--extract', f, target_dir]) 57 parent_dir = os.path.join(target_dir, 'usr') 65 os.rename(os.path.join(parent_dir, d), os.path.join(target_dir, d)) 68 lib_dir = os.path.join(target_dir, 'mips64el-linux-gnuabi64/lib') 87 create_asset(args.target_dir)
|
/external/skqp/infra/bots/assets/mips64el_toolchain_linux/ |
D | create.py | 47 def create_asset(target_dir): argument 56 subprocess.check_call(['dpkg-deb', '--extract', f, target_dir]) 57 parent_dir = os.path.join(target_dir, 'usr') 65 os.rename(os.path.join(parent_dir, d), os.path.join(target_dir, d)) 68 lib_dir = os.path.join(target_dir, 'mips64el-linux-gnuabi64/lib') 87 create_asset(args.target_dir)
|
/external/skia/infra/bots/assets/android_ndk_darwin/ |
D | create.py | 22 def create_asset(target_dir): argument 25 subprocess.check_call(["unzip", "ndk.zip", "-d", target_dir]) 26 for f in glob.glob(os.path.join(target_dir, NDK_VER, "*")): 27 shutil.move(f, target_dir) 35 create_asset(args.target_dir)
|
/external/skqp/infra/bots/assets/android_ndk_linux/ |
D | create.py | 22 def create_asset(target_dir): argument 25 subprocess.check_call(["unzip", "ndk.zip", "-d", target_dir]) 26 for f in glob.glob(os.path.join(target_dir, NDK_VER, "*")): 27 shutil.move(f, target_dir) 35 create_asset(args.target_dir)
|
/external/skqp/infra/bots/assets/android_ndk_darwin/ |
D | create.py | 22 def create_asset(target_dir): argument 25 subprocess.check_call(["unzip", "ndk.zip", "-d", target_dir]) 26 for f in glob.glob(os.path.join(target_dir, NDK_VER, "*")): 27 shutil.move(f, target_dir) 35 create_asset(args.target_dir)
|