Index: build/android/gyp/java_cpp_enum_tests.py |
diff --git a/build/android/gyp/java_cpp_enum_tests.py b/build/android/gyp/java_cpp_enum_tests.py |
index 94730a5020050abe10aab3f788b2385d895831fd..902bbfad532886f41c7575ac172b3229b0c8d80a 100755 |
--- a/build/android/gyp/java_cpp_enum_tests.py |
+++ b/build/android/gyp/java_cpp_enum_tests.py |
@@ -418,7 +418,8 @@ public class ClassName { |
original_do_parse = java_cpp_enum.DoParseHeaderFile |
try: |
java_cpp_enum.DoParseHeaderFile = lambda _: [] |
- java_cpp_enum.DoGenerate('dir', ['file']) |
+ for _ in java_cpp_enum.DoGenerate(['file']): |
+ pass |
finally: |
java_cpp_enum.DoParseHeaderFile = original_do_parse |