Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(937)

Unified Diff: components/cronet/tools/extract_from_jars.py

Issue 1553623003: Port cronet_package GYP target to GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix issues Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/cronet/android/BUILD.gn ('k') | components/cronet/tools/generate_javadoc.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/tools/extract_from_jars.py
diff --git a/components/cronet/tools/extract_from_jars.py b/components/cronet/tools/extract_from_jars.py
index d72d46c162b1f2bce77cbb7a478e6b3f7e919d34..73931cdefb68d31d6348854164e7399c2dc2110e 100755
--- a/components/cronet/tools/extract_from_jars.py
+++ b/components/cronet/tools/extract_from_jars.py
@@ -31,6 +31,7 @@ def ExtractJars(options):
def main():
parser = optparse.OptionParser()
+ build_utils.AddDepfileOption(parser)
parser.add_option('--classes-dir', help='Directory to extract .class files.')
parser.add_option('--jars', help='Paths to jars to extract.')
parser.add_option('--stamp', help='Path to touch on success.')
@@ -39,6 +40,10 @@ def main():
ExtractJars(options)
+ if options.depfile:
+ build_utils.WriteDepfile(options.depfile,
+ build_utils.GetPythonDependencies())
+
if options.stamp:
build_utils.Touch(options.stamp)
« no previous file with comments | « components/cronet/android/BUILD.gn ('k') | components/cronet/tools/generate_javadoc.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698