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) |