| Index: components/cronet/tools/jar_src.py
|
| diff --git a/components/cronet/tools/jar_src.py b/components/cronet/tools/jar_src.py
|
| index 91f3cd17167f09860c9ebf6b4ff05f525d930b55..09281ab93c266e88f7e77cf3156d15935c4bc4b8 100755
|
| --- a/components/cronet/tools/jar_src.py
|
| +++ b/components/cronet/tools/jar_src.py
|
| @@ -71,12 +71,12 @@ def main():
|
| JarSources(src_dir, options.jar_path)
|
|
|
| if options.depfile:
|
| - input_paths = []
|
| + deps = []
|
| for src_dir in src_dirs:
|
| for root, _, filenames in os.walk(src_dir):
|
| - input_paths.extend(os.path.join(root, f) for f in filenames)
|
| - build_utils.WriteDepfile(options.depfile,
|
| - input_paths + build_utils.GetPythonDependencies())
|
| + deps.extend(os.path.join(root, f) for f in filenames)
|
| + build_utils.WriteDepfile(options.depfile, options.jar_path, deps)
|
| +
|
| # Clean up temporary output directory.
|
| if unzipped_jar_path:
|
| build_utils.DeleteDirectory(unzipped_jar_path)
|
|
|