OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:arc_path
(Results
1 - 3
of
3
) sorted by null
/external/libmojo/third_party/catapult/devil/devil/utils/
zip_utils.py
10
def WriteToZipFile(zip_file, path,
arc_path
):
11
"""Recursively write |path| to |zip_file| as |
arc_path
|.
15
arc_path
: A relative path within the zip file to which the file or directory
20
dir_arc_path = os.path.join(
arc_path
, os.path.relpath(dir_path, path))
29
logging.debug('file: %s -> %s', path,
arc_path
)
30
zip_file.write(path,
arc_path
, zipfile.ZIP_DEFLATED)
/external/chromium-trace/catapult/devil/devil/utils/
zip_utils.py
32
def _WriteToZipFile(zip_file, path,
arc_path
):
33
"""Recursively write |path| to |zip_file| as |
arc_path
|.
37
arc_path
: A relative path within the zip file to which the file or directory
42
dir_arc_path = os.path.join(
arc_path
, os.path.relpath(dir_path, path))
51
logger.debug('file: %s -> %s', path,
arc_path
)
52
zip_file.write(path,
arc_path
, zipfile.ZIP_DEFLATED)
57
for path,
arc_path
in zip_contents:
58
_WriteToZipFile(zip_file, path,
arc_path
)
/development/build/tools/
mk_sources_zip.py
188
arc_path
= os.path.join(TOP_FOLDER, dest_pkg, os.path.basename(filepath))
189
if
arc_path
in USED_ARC_PATH:
190
verbose("Ignore duplicate archive path %s",
arc_path
)
191
USED_ARC_PATH[
arc_path
] = 1
193
print >>sys.stderr, "zip %s [%s]" % (
arc_path
, filepath)
197
dest_path = os.path.join(p.zipfile,
arc_path
)
204
p.zipfile.write(filepath,
arc_path
)
Completed in 223 milliseconds