summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Inseob Kim <inseob@google.com> 2019-07-30 18:24:39 +0900
committer Inseob Kim <inseob@google.com> 2019-08-20 17:32:13 +0900
commit512d12fb5919de1db5ce7be456c1fc0bfce1bdd1 (patch)
tree97a7d5d1f83ed399134f2aca7c3ec365dd76f569 /vulkan/libvulkan/api.cpp
parent9d588cee02ffd3cc6ed6a1491f98809901035e20 (diff)
Implement sysprop_library API stability check
sysprop_library now checks the API stability itself, cutting dependency on java_sdk_library. Under the directory {module_dir}/api, {module_name}-current.txt and {module_name}-latest.txt hold API signatures. When sysprop_library is built, or a user run "m {module_name}-check-api" command, API check is performed. First, current.txt must have exactly same signature with built sysprop_library module. Second, current.txt must be compatible with latest.txt. Build system emits a handy error message to generate/update those API files, in case of missing or mismatching. Also, a script file for freezing API files is introduced. Bug: 131637873 Test: 1) m && boot blueline Test: 2) m {sysprop_library} performs API check Test: 3) manual test for check-api, freezing api Change-Id: I7812db716ca42055caa70385c71a90de49fc1afc Merged-In: I7812db716ca42055caa70385c71a90de49fc1afc (cherry picked from commit 0bbb2a1e5a5d8a67591b731a2497dd0ce0305a26)
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions