Index: build/protoc_java.py |
diff --git a/build/protoc_java.py b/build/protoc_java.py |
index 470667c1f4bff9d7d1b130db2d5435bfda0d26d5..46fa8200ebd596cd2c26b4f1f2c8c2868597b361 100755 |
--- a/build/protoc_java.py |
+++ b/build/protoc_java.py |
@@ -57,9 +57,9 @@ def main(argv): |
build_utils.ZipDir(options.srcjar, temp_dir) |
if options.depfile: |
- build_utils.WriteDepfile( |
- options.depfile, |
- args + [options.protoc] + build_utils.GetPythonDependencies()) |
+ assert options.srcjar |
+ deps = args + [options.protoc] |
+ build_utils.WriteDepfile(options.depfile, options.srcjar, deps) |
if options.stamp: |
build_utils.Touch(options.stamp) |