Home
last modified time | relevance | path

Searched refs:target_dir (Results 1 – 25 of 123) sorted by relevance

12345

/external/python/setuptools/pkg_resources/tests/
Dtest_find_distributions.py12 def target_dir(self, tmpdir): member in TestFindDistributions
13 target_dir = tmpdir.mkdir('target')
15 target_dir.mkdir('not.an.egg')
16 return target_dir
18 def test_non_egg_dir_named_egg(self, target_dir): argument
19 dists = pkg_resources.find_distributions(str(target_dir))
22 def test_standalone_egg_directory(self, target_dir): argument
23 (TESTS_DATA_DIR / 'my-test-package_unpacked-egg').copy(target_dir)
24 dists = pkg_resources.find_distributions(str(target_dir))
26 dists = pkg_resources.find_distributions(str(target_dir), only=True)
[all …]
/external/skia/infra/bots/assets/armhf_sysroot/
Dcreate.py21 def create_asset(target_dir): argument
33 shutil.rmtree(target_dir)
34 shutil.copytree('/usr/arm-linux-gnueabihf', target_dir)
36 os.path.join(target_dir, 'gcc-cross'))
40 os.path.join(target_dir, 'lib'))
42 os.path.join(target_dir, 'lib'))
44 os.path.join(target_dir, 'lib'))
51 bad_libc = os.path.join(target_dir, "lib", "libc.so")
67 create_asset(args.target_dir)
/external/skia/infra/bots/assets/mockery/
Dcreate.py23 def create_asset(target_dir): argument
25 os.chdir(target_dir)
31 os.chdir(os.path.join(target_dir, REPO_DIR))
63 shutil.copy(os.path.join(target_dir, REPO_DIR, BINARY_NAME), target_dir)
64 shutil.rmtree(os.path.join(target_dir, REPO_DIR))
65 os.chdir(target_dir)
72 create_asset(args.target_dir)
/external/skia/infra/bots/assets/valgrind/
Dcreate.py66 def copy_files(target_dir): argument
68 os.mkdir(os.path.join(target_dir, 'bin'))
70 os.path.join(target_dir, 'bin', 'valgrind'))
71 os.mkdir(os.path.join(target_dir, 'lib'))
72 os.mkdir(os.path.join(target_dir, 'lib', 'valgrind'))
75 os.path.join(target_dir, 'lib', 'valgrind', lib))
79 os.path.join(target_dir, 'lib', 'valgrind', libname))
82 os.path.join(target_dir, 'lib', 'valgrind', 'default.supp'))
85 def create_asset(target_dir): argument
97 copy_files(target_dir)
[all …]
/external/skia/infra/bots/assets/gcloud_linux/
Dcreate.py27 def create_asset(target_dir): argument
29 target_dir = os.path.abspath(target_dir)
35 '-C', target_dir])
40 env["HOME"] = target_dir
41 gcloud_exe = os.path.join(target_dir, 'bin', 'gcloud')
57 subprocess.check_call(['chmod', '+x', os.path.join(target_dir, fs_jar)])
68 create_asset(args.target_dir)
/external/skia/infra/bots/
Dzip_utils.py28 def zip(target_dir, zip_file, to_skip=None): # pylint: disable=W0622 argument
30 if not os.path.isdir(target_dir):
31 raise IOError('%s does not exist!' % target_dir)
34 for r, d, f in os.walk(target_dir, topdown=True):
39 zi.filename = os.path.relpath(filepath, target_dir)
58 z.write(dirpath, os.path.relpath(dirpath, target_dir))
61 def unzip(zip_file, target_dir): argument
63 if not os.path.isdir(target_dir):
64 os.makedirs(target_dir)
71 dst_path = os.path.join(target_dir, dst_subpath)
/external/skia/infra/bots/assets/skp/
Dcreate.py45 def get_flutter_skps(target_dir): argument
63 copy_tree('skps', target_dir)
67 def create_asset(chrome_src_path, browser_executable, target_dir, argument
86 target_dir = os.path.realpath(target_dir)
88 if not os.path.exists(target_dir):
89 os.makedirs(target_dir)
92 get_flutter_skps(target_dir)
162 shutil.copyfile(os.path.join(src, f), os.path.join(target_dir, f))
188 os.path.join(target_dir, f.replace('.skp.skp', '.skp')))
205 create_asset(chrome_src_path, browser_executable, args.target_dir,
/external/angle/build/
Dvs_toolchain.py285 def _CopyUCRTRuntime(target_dir, source_dir, target_cpu, suffix): argument
308 target = os.path.join(target_dir, dll)
333 _CopyRuntimeImpl(os.path.join(target_dir, 'ucrtbase' + suffix),
367 def _CopyRuntime(target_dir, source_dir, target_cpu, debug): argument
372 _CopyUCRTRuntime(target_dir, source_dir, target_cpu, suffix)
375 def CopyDlls(target_dir, configuration, target_cpu): argument
397 _CopyRuntime(target_dir, runtime_dir, target_cpu, debug=False)
399 _CopyRuntime(target_dir, runtime_dir, target_cpu, debug=True)
400 _CopyDebugger(target_dir, target_cpu)
402 target_dir = os.path.join(target_dir, 'win_clang_x64')
[all …]
/external/cronet/build/
Dvs_toolchain.py285 def _CopyUCRTRuntime(target_dir, source_dir, target_cpu, suffix): argument
308 target = os.path.join(target_dir, dll)
333 _CopyRuntimeImpl(os.path.join(target_dir, 'ucrtbase' + suffix),
367 def _CopyRuntime(target_dir, source_dir, target_cpu, debug): argument
372 _CopyUCRTRuntime(target_dir, source_dir, target_cpu, suffix)
375 def CopyDlls(target_dir, configuration, target_cpu): argument
397 _CopyRuntime(target_dir, runtime_dir, target_cpu, debug=False)
399 _CopyRuntime(target_dir, runtime_dir, target_cpu, debug=True)
400 _CopyDebugger(target_dir, target_cpu)
402 target_dir = os.path.join(target_dir, 'win_clang_x64')
[all …]
/external/libchrome/build/
Dvs_toolchain.py179 def _CopyUCRTRuntime(target_dir, source_dir, target_cpu, dll_pattern, suffix): argument
184 target = os.path.join(target_dir, dll)
202 ucrt_dst_file = os.path.join(target_dir, file_part)
204 _CopyRuntimeImpl(os.path.join(target_dir, 'ucrtbase' + suffix),
231 def _CopyPGORuntime(target_dir, target_cpu): argument
260 _CopyRuntimeImpl(os.path.join(target_dir, runtime), source)
263 def _CopyRuntime(target_dir, source_dir, target_cpu, debug): argument
268 _CopyUCRTRuntime(target_dir, source_dir, target_cpu, '%s140' + suffix,
272 def CopyDlls(target_dir, configuration, target_cpu): argument
287 _CopyRuntime(target_dir, runtime_dir, target_cpu, debug=False)
[all …]
/external/skia/infra/bots/assets/android_ndk_darwin/
Dcreate.py24 def create_asset(target_dir): argument
27 subprocess.check_call(["unzip", "ndk.zip", "-d", target_dir])
28 for f in glob.glob(os.path.join(target_dir, NDK_VER, "*")):
29 shutil.move(f, target_dir)
37 create_asset(args.target_dir)
/external/skia/infra/bots/assets/android_ndk_linux/
Dcreate.py24 def create_asset(target_dir): argument
27 subprocess.check_call(["unzip", "ndk.zip", "-d", target_dir])
28 for f in glob.glob(os.path.join(target_dir, NDK_VER, "*")):
29 shutil.move(f, target_dir)
37 create_asset(args.target_dir)
/external/skia/infra/bots/assets/android_ndk_windows/
Dcreate.py24 def create_asset(target_dir): argument
27 subprocess.check_call(["unzip", "ndk.zip", "-d", target_dir])
28 for f in glob.glob(os.path.join(target_dir, NDK_VER, "*")):
29 shutil.move(f, target_dir)
37 create_asset(args.target_dir)
/external/skia/infra/bots/assets/node/
Dcreate.py21 def create_asset(target_dir): argument
24 p2 = subprocess.Popen(["tar", "-C", target_dir, "-xJf" "-"], stdin=p1.stdout)
28 os.path.join(target_dir, NODE_EXTRACT_NAME),
29 os.path.join(target_dir, "node")
37 create_asset(args.target_dir)
/external/skia/infra/bots/assets/svg/
Dcreate.py24 def create_asset(target_dir): argument
26 target_dir = os.path.realpath(target_dir)
27 target_svg_dir = os.path.join(target_dir, 'svg')
28 target_image_dir = os.path.join(target_dir, 'images')
76 create_asset(args.target_dir)
/external/skia/infra/bots/assets/kubectl/
Dcreate.py22 def create_asset(target_dir): argument
24 subprocess.check_call(['curl', '-LO', DOWNLOAD_URL], cwd=target_dir)
28 cwd=target_dir,
36 subprocess.check_call(['chmod', 'a+x', 'kubectl'], cwd=target_dir)
43 create_asset(args.target_dir)
/external/rust/cxx/gen/build/src/
Dtarget.rs11 if let Some(target_dir) = env::var_os("CARGO_TARGET_DIR") { in find_target_dir()
12 let target_dir = PathBuf::from(target_dir); in find_target_dir() localVariable
13 if target_dir.is_absolute() { in find_target_dir()
14 return TargetDir::Path(target_dir); in find_target_dir()
/external/skia/infra/bots/assets/ccache_mac/
Dcreate.py27 def create_asset(target_dir): argument
29 target_dir = os.path.abspath(target_dir)
38 subprocess.check_call(["./configure", "--disable-man", "--prefix=" + target_dir])
47 create_asset(args.target_dir)
/external/skia/infra/bots/assets/ccache_linux/
Dcreate.py27 def create_asset(target_dir): argument
29 target_dir = os.path.abspath(target_dir)
38 subprocess.check_call(["./configure", "--disable-man", "--prefix=" + target_dir])
46 create_asset(args.target_dir)
/external/python/setuptools/setuptools/command/
Dupload_docs.py59 self.target_dir = None
66 self.target_dir = dict(build_sphinx.builder_target_dirs)['html']
69 self.target_dir = os.path.join(build.build_base, 'docs')
72 self.target_dir = self.upload_dir
75 self.announce('Using upload directory %s' % self.target_dir)
80 self.mkpath(self.target_dir) # just in case
81 for root, dirs, files in os.walk(self.target_dir):
82 if root == self.target_dir and not files:
84 raise DistutilsOptionError(tmpl % self.target_dir)
87 relative = root[len(self.target_dir):].lstrip(os.path.sep)
/external/perfetto/tools/
Drun_android_test146 target_dir = '/data/local/tmp/perfetto_tests'
148 AdbCall('shell', 'rm -rf "%s"' % target_dir)
149 AdbCall('shell', 'mkdir -p "%s"' % target_dir)
172 AdbPush(os.path.join(ROOT_DIR, dep), target_dir + '/' + dep)
178 AdbPush(sanitizer_libs, target_dir)
179 env += 'LD_LIBRARY_PATH="%s/sanitizer_libs" ' % (target_dir)
180 cmd = 'cd %s;' % target_dir
189 AdbCall('shell', 'rm -rf "%s"' % target_dir)
/external/skia/infra/bots/assets/yq/
Dcreate.py19 def create_asset(target_dir): argument
21 subprocess.check_call(['wget', '-O', 'yq', DOWNLOAD_URL], cwd=target_dir)
22 subprocess.check_call(['chmod', 'a+x', 'yq'], cwd=target_dir)
29 create_asset(args.target_dir)
/external/skia/infra/bots/assets/jq/
Dcreate.py19 def create_asset(target_dir): argument
21 subprocess.check_call(['wget', '-O', 'jq', DOWNLOAD_URL], cwd=target_dir)
22 subprocess.check_call(['chmod', 'a+x', 'jq'], cwd=target_dir)
29 create_asset(args.target_dir)
/external/skia/infra/bots/assets/clang_linux/
Dcreate.py17 def create_asset(target_dir): argument
25 os.makedirs(target_dir, exist_ok=True)
26 args = ['docker', 'run', '--mount', 'type=bind,source=%s,target=/OUT' % target_dir,
39 create_asset(args.target_dir)
/external/vulkan-validation-layers/build-gn/
Dgenerate_vulkan_layers_json.py45 target_dir = args.target_dir
56 if not os.path.exists(target_dir):
57 os.makedirs(target_dir)
81 target_fname = os.path.join(target_dir, os.path.basename(json_fname))
116 json_out_fname = os.path.join(target_dir, json_in_fname[:-len('.in')])

12345