diff options
author | Paul Duffin <paulduffin@google.com> | 2021-04-13 13:02:29 +0100 |
---|---|---|
committer | Paul Duffin <paulduffin@google.com> | 2021-04-13 14:19:51 +0100 |
commit | 0b659866e872fa0e4c17ac8bbc48aa3fdf436c69 (patch) | |
tree | 2a2d5faa52f2b9c4c5012d2724a9bf6362ab681b /scripts/lint-project-xml.py | |
parent | 90b8ad38e08ede09d3c62d1a2b60f2a8f51afe8a (diff) |
Support UNSAFE_DISABLE_HIDDENAPI_FLAGS in platform_bootclasspath
Previously attempting to use m UNSAFE_DISABLE_HIDDENAPI_FLAGS would
cause a build failure.
It is necessary when UNSAFE_DISABLE_HIDDENAPI_FLAGS=true to create
empty files for the monolithic files so that those usages which are not
protected by the build flag, e.g. in dists or CTS tests like
CtsHiddenApiBlocklistTestApiTestCases do not cause ninja failures due
to reliance on a file that does not exist and has no rule to create it.
Bug: 177892522
Test: m nothing
m UNSAFE_DISABLE_HIDDENAPI_FLAGS=true CtsHiddenApiBlocklistTestApiTestCases
Change-Id: I05d0b3680dbc0b5b7c7c0d792550faf848829647
Diffstat (limited to 'scripts/lint-project-xml.py')
0 files changed, 0 insertions, 0 deletions