Searched refs:target_file (Results 1 - 25 of 28) sorted by relevance

12

/external/chromium_org/build/android/gyp/
H A Ddelete_files.py41 for target_file in matching_files:
42 if target_file in files_to_keep:
45 if os.path.isfile(target_file):
46 os.remove(target_file)
/external/chromium_org/chrome/browser/translate/
H A Dstandalone_cld_data_harness.cc65 base::FilePath target_file; local
66 GetStandaloneDataFileDestination(&target_file);
67 base::FilePath target_dir = target_file.DirName();
72 << target_file.value();
73 ASSERT_TRUE(base::CopyFile(source_file, target_file));
74 ASSERT_TRUE(base::PathExists(target_file));
/external/chromium_org/third_party/skia/platform_tools/android/gyp_gen/
H A Dtool_makefile_writer.py25 target_file = os.path.join(target_dir, 'Android.mk')
26 with open(target_file, 'w') as f:
39 def generate_tool(gyp_dir, target_file, skia_trunk, dest_dir,
48 target_file: gyp file for the project to be built, contained in gyp_dir.
61 target_file=target_file,
H A Dmakefile_writer.py186 target_file = 'Android.mk'
188 target_file = os.path.join(target_dir, target_file)
189 with open(target_file, 'w') as f:
H A Dandroid_framework_gyp.py41 def main(target_dir, target_file, skia_arch_type, have_neon):
42 """Create gypd files based on target_file.
46 target_file: Gyp file to start on. Other files within target_dir will
47 be read if target_file depends on them.
70 full_path = os.path.join(target_dir, target_file)
/external/skia/platform_tools/android/gyp_gen/
H A Dtool_makefile_writer.py27 target_file = os.path.join(target_dir, 'Android.mk')
28 with open(target_file, 'w') as f:
46 def generate_tool(gyp_dir, target_file, skia_trunk, dest_dir,
55 target_file: gyp file for the project to be built, contained in gyp_dir.
69 target_file=target_file,
H A Dmakefile_writer.py189 target_file = 'Android.mk'
191 target_file = os.path.join(target_dir, target_file)
192 with open(target_file, 'w') as f:
H A Dandroid_framework_gyp.py41 def main(target_dir, target_file, skia_arch_type, have_neon):
42 """Create gypd files based on target_file.
46 target_file: Gyp file to start on. Other files within target_dir will
47 be read if target_file depends on them.
70 full_path = os.path.join(target_dir, target_file)
/external/chromium_org/chrome/installer/test/
H A Dalternate_version_generator.h37 // |target_file|, modifying the version of the copy according to |direction|.
38 // Any previous file at |target_file| is clobbered. Returns true on success.
39 // Note that |target_file| may still be mutated on failure.
41 const base::FilePath& target_file,
45 // |target_file|, modifying the version of the copy according to |version|.
46 // Any previous file at |target_file| is clobbered. Returns true on success.
47 // Note that |target_file| may still be mutated on failure.
49 const base::FilePath& target_file,
H A Dalternate_version_generator.cc655 const base::FilePath& target_file,
672 GenerateSpecificPEFileVersion(original_file, target_file, new_version);
678 const base::FilePath& target_file,
680 // First copy original_file to target_file.
681 if (!base::CopyFile(original_file, target_file)) {
683 << "\" to \"" << target_file.value() << "\"";
688 if (!GetFileVersion(target_file, &ctx.current_version)) {
689 LOG(DFATAL) << "Failed reading version from \"" << target_file.value()
697 return UpdateVersionIfMatch(target_file, &ctx);
654 GenerateAlternatePEFileVersion(const base::FilePath& original_file, const base::FilePath& target_file, Direction direction) argument
677 GenerateSpecificPEFileVersion(const base::FilePath& original_file, const base::FilePath& target_file, const Version& version) argument
/external/skia/platform_tools/android/bin/
H A Dgyp_to_android.py38 def generate_var_dict(target_dir, target_file, skia_arch_type, have_neon):
45 target_file: Target gyp file.
51 result_file = android_framework_gyp.main(target_dir, target_file,
135 target_file='tests.gyp',
143 target_file='bench.gyp',
152 target_file='gm.gyp',
160 target_file='dm.gyp',
/external/chromium_org/tools/gn/
H A Dninja_build_writer.cc204 OutputFile target_file(target->dependency_output_file());
206 NormalizePath(&target_file.value());
211 WritePhonyRule(target, target_file, long_name);
221 WritePhonyRule(target, target_file, medium_name);
226 WritePhonyRule(target, target_file, label.name());
230 all_rules.append(target_file.value());
250 const OutputFile& target_file,
252 if (target_file.value() == phony_name)
262 path_output_.WriteFile(out_, target_file);
249 WritePhonyRule(const Target* target, const OutputFile& target_file, const std::string& phony_name) argument
H A Dninja_build_writer.h45 void WritePhonyRule(const Target* target, const OutputFile& target_file,
/external/chromium_org/third_party/skia/platform_tools/android/bin/
H A Dgyp_to_android.py38 def generate_var_dict(target_dir, target_file, skia_arch_type, have_neon):
45 target_file: Target gyp file.
51 result_file = android_framework_gyp.main(target_dir, target_file,
135 target_file='bench.gyp',
144 target_file='gm.gyp',
153 target_file='dm.gyp',
/external/chromium_org/third_party/closure_compiler/tools/
H A Dcompile_coverage.py92 target_file = os.path.join(gyp_dir, target['target_name'] + '.js')
93 compiled.add(os.path.abspath(target_file))
94 compiled.update(processor.Processor(target_file).included_files)
/external/chromium_org/remoting/tools/
H A Dzip2msi.py63 target_file = os.path.normpath(os.path.join(target, f))
65 if os.path.commonprefix([target_file, target]) != target:
67 source, target_file, target)
71 target_dir = os.path.dirname(target_file)
/external/chromium_org/third_party/zlib/google/
H A Dzip_reader.h219 void ExtractChunk(base::File target_file,
H A Dzip_reader_unittest.cc472 base::FilePath target_file = test_dir_.AppendASCII("quux.txt"); local
477 target_file,
502 ASSERT_TRUE(base::GetFileSize(target_file, &file_size));
512 base::FilePath target_file = test_dir_.AppendASCII("foo"); local
517 target_file,
535 ASSERT_TRUE(base::DirectoryExists(target_file));
/external/chromium_org/ppapi/native_client/
H A Dchrome_main.scons216 target_file = open(target[0].abspath, 'w')
217 json.dump(src_json, target_file, sort_keys=True, indent=2)
218 target_file.close()
274 target_file = open(str(target[0]), 'w')
275 json.dump(obj, target_file, sort_keys=True, indent=2)
276 target_file.close()
/external/chromium_org/base/win/
H A Dshortcut_unittest.cc36 const FilePath target_file(temp_dir_.path().Append(L"Target 1.txt"));
37 WriteFile(target_file, kFileContents, arraysize(kFileContents));
39 link_properties_.set_target(target_file);
/external/chromium_org/components/nacl/renderer/
H A Dppb_nacl_private_impl.cc1198 base::File target_file,
1229 base::File target_file(CreateTemporaryFile(instance));
1251 target_file.Pass(),
1261 base::File target_file,
1265 if (pp_error == PP_OK && target_file.IsValid()) {
1267 if (target_file.GetInfo(&info))
1272 target_file.Close();
1281 target_file,
1288 if (pp_error == PP_OK && target_file.IsValid())
1289 out_file_info->handle = target_file
1258 DownloadNexeCompletion(const DownloadNexeRequest& request, PP_NaClFileInfo* out_file_info, FileDownloader::Status status, base::File target_file, int http_status) argument
[all...]
/external/chromium_org/content/browser/fileapi/
H A Dlocal_file_util_unittest.cc144 base::File target_file = CreateFile(target_name); local
145 ASSERT_TRUE(target_file.IsValid());
146 ASSERT_TRUE(target_file.created());
/external/lldb/source/Interpreter/
H A DScriptInterpreterPython.cpp2769 FileSpec target_file(pathname, true);
2770 std::string basename(target_file.GetFilename().GetCString());
2779 if (target_file.GetFileType() == FileSpec::eFileTypeInvalid ||
2780 target_file.GetFileType() == FileSpec::eFileTypeUnknown)
2791 else if (target_file.GetFileType() == FileSpec::eFileTypeDirectory ||
2792 target_file.GetFileType() == FileSpec::eFileTypeRegular ||
2793 target_file.GetFileType() == FileSpec::eFileTypeSymbolicLink)
2795 std::string directory(target_file.GetDirectory().GetCString());
2811 ConstString extension = target_file.GetFileNameExtension();
/external/chromium_org/tools/auto_bisect/
H A Dbisect_perf_regression.py339 target_file = os.path.join(destination_path, os.path.basename(source_path))
344 if os.path.exists(target_file):
345 return target_file
351 if os.path.exists(target_file):
352 os.remove(target_file)
1328 target_file, error_msg = _WaitUntilBuildIsReady(
1331 if not target_file:
1334 return target_file
/external/chromium_org/chrome/installer/util/
H A Dinstaller_state_unittest.cc548 base::FilePath target_file; member in struct:target_info
560 exe_path, targets[i].target_file, targets[i].target_version));

Completed in 5588 milliseconds

12