Luca Farsi
a677887047
Split out host shared libs target from general-tests
...
Split out the building of the host shared libs zip from the
general-tests target so it can be built separately. building
general-tests will still build both.
Test: m general-tests, m general-tests-shared-libs
Bug: 314171817
Change-Id: I99f6d7ae5578d8bc97ddc0c047398defbf9b8cc9
2024-02-20 14:06:02 -08:00
Xin Li
e693b5037e
Merge Android 24Q1 Release (ab/11220357)
...
Bug: 319669529
Merged-In: I21eb7d5dc8cef9c1dd797ba1ab2ee830a8a5a42b
Change-Id: I42210485ad8f07e19408bef0e5a2af23f6a0e596
2024-01-30 10:33:42 -08:00
Ziwei Zhang
e2bac44173
Package ATS console into CTS.
...
Test: m cts
Bug: 318325038
Ignore-AOSP-First: enable ATS console internally first
Change-Id: I7acd36f747490bd3f7896972e39861a0a6b369ef
2024-01-24 11:01:57 +00:00
Treehugger Robot
a8e42edae0
Merge "Move fontchain_lint to build/core/tasks" into main am: 34a9a0e851
am: f0d102e022
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2919067
Change-Id: Ia7514cd740e72496a770ce0bb6cd9e03edffac80
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-01-24 02:52:09 +00:00
Nelson Li
6a699c8d47
Move fontchain_lint to build/core/tasks
...
Because `system.img` is a dependency of `fontchain_lint`, and
`system.img` is currently not generated inside `Soong`, it is not
possible to directly convert `fontchain_lint` to `Android.bp`.
Move it to build/core/task first.
Bug: 319050958
Test: m fontchain_lint
Change-Id: I2c318f6f51107cd80f0c70531e23f73569b0ec83
2024-01-19 06:59:22 +00:00
Tongbo Liu
361333e74c
Enable building executable module partail MTS
...
Ignore-AOSP-First: MCTS will be tested internally first
Bug: 316484945
Test: m mts-<module>
Change-Id: I676725407028b440d3e502ea4bf98f2ebbfdb0c3
2024-01-18 08:59:55 +00:00
Tongbo Liu
ca0ace3629
Modify the build rule of MTS and MCTS related tests in order to enable
...
module individual MTS/MCTS test suites to be ran.
Ignore-AOSP-First: MCTS will be tested internally first
Bug: 316484945
Test: m mcts, m mcts-<module>
Change-Id: I3c0dd561a7456e3139e493974072207d188d7348
2024-01-11 07:13:55 +00:00
Tongbo Liu
5bdb4e37d0
Merge "Enable building whole MCTS and partial MCTS test suites." into main
2024-01-05 05:54:35 +00:00
Tongbo Liu
e1052fd939
Enable building whole MCTS and partial MCTS test suites.
...
Bug: 318608673
Test: m mcts
Change-Id: I2af74e319c40b0e36d8a71e1da3c6934f66a51be
2024-01-04 16:51:03 +08:00
Colin Cross
b9859d0dd8
Merge "Support Soong-generated module-info.json entries" into main am: 7f91599457
am: 99edf49d08
am: 350450c7a6
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2881408
Change-Id: Iaf98172011497671efcf457aaf0394dec091dcc2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-01-03 18:31:03 +00:00
Colin Cross
3b89c6532a
Support Soong-generated module-info.json entries
...
Allow Soong modules to generate their own module-info.json entries
by merging Soong's module-info.json file into the one generated in
Make.
Skip collecting unnecessary ALL_MODULES.$(my_register_name).*
that are only used for module-info.json if the module was already
handled by Soong via the LOCAL_SOONG_MODULE_INFO_JSON property.
Bug: 309006256
Test: Compare module-info.json
Change-Id: I2c9db3c7c7bae7bd6cb889d7ebc2e383c278c82d
2024-01-02 17:21:22 -08:00
Colin Cross
23a54e11ab
Merge "Simplify module-info.json by leaving out optional fields" into main am: 8bb8482755
am: 78c9696aea
am: 84035d9743
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2835094
Change-Id: Id7f1e3dd8f568cf1cd173cde59d8cb7a558535e1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-12-05 02:15:45 +00:00
Colin Cross
4ea5e85143
Simplify module-info.json by leaving out optional fields
...
Every field in module-info.json has at least "[]". Add functions to
only write the values when they are non-empty to reduce the size
and ease comparison when module-info.json is written by Soong.
Bug: 309006256
Test: atest --host toybox-gtests --test-timeout=120000
Change-Id: I200e8c8fd9727b4cffa9b82318f4433fd630e933
2023-11-29 10:18:52 -08:00
Colin Cross
8c10c1abc3
Merge "Store ALL_DEPS under my_register_name" into main am: 6b35685744
am: a9b72f9311
am: b62c7d7a49
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2835092
Change-Id: Ib4294dc19ebea2bb3ef94321995e44636119e1d5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-17 22:47:33 +00:00
Colin Cross
9cb51b7446
Store ALL_DEPS under my_register_name
...
ALL_DEPS was original stored in ALL_DEPS.$(LOCAL_MODULE).ALL_DEPS for
use by the old licensing code. That has been removed, and it is now
only used by module-info.json. Storing it with $(LOCAL_MODULE) causes
_32 entries in module-info.json to be missing dependencies, and causes
the dependencies from _32 variants to be squashed into the normal
variants. Replace ALL_DEPS.$(LOCAL_MODULE).ALL_DEPS with
ALL_MODULES.$(my_register_name).ALL_DEPS.
Test: builds
Change-Id: Ieddfcddd8547b61bd938ae051beb738268aac5af
2023-11-16 11:46:40 -08:00
Colin Cross
b874694de5
Merge changes I2ca9e674,I7e0db3c0,I7e1b6268,I0fa6a46e,I04e8178a into main am: b5ec156b32
am: 6281ca70d0
am: 4354a51b61
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2815683
Change-Id: Ief41c26347b063163bf45d3cd0a39468fdb0f650
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-03 17:01:05 +00:00
Colin Cross
1b7f072505
Remove obsolete ide.mk and related code
...
The code to generate an eclipse classpath is obsolete, remove it and
related code.
Test: no change to out/build-aosp_cf_x86_64_phone.ninja
Change-Id: I7e1b6268b98ecbb7be88db8945dd7b30acc695ba
2023-11-02 10:16:57 -07:00
Jeff Hamilton
426a9f8f02
Move most version variable out to relase configs.
...
This allows finer control of the version variables
per release config, and removes a lot of computed
logic in favor of just directly setting the values.
Bug: 306702353
Test: lunch <device>-next-userdebug && m -j98
Change-Id: I9edc7171d124f0cfa540fea6f0e06ba877910444
Ignore-AOSP-First: Changes in internal projects first.
Merged-In: I9edc7171d124f0cfa540fea6f0e06ba877910444
2023-10-24 16:41:58 +00:00
Baligh Uddin
186888303d
Revert^2 "Move most version variable out to relase configs."
...
69b38b52b6
Change-Id: I67c9ac7869fcad54f3b0b93a04e9dda5f97861d6
Bug: 306702353
Test: TH and local
2023-10-24 14:19:52 +00:00
Orhan Uysal
69b38b52b6
Revert "Move most version variable out to relase configs."
...
Revert submission 25118098-ap11
Reason for revert: DroidMonitor-triggered revert due to breakage https://android-build.corp.google.com/builds/quarterdeck?branch=git_aosp-main-future&target=errorprone-trunk_staging&lkgb=10993884&lkbb=10995208&fkbb=10994141 , bug b/307480895
Reverted changes: /q/submissionid:25118098-ap11
Change-Id: I2bc1fc4a9e92a3c4cf8acba3dbaaf61e6fb0774e
2023-10-24 09:03:24 +00:00
Jeff Hamilton
c40f31641b
Move most version variable out to relase configs.
...
This allows finer control of the version variables
per release config, and removes a lot of computed
logic in favor of just directly setting the values.
Bug: 306702353
Test: lunch <device>-next-userdebug && m -j98
Change-Id: I9edc7171d124f0cfa540fea6f0e06ba877910444
Ignore-AOSP-First: Changes in internal projects first.
2023-10-23 21:54:57 +00:00
Edward Liaw
0777cb9093
Merge "linux-kselftest: Remove special cased build rule for kselftest" into main am: 41d4b0b3af
am: a06534686f
am: 6dee758b82
am: fe92cbefdd
am: 71fb4d0c46
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2736953
Change-Id: Ic7750ef74717cc836941c3de1403fff2f0b51b53
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-10-05 03:55:03 +00:00
Edward Liaw
a06534686f
Merge "linux-kselftest: Remove special cased build rule for kselftest" into main am: 41d4b0b3af
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2736953
Change-Id: Ia5a3c3ed37738c58404dc7a9ea78d74bd509ead2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-10-05 01:48:39 +00:00
Edward Liaw
41d4b0b3af
Merge "linux-kselftest: Remove special cased build rule for kselftest" into main
2023-10-05 01:08:32 +00:00
Treehugger Robot
70948c50f4
Merge "Delete staging directory after creating module package zip" into main am: 517308b890
am: 5a5685a6a9
am: 4ed24d84ed
am: 8191024e42
am: 0da0f0a2ec
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2767637
Change-Id: I5aa8a6ef92d244367896610aedcff01970f095f3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-30 06:14:49 +00:00
Treehugger Robot
5a5685a6a9
Merge "Delete staging directory after creating module package zip" into main am: 517308b890
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2767637
Change-Id: I560705e092b2ee8d0e0a5b5ed6786b9aa307dff8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-09-30 02:02:18 +00:00
Colin Cross
585967c08a
Delete staging directory after creating module package zip
...
The staging directory isn't used after the module packaging zip is
built. Delete the staging directory to reduce disk usage without
affecting incremental build performance.
Bug: 302573555
Change-Id: I377c60714f78760d0b6c2588935c12e10a9ed224
Test: treehugger
2023-09-30 00:37:38 +00:00
Edward Liaw
ba282927bf
linux-kselftest: Remove special cased build rule for kselftest
...
Bug: 277261121
Bug: 293945424
Test: m vts
Change-Id: I1c5992730958645e96037fa01a5c110cf410753b
Signed-off-by: Edward Liaw <edliaw@google.com >
2023-09-15 22:49:17 +00:00
Xin Li
be1435290d
Merge Android U (ab/10368041)
...
Bug: 291102124
Merged-In: If9360ebd0acebe85f42f89a268c316d51c765708
Change-Id: I58470464a3239a2ad8e82e4821bb27a2892a8302
2023-08-25 13:25:26 -07:00
Treehugger Robot
a13966114b
Merge "Don't check the codename for REL configuration." into main am: 987e6ba3f2
am: 9488c6c0ea
am: ba0e5d4f76
am: f9b8392ee3
am: beabe0f42f
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2717722
Change-Id: I362409c5b9f93cdcb7ca20ccd79781acf02e60b2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-20 01:55:15 +00:00
Treehugger Robot
ba0e5d4f76
Merge "Don't check the codename for REL configuration." into main am: 987e6ba3f2
am: 9488c6c0ea
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2717722
Change-Id: I5087fc66f4e5b3a9b49456760b7113e4ab03a2d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-08-20 00:13:32 +00:00
Alex Buynytskyy
be87e19e67
Don't check the codename for REL configuration.
...
Bug: 294161396
Test: m
Change-Id: I905801fdb6520b430f15f219ae4cd89be74065a5
2023-08-19 00:07:16 +00:00
LaMont Jones
0e4634643a
Merge changes from topic "mod-info-foreach" into main am: e75c063d1f
am: 4bbf7a86af
am: 53ddfdb0f2
am: ae970ba410
am: bb93615198
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2617522
Change-Id: Ieb2b8dcc21af8938c69e8b3f1550b379951eb59a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-14 03:12:38 +00:00
LaMont Jones
53ddfdb0f2
Merge changes from topic "mod-info-foreach" into main am: e75c063d1f
am: 4bbf7a86af
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2617522
Change-Id: If6d6a995bcb3496f65b0378e98afe2ecaed34758
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-14 01:22:53 +00:00
LaMont Jones
3a9ce1d6ea
Reduce spaces in module-info.json
...
Test: manual, presubmit
Change-Id: I79b94206d636b3ac1f4e88eca514057e4613cbfa
2023-07-12 23:17:05 +00:00
LaMont Jones
edc62e8ffe
use KATI_foreach_sep in module-info.json rules
...
Test: manual, presubmit
Change-Id: I0be472cd5c35eeb8f44c7b9184d961d975f6137a
2023-07-12 23:17:05 +00:00
Sorin Basca
806c230233
Merge "Add test utils script to xTS zips" am: e029e1e7ba
am: f32074304e
am: 35ff4ec982
am: 10738e13c6
am: 09dd9c9b41
am: c7e61b3ba4
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2361760
Change-Id: I9c7cb525b5b74b163f21eea1e522cb7b56c696a1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-06 00:30:46 +00:00
Sorin Basca
10738e13c6
Merge "Add test utils script to xTS zips" am: e029e1e7ba
am: f32074304e
am: 35ff4ec982
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2361760
Change-Id: I9dd62248447361166243e3877efbed9863056bc5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-07-05 19:35:35 +00:00
Sorin Basca
e029e1e7ba
Merge "Add test utils script to xTS zips"
2023-07-05 17:23:30 +00:00
Treehugger Robot
f480fdeaa7
Merge "add sha256 to art-host-tests zip to lower rbe upload overhead" am: 6d2b198f87
am: dad161c5e8
am: ae9d03e612
am: b124890786
am: f5918af272
am: 52c01dc13c
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2640232
Change-Id: I34263c47e866194144323ade275e6138533e7fdd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-29 10:13:09 +00:00
Treehugger Robot
b124890786
Merge "add sha256 to art-host-tests zip to lower rbe upload overhead" am: 6d2b198f87
am: dad161c5e8
am: ae9d03e612
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2640232
Change-Id: Ie2cd053895edbaadc23bcf05014844004a9404de
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-29 07:59:03 +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
Sorin Basca
b5a59eaf22
Add test utils script to xTS zips
...
Test: m cts && unzip android-cts.zip && ./cts-trafed
Change-Id: Iee05bdb03e949eb2f70c9f754190242bc47e5f4e
2023-06-27 19:46:00 +01:00
Devin Moore
b9f1d73857
Merge "Add static_libs to module-info.json" am: b1bae84508
am: 32267a425f
am: 4211e25233
am: bdce6803a2
am: 6c3a379a2e
am: 522302a97e
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2590127
Change-Id: I42eb674277960edbd79c9170faac98b6275286c9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-06 19:44:39 +00:00
Devin Moore
bdce6803a2
Merge "Add static_libs to module-info.json" am: b1bae84508
am: 32267a425f
am: 4211e25233
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2590127
Change-Id: I93fe105315ca283210b1cd156c4e77fbe3c023b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-06 17:40:54 +00:00
Devin Moore
32267a425f
Merge "Add static_libs to module-info.json" am: b1bae84508
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2590127
Change-Id: I998c016d06dfd67ab09501898ebd4e1b2ab23f5e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-06 16:13:09 +00:00
Devin Moore
48d7b3462d
Add static_libs to module-info.json
...
This is helpful for analyzing how often a library is included statically
on a device. If a large library is linked statically in many processes
in a single device, it may be a good candidate for shared linking
instead.
This increases the size of module-info.json file on Cuttlefish by ~12.5%
from 65MB to 72MB.
Test: m
Bug: 280829178
Change-Id: I3614d86d799810e1ce845e1097f43f1ec0a412a3
2023-06-05 20:17:50 +00:00
Jeongik Cha
f295008821
BUILD_NUMBER and BUILD_HOSTNAME doesn't affect kati regeneration am: 05210f96b3
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2563995
Change-Id: Ieaa619837f1c212265075ea59ddc74be34afd783
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-23 09:28:02 +00:00
Jeongik Cha
43aaa8989e
BUILD_NUMBER and BUILD_HOSTNAME doesn't affect kati regeneration am: d0b037235d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/23378947
Change-Id: I0fef5b60fe9f2aeeff7d09b55901782f3fcd8df2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-23 02:07:17 +00:00
Jeongik Cha
d0b037235d
BUILD_NUMBER and BUILD_HOSTNAME doesn't affect kati regeneration
...
* Extract BUILD_NUMBER, BUILD_HOSTNAME to file to avoid kati change
* Handle FILE_NAME_TAG_PLACEHOLDER string in dist in build/make/packaging/distdir.mk
Ignore-AOSP-First: there are internal use cases of FILE_NAME_TAG
Test: check if kati isn't invoked even though BUILD_NUMBER, BUILD_HOSTNAME
is changed
Test: m && m, and check if the second m is no-op
Bug: 278060169
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7b40aa8338ba85a58ee481fe6bafac2959f7112b )
Merged-In: I1b37760242853c1a145bad255d0bb15524234b25
Change-Id: I1b37760242853c1a145bad255d0bb15524234b25
2023-05-22 22:42:07 +00:00