Home
last modified time | relevance | path

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

12345678

/third_party/boost/libs/filesystem/test/
Dcopy_test.cpp109 fs::path target_dir = fs::unique_path(); in test_copy_file_default() local
110 fs::create_directory(target_dir); in test_copy_file_default()
112 fs::copy(root_dir / "f1", target_dir); in test_copy_file_default()
113 fs::copy(root_dir / "f2", target_dir / "f3"); in test_copy_file_default()
115 directory_tree tree = collect_directory_tree(target_dir); in test_copy_file_default()
121 verify_file(target_dir / "f1", "f1"); in test_copy_file_default()
122 verify_file(target_dir / "f3", "f2"); in test_copy_file_default()
124 fs::remove_all(target_dir); in test_copy_file_default()
131 fs::path target_dir = fs::unique_path(); in test_copy_dir_default() local
133 fs::copy(root_dir, target_dir); in test_copy_dir_default()
[all …]
/third_party/skia/infra/bots/assets/clang_linux/
Dcreate.py21 def create_asset(target_dir): argument
23 target_dir = os.path.abspath(target_dir)
34 "-DCMAKE_INSTALL_PREFIX=" + target_dir,
42 subprocess.check_call(["cp", "bin/llvm-symbolizer", target_dir + "/bin"])
43 subprocess.check_call(["cp", "bin/llvm-profdata", target_dir + "/bin"])
44 subprocess.check_call(["cp", "bin/llvm-cov", target_dir + "/bin"])
47 subprocess.check_call(["cp", libstdcpp.strip(), target_dir + "/lib"])
56 "-DCMAKE_C_COMPILER=" + target_dir + "/bin/clang",
57 "-DCMAKE_CXX_COMPILER=" + target_dir + "/bin/clang++",
61 subprocess.check_call(["cp", "-r", "lib", target_dir + "/" + short])
[all …]
/third_party/flutter/skia/infra/bots/assets/clang_linux/
Dcreate.py20 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 …]
/third_party/libinput/test/
Dgenerate-gcov-report.sh8 target_dir=$1
13 target_dir="$PWD/$target_dir"
15 summary_file="$target_dir/summary.txt"
17 mkdir -p "$target_dir"
18 rm -f "$target_dir"/*.gcov
28 \! -path "*/`basename "$target_dir"`/*" \
29 -exec mv {} "$target_dir" \;
34 for file in "$target_dir"/*.gcov; do
/third_party/flutter/skia/infra/bots/assets/svg/
Dcreate.py24 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)
/third_party/flutter/skia/infra/bots/assets/valgrind/
Dcreate.py62 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 …]
/third_party/flutter/skia/infra/bots/assets/
Dasset_utils.py118 def upload(self, name, version, target_dir, extra_tags=None): argument
123 '--in', target_dir,
134 def download(self, name, version, target_dir): argument
138 target_dir = os.path.abspath(target_dir)
145 '--root', target_dir,
198 def upload(self, name, version, target_dir, extra_tags=None): argument
200 target_dir = os.path.abspath(target_dir)
203 zip_utils.zip(target_dir, zip_file, blacklist=ZIP_BLACKLIST)
208 def download(self, name, version, target_dir): argument
212 target_dir = os.path.abspath(target_dir)
[all …]
/third_party/skia/infra/bots/assets/armhf_sysroot/
Dcreate.py23 def create_asset(target_dir): argument
36 shutil.copytree('/usr/arm-linux-gnueabihf', target_dir)
38 os.path.join(target_dir, 'gcc-cross'))
42 os.path.join(target_dir, 'lib'))
44 os.path.join(target_dir, 'lib'))
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)
/third_party/flutter/skia/infra/bots/assets/armhf_sysroot/
Dcreate.py22 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)
/third_party/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)
/third_party/flutter/skia/infra/bots/assets/gcloud_linux/
Dcreate.py25 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')
55 subprocess.check_call(['chmod', '+x', os.path.join(target_dir, fs_jar)])
65 create_asset(args.target_dir)
/third_party/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 …]
/third_party/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)
/third_party/flutter/skia/infra/bots/
Dzip_utils.py27 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)
/third_party/flutter/skia/infra/bots/assets/android_ndk_windows/
Dcreate.py22 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)
/third_party/flutter/skia/infra/bots/assets/skp/
Dcreate.py25 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,
/third_party/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))
181 os.path.join(new_skps_dir, f), os.path.join(target_dir, f))
198 create_asset(chrome_src_path, browser_executable, args.target_dir,
/third_party/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)
/third_party/flutter/skia/infra/bots/assets/android_ndk_linux/
Dcreate.py22 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)
/third_party/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)
/third_party/flutter/skia/infra/bots/assets/android_ndk_darwin/
Dcreate.py22 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)
/third_party/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)
/third_party/flutter/skia/infra/bots/assets/mips64el_toolchain_linux/
Dcreate.py47 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)
/third_party/flutter/skia/infra/bots/assets/node/
Dcreate.py19 def create_asset(target_dir): argument
22 p2 = subprocess.Popen(["tar", "-C", target_dir, "-xJf" "-"], stdin=p1.stdout)
26 os.path.join(target_dir, NODE_EXTRACT_NAME),
27 os.path.join(target_dir, "node")
35 create_asset(args.target_dir)
/third_party/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)

12345678