Index: build/android/gyp/java_cpp_enum.py |
diff --git a/build/android/gyp/java_cpp_enum.py b/build/android/gyp/java_cpp_enum.py |
index a82ebc2dfac3fab552e72b7c84f0bd2707dd086c..9299bce0eb4e3af55f94b43da3bac77d961b5722 100755 |
--- a/build/android/gyp/java_cpp_enum.py |
+++ b/build/android/gyp/java_cpp_enum.py |
@@ -345,7 +345,7 @@ def DoMain(argv): |
with zipfile.ZipFile(options.srcjar, 'w', zipfile.ZIP_STORED) as srcjar: |
for output_path, data in DoGenerate(input_paths): |
- srcjar.writestr(build_utils.CreateHermeticZipInfo(output_path), data) |
+ build_utils.AddToZipHermetic(srcjar, output_path, data=data) |
else: |
# TODO(agrieve): Delete this non-srcjar branch once GYP is gone. |
output_paths = [] |