The PRODUCT_BOOTS_16K is removed and will be
replaced by TARGET_BOOTS_16K variable.
The TARGET_BOOTS_16K will drive the kernel and
modules to use instead.
Bug: 350529323
Bug: 346868433
Test: Built and boot pgagnostic targets
Flag: EXEMPT bugfix
Change-Id: If539f8a9f8c87650b8f618f302eee2c284d8ec79
This is no longer necessary as static linkage in Rust has been fixed.
Bug: 254469782
Test: m aconfig_storage_write_api.test.cpp
Change-Id: I6b8b36882aa521eb0412fb7da03a5eec94df81d4
This replicates previous fix for the similar issue
0bd9a626bd Increase dump-words-to-file capacity
Change-Id: Ibdd31d9a4588eefa585298cc4f01528f0027395a
Test: ABTD
Bug: 350309689
This build flag will indicate whether the target boots with 16kb kernel.
This flag will be used in pgagnostic targets and targets with
with the _16k suffix.
Define the build flag PRODUCT_BOOTS_16K
- When PRODUCT_BOOTS_16K := true, target boots with 16kb kernel.
- When PRODUCT_BOOTS_16K := false, target boots with 4kb kernel.
If the PRODUCT_BOOTS_16K is not defined, its value will be false by default.
Bug: 346868433
Test: Built Pixel 8 targets
$ source build/envsetup.sh
$ lunch husky-trunk_staging-userdebug
$ get_build_var PRODUCT_BOOTS_16K
false
Change-Id: Ifc5138dd76d2172e1c3bc2564efe91a0f83c5420
Include android.software.credentials.prebuilt.xml prebuilt_etc module
instead of using PRODUCT_COPY_FILES.
Bug: 345373198
Test: See if android.software.credentials.xml is installed in
system/etc/permissions
Change-Id: Ia5519d1650b994f380aa4e31042139af999e49a7
This CL adds DTBO partition to dev option OTA if the product
defined a dtbo image for 16KB kernel(indicated via
BOARD_PREBUILT_DTBOIMAGE_16KB)
Test: build with and w/o BOARD_PREBUILT_DTBOIMAGE_16KB set
Change-Id: I6e02d5bab0fccd193396c54e50ad2a9c3946c51d
Make the template more consistent with the native (aka cc) test temlate.
The important change is that vendor tests will be pushed into
/data/local/tests/vendor. In fact, rust module in soong already expects
this (aosp/1832614).
Having the test binary in the vendor test folder makes the linker treat
it as a vendor binary and prefer vendor libraries. Previously, the test
binary was always a system binary (due to being in /data/local/tmp) and
used system libraries first potentially leading to bugs (e.g. the one
attached).
This change also makes vendor tests that use vendor libraries require
root due to an existing SELinux policy issue with atest.
Bug: 347370677
Test: checked with:
- libsecretkeeper_core_test
- libauthgraph_boringssl_test (with the chained change)
- libdice_policy.test
Test steps:
atest -d <test>.vendor # runs vendor variant, passes
adb root
adb shell find / -iname <test> 2>/dev/null
# before change: /data/local/tmp/<test>
# after change: /data/local/tests/vendor/<test>
Change-Id: I6d8c58cbce5b636480803e74cb710f0b05b74e10
Use `release_config_map.textproto` instead of relying on platform/build
to intuit that for us.
Bug: 328495189
Flag: build.RELEASE_BUILD_FLAGS_IN_PROTOBUF
Test: manual, TH
Ignore-AOSP-First: resolving automerger conflict
Merged-In: Ia3ae6787183208a216dc4ea26c2fc3a9e4f56054
Change-Id: I4573cc04c8bf3116e1a8b728b819b09d6b3a87a3
Previous build breakage is fixed by aosp/3147481 , so
attempting to reland
This reverts commit 2ddbfee4ca.
Reason for revert: b/348547795
Change-Id: Ie7e6e54a6c1796acc37b43fe14692068e0ea31ca
Python argparse support for multiple arguments per flag is limited,
so we need to manually do parsing here(split by ",")
Test: generate a boot image OTA with boot and dtbo partition
Bug: 349590107
Change-Id: Ia9f7e0ab0836bddf15591a74b17a667e63080373
Some MCTS modules should not be removed from CTS because they are
dependencies of both MCTS and CTS.
Add a whitelist as a short term solution.
Test: m cts EXCLUDE_MCTS=true
Bug: 349372705
BYPASS_INCLUSIVE_LANGUAGE_REASON=for mcts only
Change-Id: I26ada6da95a8b3547de9e54781b744facb121b05
static_rlibs has been folded into the normal static_libs and
whole_static_libs properties.
Bug: 254469782
Bug: 349129702
Test: m
Change-Id: I89d260f78947c3e0fe65148177c7f98d0d0c504d