Commit graph

97268 commits

Author SHA1 Message Date
Cole Faust
f13fd59f55 Update api_levels.go instead of api_constants.bzl
This is a revert of aosp/2573034, but as a separate cl because the
filename has been changed. We're reverting aosp/2573034 because the
bazel migration has been cancelled and that api_constants.bzl file
was changed to not be used.

Ignore-AOSP-First: Someone else renamed this file in internal-only.

Bug: 315353489
Test: Manually ran this snippet of shell script
Change-Id: I3a51be1119109d2a6cf3959bdc8a48192872580f
2024-04-09 17:51:20 +00:00
Ted Bauer
814dd5b388 Merge "Add common prefix for logging new storage reads" into main 2024-04-04 16:26:44 +00:00
Ted Bauer
514d5228a2 Add common prefix for logging new storage reads
Bug: 328444881
Test: m
Change-Id: I93e9d43811bd4d93451c4e4da46474cd93986c63
2024-04-04 14:26:03 +00:00
Mårten Kongstad
e851b8f749 finalization: step-*.sh: optionally skip repo upload
Teach the step-*.sh scripts to parse command line options. Add support
for --dry-run, which will skip the part where the CLs are uploaded:
useful for local experiments.

Bug: 323940469
Test: croot && build/tools/finalization/step-1.sh --dry-run # verify no CLs uploaded
Ignore-AOSP-first: VIC finalization happens outside AOSP
Change-Id: Ia58da02ae7a69c24f8332c90d1c779884e3a1dab
2024-04-04 10:45:01 +02:00
Daniel Zheng
f8fe85a71d Merge "Revert "Turn on V3 cow"" into main am: b80e6a656e am: 849ac2da81
Original change: https://android-review.googlesource.com/c/platform/build/+/3025086

Change-Id: If7102f60709a23c926aea695d56e48b6c1ee25cb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-03 23:32:12 +00:00
Daniel Zheng
849ac2da81 Merge "Revert "Turn on V3 cow"" into main am: b80e6a656e
Original change: https://android-review.googlesource.com/c/platform/build/+/3025086

Change-Id: I6246fe772e287d28bf0a3d50026de985025c78cc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-03 22:55:04 +00:00
Daniel Zheng
b80e6a656e Merge "Revert "Turn on V3 cow"" into main 2024-04-03 22:32:14 +00:00
Zhi Dou
a9a9f8b62f [automerger skipped] Merge "aconfig: prototype AconfigFlagAccessor" into main am: 93937ac342 am: 068a299844 -s ours
am skip reason: Merged-In I62ea458c05fb61973705346c4313535f9b2291be with SHA-1 c65c7c7f57 is already in history

Original change: https://android-review.googlesource.com/c/platform/build/+/3025063

Change-Id: I2acfb9db469172b01f4d50ac26afc40c17c912d5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-03 20:24:29 +00:00
Zhi Dou
068a299844 Merge "aconfig: prototype AconfigFlagAccessor" into main am: 93937ac342
Original change: https://android-review.googlesource.com/c/platform/build/+/3025063

Change-Id: I380ff734c216dfbf4b59380b71cdc5b9f92c8e99
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-03 19:37:33 +00:00
Zhi Dou
93937ac342 Merge "aconfig: prototype AconfigFlagAccessor" into main 2024-04-03 19:17:15 +00:00
Dennis Shen
f06420ed09 Merge "aconfig: add api to create flag info file based on package map and flag map file" into main am: cf3042db77 am: 43bdfb2656
Original change: https://android-review.googlesource.com/c/platform/build/+/3023823

Change-Id: Id8bc442599a0adc1fc8a53c5e11a1d6bac0589bc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-03 19:08:18 +00:00
Ted Bauer
d0ed40a219 Merge "aconfig: instrument actual flag read APIs" into main 2024-04-03 18:53:00 +00:00
Dennis Shen
43bdfb2656 Merge "aconfig: add api to create flag info file based on package map and flag map file" into main am: cf3042db77
Original change: https://android-review.googlesource.com/c/platform/build/+/3023823

Change-Id: Ia44177b81be4c5dd374757ed1494feda2e4f89d9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-03 18:51:28 +00:00
Dennis Shen
cf3042db77 Merge "aconfig: add api to create flag info file based on package map and flag map file" into main 2024-04-03 18:31:08 +00:00
Daniel Zheng
e59e31cb9d Revert "Turn on V3 cow"
Revert submission 2973761-cow_v3_make

Reason for revert: b/332640740

Reverted changes: /q/submissionid:2973761-cow_v3_make

Change-Id: I61720bcb7c8fd346184efde7027ad46a93698eaa
2024-04-03 17:55:13 +00:00
Ted Bauer
86bacb36f4 aconfig: instrument actual flag read APIs
The logging instrumentation for the storage migration contained a bug;
we want to instrument the actual flag read APIs, not the FlagProvider.

Bug: 328444881
Test: m
Change-Id: I6973ccf69005e812ac443ac5e7e14293db7b0845
Ignore-AOSP-First: internal storage migration, this code will be deleted
2024-04-03 17:20:50 +00:00
Treehugger Robot
626f3abc52 Merge "aflags: add aflags.test to presubmit runs" into main am: 6b1292065f am: 2b029f096d
Original change: https://android-review.googlesource.com/c/platform/build/+/3025123

Change-Id: Iffa7ea2dd080a4ac8dd459a150b84c0fec85b5a2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-03 16:11:09 +00:00
Treehugger Robot
75e2a917db Merge "Finalization: update OWNERS" into main am: 18bd5afc16 am: c97760dcad
Original change: https://android-review.googlesource.com/c/platform/build/+/3024905

Change-Id: I7a096af2c9483d911bb16c493c1aa066fb2e940e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-03 16:10:53 +00:00
Treehugger Robot
2b029f096d Merge "aflags: add aflags.test to presubmit runs" into main am: 6b1292065f
Original change: https://android-review.googlesource.com/c/platform/build/+/3025123

Change-Id: I3a7d6db2693967036a5a25b1e10d85c95b8318e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-03 15:49:14 +00:00
Treehugger Robot
c97760dcad Merge "Finalization: update OWNERS" into main am: 18bd5afc16
Original change: https://android-review.googlesource.com/c/platform/build/+/3024905

Change-Id: Ib7e1be3bfcc1e552020ad64ad3fe545a12d5bff9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-03 15:48:25 +00:00
Treehugger Robot
6b1292065f Merge "aflags: add aflags.test to presubmit runs" into main 2024-04-03 15:45:35 +00:00
Treehugger Robot
18bd5afc16 Merge "Finalization: update OWNERS" into main 2024-04-03 15:26:14 +00:00
Mårten Kongstad
bf1b2ba6b2 Finalization: update OWNERS
Add new folks working on finalization, remove folks no longer working on
it.

Also, sort the entires alphabetically.

Bug: 323940469
Test: N/A
Change-Id: Ib8f6c3f485a06e3d1269e4142317174ae7ac276b
2024-04-03 17:20:42 +02:00
Ted Bauer
fb358d6a89 aflags: add aflags.test to presubmit runs
Bug: 326062088
Test: m # Also, confirm aflags.test runs in this CL
Change-Id: Ie7a1a7625163503e43d5b67d0e50554cd2a9e4cd
2024-04-03 14:02:51 +00:00
Zhi Dou
ddfd2f4889 aconfig: prototype AconfigFlagAccessor
Bug: n/a
Test: atest aconfig.test
Ignore-AOSP-First: need to submit with annotation change. will cherry pick to aosp.
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c65c7c7f577f4140ff5632ce87a26dc98a75b8dc)
Merged-In: I62ea458c05fb61973705346c4313535f9b2291be
Change-Id: I62ea458c05fb61973705346c4313535f9b2291be
2024-04-03 13:31:57 +00:00
Zhi Dou
9ed0d24589 Merge "aconfig: prototype AconfigFlagAccessor" into main 2024-04-03 13:31:02 +00:00
Zhi Dou
c65c7c7f57 aconfig: prototype AconfigFlagAccessor
Bug: n/a
Test: atest aconfig.test
Ignore-AOSP-First: need to submit with annotation change. will cherry pick to aosp.
Change-Id: I62ea458c05fb61973705346c4313535f9b2291be
2024-04-03 13:29:19 +00:00
Treehugger Robot
e626dd3330 Merge "Move berberis tests to build/core/tasks" into main am: b4231b3705 am: 6c44d34dfb
Original change: https://android-review.googlesource.com/c/platform/build/+/3011136

Change-Id: I9a1f0f8c9b1a9038ef138297ffc9c9796e16c984
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-03 01:54:34 +00:00
Treehugger Robot
6c44d34dfb Merge "Move berberis tests to build/core/tasks" into main am: b4231b3705
Original change: https://android-review.googlesource.com/c/platform/build/+/3011136

Change-Id: Ia07d710d1ea7106f4a855f6fc9053ec30d3603fd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-03 01:39:59 +00:00
Treehugger Robot
b4231b3705 Merge "Move berberis tests to build/core/tasks" into main 2024-04-03 01:16:03 +00:00
Treehugger Robot
914adf733d Merge "Fix the VSR_VENDOR_API_LEVEL calculation" into main am: 1f05292075 am: 5fd8d42ce5
Original change: https://android-review.googlesource.com/c/platform/build/+/3020009

Change-Id: Ie182100747fd831970526d159092f07cd1238e93
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-03 00:57:39 +00:00
Treehugger Robot
5fd8d42ce5 Merge "Fix the VSR_VENDOR_API_LEVEL calculation" into main am: 1f05292075
Original change: https://android-review.googlesource.com/c/platform/build/+/3020009

Change-Id: If3aee42a0ac774c1e5500bcf3b83a1d58cec6c1f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-03 00:40:41 +00:00
Treehugger Robot
1f05292075 Merge "Fix the VSR_VENDOR_API_LEVEL calculation" into main 2024-04-03 00:21:20 +00:00
Dennis Shen
3ef9c25f3a Merge "aconfig: add flag type information to list flag api" into main am: a77155cd70 am: 971e7ed69d
Original change: https://android-review.googlesource.com/c/platform/build/+/3022623

Change-Id: I39f14a6899b17bbaed94c366f5465194253f8d29
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-02 22:20:40 +00:00
Dennis Shen
971e7ed69d Merge "aconfig: add flag type information to list flag api" into main am: a77155cd70
Original change: https://android-review.googlesource.com/c/platform/build/+/3022623

Change-Id: I6e63eefeeaef26478418f97ec76d9c254152543e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-02 21:59:49 +00:00
Dennis Shen
bb9912e551 aconfig: add api to create flag info file based on package map and flag
map file

Bug: b/321077378
Test: atest aconfig_storage_file.test
Change-Id: I957e231bc11db856a8c6753771eaafea2f168352
2024-04-02 21:39:51 +00:00
Dennis Shen
a77155cd70 Merge "aconfig: add flag type information to list flag api" into main 2024-04-02 21:39:24 +00:00
Treehugger Robot
a904eb2396 Merge "Add PRODUCT_MODULE_BUILD_FROM_SOURCE to sdk's product config" into main am: 261857faac am: fa66004a35
Original change: https://android-review.googlesource.com/c/platform/build/+/3022704

Change-Id: I86a0108ec9c592daed607f5c7b6141e81b6b8db2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-02 20:40:07 +00:00
Treehugger Robot
fa66004a35 Merge "Add PRODUCT_MODULE_BUILD_FROM_SOURCE to sdk's product config" into main am: 261857faac
Original change: https://android-review.googlesource.com/c/platform/build/+/3022704

Change-Id: I8d34e3c9b6de70adedc3388c10a90124fab1a171
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-02 20:20:42 +00:00
Treehugger Robot
261857faac Merge "Add PRODUCT_MODULE_BUILD_FROM_SOURCE to sdk's product config" into main 2024-04-02 20:04:41 +00:00
Spandan Das
e66f98fe7d Add PRODUCT_MODULE_BUILD_FROM_SOURCE to sdk's product config
`sdk` builds require sources of mainline modules. explicitly set this
value to prevent reaching an incompatible state across release build
flags and soong config namespaces prebuilt vs source selection
mechanism.

Test: will use go/abtd to run the failing target in b/332322437
https://android-build.corp.google.com/builds/abtd/run/L54400030002940286 
Bug: 332322437
Change-Id: If65fb3706910ac5142d6ad9dc416190fa1c9ee89
2024-04-02 19:02:11 +00:00
Dennis Shen
da06a02272 Merge "aconfig: enable tests in presubmits" into main am: 9c7a000d6f am: 9a2dce0853
Original change: https://android-review.googlesource.com/c/platform/build/+/3022483

Change-Id: I05e3ca1ed9bd86fbb70d002b0407181426d10243
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-02 18:28:44 +00:00
Dennis Shen
f3834de878 Merge "aconfig: test updates" into main am: d740c50331 am: 32e7cafcc7
Original change: https://android-review.googlesource.com/c/platform/build/+/3021364

Change-Id: I44a90a216117f573b661706169368632e529e4c7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-02 18:25:27 +00:00
Dennis Shen
9a2dce0853 Merge "aconfig: enable tests in presubmits" into main am: 9c7a000d6f
Original change: https://android-review.googlesource.com/c/platform/build/+/3022483

Change-Id: I2d1660cb7ff4513cf3e325c8b672542bc4da780b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-02 18:10:56 +00:00
Dennis Shen
32e7cafcc7 Merge "aconfig: test updates" into main am: d740c50331
Original change: https://android-review.googlesource.com/c/platform/build/+/3021364

Change-Id: I21f0c5acf02227d258a5e12aa0907e552acf638f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-02 18:09:28 +00:00
Wei Li
e5e41ba70b Merge "Add some comments to the field "third_party.identifier.type" in METADATA files." into main am: 20e7d0fe3d am: cf64619c4f
Original change: https://android-review.googlesource.com/c/platform/build/+/3020059

Change-Id: Idbf4643d43677c3781e32c569c8d3d50c8422276
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-02 17:58:07 +00:00
Dennis Shen
7d12daf9b4 aconfig: add flag type information to list flag api
Bug: b/321077378
Test: atest aconfig_storage_file.test
Change-Id: I1880e9aa441c423c3225a0ef86c6edde096d7ba3
2024-04-02 17:51:21 +00:00
Dennis Shen
9c7a000d6f Merge "aconfig: enable tests in presubmits" into main 2024-04-02 17:51:09 +00:00
Dennis Shen
d740c50331 Merge "aconfig: test updates" into main 2024-04-02 17:51:00 +00:00
Wei Li
cf64619c4f Merge "Add some comments to the field "third_party.identifier.type" in METADATA files." into main am: 20e7d0fe3d
Original change: https://android-review.googlesource.com/c/platform/build/+/3020059

Change-Id: Ic0aaade169246cc79c7b12d33dfd1a240f189739
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-02 17:35:18 +00:00