/third_party/skia/infra/bots/assets/clang_linux/ |
H A D | create.py | 21 def create_asset(target_dir): 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 [all...] |
/third_party/freetype/ |
H A D | install.py | 59 def apply_patch(patch_file, target_dir): 61 if not os.path.exists(target_dir): 63 patch_cmd = ['patch', '-p1', "--fuzz=0", "--no-backup-if-mismatch", '-i', patch_file, '-d', target_dir] 70 def do_patch(target_dir): 83 apply_patch(patch, target_dir) 92 target_dir = os.path.join(args.gen_dir, "freetype") 93 target_include_dir = os.path.join(target_dir, "include") 95 untar_file(tar_file_path, target_dir) 96 move_file(args.source_dir, target_dir) 98 do_patch(target_dir) [all...] |
/third_party/skia/infra/bots/assets/valgrind/ |
H A D | create.py | 66 def copy_files(target_dir): 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): 97 copy_files(target_dir) [all...] |
/third_party/cups/ |
H A D | install.py | 61 def apply_patch(patch_file, target_dir): 63 if not os.path.exists(target_dir): 65 patch_cmd = ['patch', '-p1', "--fuzz=0", "--no-backup-if-mismatch", '-i', patch_file, '-d', target_dir] 72 def do_patch(target_dir): 88 apply_patch(patch, target_dir) 97 target_dir = os.path.join(args.gen_dir, "cups-2.4.0") 98 convs_dir = os.path.join(target_dir, "conf") 101 move_file(args.source_dir, target_dir) 102 do_patch(target_dir)
|
/third_party/harfbuzz/ |
H A D | install.py | 46 def apply_patch(patch_file, target_dir): 48 if not os.path.exists(target_dir): 50 patch_cmd = ['patch', '-p1', "--fuzz=0", "--no-backup-if-mismatch", '-i', patch_file, '-d', target_dir] 57 def do_patch(target_dir): 66 apply_patch(patch, target_dir) 75 target_dir = os.path.join(args.gen_dir, "harfbuzz-2.8.2") 78 move_file(args.source_dir, target_dir) 79 do_patch(target_dir)
|
/third_party/libpng/ |
H A D | install.py | 50 def apply_patch(patch_file, target_dir): 52 if not os.path.exists(target_dir): 54 patch_cmd = ['patch', '-p1', "--fuzz=0", "--no-backup-if-mismatch", '-i', patch_file, '-d', target_dir] 61 def do_patch(target_dir): 73 apply_patch(patch, target_dir) 82 target_dir = os.path.join(args.gen_dir, "libpng-1.6.38") 85 move_file(args.source_dir, target_dir) 86 do_patch(target_dir)
|
/third_party/jsoncpp/ |
H A D | install.py | 36 def apply_patch(patch_file, target_dir): 38 if not os.path.exists(target_dir): 41 patch_cmd = ['patch', '-p1', "--fuzz=0", "--no-backup-if-mismatch", '-i', patch_file, '-d', target_dir] 49 def do_patch(args, target_dir): 59 apply_patch(file_path, target_dir) 68 target_dir = os.path.join(args.gen_dir, "jsoncpp-1.9.5") 69 untar_file(tar_file_path, target_dir, args) 70 do_patch(args, target_dir)
|
/third_party/libffi/ |
H A D | install.py | 49 def apply_patch(patch_file, target_dir): 51 if not os.path.exists(target_dir): 53 patch_cmd = ['patch', '-p1', "--fuzz=0", "--no-backup-if-mismatch", '-i', patch_file, '-d', target_dir] 59 def do_patch(target_dir): 61 apply_patch(patch, target_dir) 69 target_dir = os.path.join(args.gen_dir, "libffi-3.4.2") 72 move_file(args.source_dir, target_dir) 73 do_patch(target_dir)
|
/third_party/libxml2/ |
H A D | install.py | 36 def apply_patch(patch_file, target_dir): 38 if not os.path.exists(target_dir): 41 patch_cmd = ['patch', '-p1', "--fuzz=0", "--no-backup-if-mismatch", '-i', patch_file, '-d', target_dir] 49 def do_patch(args, target_dir): 238 apply_patch(file_path, target_dir) 247 target_dir = os.path.join(args.gen_dir, "libxml2-2.9.14") 248 untar_file(tar_file_path, target_dir, args) 249 do_patch(args, target_dir)
|
/third_party/skia/infra/bots/assets/armhf_sysroot/ |
H A D | create.py | 23 def create_asset(target_dir): 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") 72 parser.add_argument('--target_dir', '-t', required=True) 74 create_asset(args.target_dir)
|
/third_party/skia/infra/bots/assets/gcloud_linux/ |
H A D | create.py | 27 def create_asset(target_dir): 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)]) 66 parser.add_argument('--target_dir', '-t', required=True) 68 create_asset(args.target_dir)
|
/third_party/skia/infra/bots/ |
H A D | zip_utils.py | 28 def zip(target_dir, zip_file, to_skip=None): # pylint: disable=W0622 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): 63 if not os.path.isdir(target_dir): 64 os.makedirs(target_dir) 71 dst_path = os.path.join(target_dir, dst_subpat [all...] |
/third_party/skia/infra/bots/assets/skp/ |
H A D | create.py | 45 def get_flutter_skps(target_dir): 63 copy_tree('skps', target_dir) 67 def create_asset(chrome_src_path, browser_executable, target_dir, 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)) 165 # 3. Copy over private SKPs from Google storage into the target_dir [all...] |
/third_party/libjpeg-turbo/ |
H A D | install.py | 52 def apply_patch(patch_file, target_dir): 54 if not os.path.exists(target_dir): 56 patch_cmd = ['patch', '-p1', "--fuzz=0", "--no-backup-if-mismatch", '-i', patch_file, '-d', target_dir] 63 def do_patch(target_dir): 72 apply_patch(patch, target_dir) 81 target_dir = os.path.join(args.gen_dir, "libjpeg-turbo-2.1.1") 84 move_file(args.source_dir, target_dir) 85 do_patch(target_dir)
|
/third_party/skia/infra/bots/assets/android_ndk_windows/ |
H A D | create.py | 24 def create_asset(target_dir): 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) 35 parser.add_argument('--target_dir', '-t', required=True) 37 create_asset(args.target_dir)
|
/third_party/skia/infra/bots/assets/android_ndk_darwin/ |
H A D | create.py | 24 def create_asset(target_dir): 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) 35 parser.add_argument('--target_dir', '-t', required=True) 37 create_asset(args.target_dir)
|
/third_party/skia/infra/bots/assets/android_ndk_linux/ |
H A D | create.py | 24 def create_asset(target_dir): 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) 35 parser.add_argument('--target_dir', '-t', required=True) 37 create_asset(args.target_dir)
|
/third_party/skia/infra/bots/assets/node/ |
H A D | create.py | 21 def create_asset(target_dir): 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") 35 parser.add_argument('--target_dir', '-t', required=True) 37 create_asset(args.target_dir)
|
/third_party/cups-filters/ |
H A D | install.py | 29 def apply_patch(patch_file, target_dir): 31 if not os.path.exists(target_dir): 33 patch_cmd = ['patch', '-p1', "--fuzz=0", "--no-backup-if-mismatch", '-i', patch_file, '-d', target_dir] 40 def do_patch(target_dir): 48 apply_patch(patch, target_dir)
|
/third_party/rust/crates/cxx/gen/build/src/ |
H A D | target.rs | 11 if let Some(target_dir) = env::var_os("CARGO_TARGET_DIR") { 12 let target_dir = PathBuf::from(target_dir); 13 if target_dir.is_absolute() { 14 return TargetDir::Path(target_dir);
|
/third_party/skia/infra/bots/assets/ccache_mac/ |
H A D | create.py | 27 def create_asset(target_dir): 29 target_dir = os.path.abspath(target_dir) 38 subprocess.check_call(["./configure", "--disable-man", "--prefix=" + target_dir]) 45 parser.add_argument('--target_dir', '-t', required=True) 47 create_asset(args.target_dir)
|
/third_party/skia/infra/bots/assets/ccache_linux/ |
H A D | create.py | 27 def create_asset(target_dir): 29 target_dir = os.path.abspath(target_dir) 38 subprocess.check_call(["./configure", "--disable-man", "--prefix=" + target_dir]) 44 parser.add_argument('--target_dir', '-t', required=True) 46 create_asset(args.target_dir)
|
/third_party/skia/infra/bots/assets/svg/ |
H A D | create.py | 24 def create_asset(target_dir): 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') 74 parser.add_argument('--target_dir', '-t', required=True) 76 create_asset(args.target_dir)
|
/third_party/node/deps/v8/tools/testrunner/local/ |
H A D | android.py | 104 def push_executable(self, shell_dir, target_dir, binary): 109 target_dir: Parent directory of the executable on the device (relative to 113 self.push_file(shell_dir, binary, target_dir) 120 target_dir, 126 target_dir, 132 target_dir, 136 def run(self, target_dir, binary, args, rel_path, timeout, env=None, 141 target_dir: Parent directory of the executable on the device (relative to 150 binary_on_device = os.path.join(DEVICE_DIR, target_dir, binary)
|
/third_party/skia/infra/bots/assets/win_ninja/ |
H A D | create.py | 20 def create_asset(target_dir): 23 subprocess.check_call(["unzip", "ninja-win.zip", "-d", target_dir]) 29 parser.add_argument('--target_dir', '-t', required=True) 31 create_asset(args.target_dir)
|