Commit Graph

37516 Commits

Author SHA1 Message Date
Zhi Dou
dc7ecb5cd2 Merge "Generate aconfig flag storage file from the aconfig_flag.pb of the pertition" into main 2024-07-03 21:45:21 +00:00
Treehugger Robot
c8be459750 Merge "16kb: Remove PRODUCT_BOOTS_16K build variable" into main 2024-07-03 20:54:29 +00:00
Zhi Dou
a4b29191f0 Generate aconfig flag storage file from the aconfig_flag.pb of the
pertition

Test: m
Bug: 349410287
Change-Id: I6f706e90df7985e81865b18b353e4263dea72c0c
2024-07-03 19:41:27 +00:00
Treehugger Robot
f959947939 Merge "Generate system diff between KATI and SOONG" into main 2024-07-03 04:48:21 +00:00
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
Kiyoung Kim
8376b32e42 Generate system diff between KATI and SOONG
There is an effort to generate system image with Soong, but there are
some difference in installed files between Soong defined system image
and KATI defined one. This change generates diffs between installed
files from two sources.

Bug: 346873717
Test: USE_SOONG_DEFINED_SYSTEM_IMAGE=true m -j on aosp_cf_x86_64
generated diff file.

Change-Id: I25c71f88d16a4efb873c21abe70ca9c41c6423ca
Merged-In: I25c71f88d16a4efb873c21abe70ca9c41c6423ca
2024-07-02 02:22:51 +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
Steven Moreland
1205488d90 Merge "vendor API level current is 10,000,000" into main 2024-06-28 22:17:32 +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
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
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
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
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
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
Steven Moreland
93e0aad03c Merge "Reland "Consider non-shipping lunch targets to be future."" into main 2024-06-26 19:56:10 +00: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
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
Kelvin Zhang
e3190bfd19 Merge "Revert "Move all targets away from non-AB"" into main 2024-06-25 23:58:34 +00:00
Priyanka Advani
2ddbfee4ca Revert "Move all targets away from non-AB"
This reverts commit 1d20ca9f72.

Reason for revert: Droidmonitor created revert due to b/349466627. Will be verifying through ABTD before submission.

Change-Id: Idda57cfc04bad53b324b2149e735263ea55bbeef
2024-06-25 23:56:32 +00:00
Treehugger Robot
8bbae75626 Merge "Move all targets away from non-AB" into main 2024-06-25 23:33:31 +00:00
Inseob Kim
97b6dc078f Fix a bug that BUILD_VERSION_TAGS is ignored
Bug: 349046347
Test: set BUILD_VERSION_TAGS and build
Change-Id: Ica1c8283ec530147e744613692a3daccf7f94a4a
2024-06-25 19:08:13 +09:00
Treehugger Robot
7f76f09a1b Merge "Change BOARD_USES_RECOVERY_AS_BOOT to a Boolean type" into main 2024-06-25 05:51:55 +00:00
Wei Li
38f80cd5a7 Merge "Change output of Make metadata to directory compliance-metatada." into main 2024-06-25 04:19:46 +00:00
Nelson Li
ab9e6521c2 Change BOARD_USES_RECOVERY_AS_BOOT to a Boolean type
Set `BOARD_USES_RECOVERY_AS_BOOT` to a Boolean type and use the
`select` syntax in Android.bp.
This usage is more concise and easier to understand compared to
`soong_config_module_type`.

Bug: 347605145
Test: m init_vendor
Change-Id: I551b560688c9bd792e3b9cadcdfc01b4e0215823
2024-06-25 02:49:47 +00:00
Kelvin Zhang
1d20ca9f72 Move all targets away from non-AB
This sets AB_OTA_UPDATER to true by default. OEMs can still
override this variable in their board config if their device
is still on non-AB.

Since some targets(e.g. art target) do not need updates,
we permit empty AB_OTA_PARTITIONS if AB_OTA_UPDATER is true.

This reverts commit 2a3faafdbf

Test: th
Bug: 324360816
Change-Id: Ia9e30983ddc7981659d042a177e9edc8abac6a47
2024-06-24 15:13:22 -07:00
Wei Li
63d7bb2fb6 Change output of Make metadata to directory compliance-metatada.
Bug: 324465531
Test: CIs
Test: m make-compliance-metadata
Change-Id: I85e2c3b96a26e7a6b9905858212b041483b41b78
2024-06-21 19:31:02 -07:00
Treehugger Robot
a95db664df Merge "Add macro to support prebuilt vendor_vboot.img" into main 2024-06-21 22:12:12 +00:00
Wei Li
b036322c61 Merge "Export metadata of make modules and installed files." into main 2024-06-21 20:01:18 +00:00
chunhui dai
97944c71dc Add macro to support prebuilt vendor_vboot.img
There are marcos support to link prebuilt images and generate AVB images
in "make"/"make dist" flow. Currently defined marcos only cover boot.img
/init_boot.img/vendor.img and so on, missing the vendor_boot.img.
Appending a marco for prebuilt vendor_boot.img to work like other
prebuilt images.

Test: manual
Build pass in "make" and "make dist" flow and boot up with AVB

Change-Id: I7b296f82e57e8f71a0757d872d35ac27a8d2ecbe
Signed-off-by: chunhui dai <chunhuid@amazon.com>
2024-06-21 17:01:27 +00:00
Cole Faust
79d04e4115 Merge "Add soong_config_set_bool" into main 2024-06-21 01:21:25 +00:00
Cole Faust
95ff089b84 Add soong_config_set_bool
To allow typing soong config variables as bools for using in soong
select expressions.

Bug: 323382414
Test: m nothing --no-skip-soong-tests
Change-Id: I39496cd2a3366689e3f232ba10353a7d56d8d1ed
2024-06-20 14:51:39 -07:00
Elliott Hughes
f08f9b2cf8 libandroid_support was removed years ago.
Change-Id: I5279b398d112920d707b98ad985f5ab5079984a7
2024-06-20 16:25:47 +00:00
Yihan Dong
7c1c245214 Add cts-api-map report targets
Test: m cts-api-html-api-map cts-api-xml-api-map
cts-system-api-xml-api-map cts-system-api-html-api-map
Bug: 328699028

Change-Id: Idadeb9a9819148071761a75d97d814610c35fd30
2024-06-20 06:43:25 +00:00
Pechetty Sravani
874da86de2 Merge "Revert "Consider non-shipping lunch targets to be future."" into main 2024-06-19 08:31:25 +00:00
Pechetty Sravani
b5b8777686 Revert "Consider non-shipping lunch targets to be future."
This reverts commit 27f601f5d9.

Reason for revert: Droidmonitor triggered revert due to build breakage in b/348090986. Will be verifying through ABTD before submission.

Change-Id: I55e0880741e543309a7b991d49e59e4fa1f62e53
2024-06-19 07:47:32 +00:00
Jakub Czapiga
9de3473305 Merge "Drop legacy vboot support." into main 2024-06-19 07:32:35 +00:00
Inseob Kim
44ae5fc281 Merge "Add build_prop soong module" into main 2024-06-19 03:26:37 +00:00
yangbill
472c60a8e2 Add license metadata declarations which are moved from hardware/libhardware_legacy/Android.mk
Bug: 347653696
Test: CIs
Change-Id: I11300928e9846748e46f7690ecefa68da8e244e2
2024-06-19 03:21:57 +00:00
Treehugger Robot
0159e92532 Merge "Add license metadata declaration in packages/services/Car" into main 2024-06-19 00:13:56 +00:00