Commit Graph

98347 Commits

Author SHA1 Message Date
Treehugger Robot
c8be459750 Merge "16kb: Remove PRODUCT_BOOTS_16K build variable" into main 2024-07-03 20:54:29 +00:00
Liana Kazanova
d7343203b6 Merge "Revert "Mark FeatureFlags impl member as final"" into main 2024-07-03 18:15:27 +00:00
Liana Kazanova
8450f57c3e Revert "Mark FeatureFlags impl member as final"
This reverts commit fca73bcad3.

Reason for revert: Droidmonitor triggered revert due to build breakage in b/350978649. Will be verifying through ABTD before submission.

Change-Id: I65de159518597289f1e0e3902080f35970842afc
2024-07-03 17:56:12 +00:00
Treehugger Robot
8d3b98e1ca Merge "Mark FeatureFlags impl member as final" into main 2024-07-03 15:52:13 +00:00
Jared Duke
1006bfbae3 Merge "Reuse Java flag name constants in FeatureFlagsImpl" into main 2024-07-03 14:53:29 +00:00
Michael Merg
83f0e74924 Merge "Add prober scripts for language services features" into main 2024-07-03 08:11:32 +00:00
Treehugger Robot
f959947939 Merge "Generate system diff between KATI and SOONG" into main 2024-07-03 04:48:21 +00:00
Juan Yescas
f645d4b1cb 16kb: Remove PRODUCT_BOOTS_16K build variable
The PRODUCT_BOOTS_16K is removed and will be
replaced by TARGET_BOOTS_16K variable.

The TARGET_BOOTS_16K will drive the kernel and
modules to use instead.

Bug: 350529323
Bug: 346868433
Test: Built and boot pgagnostic targets
Flag: EXEMPT bugfix
Change-Id: If539f8a9f8c87650b8f618f302eee2c284d8ec79
2024-07-03 03:00:19 +00:00
Jared Duke
1b6d14296e Reuse Java flag name constants in FeatureFlagsImpl
This may not matter in practice due to string inlining and interning,
but might avoid any accidental name drift/bugs in the future.

Bug: 280833463
Test: atest aconfig.test
Change-Id: I53b5b3effb577493ba708800928553c04b2fdc54
2024-07-02 22:51:05 +00:00
Treehugger Robot
f3fa5d5bbc Merge "Revert "Remove non existent snapuserd.recovery package"" into main 2024-07-02 20:07:38 +00:00
Michael Merg
d8a48c794a Add prober scripts for language services features
Change-Id: I8c4a39a575f7977c524cfd450cf952b20c8c2c11
2024-07-02 19:32:38 +00:00
Ivan Lozano
1f053a072e Merge "Remove allow-multiple-definitions flag." into main 2024-07-02 11:59:00 +00:00
David Anderson
b3f0337ae6 Revert "Remove non existent snapuserd.recovery package"
This reverts commit 48a8f59607.

Reason for revert: b/349287459

Change-Id: I5835cc025b37efca4d6294abf4aefd7148ddfd65
2024-07-02 03:30:05 +00:00
Kiyoung Kim
8376b32e42 Generate system diff between KATI and SOONG
There is an effort to generate system image with Soong, but there are
some difference in installed files between Soong defined system image
and KATI defined one. This change generates diffs between installed
files from two sources.

Bug: 346873717
Test: USE_SOONG_DEFINED_SYSTEM_IMAGE=true m -j on aosp_cf_x86_64
generated diff file.

Change-Id: I25c71f88d16a4efb873c21abe70ca9c41c6423ca
Merged-In: I25c71f88d16a4efb873c21abe70ca9c41c6423ca
2024-07-02 02:22:51 +00:00
Treehugger Robot
0d62ee5b6a Merge "Increase dump-words-to-file capacity" into main 2024-07-02 02:03:13 +00:00
Ivan Lozano
16266625cc Remove allow-multiple-definitions flag.
This is no longer necessary as static linkage in Rust has been fixed.

Bug: 254469782
Test: m aconfig_storage_write_api.test.cpp
Change-Id: I6b8b36882aa521eb0412fb7da03a5eec94df81d4
2024-07-01 18:28:32 +00:00
Nikita Putikhin
32410e9228 Merge "Revert "Use test install base template instead of a hardcoded path"" into main 2024-07-01 18:02:12 +00:00
Nikita Putikhin
fc4ac4873d Revert "Use test install base template instead of a hardcoded path"
This reverts commit f6a22b6ff7.

Reason for revert: b/350479879

Change-Id: I282719de6579670d382dd5429efe62ab7832cc95
2024-07-01 15:31:21 +00:00
Nikita Putikhin
0857a91000 Merge "Use test install base template instead of a hardcoded path" into main 2024-07-01 12:19:20 +00:00
Jaewan Kim
b38fce721a Increase dump-words-to-file capacity
This replicates previous fix for the similar issue
  0bd9a626bd Increase dump-words-to-file capacity

Change-Id: Ibdd31d9a4588eefa585298cc4f01528f0027395a
Test: ABTD
Bug: 350309689
2024-07-01 00:23:06 +00:00
Treehugger Robot
45fe6192e7 Merge "Replace PRODUCT_COPY_FILES with soong module" into main 2024-06-29 08:20:11 +00:00
Steven Moreland
1205488d90 Merge "vendor API level current is 10,000,000" into main 2024-06-28 22:17:32 +00:00
Juan Yescas
7c222cc0fa Merge "16kb: Define PRODUCT_BOOTS_16K to indicate that target boots with 16kb kernel" into main 2024-06-28 21:54:48 +00:00
Juan Yescas
48aec87674 16kb: Define PRODUCT_BOOTS_16K to indicate that target boots with 16kb kernel
This build flag will indicate whether the target boots with 16kb kernel.
This flag will be used in pgagnostic targets and targets with
with the _16k suffix.

Define the build flag PRODUCT_BOOTS_16K

- When PRODUCT_BOOTS_16K := true, target boots with 16kb kernel.
- When PRODUCT_BOOTS_16K := false, target boots with 4kb kernel.

If the PRODUCT_BOOTS_16K is not defined, its value will be false by default.

Bug: 346868433
Test: Built Pixel 8 targets
      $ source build/envsetup.sh
      $ lunch husky-trunk_staging-userdebug
      $ get_build_var PRODUCT_BOOTS_16K
      false
Change-Id: Ifc5138dd76d2172e1c3bc2564efe91a0f83c5420
2024-06-28 13:23:05 -07:00
Spandan Das
c380fd04be Merge "Install dexpreopt artifacts of non system apps in system_other" into main 2024-06-28 16:14:58 +00:00
Ivan Lozano
4ed15ef2fb Merge "Replace static_rlibs usage." into main 2024-06-28 14:44:49 +00:00
Treehugger Robot
d7d16e3cf6 Merge "Revert "Move COMPRESSION_COMMAND_DEPS before first use"" into main 2024-06-28 11:34:25 +00:00
Gina Ko
88d65e514c Revert "Move COMPRESSION_COMMAND_DEPS before first use"
This reverts commit a8f0bb8df8.

Reason for revert: ramdisk.img size becomes 0

Bug: b/349934403
Change-Id: Ifb837defb5fdc699375b3942d0de9655cb018e11
2024-06-28 08:26:54 +00:00
Justin Yun
c5f7f80416 Replace PRODUCT_COPY_FILES with soong module
Include android.software.credentials.prebuilt.xml prebuilt_etc module
instead of using PRODUCT_COPY_FILES.

Bug: 345373198
Test: See if android.software.credentials.xml is installed in
      system/etc/permissions
Change-Id: Ia5519d1650b994f380aa4e31042139af999e49a7
2024-06-28 14:18:20 +09:00
Steven Moreland
fd54266000 vendor API level current is 10,000,000
since it was a weird thing from the last
change, and 10,000 < 202404.

Bug: N/A
Test: selftest
Change-Id: I467a334b791faaeb1bab892c0e1a80c28a0b5d09
2024-06-28 00:45:57 +00:00
Treehugger Robot
14d19661a0 Merge "Add DTBO partition to dev option boot OTA" into main 2024-06-27 23:50:25 +00:00
Treehugger Robot
8e7b07afa9 Merge "Support custom DTBO image for 16KB target" into main 2024-06-27 23:50:25 +00:00
Treehugger Robot
cd23871bd7 Merge "Reland Move all targets away from non-AB" into main 2024-06-27 22:56:23 +00:00
Treehugger Robot
f101cc6aad Merge "Move COMPRESSION_COMMAND_DEPS before first use" into main 2024-06-27 21:17:02 +00:00
Kelvin Zhang
1ef79a4dad Add DTBO partition to dev option boot OTA
This CL adds DTBO partition to dev option OTA if the product
defined a dtbo image for 16KB kernel(indicated via
BOARD_PREBUILT_DTBOIMAGE_16KB)

Test: build with and w/o BOARD_PREBUILT_DTBOIMAGE_16KB set
Change-Id: I6e02d5bab0fccd193396c54e50ad2a9c3946c51d
2024-06-27 10:34:39 -07:00
Kelvin Zhang
c7712ee290 Support custom DTBO image for 16KB target
Test: set BOARD_PREBUILT_DTBOIMAGE_16KB, and build
Bug: 349590107
Change-Id: If27d5e349ad28f1f803625da7331c3277fe3ca5f
2024-06-27 10:34:32 -07:00
Nikita Putikhin
f6a22b6ff7 Use test install base template instead of a hardcoded path
Make the template more consistent with the native (aka cc) test temlate.

The important change is that vendor tests will be pushed into
/data/local/tests/vendor. In fact, rust module in soong already expects
this (aosp/1832614).

Having the test binary in the vendor test folder makes the linker treat
it as a vendor binary and prefer vendor libraries. Previously, the test
binary was always a system binary (due to being in /data/local/tmp) and
used system libraries first potentially leading to bugs (e.g. the one
attached).

This change also makes vendor tests that use vendor libraries require
root due to an existing SELinux policy issue with atest.

Bug: 347370677
Test: checked with:
 - libsecretkeeper_core_test
 - libauthgraph_boringssl_test (with the chained change)
 - libdice_policy.test
 Test steps:
 atest -d <test>.vendor # runs vendor variant, passes
 adb root
 adb shell find / -iname <test> 2>/dev/null
 # before change: /data/local/tmp/<test>
 # after change: /data/local/tests/vendor/<test>
Change-Id: I6d8c58cbce5b636480803e74cb710f0b05b74e10
2024-06-27 16:43:38 +02:00
Inseob Kim
56f730409e Merge "Clean .intermediates for removing hashed subdir" into main 2024-06-27 04:30:30 +00:00
Spandan Das
26e6c5d5f7 Install dexpreopt artifacts of non system apps in system_other
`SYSTEM_OTHER_ODEX_FILTER` is used to determine which odex files go in
system_other partition. Soong and Make adds another filter on top of that.
This additional filter limits the odex files to only system apps, which
means that dexpreopt artifacts of product and system_ext apps are **not**
installed in system_other.

This CL removes this additional filter. After this CL, dexpreopt
artifacts of product and system_ext apps will be installed in system_other.

Bug: 349083274
Test: Verified that .odex files of product apps appear in
intalled-files-system_other.txt and not installed-files-product.txt

Test: Ran this CL on a bunch of targets in git_main and throttled
branchesa (there are some unrelated errors on some targets)
https://android-build.corp.google.com/builds/abtd/run/L93000030004826539
https://android-build.corp.google.com/builds/abtd/run/L53400030004824781
https://android-build.corp.google.com/builds/abtd/run/L41900030004824724
https://android-build.corp.google.com/builds/abtd/run/L87200030004822630
https://android-build.corp.google.com/builds/abtd/run/L67500030004727048
https://android-build.corp.google.com/builds/abtd/run/L41700030004726610
https://android-build.corp.google.com/builds/abtd/run/L61600030004726607

Change-Id: I522b8f00a268058b13bb88ac1b34824bd5c1190e
2024-06-27 02:07:36 +00:00
Vova Sharaienko
d7f84277c1 Merge "Added trendy team for Telemetry Client Infra (StatsD)" into main 2024-06-27 01:27:30 +00:00
Treehugger Robot
e6370eaecd Merge "release config is now protobuf" into main 2024-06-27 01:21:49 +00:00
Treehugger Robot
6b8d925c91 Merge "Fix bug in ota_from_raw_img when generating multiple images" into main 2024-06-27 01:17:10 +00:00
Kelvin Zhang
a8f0bb8df8 Move COMPRESSION_COMMAND_DEPS before first use
Test: th
Bug: 349524000
Change-Id: I6e9a406a04392ce17ad787c28052ee20f3d162a5
2024-06-26 17:12:20 -07:00
Jared Duke
fca73bcad3 Mark FeatureFlags impl member as final
Marking the member as final for non-test scenarios allows for
optimizations that may otherwise be unavailable, and avoids ambiguity
about mutability.

Bug: 280833463
Test: atest aconfig.test
Change-Id: Ia58a04c9a57ee06d68f4dd022ace5365c65f4cf5
2024-06-26 23:08:16 +00:00
Treehugger Robot
8522c2e8af Merge "Only include this partition's flags in aconfig_flags.pb" into main 2024-06-26 23:07:12 +00:00
LaMont Jones
acbe15ecdf Only include this partition's flags in aconfig_flags.pb
Flags should only be in one of the files.

Bug: 349410287
Test: manual, TH
Change-Id: I85376298538e2537f8f0f717a0a40a8545e99ea6
2024-06-26 14:41:10 -07:00
Vova Sharaienko
742eb98b4e Added trendy team for Telemetry Client Infra (StatsD)
Bug: 340948329
Test: CIs
Change-Id: I229a3f19cc6be8c45b489664374a7d9ccea68d05
2024-06-26 21:19:21 +00:00
Steven Moreland
93e0aad03c Merge "Reland "Consider non-shipping lunch targets to be future."" into main 2024-06-26 19:56:10 +00:00
Reema Bajwa
d5f7cb1698 Merge "Enable Credential Manager for all handheld devices" into main 2024-06-26 19:30:08 +00:00
LaMont Jones
f982547c1b release config is now protobuf
Use `release_config_map.textproto` instead of relying on platform/build
to intuit that for us.

Bug: 328495189
Flag: build.RELEASE_BUILD_FLAGS_IN_PROTOBUF
Test: manual, TH
Ignore-AOSP-First: resolving automerger conflict
Merged-In: Ia3ae6787183208a216dc4ea26c2fc3a9e4f56054
Change-Id: I4573cc04c8bf3116e1a8b728b819b09d6b3a87a3
2024-06-26 12:15:12 -07:00