diff options
author | Dan Albert <danalbert@google.com> | 2018-11-28 08:30:10 -0800 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2018-11-28 09:52:12 -0800 |
commit | 23d37e09e994a6a2744a6746f72998499d5eaf5f (patch) | |
tree | e0b081c4c8f7a8de899cb36d013b8ba5ae8481e9 /scripts | |
parent | f9e2c3f5d7e0abd4c0824f30f789978bdfdf6fa5 (diff) | |
download | build_soong-23d37e09e994a6a2744a6746f72998499d5eaf5f.tar.gz build_soong-23d37e09e994a6a2744a6746f72998499d5eaf5f.tar.bz2 build_soong-23d37e09e994a6a2744a6746f72998499d5eaf5f.zip |
Allow NDK APIs to be marked as drafts.
Draft APIs are available to the platform and to CTS to allow
developers to iterate on an API, but hidden from the NDK artifacts to
avoid releasing the API until it is ready.
Test: Mark binder_ndk headers and library as drafts, make checkbuild,
build-ndk-prebuilts.sh, verify missing from NDK artifact.
Bug: http://b/120091134
Change-Id: I8685e92bdaaea581e17fe98e7a2bfb9388f9f132
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build-ndk-prebuilts.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build-ndk-prebuilts.sh b/scripts/build-ndk-prebuilts.sh index 81f85642..947458a6 100755 --- a/scripts/build-ndk-prebuilts.sh +++ b/scripts/build-ndk-prebuilts.sh @@ -48,7 +48,8 @@ cat > ${SOONG_OUT}/soong.variables << EOF "Malloc_not_svelte": false, "Safestack": false, - "Ndk_abis": true + "Ndk_abis": true, + "Exclude_draft_ndk_apis": true } EOF m --skip-make ${SOONG_OUT}/ndk.timestamp |