Commit Graph

98336 Commits

Author SHA1 Message Date
Juan Yescas
f645d4b1cb 16kb: Remove PRODUCT_BOOTS_16K build variable
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
2024-07-03 03:00:19 +00:00
Treehugger Robot
f3fa5d5bbc Merge "Revert "Remove non existent snapuserd.recovery package"" into main 2024-07-02 20:07:38 +00:00
Ivan Lozano
1f053a072e Merge "Remove allow-multiple-definitions flag." into main 2024-07-02 11:59:00 +00:00
David Anderson
b3f0337ae6 Revert "Remove non existent snapuserd.recovery package"
This reverts commit 48a8f59607.

Reason for revert: b/349287459

Change-Id: I5835cc025b37efca4d6294abf4aefd7148ddfd65
2024-07-02 03:30:05 +00:00
Treehugger Robot
0d62ee5b6a Merge "Increase dump-words-to-file capacity" into main 2024-07-02 02:03:13 +00:00
Ivan Lozano
16266625cc Remove allow-multiple-definitions flag.
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
2024-07-01 18:28:32 +00:00
Nikita Putikhin
32410e9228 Merge "Revert "Use test install base template instead of a hardcoded path"" into main 2024-07-01 18:02:12 +00:00
Nikita Putikhin
fc4ac4873d Revert "Use test install base template instead of a hardcoded path"
This reverts commit f6a22b6ff7.

Reason for revert: b/350479879

Change-Id: I282719de6579670d382dd5429efe62ab7832cc95
2024-07-01 15:31:21 +00:00
Nikita Putikhin
0857a91000 Merge "Use test install base template instead of a hardcoded path" into main 2024-07-01 12:19:20 +00:00
Jaewan Kim
b38fce721a Increase dump-words-to-file capacity
This replicates previous fix for the similar issue
  0bd9a626bd Increase dump-words-to-file capacity

Change-Id: Ibdd31d9a4588eefa585298cc4f01528f0027395a
Test: ABTD
Bug: 350309689
2024-07-01 00:23:06 +00:00
Treehugger Robot
45fe6192e7 Merge "Replace PRODUCT_COPY_FILES with soong module" into main 2024-06-29 08:20:11 +00:00
Steven Moreland
1205488d90 Merge "vendor API level current is 10,000,000" into main 2024-06-28 22:17:32 +00:00
Juan Yescas
7c222cc0fa Merge "16kb: Define PRODUCT_BOOTS_16K to indicate that target boots with 16kb kernel" into main 2024-06-28 21:54:48 +00:00
Juan Yescas
48aec87674 16kb: Define PRODUCT_BOOTS_16K to indicate that target boots with 16kb kernel
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
2024-06-28 13:23:05 -07:00
Spandan Das
c380fd04be Merge "Install dexpreopt artifacts of non system apps in system_other" into main 2024-06-28 16:14:58 +00:00
Ivan Lozano
4ed15ef2fb Merge "Replace static_rlibs usage." into main 2024-06-28 14:44:49 +00:00
Treehugger Robot
d7d16e3cf6 Merge "Revert "Move COMPRESSION_COMMAND_DEPS before first use"" into main 2024-06-28 11:34:25 +00:00
Gina Ko
88d65e514c Revert "Move COMPRESSION_COMMAND_DEPS before first use"
This reverts commit a8f0bb8df8.

Reason for revert: ramdisk.img size becomes 0

Bug: b/349934403
Change-Id: Ifb837defb5fdc699375b3942d0de9655cb018e11
2024-06-28 08:26:54 +00:00
Justin Yun
c5f7f80416 Replace PRODUCT_COPY_FILES with soong module
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
2024-06-28 14:18:20 +09:00
Steven Moreland
fd54266000 vendor API level current is 10,000,000
since it was a weird thing from the last
change, and 10,000 < 202404.

Bug: N/A
Test: selftest
Change-Id: I467a334b791faaeb1bab892c0e1a80c28a0b5d09
2024-06-28 00:45:57 +00:00
Treehugger Robot
14d19661a0 Merge "Add DTBO partition to dev option boot OTA" into main 2024-06-27 23:50:25 +00:00
Treehugger Robot
8e7b07afa9 Merge "Support custom DTBO image for 16KB target" into main 2024-06-27 23:50:25 +00:00
Treehugger Robot
cd23871bd7 Merge "Reland Move all targets away from non-AB" into main 2024-06-27 22:56:23 +00:00
Treehugger Robot
f101cc6aad Merge "Move COMPRESSION_COMMAND_DEPS before first use" into main 2024-06-27 21:17:02 +00:00
Kelvin Zhang
1ef79a4dad Add DTBO partition to dev option boot OTA
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
2024-06-27 10:34:39 -07:00
Kelvin Zhang
c7712ee290 Support custom DTBO image for 16KB target
Test: set BOARD_PREBUILT_DTBOIMAGE_16KB, and build
Bug: 349590107
Change-Id: If27d5e349ad28f1f803625da7331c3277fe3ca5f
2024-06-27 10:34:32 -07:00
Nikita Putikhin
f6a22b6ff7 Use test install base template instead of a hardcoded path
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
2024-06-27 16:43:38 +02:00
Inseob Kim
56f730409e Merge "Clean .intermediates for removing hashed subdir" into main 2024-06-27 04:30:30 +00:00
Spandan Das
26e6c5d5f7 Install dexpreopt artifacts of non system apps in system_other
`SYSTEM_OTHER_ODEX_FILTER` is used to determine which odex files go in
system_other partition. Soong and Make adds another filter on top of that.
This additional filter limits the odex files to only system apps, which
means that dexpreopt artifacts of product and system_ext apps are **not**
installed in system_other.

This CL removes this additional filter. After this CL, dexpreopt
artifacts of product and system_ext apps will be installed in system_other.

Bug: 349083274
Test: Verified that .odex files of product apps appear in
intalled-files-system_other.txt and not installed-files-product.txt

Test: Ran this CL on a bunch of targets in git_main and throttled
branchesa (there are some unrelated errors on some targets)
https://android-build.corp.google.com/builds/abtd/run/L93000030004826539
https://android-build.corp.google.com/builds/abtd/run/L53400030004824781
https://android-build.corp.google.com/builds/abtd/run/L41900030004824724
https://android-build.corp.google.com/builds/abtd/run/L87200030004822630
https://android-build.corp.google.com/builds/abtd/run/L67500030004727048
https://android-build.corp.google.com/builds/abtd/run/L41700030004726610
https://android-build.corp.google.com/builds/abtd/run/L61600030004726607

Change-Id: I522b8f00a268058b13bb88ac1b34824bd5c1190e
2024-06-27 02:07:36 +00:00
Vova Sharaienko
d7f84277c1 Merge "Added trendy team for Telemetry Client Infra (StatsD)" into main 2024-06-27 01:27:30 +00:00
Treehugger Robot
e6370eaecd Merge "release config is now protobuf" into main 2024-06-27 01:21:49 +00:00
Treehugger Robot
6b8d925c91 Merge "Fix bug in ota_from_raw_img when generating multiple images" into main 2024-06-27 01:17:10 +00:00
Kelvin Zhang
a8f0bb8df8 Move COMPRESSION_COMMAND_DEPS before first use
Test: th
Bug: 349524000
Change-Id: I6e9a406a04392ce17ad787c28052ee20f3d162a5
2024-06-26 17:12:20 -07:00
Treehugger Robot
8522c2e8af Merge "Only include this partition's flags in aconfig_flags.pb" into main 2024-06-26 23:07:12 +00:00
LaMont Jones
acbe15ecdf Only include this partition's flags in aconfig_flags.pb
Flags should only be in one of the files.

Bug: 349410287
Test: manual, TH
Change-Id: I85376298538e2537f8f0f717a0a40a8545e99ea6
2024-06-26 14:41:10 -07:00
Vova Sharaienko
742eb98b4e Added trendy team for Telemetry Client Infra (StatsD)
Bug: 340948329
Test: CIs
Change-Id: I229a3f19cc6be8c45b489664374a7d9ccea68d05
2024-06-26 21:19:21 +00:00
Steven Moreland
93e0aad03c Merge "Reland "Consider non-shipping lunch targets to be future."" into main 2024-06-26 19:56:10 +00:00
Reema Bajwa
d5f7cb1698 Merge "Enable Credential Manager for all handheld devices" into main 2024-06-26 19:30:08 +00:00
LaMont Jones
f982547c1b release config is now protobuf
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
2024-06-26 12:15:12 -07:00
Kelvin Zhang
2add34e96e Reland Move all targets away from non-AB
Previous build breakage is fixed by aosp/3147481 , so
attempting to reland

This reverts commit 2ddbfee4ca.

Reason for revert: b/348547795

Change-Id: Ie7e6e54a6c1796acc37b43fe14692068e0ea31ca
2024-06-26 17:38:00 +00:00
Steven Moreland
8907ad66d1 Reland "Consider non-shipping lunch targets to be future."
This reverts commit b5b8777686.

Reason for revert: reverted in b/348090986

Change-Id: I2cc85dc4bdf9ed3dc2fb4ff77d9dffa3c32dda76
2024-06-26 17:18:41 +00:00
Treehugger Robot
b2356a6fb0 Merge "Add whitelist for mcts modules" into main 2024-06-26 17:15:49 +00:00
Kelvin Zhang
9ef8a02782 Fix bug in ota_from_raw_img when generating multiple images
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
2024-06-26 10:15:33 -07:00
Reema Bajwa
cc589fada5 Enable Credential Manager for all handheld devices
Bug: 345373198
Test: Cts

Change-Id: I54ec933aaacef5c313dada751cd68d303a7cb0b7
2024-06-26 16:44:30 +00:00
Yihan Dong
9005bb61f7 Add whitelist for mcts modules
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
2024-06-26 07:09:49 +00:00
Treehugger Robot
8865fcdd10 Merge "Add license metadata declarations which are moved from hardware/libhardware_legacy/Android.mk" into main 2024-06-26 03:05:43 +00:00
Treehugger Robot
d1236812b9 Merge "Fix a bug that BUILD_VERSION_TAGS is ignored" into main 2024-06-26 02:47:00 +00:00
Ivan Lozano
b6288a526e Replace static_rlibs usage.
static_rlibs has been folded into the normal static_libs and
whole_static_libs properties.

Bug: 254469782
Bug: 349129702
Test: m
Change-Id: I89d260f78947c3e0fe65148177c7f98d0d0c504d
2024-06-26 01:36:26 +00:00
Inseob Kim
a12be58687 Clean .intermediates for removing hashed subdir
Bug: 348548855
Test: TH
Change-Id: Ia9f753d085c08d8c553ca0b4aa400beedb2be302
2024-06-26 10:14:26 +09:00
Kelvin Zhang
e3190bfd19 Merge "Revert "Move all targets away from non-AB"" into main 2024-06-25 23:58:34 +00:00