diff options
author | Colin Cross <ccross@android.com> | 2021-04-15 19:01:57 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2021-04-16 14:55:50 -0700 |
commit | 63eeda027c499b1c5f2d83c2e4a24ae8871ce7a4 (patch) | |
tree | 11c6496c1df791bb6658907ba87de6bed5b15f56 /java/java_test.go | |
parent | 4258a39bd155d3e776eb041ea7c1eff5e3c2495f (diff) |
Fix metalava api baseline update command
metalava is run inside sbox with a modified $PWD, so putting $PWD in
the output message results in an incorrect path. It was also always
incorrect when the output directory was an absolute path. Add a
cd $ANDROID_BUILD_TOP to the command line and use relative paths
instead.
Bug: 185516277
Test: m out/soong/.intermediates/frameworks/base/system-api-stubs-docs-non-updatable/android_common/metalava/api_lint.timestamp with lint error
Change-Id: Iefe133cea4c3a604ecd2b0ea20f4ba14ae13b425
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions