Commit Graph

35562 Commits

Author SHA1 Message Date
Bill Yi
7a3ff6b30c Merge "Merge TQ3A.230705.001 to aosp-main - DO NOT MERGE" into main 2023-07-12 13:38:41 +00:00
Mårten Kongstad
beb2bfded0 Remove metalava --no-banner argument
metalava no longer prints an ASCII banner, and has removed its
--no-banner argument. Update all call sites accordingly.

Test: presubmit
Bug: 286023667
Change-Id: I0159cad6571c62d672da5aeb3ff422abb97c7ac9
2023-07-12 14:07:22 +02:00
Cole Faust
735fe49732 Merge "Remove BOARD_BPT* variables and the bpt parition table image" into main am: f5350e965b
Original change: https://android-review.googlesource.com/c/platform/build/+/2654584

Change-Id: I3f2a8a87108d0949f3e9ab8e6d8beb2ea351270a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-12 02:18:11 +00:00
Android Build Coastguard Worker
453b007c4a Version bump to UP1A.230623.012 [core/build_id.mk]
Change-Id: I9696910a9e23e3785b091f845dc485fbeecf6b31
2023-07-12 02:08:20 +00:00
Cole Faust
f5350e965b Merge "Remove BOARD_BPT* variables and the bpt parition table image" into main 2023-07-12 01:26:51 +00:00
Cole Faust
4f3dc8759f Remove BOARD_BPT* variables and the bpt parition table image
These variables appear to never be set.

Test: Presubmits
Change-Id: If4b89376f73204ad5780dff421f1216da255c3eb
2023-07-11 16:58:06 -07:00
Tiffany Yang
19450e3a0b Make common signature system property definitions optional
This change allows ARC to define ARC-specific system properties in
Android build without changing these property definitions for other
Android builds. Please see go/arc-sigprop-changes and
go/arc-android-sigprop-sync for additional details.

Bug: 195609932
Test: built bertha_x86_64 with forward declarations
Change-Id: I22bd9d60c2491506fe5c633dbbb9e7516f529b35
2023-07-11 22:40:19 +00:00
Bill Yi
49e6f615a6 Merge TQ3A.230705.001 to aosp-main - DO NOT MERGE
Merged-In: Ib0eee7237c81e43fe55da0c8569752e956891730
Merged-In: I1e276e220afe3c0c174a9822b0dce2a923be7b5c
Merged-In: I8c8a4079974ee9e1009483350ab24f790471da9e
Change-Id: I3b31eb8f5c003cb3fc7766e0a8d3378747304943
2023-07-11 15:35:47 -07:00
Colin Cross
7ea1cb5152 Merge "Dist kernel_version.txt" into main am: b177e347aa
Original change: https://android-review.googlesource.com/c/platform/build/+/2652360

Change-Id: I8d952d05b10390796d73b69681d99e5e4d85be8d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-11 16:42:58 +00:00
Elliott Hughes
f94ff9146d Merge "Switch from minigzip to gzip." into main am: c1577ff58b
Original change: https://android-review.googlesource.com/c/platform/build/+/2632009

Change-Id: Ib6eeccad98122d2ad26a89fe44897ecabc610e05
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-11 16:42:34 +00:00
Colin Cross
b177e347aa Merge "Dist kernel_version.txt" into main 2023-07-11 16:25:13 +00:00
Elliott Hughes
c1577ff58b Merge "Switch from minigzip to gzip." into main 2023-07-11 15:52:27 +00:00
Jooyung Han
2ecded04a6 Do not install required modules from order-only deps
When a vintf_fragments or init_rc file is shared by two modules,
unintended modules are installed due to the shared file.

This was caused by add-all-target-to-target-required-modules-deps.

With the following definitions:

cc_binary {
  name: "foo",
  vintf_fragments: ["shared.xml"],
  required: ["foo-req"],
}

cc_binary {
  name: "bar",
  vintf_fragments: ["shared.xml"],
}

When installing "bar", surprisingly, "foo-req" is installed due to the
link between "shared.xml" and "foo-req" added by
add-all-target-to-target-required-modules-deps.

To fix that, in this change, vintf_fragments and init_rc files are
marked as "order-only" deps. In
add-all-target-to-target-required-modules-deps, order-only deps are not
used to add links to "required" modules.

Now, with the same definitions, installing "bar" won't installs
"foo-req".

Bug: 198818343
Test: (see above)
Change-Id: I16be0dcb84564c559cb2f4223e2812321ee14729
2023-07-11 22:26:15 +09:00
Jooyung Han
b14b4cd6a5 Install vintf_fragments/init_rc along with targets
Even though `m foo` installs vintf_fragments and init_rc files. There
was no direct dependency from the installed target to
vintf_fragments/init_rc files.

With the following:

cc_binary {
  name: "foo",
  vintf_fragments: ["foo.xml"]
}

`m out/target/product/vsoc_x86_64/system/bin/foo` didn't install
foo.xml.

This change adds the order-only deps from the target install to
vintf_fragments/init_fc files.

Bug: 198818343
Test: (see above)
Change-Id: I4656d43d15407a85fea7c95b22e4bbe19fb86aee
2023-07-11 22:26:12 +09:00
Treehugger Robot
4204e8b135 Merge "core: Add script to check for possible shared library duplication" into main am: ebd2d0043b
Original change: https://android-review.googlesource.com/c/platform/build/+/2467321

Change-Id: I8da1a3d5a964652e7ea2fe02b2151bfe850a494c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-11 06:06:53 +00:00
Treehugger Robot
ebd2d0043b Merge "core: Add script to check for possible shared library duplication" into main 2023-07-11 05:12:08 +00:00
Android Build Coastguard Worker
1776e1e3dc Version bump to UP1A.230623.011 [core/build_id.mk]
Change-Id: Ic6569c708da11c29a6819ab6bfc65a2fd82c2b9d
2023-07-11 00:41:13 +00:00
Android Build Coastguard Worker
eb24af85f9 Version bump to UP1A.230623.010 [core/build_id.mk]
Change-Id: Ib17e00d43f933204bcad1403fb4e8bb2ea5ff610
2023-07-09 10:04:30 +00:00
Joe Onorato
63a84551ca Combine aconfig cache files into per-partition dumps.
Bug: 283910439
Test: manual validation of outputs, soong unit tests
Change-Id: I5f7dc16ee42c3722dc66ffe964ed20479eea1e15
2023-07-07 17:33:09 -07:00
David Fu
05d16bc191 Added haiku-presubmit phony rule to makefile
Change-Id: I85ef4dfcbe399a413e7ebccd4c5fbabdaf78401d
2023-07-07 19:22:42 +00:00
Colin Cross
27f36d1bc8 Dist kernel_version.txt
Fixes: 290361803
Test: treehugger
Change-Id: I146817c9cf256f086404c880a0215cb8e688c544
2023-07-07 18:25:09 +00:00
Android Build Coastguard Worker
5de2c023e7 Version bump to UP1A.230623.009 [core/build_id.mk]
Change-Id: I8b31360a649791d5ef5393bc36a23b9f3eb5b7dd
2023-07-07 01:23:48 +00:00
Yabin Cui
e9c4b39402 Merge "Replace libc++.so.1 with libc++.so" into main am: 9ec80322d6
Original change: https://android-review.googlesource.com/c/platform/build/+/2624306

Change-Id: I010d21a67e6103c8a1bd16da0ee5a19c86131c6a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-07 00:39:33 +00:00
Yabin Cui
9ec80322d6 Merge "Replace libc++.so.1 with libc++.so" into main 2023-07-06 23:54:42 +00:00
Jooyung Han
7650ddad01 Install vintf_fragments even when they are shared
Vintf_fragments should be installed regardless when they are shared with
other modules or not.

cc_binary {
  name: "foo",
  vintf_fragments: ["shared.xml"],
}

cc_binary {
  name: "bar",
  vintf_fragments: ["shared.xml"],
}

Either `m bar` or `m foo` should install `shared.xml`.

Previously, only *new* vintf_fragments were installed, which means, one
of "foo" or "bar" didn't trigger the installation of "shared.xml".

Bug: 198818343
Test: (see above)
Change-Id: I52b831df046b585db41449f06a6f9c684d623468
2023-07-06 13:45:12 +09:00
Chuong Hoang
4746c76dde Merge "Add brightness-related TARGET_RECOVERY_UI_ properties" am: 82d233a1bd
Original change: https://android-review.googlesource.com/c/platform/build/+/2646379

Change-Id: Ie9c80988cd19f52c9e43c91dad589a722ca49961
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-06 02:52:43 +00:00
Chuong Hoang
82d233a1bd Merge "Add brightness-related TARGET_RECOVERY_UI_ properties" 2023-07-06 02:23:16 +00:00
Android Build Coastguard Worker
bdd5df7213 Version bump to UP1A.230623.008 [core/build_id.mk]
Change-Id: I82b9846826c8744876c997c50e05cdf1d8ffafff
2023-07-05 23:28:33 +00:00
Treehugger Robot
55d230847e Merge "Quote pattern in 'find' command used to generate modules.load" am: 530db0e770
Original change: https://android-review.googlesource.com/c/platform/build/+/2648959

Change-Id: I4e9dc97067a41803c3c9a2b21917600f21b1b353
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-05 21:29:30 +00:00
Treehugger Robot
530db0e770 Merge "Quote pattern in 'find' command used to generate modules.load" 2023-07-05 20:52:22 +00:00
Daniel Zheng
f9c4bd3f3e Moving vendor_boot out of BOARD_AVB_ENABLE block
vendor_boot is unrelated to this conditional. Moving it out so that this
instruction will be added on devices which don't have this set

Test: lunch db845c-userdebug, m fastboot_info
Change-Id: I34ad24d4f32d727f0f82749ed13c3de08566e880
2023-07-05 12:20:57 -07:00
Sorin Basca
f32074304e Merge "Add test utils script to xTS zips" am: e029e1e7ba
Original change: https://android-review.googlesource.com/c/platform/build/+/2361760

Change-Id: I232d8db33805395d1105d986e8a2d278e320b23c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-05 18:05:45 +00:00
Sorin Basca
e029e1e7ba Merge "Add test utils script to xTS zips" 2023-07-05 17:23:30 +00:00
Rashid Zaman
c4624460ca Quote pattern in 'find' command used to generate modules.load
When a kernel module archive is specified via
BOARD_*_KERNEL_MODULES_ARCHIVE an unquoted wildcard pattern in the
'find' command used to find modules to add to modules.load can result
in a build failure due to shell expansion. Fix this by quoting the
pattern so that kernel modules in $ANDROID_BUILD_TOP don't cause
unexpected build failures.

Bug: 289887845
Test: Define BOARD_VENDOR_KERNEL_MODULES_ARCHIVE for
aosp_cf_x86_64_phone, touch foo.ko &&
lunch aosp_cf_x86_64_phone-userdebug && m succeeds.

Change-Id: I8122afc6bbbb5df6e3b11922b2be38129addeda0
Signed-off-by: Rashid Zaman <rashidz@meta.com>
2023-07-04 23:16:34 -07:00
Android Build Coastguard Worker
91d0e9b9e0 Version bump to UP1A.230623.007 [core/build_id.mk]
Change-Id: I38238c2c4a2c340a8566ca977843d4c5690448df
2023-06-30 23:28:21 +00:00
Wei Li
a42c88228e Merge "Revert "Revert "Support SBOM generation of m build unbundled APEXs.""" am: f711149a5c
Original change: https://android-review.googlesource.com/c/platform/build/+/2645005

Change-Id: I1af56a79a3316f29014fbc7f78020972f1b22c48
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-30 08:37:53 +00:00
Chuong Hoang
b684a13c1c Add brightness-related TARGET_RECOVERY_UI_ properties
Bug: 221048336
Test: combined with the other CL in same topic, observed recovery
brightness updated correctly according to variables set in BoardConfig.

Change-Id: Iebad0753079414a5e11bce04008ee405c8d03580
2023-06-30 04:44:23 +00:00
Android Build Coastguard Worker
b6422bb579 Version bump to UP1A.230623.006 [core/build_id.mk]
Change-Id: I5997c9bdb982cc97aee846b3c4ad4da1d85df49f
2023-06-30 03:20:45 +00:00
Wei Li
50745668c3 Revert "Revert "Support SBOM generation of m build unbundled APEXs.""
This reverts commit bab162156e.

Reason for revert: issue is fixed in ag/23851209.

Change-Id: I965d535771f0bd6eb0e6da66b2c2cc3fd7f194c9
2023-06-30 02:33:36 +00:00
Jiakai Zhang
88cc0b3f21 Merge "Use per-app package list to avoid unnecessary dexpreopt." am: f164097056
Original change: https://android-review.googlesource.com/c/platform/build/+/2638489

Change-Id: Ia35c48adba03ad8c08844f5433ab6b0c8699f248
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-29 18:23:06 +00:00
Jiakai Zhang
f164097056 Merge "Use per-app package list to avoid unnecessary dexpreopt." 2023-06-29 17:33:43 +00:00
Carlos Eduardo Seo
6e6a95b606 core: Add script to check for possible shared library duplication
Running dupcheck.sh after a build on an image performs two checks:

  * Check for duplicate shared libraries by MD5.
  * Check for possible duplicate shared libraries by comparing .note
    and .text ELF sections.

This helps looking for unnecessary file duplication in the final images.

Test: after running the script, reports will be generated in the 'out'
directory.

Change-Id: I91c044a52002557fdc8dc65bfc9fd5f313ca00f3
2023-06-29 12:50:10 +00:00
Jooyung Han
88afdc0beb Merge "Add apexd_host to otatools" am: 0f8339dcac
Original change: https://android-review.googlesource.com/c/platform/build/+/2643394

Change-Id: I849a2c571b2e58c37da0ca18343cdb76a75a55a9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-29 06:34:10 +00:00
Treehugger Robot
dad161c5e8 Merge "add sha256 to art-host-tests zip to lower rbe upload overhead" am: 6d2b198f87
Original change: https://android-review.googlesource.com/c/platform/build/+/2640232

Change-Id: I591dcac500a1083ba034c56670e673aff7c5ea8f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-29 06:33:57 +00:00
Jooyung Han
0f8339dcac Merge "Add apexd_host to otatools" 2023-06-29 06:01:38 +00:00
Treehugger Robot
6d2b198f87 Merge "add sha256 to art-host-tests zip to lower rbe upload overhead" 2023-06-29 05:50:23 +00:00
Jooyung Han
8f0dcc28a4 Add apexd_host to otatools
It's used by other tools like check_target_files_vintf and
merge_target_files.

Bug: 289274238
Test: m otatools-package # see if otatools.zip has apexd_host
Change-Id: Ie2e939b00846d5f0a5d81b26f39ac11ff08ff383
2023-06-29 12:43:10 +09:00
Android Build Coastguard Worker
ecbd04fcbd Version bump to UP1A.230623.005 [core/build_id.mk]
Change-Id: Idb182e16db7e394d4f9d5d6046a64ab7d5e992b3
2023-06-29 03:40:46 +00:00
Julien Desprez
7b94cc7170 add sha256 to art-host-tests zip to lower rbe upload overhead
Avoid a cas unzip/upload by using the soong_zip option

Change-Id: I4ef8571a43ccf49d01e876605759e82f8e87dbc5
Test: presubmit
Bug: 286959075
2023-06-29 00:18:38 +00:00
Devin Moore
64c2559577 Remove hwservicemanager and hidl allocator.
...from devices launching after Android V.

Devices can add them back in explicitly now that they are also moved to
system_ext.

Test: m
Bug: 218588089
Change-Id: Ib3c917896c7a9b2c5940922c9faddb44cc7a0766
2023-06-28 20:53:10 +00:00