Commit graph

9174 commits

Author SHA1 Message Date
Dennis Shen
3062f857d2 Merge "aconfig: update storage file records file name" into main am: 279e018b0a am: 57f0934e8a
Original change: https://android-review.googlesource.com/c/platform/build/+/2984912

Change-Id: I3efccab91a08d3bc1cc2aa9970eb20e606604403
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-04 16:11:20 +00:00
Dennis Shen
57f0934e8a Merge "aconfig: update storage file records file name" into main am: 279e018b0a
Original change: https://android-review.googlesource.com/c/platform/build/+/2984912

Change-Id: I83a3ffcb2b76e12f4f84d7cd8783eb67bc4a25d9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-04 15:28:27 +00:00
Dennis Shen
dbbda1eeb7 aconfig: update storage file records file name
Bug: b/312444587
Test: atest aconfig.test
Change-Id: Ib26ab5d50099a7038e161ef59517fad9dca744d5
2024-03-04 15:01:36 +00:00
Devin Moore
5c9f7d544b Merge "Vendor API level 202404 is now frozen" into main 2024-03-01 01:17:47 +00:00
Zhi Dou
b70da7b013 Merge "aconfig: disable export mode for generated native flag libraries" into main am: 1fdf9f22df am: 47b50017df
Original change: https://android-review.googlesource.com/c/platform/build/+/2982315

Change-Id: I9fc190ee5b967e570dd0521fb1a71fd7bc42ff59
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-29 22:05:06 +00:00
Zhi Dou
47b50017df Merge "aconfig: disable export mode for generated native flag libraries" into main am: 1fdf9f22df
Original change: https://android-review.googlesource.com/c/platform/build/+/2982315

Change-Id: I21640eb3e0225e5cfa13c3cb30b5ec7c1ea59444
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-29 21:19:06 +00:00
Zhi Dou
1fdf9f22df Merge "aconfig: disable export mode for generated native flag libraries" into main 2024-02-29 20:38:25 +00:00
Zhi Dou
036cdbe92f aconfig: disable export mode for generated native flag libraries
Currently the default flag values are not loaded into sysprop. Since the
current requirements for export flag are for flagged api in java and the
new storage system will load default values for all, there won't be
changes to make the default value loaded into sysprop. Thus this change
disable export mode for generated native flag libraries for now. It will
be enabled once the new storage is landed.

Test: m libaconfig_test_rust_library_with_exported_mode and expect build
failure
Bug: 327392334

Change-Id: I2db814d015cdb533778822f7417d055b251ed589
2024-02-29 12:57:24 +00:00
Daniel Zheng
247a6215fa Merge "fallback on older cow version" into main am: 4fc7815094 am: 9af982c4cf
Original change: https://android-review.googlesource.com/c/platform/build/+/2982349

Change-Id: I5cea82a3842035e3d9f74c1e0e7036db40936a0f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-29 05:19:42 +00:00
Daniel Zheng
9af982c4cf Merge "fallback on older cow version" into main am: 4fc7815094
Original change: https://android-review.googlesource.com/c/platform/build/+/2982349

Change-Id: I29b2ca63b0e52184f3885272a1da98a0e25cbb7b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-29 04:59:38 +00:00
Daniel Zheng
4fc7815094 Merge "fallback on older cow version" into main 2024-02-29 04:49:16 +00:00
Daniel Zheng
474afa8f06 fallback on older cow version
If a device's source or target cow version is specified at 2 (or
undefined) we should fallback on using the v2 writer.

e.g.
1. v3 -> v2 downgrade OTA
2. v2 -> v3

Bug: 322279333
Test: ota_from_target_files
Change-Id: I8c5139eceeb64ee255ddea66017b3e17bbdc44c0
2024-02-28 20:47:20 -08:00
Kadir Çetinkaya
1ce53fdebd Merge "Add CC analysis support to ide_query" into main am: 1ffcbde28e am: 2d708e5467
Original change: https://android-review.googlesource.com/c/platform/build/+/2966444

Change-Id: I8ceb4758384ed9bce5d65dca4af9ca07cfc6d7aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-28 12:14:34 +00:00
Kadir Çetinkaya
2d708e5467 Merge "Add CC analysis support to ide_query" into main am: 1ffcbde28e
Original change: https://android-review.googlesource.com/c/platform/build/+/2966444

Change-Id: Ifa22e00c3c57e889f125a73ffbe1d09975de53ed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-28 11:34:08 +00:00
Kadir Çetinkaya
0769200450 Add CC analysis support to ide_query
Introduces ide_query_cc_analyzer, which figures out relevant build targets that needs to be built for a given C++ source or header file.
Once these targets are built, it analyzes the sources in question and reports any generated files that are used back.

Full ide_query integration relies on this binary also being available in prebuilts clang-tools, it'll be done in a future patch.

Change-Id: Ib0ef6da7a2bc8ecf66940b326e037fb1ee230bf9
2024-02-28 07:14:15 +00:00
Devin Moore
6df2f8f647 Vendor API level 202404 is now frozen
Update the state to 'vintf' so we don't try to re-finalize the same
level.

Ignore-AOSP-First: VINTF 202404 Finalization
Bug: 279809333
Test: build
Change-Id: I06530eedaeb69cc9d4a9b3af5b91a101ab2eab7d
2024-02-27 00:04:50 +00:00
Daniel Zheng
98ecf434e0 Merge "add 256k support" into main am: 7bc57fedfc am: 4906896382
Original change: https://android-review.googlesource.com/c/platform/build/+/2972471

Change-Id: I11e127d364dbb6eaf092ff8b220fd7b9a58276d9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-22 02:27:09 +00:00
Daniel Zheng
4906896382 Merge "add 256k support" into main am: 7bc57fedfc
Original change: https://android-review.googlesource.com/c/platform/build/+/2972471

Change-Id: I309bec90eac5a6fd06ec2f90a74d7ecbfa2e14f1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-22 01:47:24 +00:00
Daniel Zheng
7bc57fedfc Merge "add 256k support" into main 2024-02-22 01:09:50 +00:00
Ted Bauer
3cef9f86d6 Merge "aconfig: introduce new aflags CLI" into main am: 30512e43be am: b174d70ad9
Original change: https://android-review.googlesource.com/c/platform/build/+/2956393

Change-Id: I3c62e39d91982b2d108276eb44f399a36649262d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-21 22:37:19 +00:00
Ted Bauer
b174d70ad9 Merge "aconfig: introduce new aflags CLI" into main am: 30512e43be
Original change: https://android-review.googlesource.com/c/platform/build/+/2956393

Change-Id: I983eb31ada9a5f957f4c61c9e28d8ecfa7ed18d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-21 22:17:37 +00:00
Daniel Zheng
cedc765ca2 add 256k support
Adding 256k support for ota_from_target_files since this is the max
comperssion_factor allowed in v3 cow

Test: ota_from_target_files
Change-Id: Ic7826c82e53ec3fdbd04fdff9dfb7a76038f6a42
2024-02-21 13:33:02 -08:00
Dennis Shen
31940a51ad Merge "aconfig: add storage flag read api integration tests to test mapping" into main am: b954de7d0c am: f21b0b1c1e
Original change: https://android-review.googlesource.com/c/platform/build/+/2970431

Change-Id: I274baee46c6001f1c137427f0c1d5dffe0a43e47
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-21 19:25:59 +00:00
Dennis Shen
f21b0b1c1e Merge "aconfig: add storage flag read api integration tests to test mapping" into main am: b954de7d0c
Original change: https://android-review.googlesource.com/c/platform/build/+/2970431

Change-Id: I2a82e4cad907947d68777aa9583d5fdb11580513
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-21 18:47:17 +00:00
Ted Bauer
4dbf58a187 aconfig: introduce new aflags CLI
Add a new CLI binary that we can use as the officially recommended CLI
for reading and writing flags. For now, the CLI invokes commands to
interact with DeviceConfig and aconfig protos, but we will switch it to
interact with the forthcoming mmap-file-based aconfig storage. In the
meantime, we can add improved formatting and error reporting in a
separate layer.

This CL starts with the list command, which outputs a table of the
flags when you type `adb shell aflags list`.

Bug: 324436145
Test: atest aflags.test
Change-Id: Idd8aa78ccaace22a7e490014d410ad741f8f6fc6
2024-02-21 13:23:49 -05:00
Dennis Shen
9c080e7544 aconfig: add storage flag read api integration tests to test mapping
Bug: b/321077378
Test: atest aconfig_storage.test.rust; atest aconfig_storage.test.cpp
Change-Id: I6920b45e4f968efedcdd6afb8c68314baa02327f
2024-02-21 18:18:04 +00:00
Devin Moore
63d4b06b18 Merge "finalization: add a step to freeze the framework manifest" into main 2024-02-16 20:32:01 +00:00
Inseob Kim
3008196889 Merge "Fix characteristic rro for overridden packages" into main am: 1bcaa80f76 am: 1606a42ebc
Original change: https://android-review.googlesource.com/c/platform/build/+/2963463

Change-Id: I1b503571add0c092fa7b2b6c2180ed6065a891d2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-16 03:04:02 +00:00
Inseob Kim
1606a42ebc Merge "Fix characteristic rro for overridden packages" into main am: 1bcaa80f76
Original change: https://android-review.googlesource.com/c/platform/build/+/2963463

Change-Id: I07472c0dc7e9b8e5b7df0a017b24ddfc453f3e7b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-16 02:23:48 +00:00
Inseob Kim
1bcaa80f76 Merge "Fix characteristic rro for overridden packages" into main 2024-02-16 01:41:48 +00:00
Devin Moore
bdc54ada9d finalization: add a step to freeze the framework manifest
Make sure we aren't making backward incompatible changes to the
framework HALs that system serves.

Ignore-AOSP-First: b/304316873#comment10

Test: ./finalize-vintf-resources.sh
Bug: 266741352
Change-Id: I056f2e6f92cdd496b88dc52bcd1c7a51e9ffb85f
2024-02-15 18:46:20 +00:00
Dennis Shen
2495798501 Merge "aconfig: aconfig storage cpp api on device integration test" into main am: c670bae629 am: e0101ed361
Original change: https://android-review.googlesource.com/c/platform/build/+/2957372

Change-Id: I08ca17478f5c8a6f75e713b238bf5af5bc92cd17
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-15 00:00:05 +00:00
Dennis Shen
e0101ed361 Merge "aconfig: aconfig storage cpp api on device integration test" into main am: c670bae629
Original change: https://android-review.googlesource.com/c/platform/build/+/2957372

Change-Id: I22b44134de8fcda45f1d1c28be3f0b0afb75789a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-14 23:20:07 +00:00
Dennis Shen
c670bae629 Merge "aconfig: aconfig storage cpp api on device integration test" into main 2024-02-14 22:36:22 +00:00
Yu Liu
b219f8bf9e Merge "Fix the changing public api CUJ failure." into main am: 38544a3fec am: 2dccbdaf07
Original change: https://android-review.googlesource.com/c/platform/build/+/2962525

Change-Id: Ia6c452552482351590f3a9ae5205cd39e92b64f9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-14 19:07:38 +00:00
Jihoon Kang
f8177e2a8a Merge "Modify dependencies of fake_device_config" into main am: c7521afdc5 am: ba548ee8f3
Original change: https://android-review.googlesource.com/c/platform/build/+/2960622

Change-Id: Iee77e556766bf638cc148ed1a9fbb98be7657019
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-14 19:07:13 +00:00
Yu Liu
2dccbdaf07 Merge "Fix the changing public api CUJ failure." into main am: 38544a3fec
Original change: https://android-review.googlesource.com/c/platform/build/+/2962525

Change-Id: Idbd8adb36db57eab4ac629315d249568b9cb7a8b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-14 18:28:31 +00:00
Jihoon Kang
ba548ee8f3 Merge "Modify dependencies of fake_device_config" into main am: c7521afdc5
Original change: https://android-review.googlesource.com/c/platform/build/+/2960622

Change-Id: If440352406c8976d220092fb9be58db5f273764e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-14 18:28:07 +00:00
Yu Liu
38544a3fec Merge "Fix the changing public api CUJ failure." into main 2024-02-14 18:01:46 +00:00
Jihoon Kang
c7521afdc5 Merge "Modify dependencies of fake_device_config" into main 2024-02-14 17:38:15 +00:00
Ivan Lozano
1d626b110e Merge "Revert "aconfig: remove libcxx dependency for now"" into main am: 6a04d1e5de am: 51f8db5df5
Original change: https://android-review.googlesource.com/c/platform/build/+/2962082

Change-Id: I75dc3ff8d13320a40f7a84e675710c2ae2baefeb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-14 15:32:59 +00:00
Ivan Lozano
51f8db5df5 Merge "Revert "aconfig: remove libcxx dependency for now"" into main am: 6a04d1e5de
Original change: https://android-review.googlesource.com/c/platform/build/+/2962082

Change-Id: I53c8f7b73da7cf885865e1479e89c3f8bbc5537d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-14 14:53:32 +00:00
Ivan Lozano
6a04d1e5de Merge "Revert "aconfig: remove libcxx dependency for now"" into main 2024-02-14 14:17:13 +00:00
Inseob Kim
620a234d3f Fix characteristic rro for overridden packages
Overridden packages can have different package names. This change reads
output APKs to parse package name, instead of manifest xml.

Bug: 325011777
Test: boot and idmap2 dump
Change-Id: Iafd792b6fb9c8548441c8ca5c9216be160028088
2024-02-14 16:57:34 +09:00
Yu Liu
473bb051c1 Fix the changing public api CUJ failure.
Bug: 318706915
Test: ABTD
Change-Id: I7de7ed5a0d1e805fa32d2c9bb1f632e107c6c31e
2024-02-13 23:46:06 +00:00
Treehugger Robot
a0d19a3017 Merge "Test modules should always be last" into main am: ae025131ba am: 4ef1e380f4
Original change: https://android-review.googlesource.com/c/platform/build/+/2957436

Change-Id: I03f4404dfaf7997ed4a5f341eb5a5349ea24c582
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-13 23:07:59 +00:00
Treehugger Robot
4ef1e380f4 Merge "Test modules should always be last" into main am: ae025131ba
Original change: https://android-review.googlesource.com/c/platform/build/+/2957436

Change-Id: I258155cd440e7908d6954a05b7583b3210c3b9e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-13 22:23:59 +00:00
Treehugger Robot
ae025131ba Merge "Test modules should always be last" into main 2024-02-13 22:04:05 +00:00
Ivan Lozano
4304694312 Revert "aconfig: remove libcxx dependency for now"
This reverts commit 248510a659.

Reason for revert: aosp/2959366

Change-Id: Ib3a0e584f24f2a3ab51ca0b48e4c4897ed0d8174
Bug: 324826914
Test: SANITIZE_HOST=address m aconfig
2024-02-13 19:02:06 +00:00
Jihoon Kang
9c1450e0d2 Modify dependencies of fake_device_config
This change modifes the dependencies of fake_device_config by setting
the sdk_version to none instead of core_current, and setting the
appropriate system_modules in order to resolve circular dependencies.

Test: m fake_device_config && BUILD_FROM_SOURCE_STUB m fake_device_config
Change-Id: I497e2db9ea3456057a1e3f5c624cbd2042da6837
2024-02-13 06:54:49 +00:00