The suffix ".map.txt" triggers NDK-API-Review.
example.map.txt has been replaced with map.txt in the same directory.
Test: ANDROID_BUILD_TOP=`realpath .` \
PATH=$PATH:`realpath out/soong/dist/bin` \
development/vndk/tools/header-checker/tests/test.py
Bug: 298626434
Change-Id: Ie2e21fe87e5bfce7f081fe32eb55547d8aa611ad
rust_library + host_suffix + rlib_suffix is the right order
For example, rust_library_host_dylib, rust_library_host_rlib
Bug: 277909042
Test: cargo2android --run --force-rlib
Change-Id: Ib156b96853eb51bae1f68229ebe76b87b0f8b363
The version blocks ending with _PLATFORM and _PRIVATE are unstable ABIs.
To exclude them, header-abi-linker --exclude-symbol-version should
accept patterns like *_PLATFORM and *_PRIVATE.
Test: ANDROID_BUILD_TOP=`realpath .` \
PATH=$PATH:`realpath out/soong/dist/bin` \
development/vndk/tools/header-checker/tests/test.py
Test: LD_LIBRARY_PATH=out/soong/dist/lib64 \
out/soong/host/linux-x86/nativetest64/header-checker-unittests/header-checker-unittests
Bug: 298626434
Change-Id: Id82bc013b8de62b5ba8e5bd29f399b1b72ab5d39
This is helpful for crates like protobuf and syn for which we have
multiple versions, and will let us eliminate several patch files
Test: Ran it on everything in external/rust/crates.
Change-Id: I29ac1ee69be99b7164e1458e0d8fc1cb028b15a0
build-prebuilts.sh compiles header-checker-unittests by default. The
continuous builds ensure that the tests are compilable. The developers
can use the script to build the tests locally.
Test: OUT_DIR=out BUILD_BROKEN_DISABLE_BAZEL=1 \
development/vndk/tools/header-checker/android/build-prebuilts.sh \
header-checker-unittests
Test: OUT_DIR=out BUILD_BROKEN_DISABLE_BAZEL=1 DIST_DIR=/tmp/distdir \
development/vndk/tools/header-checker/android/build-prebuilts.sh
Bug: 280008249
Change-Id: I32d6ade3c527785d68802c1737c94f963ead5b3c
One flag '-f' corresponds to one directory that stores a parsed report.
Bug: 296988808
Test: ./compare_cts_reports.py -r test_result_1.xml [test_result_2.xml] \
[-r report.zip] [-f parsed_dir_1/] [-f parsed_dir_2/] -m n -d output_dir/
Change-Id: I26310982dc8ef18f5dbfb1a8382ea3a600508fbe
This is cleaner than using .unwrap_or(true) wherever they are used.
Bug: 293289578
Test: atest cargo_embargo.test
Change-Id: I763adf0cc51721408adf55b966ed4304e2766c00
"target" refers to a target arch, a build target, or a make target.
This commit renames the class and the variables to avoid ambiguity.
Test: development/vndk/tools/header-checker/utils/create_reference_dumps.py \
-products aosp_x86_64 -release trunk_staging
Bug: 297542516
Change-Id: Icfb06e18333d56af802c74494c1d158f367026c9
This commit adds -release as a parameter to create_reference_dumps.py.
It is currently optional. Developers can use it to try different
release configurations.
Test: development/vndk/tools/header-checker/utils/create_reference_dumps.py \
-products aosp_x86_64 -release trunk_staging
Bug: 297542516
Change-Id: Ifb7001ed42dbb9f8d0dd8e6c9738be6d5ea2feca
The attributes tested_items and pass_rate are added for easier display in the
n_way_comparison function.
Bug: 296988808
Test: ./compare_cts_reports.py -r test_result_1.xml -r test_result_2.xml -m n \
-d output_dir
Change-Id: I1dc6bb9c33dfe5be879cbdc13f684bde123e5e71