This commit changes:
* Add libneuralnetworks.so as LL-NDK
* Add libtextclassifier_hash.so as LL-NDK-Private
* Rename libhwbinder_nolto to libhwbinder_noltopgo
Bug: 77781837
Test: Run vndk_definition_tool.py with latest data sets.
Change-Id: I1ca0ac6f8143107a0fdd5d2182a187a2c6c57bcc
Building with -target 1.9 requires system modules to use in place
of the bootclasspath, add java_system_modules to generate them.
Test: m EXPERIMENTAL_USE_OPENJDK9=true
Change-Id: I3f54b987efa528078b1e34b743137540c69edf74
This commit adds libtextclassifier_hash to LL-NDK-Indirect. It is a
dependency of libneuralnetwork (LL-NDK).
Bug: 77781837
Test: libtextclassifier_hash is marked as LL-NDK-Indirect
Change-Id: I29aa75d5cce3a817cd06fe3228207aef93eb9edb
This commit adds module path filters to `list_vndk_module.py`. With
this commit, one may filter the result with `--select` and `--exclude`.
For example, to exclude the entries under vendor/ and device/, run:
./list_vndk_module.py --exclude '(vendor/)|(device/)' [filename]
Test: Generate the latest eligible list
Change-Id: I848a020fe9e4a7bcf8fd5a5f2760a7f905dfb7ab
This commit adds list_installed_module_under_source.py, which checks
the installed modules that relies on the source under the specified
directory.
This commit adds list_source_file.py, which lists all input source files
that are necessary to build an installed module.
Test: Run this tool on aosp_walleye-userdebug and search for the
dependency of libneuralnetworks.so
Change-Id: I7f0d82e30f994a942e3e43b0f554ec62cf7baff1
* changes:
vndk-def: Do not check DT_NEEDED order by default
vndk-def: Rename eligible list to use API level
vndk-def: Refine ineligible dep error message
Since aosp/3846320 breaks the implicit dependencies from libdl to libc,
we don't have to check the ordering of libc and libdl. This commit
turns off the error messages by default.
Test: Errors on the ordering disappears
Bug: 74371917
Change-Id: I15e5bd9f18a76665e70b60090f263b6ded5ec5bb
Merged-In: I15e5bd9f18a76665e70b60090f263b6ded5ec5bb
(cherry pick from commit 762ba82053d44014c97698810925c5e2247863d3)
This commit renames o-release to 26 and o-mr1-release to 27.
Bug: 74299030
Test: n/a
Change-Id: I2a74050de4d1630ff6b516ea3f5977fdf3906c8c
Merged-In: I2a74050de4d1630ff6b516ea3f5977fdf3906c8c
(cherry picked from commit 6a2e6693fa0fe834f7b84015267eed4d173c72a3)
This commit refines the error messages for ineligible dependencies. If
a vendor module depends on a vendor_available system shared library but
that system shared library is not copied to /vendor/lib[64], print an
error message to remind developers to copy them.
Bug: 74319871
Test: Manually remove libminijail or libdrm from /vendor/lib[64] and
run `./vndk_definition_tool.py check-dep --system ... --vendor ...`
Change-Id: I6ef2ebe3be137ae0b05f2ba4a8218c72f1ca9ef2
Merged-In: I6ef2ebe3be137ae0b05f2ba4a8218c72f1ca9ef2
(cherry picked from commit 49b268308b0ff76537b85b4762a22aba59423fe5)
I6730e2d3ec38004874265b2a690442dec57b33f4 made it clear that we should
depend on classes.jar for static java libraries. However, due to the
existing references to javalib.jar, the build system has been copied
classes.jar to javalib.jar.
But, this is not the case for Soong-defined java libraries. Instead of
doing the same thing for Soong-defined modules, directly fixing the
case where javalib.jar is being referenced.
Test: m -j dist
Bug: b/70351683
Merged-In: Ib1fb4ebdbdde42dec1028160a5473c645913d258
Change-Id: Ib1fb4ebdbdde42dec1028160a5473c645913d258
(cherry-picked Ib1fb4ebdbdde42dec1028160a5473c645913d258)
I6730e2d3ec38004874265b2a690442dec57b33f4 made it clear that we should
depend on classes.jar for static java libraries. However, due to the
existing references to javalib.jar, the build system has been copied
classes.jar to javalib.jar.
But, this is not the case for Soong-defined java libraries. Instead of
doing the same thing for Soong-defined modules, directly fixing the
case where javalib.jar is being referenced.
Test: m -j dist
Bug: b/70351683
Merged-In: Iabd04ba55411373c228ca4bf04fc99b7f155262c
Change-Id: Iabd04ba55411373c228ca4bf04fc99b7f155262c
(cherry-picked from cdd757f4da)
This commit adds <omp.h> workaround for LL-NDK/VNDK/VNDK-SP libs that
use OpenMP. This workaround is necessary because clang-3289846 does not
have omp.h and header-abi-dumper will stick to that version for a while.
Bug: 77161122
Test: Mark libneuralnetworks as LLNDK and rebuild it.
Change-Id: I8f3fb7aea7922dd7431b882e310991a91a2f5d43
Merged-In: I8f3fb7aea7922dd7431b882e310991a91a2f5d43
(cherry picked from commit cf432585dd)
This commit extract the logic for argv fixes so that workarounds can be
kept in another source file.
Bug: 77161122
Test: Build header-abi-dumper, copy to prebuilts/clang-tools, and
rebuild bionic.
Change-Id: I74eb7cb001f854062530f5770ce1e01c8bf996e9
Merged-In: I74eb7cb001f854062530f5770ce1e01c8bf996e9
(cherry picked from commit 9e26331f3c)
Function signatures produced by header-abi-dumper should specify which
parameters are 'this'.
Bug: 72697345
Test: tests/test.py
Change-Id: I18a1f974e1530b6caa8f081dcd2101616ba3dc19
Merged-In: I18a1f974e1530b6caa8f081dcd2101616ba3dc19
(cherry picked from commit e5037fd0f1)
- Use 'anonymous at <source>:<line>:<column>' as a name for anonymous records
within a translation unit
- Don't depend on clang's getFullyQualifiedName() for computing type-ids since
it isn't reliable (can miss out qualification of template parameters).
Factor in the final destination type, i.e either built-in type name or
tag type mangledCXXRTTI name. This is an internal name and not exposed
through intermediate .sdump files, so should not affect backwards
compatibility.
Bug: 77649155
Test: tests/test.py
Change-Id: I8890cc59fbe24fb6083e191d69be7fff45b51861
Merged-In: I8890cc59fbe24fb6083e191d69be7fff45b51861
(cherry picked from commit dd38a73879)
Since aosp/3846320 breaks the implicit dependencies from libdl to libc,
we don't have to check the ordering of libc and libdl. This commit
turns off the error messages by default.
Test: Errors on the ordering disappears
Bug: 74371917
Change-Id: I15e5bd9f18a76665e70b60090f263b6ded5ec5bb
Starting in P, all 32-bit and 64-bit architectures use 64-bit
binder interface. This is similar to ag/3582011 for x86.
Bug: 71861550
Test: lunch sdk_phone_armv7-userdebug; m -j; emulator
Change-Id: I152a89ba46e81f27bde0e166cb224d2a740fc989
Test: changing tests/integration/cpp/include/abstract_class.h changes to
test results. This would not happen earlier, since inadvertently,
the test used to pick up abi references locally instead of freshly
creating them.
Change-Id: Ie9604cc09df1ab5a87996f1ecd141f228d67a765
This commit adds <omp.h> workaround for LL-NDK/VNDK/VNDK-SP libs that
use OpenMP. This workaround is necessary because clang-3289846 does not
have omp.h and header-abi-dumper will stick to that version for a while.
Bug: 77161122
Test: Mark libneuralnetworks as LLNDK and rebuild it.
Change-Id: I8f3fb7aea7922dd7431b882e310991a91a2f5d43
This commit extract the logic for argv fixes so that workarounds can be
kept in another source file.
Bug: 77161122
Test: Build header-abi-dumper, copy to prebuilts/clang-tools, and
rebuild bionic.
Change-Id: I74eb7cb001f854062530f5770ce1e01c8bf996e9
- tests are out of maintainence
- the checks were general functional tests on comms related
areas and should be covered by the same tests across physical
and virtual devices
Bug: 77496099
Test: build `make -j droid tests dist`
Change-Id: I899764846b4829add5ade8085a43bf88c958914f