Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
16K: Add linker alignment config to arm/arm64 targets in Bazel
The product variable DeviceMaxPageSizeSupported will indicate the binary alignment for the arm and arm64 targets. To check that the linker flag for the binary alignment was included, run: $ ./prebuilts/build-tools/linux-x86/bin/ninja -f out/combined-<target>.ninja -t commands com.android.adbd | grep max-page-size To run the test cases: $ b test --config=android //prebuilts/clang/host/linux-x86:cc_toolchain_features_linker_alignment_tests //prebuilts/clang/host/linux-x86:custom_linker_alignment_flag_arm64_test (cached) PASSED in 0.1s //prebuilts/clang/host/linux-x86:custom_linker_alignment_flag_arm_test (cached) PASSED in 0.1s //prebuilts/clang/host/linux-x86:linker_alignment_flag_arm64_test (cached) PASSED in 0.1s //prebuilts/clang/host/linux-x86:linker_alignment_flag_arm_test (cached) PASSED in 0.1s //prebuilts/clang/host/linux-x86:linker_alignment_flag_x86_64_test (cached) PASSED in 0.1s //prebuilts/clang/host/linux-x86:linker_alignment_flag_x86_test (cached) PASSED in 0.1s Test: Unit tests Bug: 276963698 Bug: 276801883 Change-Id: Ifcebb5f312c8230fe060d0909dbc89e05dded25b
- Loading branch information