Without this, we won't copy the android-26 libraries even though we
have them because the platforms directory is built based on what
directories we have here.
It would be better to rewrite gen-platforms.sh to be less awful, but
given that the whole script can be deleted when we drop the
deprecated headers in r16, there's not much point in doing so.
Test: ndk/checkbuild.py && ndk/run_tests.py --filter aaudio
Bug: None
Change-Id: I3c1861f50c8e779d5489e12887180ef1f2099e4a
This commit fixes bad inward customization vndk calculation.
Before this commit, when an vndk-indirect candidate is using
vndk-fwk-ext, its dependencies will be considered as a candidate of
vndk-indirect.
After this commit, the dependencies will only be pushed into the stack
if such dependencies are known to be intact or inward-customized. If a
vndk-indirect candidate is extending APIs, then the dependencies of its
generic counterpart will be pushed into the stack.
This commit also fixes the ELF resolution so that vndk-core dependencies
will not be resolved to vndk-fwk-ext.
Test: ./tests/test_vndk.py
Change-Id: I0527ef62b70ca4442eb8f69272a8ba9a6388df55
Inward-customized VNDK libraries should be renamed instead of cloned.
This commit fixes the algorithm for inward customization and write a
unittest to check the correctness.
Test: ./tests/test_vndk.py
Change-Id: I0d66a93f679be24d7872d6a104497df24f100232
This commit will rename vndk-core, vndk-fwk-ext, and vndk-vnd-ext
libraries so that the output will match with the post-Treble design
document.
Test: ./tests/test_vndk.py
Change-Id: I528ef380c76d71c743f1937ba94a8b72c00ce785
This commit adds non-AOSP libraries to imported_ext_symbols even when no
symbols are resolved to that specific non-AOSP library. This should fix
some errors related to the missing libraries from generic references.
Test: ./tests/run.py
Change-Id: I7f104737308d4dc0b591266d3408b001325c959e
After this commit, vndk_definition_tool.py will skip the NDK extension
check if generic references are not specified by the user. This fixes
an unexpected AttributeError on NoneType object.
Test: Run ./vndk_definition_tool.py vndk command w/o --generic-refs ...
Change-Id: Ibcd960039c5acc4adabb1a2e2b5965a026e9f23a
The Support Library ships separately via SDK Manager. It should not be
included in the base SDK build. Also, the version was wrong and it was
missing several modules.
Bug: 36171385
Test: make sdk
Change-Id: I827429b13adc2bfebf1620413f879227513a294a
Make Messages mirror clang Types better.
Added type size and alignments for independent and complete types.
Added vtable layout for CXXRecordDecls.
Added abi information for variables with global storage.
Added new return status to signify abi extension.
Added checks for access specifier downgrades.
Removed repeated code from header-abi-diff.
Test: header-abi-dumper -o example1.dump tests/input/example1.cpp -I
tests -- -x c++ -std=c++11 -I . -I
~/android/aosp/external/clang/lib/Headers
Change-Id: I21b5a8ef6dff92ecae47a0b1c46342862c5e0ebd
This commit no longer removes all dependencies (including system and
vendor dependencies) when a generic reference library has a dependency
to a library on the vendor partition. After this commit is merged,
vndk_definition_tool.py will only remove the offending dependencies.
Test: Run vndk_definition_tool.py against bullhead build with tweaked
dependencies.
Change-Id: Id6d23112128d9bbfec9e1e4430677a07f20fd193
This commit dumps the symbol usages in the dependency.
Test: Run ./vndk_definition_tool.py deps --symbol ...
Change-Id: I474dd0c0184e6dabd06968f953137384e14862c2