Commit b31cd7cf authored by Andrew Grieve's avatar Andrew Grieve Committed by Commit Bot

Android: Fix java builds failing when enabled_incremental_javac=true

Regressed in recent commit: d0567449

Bug: 890360
Change-Id: I1589295c40eff98a6255d9dd01ad9c2a66817dc4
Reviewed-on: https://chromium-review.googlesource.com/1255888Reviewed-by: default avatarEric Stevenson <estevenson@chromium.org>
Commit-Queue: Eric Stevenson <estevenson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#595614}
parent b5067414
......@@ -307,7 +307,8 @@ def _OnStaleMd5(changes, options, javac_cmd, java_files, classpath_inputs,
changed_paths.update(os.path.join(generated_java_dir, f)
for f in changes.IterChangedSubpaths(srcjar))
extracted_files = build_utils.ExtractAll(
srcjar, path=generated_java_dir, pattern='*.java')
srcjar, no_clobber=not incremental, path=generated_java_dir,
pattern='*.java')
for path in extracted_files:
# We want the path inside the srcjar so the viewer can have a tree
# structure.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment