The existing tools in platform-tools that link against libc++.dylib
ended up loading the system version, not this one, due to the 32/64-bit
mis-match.
Test: m sdk
Change-Id: Ibc985fe7a30e05052e728ad3ce4fd9e866476827
* Pass ATREE_STRIP to use hermetic strip tool
* Stop using sdk/build/..., which has been empty
* Use soong_zip for faster, more reproducible zip files
* Add more dependencies
* Remove some echos to clean up output
Test: m win_sdk
Change-Id: I9bfbf6565dbeb4cc48ddd037596b8408ea3c3157
- Add a test case and data for lsdump in JSON format
- Rename command line option -text-format to -output-format
- Add option -input-format to header-abi-linker
Bug: 112877706
Test: ./test.py
Change-Id: Ia94f7ffffbcaf55f336932029883ea3635c547e9
This topic removes ashmem from ART. Changes the names in development/
too. It only affects "dalvik-" ashmem regions which are the majority.
Change-Id: I1186eb60087384847892f655bec8174169ffd6c4
Signed-off-by: Joel Fernandes <joelaf@google.com>
header-abi-dumper outputs JSON files if -text-format=Json is specified.
It uses libjsoncpp to convert IR to JSON. The output files follow the
schema of the protobuf, but the default values, such as empty array,
false and 0, are not omitted.
Bug: 112877706
Test: ./create_reference_dumps.py -libs libstagefright_bufferqueue_helper -products aosp_arm64
Change-Id: I0f964ee0530c444035170f451217bb005ee6107b
Before when the VNDK snapshot make target used to depend on the
phony targets of the VNDK libraries (e.g. libui.vendor), each
built library was installed under
out/target/product/{product}/system/lib*. However, vndk packaging
have since been changed to depend on the actual built files under
obj/*, and thus the VNDK snapshot target itself does not install
libs to /system/lib*. The testing logic in test.sh which compares
the VNDK snapshot zip file with the libs installed under
/system/lib* is now obsolete. For now there is no meaningful
alternative way to test the correct packaging without being
redundant.
Test: development/vndk/snapshot/build.sh
Change-Id: Ia8d9ef80541f80094c979ab80fd161386e30f916
For a cononical sample of a media player, see the Universal Music Player:
https://github.com/googlesamples/android-UniversalMusicPlayer
Bug: 33676939
Test: Verified projects compile when code removed.
Change-Id: I56e09ccf85647296c29da9a06b03b0fae98d50e6
launchperf use the private APIs in android.test.runner. So
LOCAL_SDK_VERSION of launchperf will be changed to platform.
Bug: 77577799
Test: m -j
Merged-In: I4ab94e009d96c297b37c7afee35f8ddd2546b977
Change-Id: I4ab94e009d96c297b37c7afee35f8ddd2546b977
* changes:
Retry the command for querying parent artifacts
Revise comments for when -v, -m options are needed
Check first if system_dir and device_dir exists
Print error on missing device target_files archive
This commit removes the full import path from abi_diff.proto so that
header-abi-dumper can be built separately.
Test: ./tests/test.py
Change-Id: Iec5062dc7ddecfec0f2fdac5993513fd647475ae
Currently mixed build targets are flaky, intermittently breaking
with the error message that either the parent artifact directory
does not exist (system_dir, device_dir) or a specific artifact
in the parent artifact directory does not exist.
To help debug this flakiness issue and avoid any race conditions
within the build-chaining infrastructure, allow the retrying of
the command for querying parent artifacts.
Test: build_mixed system_dir device_dir out_dir
Bug: 112250435
Change-Id: Ic2fd4056163c2a32d6057b6c182061c605cd158d
Change the order of variable checking so it is clear whether
the system_dir or device_dir does not exist or a specific file
in the *_dir does not exist.
Test: build_mixed system_dir device_dir dist_dir
Merged-In: I0d61ea11c3bd22ef12eccbb46b8f665414188307
Change-Id: I0d61ea11c3bd22ef12eccbb46b8f665414188307
(cherry picked from commit 52edf8fb4f)
Check the newly-created DEVICE_TARGET_FILES_ARCHIVE variable instead of
checking the DEVICE_ARCHIVE variable twice.
Test: run build_mixed with only the *-img-* archive in the device directory
Merged-In: I59d9b8f77cac1dcdeb2c88cdf37bc8dfbd1111ca
Change-Id: I59d9b8f77cac1dcdeb2c88cdf37bc8dfbd1111ca
(cherry picked from commit c1474312b3)
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: Id2c62a6a69b151c5c7f504cfd94bc2be8c851c31
This commit removes wildcards from the `srcs` properties and removes
unnecessary static libraries.
Test: It builds
Change-Id: I20b288eacf571b367195c809ff23dbbe2c1dd32c