Commit Graph

100114 Commits

Author SHA1 Message Date
Treehugger Robot
40a8efb2a3 Merge "Package shared lib for camera-hal-tests" into main am: b98d218db7
Original change: https://android-review.googlesource.com/c/platform/build/+/3272860

Change-Id: I8237e9c03473e8bdbdfe84a5dfadbd9abfde43d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-20 18:11:00 +00:00
Treehugger Robot
b98d218db7 Merge "Package shared lib for camera-hal-tests" into main 2024-09-20 17:28:48 +00:00
Dan Shi
8d5479a400 Package shared lib for camera-hal-tests
Bug: 362195892
Test: presubmit
Change-Id: Ia424942040c5e0d26f12cc0fcdb0925d90567809
2024-09-20 05:37:54 +00:00
Jeongik Cha
39d07fc3a7 Merge "Update OWNERS for allowlist" into main am: 8ee4271956
Original change: https://android-review.googlesource.com/c/platform/build/+/3273920

Change-Id: I6980a953ac689ab1d1e100194c3c314f90a4db02
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-19 23:49:37 +00:00
Jeongik Cha
8ee4271956 Merge "Update OWNERS for allowlist" into main 2024-09-19 23:28:15 +00:00
Luca Farsi
33e87e3f7d Merge "Split out host shared libs target from device-tests" into main am: ccd39a1f18
Original change: https://android-review.googlesource.com/c/platform/build/+/3266094

Change-Id: I7ed806751a7f6828b2d8a1bb51adaefff49c3dec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-19 21:34:53 +00:00
Treehugger Robot
7c80dc3721 Merge "Add trendy team for desktop firmware team" into main am: b106d80f27
Original change: https://android-review.googlesource.com/c/platform/build/+/3274491

Change-Id: Ia85826657a9f2544fa8b7ef7d6fc4f4f605eecb0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-19 21:34:21 +00:00
Luca Farsi
ccd39a1f18 Merge "Split out host shared libs target from device-tests" into main 2024-09-19 21:23:07 +00:00
Treehugger Robot
b106d80f27 Merge "Add trendy team for desktop firmware team" into main 2024-09-19 21:17:27 +00:00
Florian Mayer
7f50e5347d Merge "Use -target-feature for MTE" into main am: 9df15c9101
Original change: https://android-review.googlesource.com/c/platform/build/+/3261733

Change-Id: I641ddc52d4d2522240022fb8cb547f1ca5a95dac
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-19 20:55:51 +00:00
Florian Mayer
9df15c9101 Merge "Use -target-feature for MTE" into main 2024-09-19 20:41:23 +00:00
Marybeth Fair
954288c041 Merge "Add fingerprint to packages.map." into main am: df1a87770a
Original change: https://android-review.googlesource.com/c/platform/build/+/3256996

Change-Id: I61556867b331a57870e6d51d8cddd48f43aaa65c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-19 19:20:34 +00:00
Marybeth Fair
df1a87770a Merge "Add fingerprint to packages.map." into main 2024-09-19 19:18:28 +00:00
Luca Farsi
ab5b1344cf Merge "Fix packaging outputs commands" into main am: 1f68c0091b
Original change: https://android-review.googlesource.com/c/platform/build/+/3266868

Change-Id: I5b932061766bd707abb6c81107d6eb5e73fe674e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-19 19:06:36 +00:00
Luca Farsi
0b73dde4e9 Split out host shared libs target from device-tests
Split out the building of the host shared libs zip from the device-tests
target so it can be build separately. Building device-tests still still
build both.

Test: m device-tests, m device-tests-shared-libs
Bug: 366308541
Change-Id: I13741ce22823622a6bf4744cb55026765c188b8c
2024-09-19 12:05:06 -07:00
Luca Farsi
1f68c0091b Merge "Fix packaging outputs commands" into main 2024-09-19 19:03:56 +00:00
Shreshta Manu
43386d6489 Merge "[Ranging] Add service-ranging to build" into main am: dad619fb93
Original change: https://android-review.googlesource.com/c/platform/build/+/3266765

Change-Id: I304103d409649b26b8f1332a0f49273e3a825c39
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-19 18:39:23 +00:00
Shreshta Manu
fc276f14eb Merge "[Ranging] Add ranging to build" into main am: d3f628f084
Original change: https://android-review.googlesource.com/c/platform/build/+/3263772

Change-Id: Ie2abffa83686aefeca40a85910b5fb438d6563c9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-19 18:37:54 +00:00
Shreshta Manu
dad619fb93 Merge "[Ranging] Add service-ranging to build" into main 2024-09-19 18:33:16 +00:00
Shreshta Manu
d3f628f084 Merge "[Ranging] Add ranging to build" into main 2024-09-19 18:32:51 +00:00
Luca Farsi
8ea6742d05 Fix packaging outputs commands
There were a few issues with the output packaging process that were
found during testing of the general-tests optimization.

First and foremost is that the packaging commands were trying to be
created before the build ran, when the outputs don't exist. I've changed
the logic to just collect the methods themselves which will then be run
during build plan execution after the build has completed.

A few other smaller issues include fixing the path to the soong_zip
binary, incorrect execution of the soong dumpvars command, and not
building the shared libs zip.

Test: atest build_test_suites_test; atest optimized_targets_test
Bug: 358215235
Change-Id: I8a3f54738f8bb5d871aadf7423844076c38b54a6
2024-09-19 11:01:06 -07:00
Priyanka Advani (xWF)
f13f451e8b Merge "Revert "Add command line tool that generates NOTICE.xml.gz for p..."" into main am: 75501177a5
Original change: https://android-review.googlesource.com/c/platform/build/+/3272667

Change-Id: Ie0793220f83ec567ebd6c788c0ac8df2077d1f53
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-19 17:57:10 +00:00
Priyanka Advani (xWF)
75501177a5 Merge "Revert "Add command line tool that generates NOTICE.xml.gz for p..."" into main 2024-09-19 17:53:20 +00:00
Treehugger Robot
a3c3cdce43 Merge "aconfig: cpp test-mode lib" into main am: 8e571eea6d
Original change: https://android-review.googlesource.com/c/platform/build/+/3272287

Change-Id: Id0a1b12a39c9733a51e8c492fe05004a3a0c3be9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-19 17:48:39 +00:00
Priyanka Advani (xWF)
2f37c1980c Revert "Add command line tool that generates NOTICE.xml.gz for p..."
Revert submission 3273112-soong-notice-xml

Reason for revert: Droidmonitor created revert due to b/368348129.

Reverted changes: /q/submissionid:3273112-soong-notice-xml

Change-Id: I55e1e93aa6d4b311c6ee461d4216a104909af842
2024-09-19 17:43:39 +00:00
Treehugger Robot
8e571eea6d Merge "aconfig: cpp test-mode lib" into main 2024-09-19 17:42:29 +00:00
Wei Li
8c0d7cd133 Merge "Add command line tool that generates NOTICE.xml.gz for partitions." into main am: 9c3097d5fb
Original change: https://android-review.googlesource.com/c/platform/build/+/3271576

Change-Id: I0a447f26a32ee351271ddbd6c8a3c91fb31978e7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-19 17:41:58 +00:00
Wei Li
9c3097d5fb Merge "Add command line tool that generates NOTICE.xml.gz for partitions." into main 2024-09-19 17:37:06 +00:00
Jeremy Bettis
6bfe51ae53 Add trendy team for desktop firmware team
Bug: 357660887
Bug: 368101278
Bug: 368341182

Change-Id: Ieff334e1b718776a2f09ce31f909b816c310e5ec
2024-09-19 17:17:40 +00:00
Treehugger Robot
54f7f3cce5 Merge "Add etc/bpf/uprobestats/ProcessManagement.o in allowlist" into main am: 8a1e78aa9c
Original change: https://android-review.googlesource.com/c/platform/build/+/3273919

Change-Id: Idfbd6318f2aa41397dbcc31853ab5a852e81000c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-19 17:12:04 +00:00
Treehugger Robot
8a1e78aa9c Merge "Add etc/bpf/uprobestats/ProcessManagement.o in allowlist" into main 2024-09-19 17:04:32 +00:00
Jeongik Cha
ac740c3ef9 Update OWNERS for allowlist
Bug: n/a
Test: n/a
Change-Id: I7a186fbc89d5edf75efc76791e554c67bc02ef75
2024-09-20 00:33:25 +09:00
Jeongik Cha
392c0c954d Add etc/bpf/uprobestats/ProcessManagement.o in allowlist
to unblock build failure

Bug: 351698657
Bug: 368185982
Test: build
Change-Id: I1017091dd26cd74b471d1d71c3f3b6ad80a0c50a
2024-09-20 00:29:03 +09:00
Marybeth Fair
769d8eed37 Add fingerprint to packages.map.
No guards to this change because we will guard actually writing the
fingerprint, and right now new storage is not in trunkfood yet. This
change modifies the package map file structure. Note that if the new
storage was in trunkfood, this could (theoretically) cause issues if
there were cross-container READ_WRITE flags (not permitted per
documentation) and if the containers were built at separate aconfig
versions (ie before and after this change). Adding the fingerprint will
help prevent such issues in the future. Incremented the storage version
number as I've changed the format.

Again, fingerprint is not actually written in this CL, it always has a
value of 0.

Updated the test files as well to have the new version and the
fingerprint. Since this changed the package node size, some of the
information in the buckets there (offset) has changed as well.

Also added a test util for flags from another package to test future
changes.

Bug: 316357686
Test: atest aconfig.test
Change-Id: I09e10808492f241fe78028d2757f7d63328623c3
2024-09-19 10:17:23 -04:00
Treehugger Robot
8f91d9801d Merge "Export USE_CAMERA_V4L2_HAL to soong" into main am: 48a08682fa
Original change: https://android-review.googlesource.com/c/platform/build/+/3256421

Change-Id: I26408ce51b0c23bb7a08497543b2456e99ea466c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-19 01:37:06 +00:00
Treehugger Robot
48a08682fa Merge "Export USE_CAMERA_V4L2_HAL to soong" into main 2024-09-19 01:14:21 +00:00
William Escande
01d6bb3aae aconfig: cpp test-mode lib
Incompatible interface between test-mode and normal mode.

Bluetooth is linking the normal flag for the code that is shipped, and
it is linking the test-mode library for unit testing.
While trying to move some test to use the test-mode, we noticed some
failure as the flag returned were not the one expected.

It appear the code and the test are built against 2 different library,
but linked against one.
The provide interface only contains getter in normal mode, and it is
alternating between getter/setter in test-mode.
By moving the setter in test-mode toward the end of the interface, we
are not modifying the assumed order for the code built against the
normal mode.

This CL is a short term fix, to make the test goes green and prevent
immediat failure. An refactor of the cpp generated code should be done
to avoid using 2 different version of the same symbol in 2 different
libs.

Bug: 311772251
Test: atest aconfig.test
Change-Id: I97f6523452c451d005d2e92bfa1ef861611ab840
2024-09-18 18:01:20 -07:00
Florian Mayer
3340cf27f7 Use -target-feature for MTE
This combines with other features.

Bug: 366222162
Change-Id: I74bab7e725eaa856d183987fa682f2ab0903ce70
2024-09-18 21:18:19 +00:00
Wei Li
e4c1ec9466 Add command line tool that generates NOTICE.xml.gz for partitions.
The tool currently generates a XML file with the root element only and its content will be filled in in following CLs.

Also disable the generation of NOTICE.xml.gz in make when USE_SOONG_DEFINED_SYSTEM_IMAGE is true, so the Soong module could be used without conflict.

Bug: 330949782
Bug: 338342381
Test: lunch aosp_cf_x86_64_phone-trunk_staging-eng && m, and check that system/etc/NOTICE.xml.gz have all the XML elements.
Test: lunch aosp_cf_x86_64_phone_soong_system-trunk_staging-eng && m, and check that system/etc/NOTICE.xml.gz has root element only.
Change-Id: I82e90bd9aa3dabc605acfe8da697ab1f7e7ecf9b
2024-09-18 20:48:34 +00:00
Ashutosh Agarwal
07fca5b929 Merge "Update core/Makefile to add variable PRODUCT_EXTRA_STUB_LIBRARIES." into main am: f09a84419c
Original change: https://android-review.googlesource.com/c/platform/build/+/3272171

Change-Id: I16aad101ed5af364d716e12190c3a42476816fb1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-18 18:18:03 +00:00
Ashutosh Agarwal
f09a84419c Merge "Update core/Makefile to add variable PRODUCT_EXTRA_STUB_LIBRARIES." into main 2024-09-18 17:54:39 +00:00
Ashutosh Agarwal
f0f939409d Update core/Makefile to add variable PRODUCT_EXTRA_STUB_LIBRARIES.
This allows products to specify additional device-specific stub libraries that should be included in the system_linker_config. This is useful for products that need to include additional stub libraries that are not picked up by Soong automatically.

Bug: 361441210
Change-Id: Ia18c476e249ac5b14b43819fa0a4f0059dc620de
2024-09-18 14:24:05 +00:00
Shreshta Manu
420237dc41 [Ranging] Add service-ranging to build
Bug: 364930449
Test: compiles
Change-Id: Ib14d0434a3e40e8dee76eea647051816dc8a740c
2024-09-18 03:27:54 +00:00
Shreshta Manu
1e9faa2bc9 [Ranging] Add ranging to build
Bug: 364930449
Test: compiles
Change-Id: I35af9f96715be1366fba7041b65094e5a8c04eb0
2024-09-18 03:25:55 +00:00
Dennis Shen
390991bd61 Merge "aconfig: update cpp_codegen to just read from new storage" into main am: 5b6b40e037
Original change: https://android-review.googlesource.com/c/platform/build/+/3266995

Change-Id: I23865ea3825b1ff9da37eb2ecd12c1f53723d032
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-18 02:12:36 +00:00
Dennis Shen
5b6b40e037 Merge "aconfig: update cpp_codegen to just read from new storage" into main 2024-09-18 01:53:30 +00:00
Dennis Shen
ee4e44ade7 aconfig: update cpp_codegen to just read from new storage
Change-Id: Ifc5886e587a64da0d940df903f972593c5e9c9d8
2024-09-17 21:11:22 +00:00
Zhuoyao Zhang
01b092672d Merge "Bootstrap the edit monitor project" into main am: cd1908f552
Original change: https://android-review.googlesource.com/c/platform/build/+/3261331

Change-Id: I08fad0ebc49c7fb005d57e1d85995a4562156d91
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-17 20:52:42 +00:00
Zhuoyao Zhang
cd1908f552 Merge "Bootstrap the edit monitor project" into main 2024-09-17 20:14:39 +00:00
Dennis Shen
17b96f3ebc Merge "aconfig: update rust_codegen to just read from new storage when flag is true" into main am: 869fdd13e8
Original change: https://android-review.googlesource.com/c/platform/build/+/3267213

Change-Id: I9c9d3aac91323ffcb7a91de9d9fce87c31be5b9f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-17 19:32:20 +00:00