ApiDemos has been using private APIs from telephony-common to
demonstrate the Mms feature. However, this is causing link-type check
warning because ApiDemos itself is built with SDK (LOCAL_SDK_VERSION is
set) but telephony-common isn't. As we are working on to promote the
warnings into errors, this warnings must be fixed.
Fixing the warning by copying the PDU classes from telephony-common, so
that there is no need to link to the library. Also the package name for
the copied classes are all changed in order to prevent the collision
with the same classes in telephony-common which is in the boot class
path.
Test: m -j ApiDemos is successful and does not show any link-type check
warning.
Change-Id: Ica508cd4daf3640e4f90fa26dd11dfd03867d717
This commit reduces deps-insight startup time by creating DOMs for
modules on demand. Since the user usually searches modules by name, it
is great to hide all modules by default.
Test: ./vndk-definition-tool.py deps-insight ...
Change-Id: Ia58833f9177638222788ef7a468a88dd35feec2a
* changes:
sourcedr: check_vndk_dep should evaluate recursively
sourcedr: check_vndk_dep should scan dirs when necessary
sourcedr: Refactor the logic in glob matcher
sourcedr: Add integer support to check_vndk_dep
sourcedr: Skip the modules without names
sourcedr: Fix checks on hidl_interface
sourcedr: Treat proprietary modules as vendor modules
hidl_interface defines two shared libraries. This commit allows vendor
modules to depend on hidl_interfaces. In addition, hidl_interfaces are
vendor_available by default.
Test: Run check_vndk_dep.py against the source tree
Change-Id: I0b24c90a8f41e56a451a9659edc240cd1a28db72
This commit changes check_vndk_dep.py so that proprietary modules are
treated as vendor modules.
Test: Run check_vndk_dep.py against the source tree
Change-Id: I203ffb3c661bf46cb5d2c9cd92a51e2fc8b345c0
This commit adds a workaround for extra VNDK-SP-Private libraries that
are VNDK-SP-Private when BOARD_VNDK_VERSION is NOT set.
Test: Run definition tool on marlin/sailfish
Change-Id: I7b54582f71a4febbcd0658338499b8f98afbbbfa
This commit adds LL-NDK-Private, VNDK-Private, and VNDK-SP-Private.
* LL-NDK-Private stands for the dependencies of LL-NDK shared libraries
that must be inaccessible to vendor modules.
* VNDK-Private stands for the VNDK shared libraries that can be used by
other VNDK shared libraries but must be inaccessible to vendor modules.
This is the replacement for VNDK-Indirect, which was defined as an
alias of VNDK previously.
* VNDK-SP-Private stands for the VNDK shared libraries that can be used
by other VNDK-SP shared libraries but must be inaccessible to vendor
modules. This is the replacement for VNDK-SP-Indirect-Private.
This commit also renames:
* LL-NDK-Indirect --> LL-NDK-Private
* VNDK-Indirect --> VNDK-Private
* VNDK-SP-Indirect-Private --> VNDK-SP-Private
Test: ./tests/run.py
Change-Id: I499d39e393cf265d59ec529e69ea15b670384e99
This commit makes sure libclang_rt.asan and libclang_rt.ubsan_standalone
for all architectures are tagged correctly. Prior to this commit, some
human tweaks are necessary for other architectures.
Test: Update the latest eligible list.
Change-Id: I457a66593966b7439b28c70779202ec95c7cb167
This commit removes several workarounds for VNDK-SP-Indirect. Now,
update_dataset.py derives VNDK-SP-Indirect-Private and VNDK-Indirect
from SOONG_VNDK_PRIVATE_LIBRARIES.
Test: Update the latest eligible list.
Change-Id: Ice835d9e39d6e3a768cc2eeb8b98ed7dc0777ecc
This commit add compact dex file format support to check-dep subcommand.
Test: Run vndk_definition_tool.py on latest branch.
Change-Id: If361adb96a52b19c488d486003986d01cf179d42