summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorTobias Thierer <tobiast@google.com>2019-07-23 17:31:17 +0100
committerTobias Thierer <tobiast@google.com>2019-07-24 18:48:13 +0100
commit0fd993d78fe0119dcba24a4b99a3ad5f099d3c7d (patch)
treeb866f602e461c69221270ca84c3738b8117eed87 /annotations/generate_annotated_java_files.py
parent59f8d0808588530c949363295f9fff11618b3303 (diff)
CompareUpstreams: support comparing against snapshots.
CompareUpstreams used to compare ojluni sources vs. copies of the upstream sources stored in a "Repository" (checked-out and built source repositories). Since I've not recently been able to build OpenJDK 8 (requires an older C++ compiler than what is installed on my machine), I couldn't run CompareUpstreams without losing the information for the files that are only generated during the OpenJDK 8 build. This CL changes CompareUpstreams to instead compare against the snapshot of only the files of interest from the upstream repository (which in turn is a copy of a historic output of CopyUpstreamFiles at a time when I still had a compiled version of OpenJDK 8 on my local disk). The old functionality is still available/present in the code, but it's turned off by a hard-coded boolean constant for now. Note that the CompareUpstreams tool still requires the environment variable OPENJDK_HOME (which points to a directory with checked-out upstream repositories) to be set, but the files in those directories are not looked at unless the aforementioned hard-coded boolean constant is changed; I didn't bother refactoring that part for now. Test: Re-generated the verification spreadsheet and checked that the latest version as well as the changes relative to the previous version look sane and doesn't lose the comparison information for generated files. Change-Id: Ibde72b898c48ad2a29456e2af8b54708696c9bf3
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions