summaryrefslogtreecommitdiff
path: root/java/sdk_library_test.go
diff options
context:
space:
mode:
author Jihoon Kang <jihoonkang@google.com> 2024-08-22 22:11:04 +0000
committer Jihoon Kang <jihoonkang@google.com> 2024-08-22 22:11:04 +0000
commit4b9220af10de5e0ecd62a7215f2ee8f8a21d50c0 (patch)
tree2b6db27bac97a8d498b455a48c071d547f6fb7c8 /java/sdk_library_test.go
parent5fdb54d4393505a38d25fa633ea11968ebbf1316 (diff)
Make java_sdk_library phony target depend on its stub jar
Currently, the (from-text) stub jar depends on the check api timestamp of the same api scope droidstubs. However, building the top level sdk_library phony target does not trigger check api, as the top level java_sdk_library "depends" on the stub submodules but the top level phony target does not build the stubs generated by its submodule, nor the top level java_sdk_library generate any output files. In order to support the user's workflow of observing checkapi failure after modifying the api by running `m <java_sdk_library name>`, this change adds the paths to the stub jars as dependencies as the top level java_sdk_library phony target. Bug: 234113632 Test: modify source file api, run m <java_sdk_library name> and observe checkapi failure Change-Id: Iccd42c8ef7d5de20f71c347455c1a90d83a6c70c
Diffstat (limited to 'java/sdk_library_test.go')
0 files changed, 0 insertions, 0 deletions