summaryrefslogtreecommitdiff
path: root/java/bootclasspath_fragment.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2022-05-27 12:23:08 +0000
committer Paul Duffin <paulduffin@google.com> 2022-05-27 14:03:44 +0000
commitc166b6858947161d6e958090f11fe33001427c05 (patch)
tree1c6a5ecac0f2ece62f7f11e19841cb49e929ea1d /java/bootclasspath_fragment.go
parent86db8821bb325a10f054eff738badb6e97f08695 (diff)
Check that API is up-to-date when building java_sdk_library
Previously, the checked in version of an API was only checked to make sure it was up-to-date when running the checkapi target. This change adds a validation dependency to the ninja rule that generates the API from source so that up-to-date check is always performed every time the API is generated. However, because it is a validation dependency it does not lengthen the build's critical path. Bug: 234113632 Test: echo > packages/modules/SdkExtensions/java/android/os/ext/api/current.txt m framework-sdkextension # Passes without this change even though the checked in API is # not up-to-date. # With this change the build fails reporting correctly that the # checked in API is not up-to-date. Change-Id: I8e65cf716d94aecd61bd943f1485468664ad4a22
Diffstat (limited to 'java/bootclasspath_fragment.go')
0 files changed, 0 insertions, 0 deletions