Commit graph

96925 commits

Author SHA1 Message Date
Treehugger Robot
baf2c6bff2 Merge "Don't reference target-specific variable from dependency list" into main 2024-05-17 21:58:12 +00:00
Cole Faust
bb1d4a431d Don't reference target-specific variable from dependency list
Apprently target-specific variables are only valid for the body of
the target, not its dependency list, so the dependency on the zip file
wasn't being added.

Bug: 340392832
Test: m, rm file_list.txt and the zip file, m again, and ensure we don't get an error that the zip file doesn't exist
Change-Id: Idaca6606ff24055aa98c78ca1206b587cc1df4d2
2024-05-17 13:56:27 -07:00
Treehugger Robot
a8bb538db6 Merge "Document that ro.dalvik.vm.enable_uffd_gc has a limited lifetime." into main 2024-05-17 20:04:50 +00:00
Jiyong Park
a65a617855 Merge "Revert^2 "Remove libmdnssd"" into main 2024-05-17 12:11:25 +00:00
LaMont Jones
48132d6580 Merge "Mark files used in release configs as kati dependencies" into main 2024-05-17 00:40:55 +00:00
Spandan Das
1256ba17e6 Merge "Reland align boot jar exclusion with apex_contributions" into main 2024-05-16 23:57:13 +00:00
Treehugger Robot
43a6baa2a0 Merge "Introduce RELEASE_AVF_ENABLE_NETWORK build flag into Soong" into main 2024-05-16 23:44:39 +00:00
Jiyong Park
502ba31ea2 Revert^2 "Remove libmdnssd"
This reverts commit 7a31b44227.

Reason for revert: relanding

Change-Id: I3a5758c83ce979f591042488f58fb2bacdf9aa23
2024-05-16 22:38:56 +00:00
LaMont Jones
052282b731 Mark files used in release configs as kati dependencies
Bug: 341117082
Bug: 328495189
Bug: 339707888
Test: manual, TH
Change-Id: I4377846844ad172a2760de309ee343b980e893f1
2024-05-16 15:21:29 -07:00
Treehugger Robot
d3d7e46a98 Merge "Revert "Move all GKI targets away from non-AB"" into main 2024-05-16 21:47:55 +00:00
Kelvin Zhang
2a3faafdbf Revert "Move all GKI targets away from non-AB"
This reverts commit d17ef4a30b.

Reason for revert: build breakage on sdk_goog3_x86_64-trunk_staging-userdebug

Change-Id: I884df8b07afbbcdc1e07930163108f0baa503014
2024-05-16 20:45:39 +00:00
Liana Kazanova
bc78428d42 Merge "Revert "Remove libmdnssd"" into main 2024-05-16 19:57:25 +00:00
Priyanka Advani
7a31b44227 Revert "Remove libmdnssd"
This reverts commit 1cbd8211e7.

Reason for revert: Droidmonitor triggered revert due to breakage in b/341118115

Change-Id: I0fed4225bd1d4d8888334fdc2a9fac353b748edd
2024-05-16 19:55:11 +00:00
Treehugger Robot
e2c0992ad2 Merge "Move all GKI targets away from non-AB" into main 2024-05-16 19:53:15 +00:00
Daniel Zheng
7a61f499be Merge changes Ibbed6cf9,I31b36b42 into main
* changes:
  ota_from_target_files: allow cow version override
  Add build configs for wearable tunables
2024-05-16 19:34:11 +00:00
LaMont Jones
a32d67dd1a Merge "Revert "Avoid re-running kati unnecessarily."" into main 2024-05-16 18:36:49 +00:00
LaMont Jones
dd2f3ec91f Revert "Avoid re-running kati unnecessarily."
This reverts commit 3f0eba2bdc.

Reason for revert: Causes build flag changes to be ignored sometimes.  Better fix is in progress.

Merged-In: Ic85be1da3765656cef8da4ec03d0b1ca7d5d625e
Change-Id: I2c06770b2ff86c69a5de89962ab9bf48bedfe6fe
2024-05-16 18:24:41 +00:00
Treehugger Robot
66236c471c Merge "Remove libmdnssd" into main 2024-05-16 18:19:54 +00:00
Daniel Zheng
60922a45ef ota_from_target_files: allow cow version override
With our version compatibility check, overriding our cow version no
longer works. Updating this check to only apply if a command line
vabc_cow_version is not specified.

NOTE: the ota may not successfully apply, depending on device if we
override the cow version

Test: th
Change-Id: Ibbed6cf94cc2e91597d0c249dc8ade314b8341a2
2024-05-16 10:22:03 -07:00
Kelvin Zhang
d17ef4a30b Move all GKI targets away from non-AB
Test: th
Bug: 324360816
Change-Id: Iea1808548dbee972b5b1c3e252e4b7e2e47db54c
2024-05-16 10:11:59 -07:00
Martin Stjernholm
a8c687ff4f Document that ro.dalvik.vm.enable_uffd_gc has a limited lifetime.
Test: N/A - comment change only
Bug: 256438776
Change-Id: I1d2efe2f1985b967de17c25a9327fa4e9dcbaca3
2024-05-16 16:38:29 +01:00
Wei Li
dc3382ac93 Merge "Add license metadata declarations which are moved from hardware/interfaces/tv/Android.mk." into main 2024-05-16 06:30:54 +00:00
Treehugger Robot
538f6044af Merge "Add vintf for EDI collectors" into main 2024-05-16 02:41:27 +00:00
Treehugger Robot
d42110ca87 Merge "Include soong installs file before Android.mk files" into main 2024-05-15 23:39:21 +00:00
Daniel Zheng
427fea8b49 Add build configs for wearable tunables
Low memory devices place special emphasis on memory constraints and cpu
utilization. We want to expose a set of build configurations that allow
these devices to fine tune resource usage during OTA installation.

Our strategy will be the following.
1. For any tunable needed in first stage init, read the .ro prop during
   ota installation, propogate the configuration to SnapshotUpdateStatus
   proto, then read the property from /metadata upon first reboot (since
   .ro properties are not available here)
   2. For tunables which aren't needed until second stage init, read the
   .ro prop directly.

This first CL will just add the build configurations to the build
system. Subsequent CL's will forward the configs to protobufs and
snapuserd daemon

Bug: 332255580
Test: th
Change-Id: I31b36b42f8fba997c772fe1a4ba99b17128b3eca
2024-05-15 16:00:15 -07:00
Cole Faust
e6481c1b4c Include soong installs file before Android.mk files
I changed the installs file to be after Android.mk files in
aosp/3080639, in order to minimize the information given to Android.mk
files. But it appears that some exotic vendor builds actually rely
on this information (when they shouldn't).

Bug: 340254841
Test: diff'd out/target/product/<vendor>/installed-files-vendor.txt before/after this cl, and with a revert of aosp/3080639
Change-Id: I00a06fe984397e4dba57352850f5e2484d17f657
2024-05-15 15:26:39 -07:00
Wei Li
595e404bfc Add license metadata declarations which are moved from hardware/interfaces/tv/Android.mk.
Bug: 340935319
Test: CIs
Change-Id: I5e84d3204b30bd68b89c117eefcf68ab78ab0692
2024-05-15 14:39:35 -07:00
Wei Li
850b65edc9 Merge "Add license metadata declarations which are moved from hardware/google/camera/Android.mk." into main 2024-05-15 21:04:56 +00:00
Joe Onorato
5c9f86dcd8 Merge changes from topic "joeo_envsetup" into main
* changes:
  Clean cruft out of envsetup.sh.
  Provide a function in envsetup.sh to get the host arch directly
2024-05-15 18:40:12 +00:00
Ted Bauer
f52e8788a2 Merge "Add filter by container to aflags" into main 2024-05-15 17:36:11 +00:00
Ted Bauer
aeb96092af Add filter by container to aflags
Test: m -j120 && acloud create --local-image && adb shell aflags list --c system
Test: cargo t
Bug: 340840507
Change-Id: I5db7f204673accdbd3c4ad62e88b213028a8d5ab
2024-05-15 10:06:25 -04:00
Treehugger Robot
4a2c1b5ca3 Merge "Add a nano proto version of aconfig protos" into main 2024-05-15 07:20:45 +00:00
Treehugger Robot
3e94ffd0ed Merge "Remove build/make/METADATA which is not needed for the directory." into main 2024-05-15 06:26:04 +00:00
Mark Punzalan
5529e36e88 Add a nano proto version of aconfig protos
Framework already has nano protos, and reusing them won't
introduce extra dependencies for the apps
This is setting up the resources flagging in the framework

Bug: 297373084
Test: Built with related changes
Change-Id: I518bd56f56c42e0adef0002e95f8948e0904fb43
2024-05-15 06:18:23 +00:00
Wei Li
ef14fb257b Remove build/make/METADATA which is not needed for the directory.
Bug: 340738699
Test: CIs
Change-Id: Ic32d4863e47be65b2821d94b941562c00246b6ad
2024-05-14 22:19:18 -07:00
Joe Onorato
2312475f66 Clean cruft out of envsetup.sh.
aninja and overrideflags moved to build/soong/bin

Bug: 340648588
Test: manual
Change-Id: I1d426b628f15674e142df4152661d3f4b9b56320
2024-05-14 15:12:53 -07:00
Joe Onorato
32b2aa33c5 Provide a function in envsetup.sh to get the host arch directly
It's very simple logic, and running get_build_var to do it is slow
and has side effects (like needing a lunch target, creating an out
directory, etc.)

Test: source envsetup.sh
Change-Id: If260efd21713874fba7c15dbc0fd23442d776f8a
Merged-In: If260efd21713874fba7c15dbc0fd23442d776f8a
2024-05-14 15:12:16 -07:00
Treehugger Robot
b63973dfc2 Merge "Fix bug in device path proto reading" into main 2024-05-14 21:01:21 +00:00
Ted Bauer
1f9d55d2ab Fix bug in device path proto reading
aconfig_device_paths uses `include_str!` to include a text file
containing comma-separated strings with each partition aconfig file.
The lib does not handle the escaped newlines and quotation marks.
Adds proper handling.

Test: cargo t  && m -j120 && acloud create --local-image && adb shell aflags list
Bug: 340514768
Change-Id: I75214bf02dd962d8291f1654ade8cbce1cda9fde
2024-05-14 15:49:14 -04:00
Seungjae Yoo
0475d91f16 Introduce RELEASE_AVF_ENABLE_NETWORK build flag into Soong
Bug: 340376951
Test: Presubmit
Change-Id: I5ac003ca7656f74e6a10aa8317c1443a28138a4d
2024-05-14 14:35:32 +09:00
Treehugger Robot
a4b1e92ee0 Merge "Only consider EXTRA_INSTALL_ZIPS relevant by their primary file" into main 2024-05-13 22:56:46 +00:00
Dennis Shen
db0c8d7986 Merge "aconfig: simply proto" into main 2024-05-13 15:26:26 +00:00
Jiyong Park
1cbd8211e7 Remove libmdnssd
The lib is a part of the adbd apex and isn't used from outside of the
apex. Remove the lib from /system/lib[64].

Bug: N/A
Test: watch TH
Change-Id: I2c95fa72befa5a660a4f97d9f26459066b40c1e2
2024-05-13 18:24:29 +09:00
Treehugger Robot
7c71d88e0b Merge "check-flagged-apis: handle nested flags" into main 2024-05-13 07:32:16 +00:00
Dennis Shen
a2fb60b822 aconfig: simply proto
Bug: b/339514174, b/312444587
Test: atest -c
Change-Id: I5511efd04af9f57b22e4c89bd2db65496aaf4398
2024-05-11 15:51:14 +00:00
Cole Faust
5cba391313 Only consider EXTRA_INSTALL_ZIPS relevant by their primary file
Sometimes android_app_bundles exist in the tree but are not added
to PRODUCT_PACKAGES, in that case, they shouldn't be added to
file_list.txt.

We can tell if they're in PRODUCT_PACKAGES by if their primary file
is present in the list of files to install.

Bug: 337869220
Test: m out/target/product/emu64x/obj/PACKAGING/system_intermediates/file_list.txt and checking it for the extra NetworkStackGoogle apks, with a local NetworkStackGoogle android_app_set added into the tree
Change-Id: I22bcd9e972e1c9d5c7ddca788b9c6edc72f0a9dd
2024-05-10 12:41:10 -07:00
Treehugger Robot
8211cb24a5 Merge "Replace impl ToString with impl Display" into main 2024-05-10 18:32:41 +00:00
Jooyung Han
925f41a9f3 Add vintf for EDI collectors
EDI collectors like VintfDeviceInfo and VendorApexDeviceInfo need to
access to VINTF information. Instead of directly accessing related
files, we expose processed VINTF via /system/bin/vintf.

Bug: 336577802
Test: /system/bin/vintf
Change-Id: Id2b2e9b905bcb168638c60c2dc92ca550ed1558f
2024-05-10 16:07:43 +09:00
Treehugger Robot
db3606ddd8 Merge "Move sysprop assignments to separate mk file" into main 2024-05-10 01:26:40 +00:00
Cole Faust
441d1db5f9 Merge "Record contents of EXTRA_INSTALL_ZIPS files in file_list.txt" into main 2024-05-10 00:11:16 +00:00