Searched refs:zip_path (Results 1 - 18 of 18) sorted by relevance

/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
H A Dworkspace_mock.py34 def create_zip(self, zip_path, source_path):
35 self.zip_path = zip_path
H A Dworkspace.py58 def create_zip(self, zip_path, source_path, zip_class=zipfile.ZipFile):
60 # zip_file = ZipFile(zip_path, 'w')
68 self._executive.run_command(['zip', '-9', '-r', zip_path, '.'], cwd=source_path)
73 return zip_class(zip_path)
/external/chromium/chrome/browser/extensions/
H A Dextension_creator.h56 FilePath* zip_path);
59 bool SignZip(const FilePath& zip_path,
64 bool WriteCRX(const FilePath& zip_path,
H A Dextension_creator.cc153 FilePath* zip_path) {
154 *zip_path = temp_path.Append(FILE_PATH_LITERAL("extension.zip"));
156 if (!Zip(extension_dir, *zip_path, false)) { // no hidden files
165 bool ExtensionCreator::SignZip(const FilePath& zip_path, argument
170 ScopedStdioHandle zip_handle(file_util::OpenFile(zip_path, "rb"));
188 bool ExtensionCreator::WriteCRX(const FilePath& zip_path, argument
226 ScopedStdioHandle zip_handle(file_util::OpenFile(zip_path, "rb"));
262 FilePath zip_path;
265 if (CreateZip(extension_dir, temp_dir.path(), &zip_path) &&
266 SignZip(zip_path, key_pai
151 CreateZip(const FilePath& extension_dir, const FilePath& temp_path, FilePath* zip_path) argument
[all...]
/external/chromium/chrome/common/
H A Dzip_unittest.cc27 FilePath zip_path(test_dir_);
28 zip_contents_.insert(zip_path.AppendASCII("foo.txt"));
29 zip_path = zip_path.AppendASCII("foo");
30 zip_contents_.insert(zip_path);
31 zip_contents_.insert(zip_path.AppendASCII("bar.txt"));
32 zip_path = zip_path.AppendASCII("bar");
33 zip_contents_.insert(zip_path);
34 zip_contents_.insert(zip_path
[all...]
/external/chromium_org/chrome/test/chromedriver/
H A Darchive.py60 zip_path = os.path.join(dest_dir, 'chrome-%s.zip' % revision)
61 if not os.path.exists(zip_path):
65 urllib.urlretrieve(url, zip_path)
66 util.Unzip(zip_path, dest_dir)
H A Dutil.py89 zip_path = os.path.join(MakeTempDir(), 'build.zip')
90 f = zipfile.ZipFile(zip_path, 'w', zipfile.ZIP_DEFLATED)
93 return zip_path
96 def Unzip(zip_path, output_dir):
100 zip_path: zip file to unzip.
111 unzip_cmd += [zip_path]
113 raise RuntimeError('Unable to unzip %s to %s' % (zip_path, output_dir))
H A Drun_buildbot_steps.py53 zip_path = util.Zip(os.path.join(chrome_paths.GetBuildDir(['chromedriver']),
56 zip_path,
78 zip_path = os.path.join(util.MakeTempDir(), 'build.zip')
79 if gsutil_download.DownloadLatestFile(GS_PREBUILTS_URL, 'r', zip_path):
82 util.Unzip(zip_path, chrome_paths.GetBuildDir(['host_forwarder']))
195 zip_path = util.Zip(os.path.join(chrome_paths.GetBuildDir([server_name]),
201 if slave_utils.GSUtilCopy(zip_path, build_url):
/external/chromium_org/native_client_sdk/src/tools/
H A Doshelpers.py323 zip_path = os_path
328 zip_path = ntpath.splitdrive(os_path)[1].replace('\\', '/')
329 if zip_path.startswith('/'):
330 zip_path = zip_path[1:]
331 zip_path = posixpath.normpath(zip_path)
334 zip_path += '/'
335 return zip_path
401 for zip_path i
[all...]
/external/chromium_org/chrome/browser/extensions/
H A Dextension_creator.h81 base::FilePath* zip_path);
84 bool SignZip(const base::FilePath& zip_path,
89 bool WriteCRX(const base::FilePath& zip_path,
H A Dextension_creator.cc196 base::FilePath* zip_path) {
197 *zip_path = temp_path.Append(FILE_PATH_LITERAL("extension.zip"));
202 if (!zip::ZipWithFilterCallback(extension_dir, *zip_path, filter_cb)) {
211 bool ExtensionCreator::SignZip(const base::FilePath& zip_path, argument
216 ScopedStdioHandle zip_handle(base::OpenFile(zip_path, "rb"));
238 bool ExtensionCreator::WriteCRX(const base::FilePath& zip_path, argument
276 ScopedStdioHandle zip_handle(base::OpenFile(zip_path, "rb"));
319 base::FilePath zip_path;
322 if (CreateZip(extension_dir, temp_dir.path(), &zip_path) &&
323 SignZip(zip_path, key_pai
194 CreateZip(const base::FilePath& extension_dir, const base::FilePath& temp_path, base::FilePath* zip_path) argument
[all...]
/external/chromium_org/third_party/zlib/google/
H A Dzip_unittest.cc30 base::FilePath zip_path(test_dir_);
31 zip_contents_.insert(zip_path.AppendASCII("foo.txt"));
32 zip_path = zip_path.AppendASCII("foo");
33 zip_contents_.insert(zip_path);
34 zip_contents_.insert(zip_path.AppendASCII("bar.txt"));
35 zip_path = zip_path.AppendASCII("bar");
36 zip_contents_.insert(zip_path);
37 zip_contents_.insert(zip_path
[all...]
/external/chromium_org/remoting/host/installer/
H A Dbuild-installer-archive.py57 def createZip(zip_path, directory):
58 """Creates a zipfile at zip_path for the given directory.
61 zip_path: Path to zip file to create.
64 zipfile_base = os.path.splitext(os.path.basename(zip_path))[0]
65 zip = zipfile.ZipFile(zip_path, 'w', zipfile.ZIP_DEFLATED)
171 def buildHostArchive(temp_dir, zip_path, source_file_roots, source_files,
177 zip_path: Full path to the zip file to create.
209 createZip(zip_path, temp_dir)
235 zip_path = sys.argv[2]
284 result = buildHostArchive(temp_dir, zip_path, source_file_root
[all...]
/external/chromium_org/build/util/lib/common/
H A Dutil.py86 def Unzip(zip_path, output_dir):
90 zip_path: zip file to unzip.
101 unzip_cmd += [zip_path]
103 raise RuntimeError('Unable to unzip %s to %s' % (zip_path, output_dir))
/external/chromium/chrome/common/extensions/docs/build/
H A Ddirectory.py290 self['zip_path'] = self._get_relative_zip_path()
634 zip_path = os.path.join(sample_parentpath, zip_filename)
642 if os.path.isfile(zip_path):
644 old_zip_file = zipfile.ZipFile(zip_path, 'r')
646 raise Exception("Could not read zip at %s: %s" % (zip_path, msg))
648 raise Exception("File at %s is not a zip file: %s" % (zip_path, msg))
660 zip_file = zipfile.ZipFile(zip_path, 'w')
677 raise Exception("Could not write zip at %s: %s" % (zip_path, msg))
/external/chromium_org/content/browser/indexed_db/
H A Dindexed_db_internals_ui.cc216 base::FilePath zip_path = local
222 zip::Zip(context->GetFilePath(origin_url), zip_path, true);
231 zip_path,
271 const base::FilePath zip_path,
274 const GURL url = GURL(FILE_PATH_LITERAL("file://") + zip_path.value());
267 OnDownloadDataReady( const base::FilePath& partition_path, const GURL& origin_url, const base::FilePath temp_path, const base::FilePath zip_path, size_t connection_count) argument
H A Dindexed_db_internals_ui.h49 const base::FilePath zip_path,
/external/chromium_org/remoting/webapp/
H A Dbuild-webapp.py46 def createZip(zip_path, directory):
47 """Creates a zipfile at zip_path for the given directory."""
48 zipfile_base = os.path.splitext(os.path.basename(zip_path))[0]
49 zip = zipfile.ZipFile(zip_path, 'w', zipfile.ZIP_DEFLATED)
66 def buildWebApp(buildtype, version, mimetype, destination, zip_path, plugin,
303 createZip(zip_path, destination)

Completed in 598 milliseconds