summaryrefslogtreecommitdiff
path: root/rust/rust.go
diff options
context:
space:
mode:
author Jiyong Park <jiyong@google.com> 2022-09-26 20:58:27 +0900
committer Jiyong Park <jiyong@google.com> 2022-10-05 09:06:49 +0900
commit4ecbdb6dfd948e2b18f842dc64d93f651e7c272d (patch)
tree0221b1060abaa9bd6884e1698703e7b68d5a35d2 /rust/rust.go
parent6d91fe70e2e4cb6b1ffd511d5b358c66abed7250 (diff)
Add --no-ndk to ndkstubgen
By default, ndkstubgen does not omit NDK symbols as long as they satisfy the API version and the CPU architecture requirements. This change adds a new flag --no-ndk to ndkstubgen which is used to override the default behavior. If the flag is set, NDK symbols are omitted leaving only the annotated symbols (e.g. #apex, #systemapi, etc.). This will be used for stub libraries that are not part of NDK. So far, symbols in such libraries haven't needed to be annotated as #apex, and that has caused a confusion that those symbols belong to NDK. The follow-up change will ensure that those symbols are always annoated as either #apex or #systemapi so that their roles are clearly visible. Bug: 184712170 Test: atest test_ndkstubgen Test: atest test_symbolfile Change-Id: Ic8d2c7d0b32bdef79f7563621035e60f406e4131
Diffstat (limited to 'rust/rust.go')
0 files changed, 0 insertions, 0 deletions