Commit cce915c1 authored by Eric Stevenson's avatar Eric Stevenson Committed by Commit Bot

Android: Make javac more robust when renaming files.

Hit this in crbug.com/1011149: moving a file without changing its
contents doesn't cause it target to appear stale, so an incremental
build could pass even if there are issues (ex. didn't update package
to match the new file path).

Bug: 1011149
Change-Id: I280f27deaf2d5e4f8cebe464d7f3afb6965cdbbf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1841814Reviewed-by: default avatarAndrew Grieve <agrieve@chromium.org>
Commit-Queue: Eric Stevenson <estevenson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#702952}
parent b3badd06
......@@ -591,7 +591,7 @@ def main(argv):
options.jar_path + '.info',
]
input_strings = javac_cmd + classpath
input_strings = javac_cmd + classpath + java_files
if options.jar_info_exclude_globs:
input_strings.append(options.jar_info_exclude_globs)
build_utils.CallAndWriteDepfileIfStale(
......
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