/external/chromium_org/build/linux/ |
install-chromeos-fonts.py | 38 dest_dir = os.path.join(FONTS_DIR, 'chromeos') 42 stamp = os.path.join(dest_dir, ".stamp02") 46 print "Chrome OS fonts already up-to-date in %s." % dest_dir 49 if os.path.isdir(dest_dir): 50 shutil.rmtree(dest_dir) 51 os.mkdir(dest_dir) 52 os.chmod(dest_dir, 0755) 54 print "Installing Chrome OS fonts to %s." % dest_dir 55 tarball = os.path.join(dest_dir, URL_FILE) 58 '-xf', tarball, '-C', dest_dir]) [all...] |
/frameworks/webview/chromium/tools/ |
merge_to_android.py | 52 dest_dir = _GetAbsPath(project) 56 cwd=dest_dir) 59 '-t', tracking_branch], cwd=dest_dir) 73 dest_dir = _GetAbsPath(project) 76 cwd=dest_dir) 78 cwd=dest_dir).strip() 91 dest_dir = _GetAbsPath(project) 95 cwd=dest_dir).strip() 96 merge_log = os.path.join(dest_dir, '.merged-revisions') 99 os.path.join(dest_dir, '.git', 'info', 'grafts') [all...] |
merge_from_chromium.py | 179 dest_dir = os.path.join(merge_common.REPOSITORY_ROOT, path) 187 cwd=dest_dir) 191 merge_common.GetCommandStdout(fetch_args, cwd=dest_dir) 193 cwd=dest_dir): 197 cwd=dest_dir, ignore_errors=True) 200 cwd=dest_dir, unattended=unattended) 242 dest_dir = os.path.join(merge_common.REPOSITORY_ROOT, path) 244 exclude_list, cwd=dest_dir) 245 if _ModifiedFilesInIndex(dest_dir): 248 cwd=dest_dir) [all...] |
/external/skia/tools/pyutils/ |
url_utils.py | 58 dest_dir = os.path.dirname(dest_path) 59 if not os.path.exists(dest_dir): 60 os.makedirs(dest_dir)
|
/external/chromium_org/chrome/test/chromedriver/ |
archive.py | 36 def DownloadChrome(revision, dest_dir, site=Site.CONTINUOUS): 41 dest_dir: the directory to download Chrome to. 61 zip_path = os.path.join(dest_dir, 'chrome-%s.zip' % revision) 67 util.Unzip(zip_path, dest_dir) 68 return os.path.join(dest_dir, GetZipName(), GetChromePathFromPackage())
|
/external/chromium_org/third_party/skia/platform_tools/android/gyp_gen/ |
tool_makefile_writer.py | 39 def generate_tool(gyp_dir, target_file, skia_trunk, dest_dir, 51 dest_dir: Destination for 'Android.mk', relative to skia_trunk. Used for 70 gypd_parser.parse_gypd(var_dict, result_file, dest_dir, desired_targets) 87 full_dest = os.path.join(skia_trunk, dest_dir) 89 full_dest = dest_dir
|
gypd_parser.py | 15 def parse_dictionary(var_dict, d, current_target_name, dest_dir): 31 dest_dir: Destination for the eventual Android.mk that will be created from 46 # relative to dest_dir. 48 rel_source = os.path.relpath(rel_source, dest_dir) 77 parse_gypd(var_dict, sub_path, dest_dir, sub_targets) 84 parse_dictionary(var_dict, config, current_target_name, dest_dir) 97 # wants relative to dest_dir. 99 rel_include = os.path.relpath(rel_include, dest_dir) 118 def parse_gypd(var_dict, path, dest_dir, desired_targets=None): 128 dest_dir: Destination for the eventual Android.mk that will be created fro [all...] |
/external/skia/platform_tools/android/gyp_gen/ |
gypd_parser.py | 15 def parse_dictionary(var_dict, d, current_target_name, dest_dir): 31 dest_dir: Destination for the eventual Android.mk that will be created from 46 # relative to dest_dir. 48 rel_source = os.path.relpath(rel_source, dest_dir) 77 parse_gypd(var_dict, sub_path, dest_dir, sub_targets) 84 parse_dictionary(var_dict, config, current_target_name, dest_dir) 97 # wants relative to dest_dir. 99 rel_include = os.path.relpath(rel_include, dest_dir) 118 def parse_gypd(var_dict, path, dest_dir, desired_targets=None): 128 dest_dir: Destination for the eventual Android.mk that will be created fro [all...] |
tool_makefile_writer.py | 46 def generate_tool(gyp_dir, target_file, skia_trunk, dest_dir, 58 dest_dir: Destination for 'Android.mk', relative to skia_trunk. Used for 78 gypd_parser.parse_gypd(var_dict, result_file, dest_dir) 95 full_dest = os.path.join(skia_trunk, dest_dir) 97 full_dest = dest_dir
|
/cts/tools/vm-tests-tf/src/util/build/ |
DasmBuildStep.java | 94 String dest_dir = outputFile.folder.getAbsolutePath(); local 97 if (dest_dir != null) { 98 dest_dir = dest_dir + File.separator + class_dir; 100 dest_dir = class_dir; 106 if (dest_dir == null) { 109 out_file = new File(dest_dir, class_name + ".dex"); 111 // check that dest_dir exists 112 File dest = new File(dest_dir); 118 System.err.println("Cannot create directory " + dest_dir); [all...] |
/external/chromium_org/third_party/skia/tools/ |
gen_bench_expectations_from_codereview.py | 90 def get_bench_data(builder, build_num, dest_dir): 96 dest_dir: string; destination directory for the bench data. 99 subprocess.check_call(['gsutil', 'cp', '-R', url, dest_dir]) 102 def find_revision_from_downloaded_data(dest_dir): 106 dest_dir: string; directory holding the downloaded data. 112 for data_file in os.listdir(dest_dir): 196 dest_dir = os.path.join(TMP_BENCH_DATA_DIR, builder) 197 os.makedirs(dest_dir) 199 get_bench_data(try_builder, try_build.build_number, dest_dir) 205 revision = find_revision_from_downloaded_data(dest_dir) [all...] |
svndiff.py | 222 def SvnDiff(path_to_skdiff, dest_dir, source_dir): 226 @param dest_dir existing directory within which to write results 231 if not dest_dir: 232 dest_dir = tempfile.mkdtemp() 233 dest_dir = os.path.abspath(dest_dir) 244 modified_flattened_dir = os.path.join(dest_dir, 'modified_flattened') 245 original_flattened_dir = os.path.join(dest_dir, 'original_flattened') 246 diff_dir = os.path.join(dest_dir, 'diffs') 315 SvnDiff(path_to_skdiff=options.path_to_skdiff, dest_dir=options.dest_dir [all...] |
/external/skia/tools/ |
gen_bench_expectations_from_codereview.py | 79 def get_bench_data(builder, build_num, dest_dir): 85 dest_dir: string; destination directory for the bench data. 88 subprocess.check_call(['gsutil', 'cp', '-R', url, dest_dir], 93 def find_revision_from_downloaded_data(dest_dir): 97 dest_dir: string; directory holding the downloaded data. 103 for data_file in os.listdir(dest_dir): 143 dest_dir = os.path.join(TMP_BENCH_DATA_DIR, builder) 144 os.makedirs(dest_dir) 146 get_bench_data(try_builder, try_build.build_number, dest_dir) 152 revision = find_revision_from_downloaded_data(dest_dir) [all...] |
svndiff.py | 222 def SvnDiff(path_to_skdiff, dest_dir, source_dir): 226 @param dest_dir existing directory within which to write results 231 if not dest_dir: 232 dest_dir = tempfile.mkdtemp() 233 dest_dir = os.path.abspath(dest_dir) 244 modified_flattened_dir = os.path.join(dest_dir, 'modified_flattened') 245 original_flattened_dir = os.path.join(dest_dir, 'original_flattened') 246 diff_dir = os.path.join(dest_dir, 'diffs') 315 SvnDiff(path_to_skdiff=options.path_to_skdiff, dest_dir=options.dest_dir [all...] |
/cts/tools/dasm/src/dasm/ |
Main.java | 115 String dest_dir = destPath; local 119 if (dest_dir != null) { 120 dest_dir = dest_dir + File.separator + class_dir; 122 dest_dir = class_dir; 129 if (dest_dir == null) { 133 out_file = new File(dest_dir, class_name + ".dex"); 134 hr_file = new File(dest_dir, class_name + ".dxt"); 136 // check that dest_dir exists 137 File dest = new File(dest_dir); [all...] |
/external/chromium_org/third_party/skia/gm/rebaseline_server/ |
download_actuals.py | 55 def fetch(self, builder_name, dest_dir): 60 dest_dir: path to directory where the image files will be written; 84 dest_path = os.path.join(dest_dir, config, test + '.png') 119 required_params.append('dest_dir') 149 dest_dir=params.dest_dir)
|
download_actuals_test.py | 44 dest_dir=self.output_dir_actual)
|
/external/chromium_org/third_party/zlib/google/ |
zip.h | 41 // Unzip the contents of zip_file into dest_dir. 42 bool Unzip(const base::FilePath& zip_file, const base::FilePath& dest_dir);
|
/external/skia/gm/rebaseline_server/ |
download_actuals.py | 53 def fetch(self, builder_name, dest_dir): 58 dest_dir: path to directory where the image files will be written; 82 dest_path = os.path.join(dest_dir, config, test + '.png') 117 required_params.append('dest_dir') 147 dest_dir=params.dest_dir)
|
download_actuals_test.py | 45 dest_dir=self._output_dir_actual)
|
/frameworks/base/tools/layoutlib/rename_font/ |
build_font.py | 40 dest_dir = '/tmp' variable 70 global dest_dir 71 dest_dir = argv[-1] 74 os.chdir(dest_dir) 88 shutil.copy(input_path, dest_dir) 101 ttx_path = os.path.join(dest_dir, filename) 106 ttx_args = ['-q', '-d', dest_dir, input_path] 115 ttx_args = ['-q', '-d', dest_dir, ttx_path] 126 shutil.copy(input_path, dest_dir)
|
/pdk/build/ |
pdk_utils.py | 70 dest_dir = os.path.dirname(dest_file) 71 if not os.path.isdir(dest_dir): 72 os.makedirs(dest_dir) 78 def copy_file_new_name_if_exists(src_full_name, dest_dir, dest_file): 79 """copy src_full_name (including dir + file name) to dest_dir/dest_file 84 dest_full_name = dest_dir + "/" + dest_file 85 if not os.path.isdir(dest_dir): 86 os.makedirs(dest_dir)
|
/external/skia/platform_tools/android/bin/ |
gyp_to_android.py | 137 dest_dir='tests', 145 dest_dir='bench', 154 dest_dir='gm', 162 dest_dir='dm',
|
/external/chromium_org/tools/ |
update_reference_build.py | 186 def _UnzipFile(self, dl_file, dest_dir): 191 dest_dir: The destination directory to unzip to. 201 dest = os.path.join(dest_dir, content[content.find('/')+1:]) 233 dest_dir = os.path.join('reference_builds', 'reference_builds', 235 self._ClearDir(dest_dir) 239 if not self._UnzipFile(dl_file, dest_dir): 240 logging.info('Copying %s to %s', dl_file, dest_dir) 241 shutil.copy(dl_file, dest_dir)
|
/external/chromium_org/content/browser/fileapi/ |
file_system_operation_impl_unittest.cc | 497 FileSystemURL dest_dir(CreateDirectory("src/dest")); 500 Move(src_dir, dest_dir, FileSystemOperation::OPTION_NONE)); 507 FileSystemURL dest_dir(CreateDirectory("dest")); 519 FileSystemURL dest_dir(CreateDirectory("dest")); 523 Move(src_dir, dest_dir, FileSystemOperation::OPTION_NONE)); 531 FileSystemURL dest_dir(CreateDirectory("dest")); 534 Move(src_file, dest_dir, FileSystemOperation::OPTION_NONE)); 578 FileSystemURL dest_dir(CreateDirectory("dest")); 581 Move(src_dir, dest_dir, FileSystemOperation::OPTION_NONE)); 588 // Make sure we've overwritten but not moved the source under the |dest_dir| [all...] |