Index: build/android/gyp/javac.py |
diff --git a/build/android/gyp/javac.py b/build/android/gyp/javac.py |
index e6487cef70423fb139a42b2ed82198e84c306afa..f196581113a5dff8bdbf3c3f3143f0dff1e83ba0 100755 |
--- a/build/android/gyp/javac.py |
+++ b/build/android/gyp/javac.py |
@@ -238,20 +238,11 @@ |
if md5_check.PRINT_EXPLANATIONS: |
stdout_filter = None |
- attempt_build = lambda: build_utils.CheckOutput( |
+ build_utils.CheckOutput( |
cmd, |
print_stdout=options.chromium_code, |
stdout_filter=stdout_filter, |
stderr_filter=ColorJavacOutput) |
- try: |
- attempt_build() |
- except build_utils.CalledProcessError as e: |
- # Work-around for a bug in jmake (http://crbug.com/551449). |
- if 'project database corrupted' in e.output: |
- print ('Applying work-around for jmake project database corrupted ' |
- '(http://crbug.com/551449).') |
- os.unlink(pdb_path) |
- attempt_build() |
if options.main_class or options.manifest_entry: |
entries = [] |