Commit Graph

98443 Commits

Author SHA1 Message Date
Inseob Kim
aaf50f6a43 Revert "Revert "Revert^2 "Add more variables for system/build.pr..."
Revert submission 3195812-revert-3195644-revert-3195637-revert-3184480-system_build_prop_soong-BZIDUTEOOC-KRUETCBWUR-TUHZPHUVFJ

Reason for revert: fixed with aosp/3196490 and aosp/3196470

Reverted changes: /q/submissionid:3195812-revert-3195644-revert-3195637-revert-3184480-system_build_prop_soong-BZIDUTEOOC-KRUETCBWUR-TUHZPHUVFJ

Change-Id: Id2da52a73f9791b3049c3fe60727bfb383180f14
2024-07-25 10:58:33 +00:00
Pechetty Sravani (xWF)
9a046515db Revert "Revert^2 "Add more variables for system/build.prop migra..."
Revert submission 3195644-revert-3195637-revert-3184480-system_build_prop_soong-BZIDUTEOOC-KRUETCBWUR

Reason for revert: Droidmonitor created revert due to b/355379515. Will be verifying through ABTD before submission.

Reverted changes: /q/submissionid:3195644-revert-3195637-revert-3184480-system_build_prop_soong-BZIDUTEOOC-KRUETCBWUR

Change-Id: Idaad375a3a34252b85169ee37ac97f1b02670cea
2024-07-25 09:21:09 +00:00
Pechetty Sravani (xWF)
70e8a1233c Revert^3 "Use Soong-built system/build.prop"
7fa37d8e04

Change-Id: I563eb2268623fafa16d6a9bd59f79d38268cd650
2024-07-25 09:21:09 +00:00
Inseob Kim
49c151a2ea Merge changes from topic "revert-3195637-revert-3184480-system_build_prop_soong-BZIDUTEOOC-KRUETCBWUR" into main
* changes:
  Revert^2 "Use Soong-built system/build.prop"
  Revert^2 "Add more variables for system/build.prop migration"
2024-07-25 07:27:59 +00:00
Inseob Kim
7fa37d8e04 Revert^2 "Use Soong-built system/build.prop"
44fe21d315

Change-Id: I105c8759dc47a52e16443550650edceae8d4e4fe
2024-07-25 03:27:49 +00:00
Inseob Kim
50061ea370 Revert^2 "Add more variables for system/build.prop migration"
2254142ec5

Change-Id: Iec3a7b1e65b551708faa6e4420566bfc9267c601
2024-07-25 03:27:49 +00:00
Inseob Kim
bcacc9c6de Merge changes from topic "revert-3184480-system_build_prop_soong-BZIDUTEOOC" into main
* changes:
  Revert "Add more variables for system/build.prop migration"
  Revert "Use Soong-built system/build.prop"
2024-07-25 02:48:23 +00:00
Inseob Kim
2254142ec5 Revert "Add more variables for system/build.prop migration"
Revert submission 3184480-system_build_prop_soong

Reason for revert: breaks ndk and mainline build 

Reverted changes: /q/submissionid:3184480-system_build_prop_soong

Change-Id: I9bea079d476ea28e83dbb356defa646e662ad830
2024-07-25 02:45:53 +00:00
Inseob Kim
44fe21d315 Revert "Use Soong-built system/build.prop"
Revert submission 3184480-system_build_prop_soong

Reason for revert: breaks ndk and mainline build 

Reverted changes: /q/submissionid:3184480-system_build_prop_soong

Change-Id: I3a04f39f3093e842e90947479cbe02bcfcd2ff14
2024-07-25 02:46:11 +00:00
Inseob Kim
30a477d9b0 Merge changes from topic "system_build_prop_soong" into main
* changes:
  Use Soong-built system/build.prop
  Add more variables for system/build.prop migration
2024-07-25 02:07:00 +00:00
Inseob Kim
63ea18a0c1 Use Soong-built system/build.prop
ADDITIONAL_SYSTEM_PROPERTIES and system related code in sysprop.mk and
sysprop_config.mk are removed since they are obsolete.

Bug: 322090587
Test: boot
Test: compare build.prop before and after
Change-Id: I4e5112b44c8446071e045813725b2364eb2f3ff1
2024-07-24 17:16:49 +09:00
Inseob Kim
78f9be7a4e Add more variables for system/build.prop migration
Bug: 322090587
Test: build
Change-Id: I499928ee2bdc53e654fd83b5ab5d609a3957ace6
2024-07-24 17:15:59 +09:00
Treehugger Robot
3d99e42579 Merge "Add soong config for early VM" into main 2024-07-24 04:54:24 +00:00
Kiyoung Kim
deb62cbc41 Merge "Remove VSDK related code from build" into main 2024-07-24 03:31:44 +00:00
Treehugger Robot
eb41879e1f Merge "Add BOARD_PERFSETUP_SCRIPT as a soong config variable" into main 2024-07-24 01:25:40 +00:00
Sid Nayyar
8afaf50faf Merge "Add kernel lifetimes and approved OGKI builds configs to GSI" into main 2024-07-23 16:32:58 +00:00
Automerger Merge Worker
f650dbab88 Merge "Merge "Merge "Exclude mcts tests from cts based on the env config." into android13-tests-dev am: b4a761670b" into android14-tests-dev am: bee2154347" into main 2024-07-23 08:54:19 +00:00
Automerger Merge Worker
c04c460c90 Merge "Merge "Exclude mcts tests from cts based on the env config." into android13-tests-dev am: b4a761670b" into android14-tests-dev am: bee2154347
Original change: https://android-review.googlesource.com/c/platform/build/+/3164466

Change-Id: I923d105c505163cff9c248d5a656e08e0d104d83
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-23 08:54:12 +00:00
Automerger Merge Worker
bee2154347 Merge "Merge "Exclude mcts tests from cts based on the env config." into android13-tests-dev am: b4a761670b" into android14-tests-dev 2024-07-23 08:36:19 +00:00
Tongbo Liu
52d1efe5ad Merge "Exclude mcts tests from cts based on the env config." into android13-tests-dev am: b4a761670b
Original change: https://android-review.googlesource.com/c/platform/build/+/3164466

Change-Id: Iacbd646afa215fbd741a84921c81ccc548457f6b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-23 08:36:10 +00:00
Tongbo Liu
b4a761670b Merge "Exclude mcts tests from cts based on the env config." into android13-tests-dev 2024-07-23 08:20:44 +00:00
yangbill
90b90af5f6 Add BOARD_PERFSETUP_SCRIPT as a soong config variable
This variable is used to customize different perf script used by
perf-setup under platform_testing/scripts/perf-setup/.
This CL also add perf-setup.sh by default installed for eng and
userdebug build.

Bug: 343133111
Test: . build/envsetup.sh; lunch aosp_akita-trunk_staging-userdebug;\
      m perf-setup
Test: . build/envsetup.sh; lunch aosp_panther-trunk_staging-userdebug; \
      m perf-setup
Test: . build/envseup.sh; lunch aosp_cf_x86_64_phone-trunk_staging-userdebug; \
      m perf-setup
Change-Id: I0f81f5296aa59bef5b5d608a6cfda6d8b05b4e0f
2024-07-23 02:49:41 +00:00
Kiyoung Kim
6f701b2882 Remove VSDK related code from build
Remove leftover VSDK related code from build, as they are no longer in
use.

Bug: 332986564
Test: AOSP CF build succeeded
Change-Id: Idb34adc37022e71603f150200635ef1fb81e8ec4
2024-07-23 11:29:31 +09:00
Inseob Kim
42ed91a914 Add soong config for early VM
Bug: 354059066
Test: build
Change-Id: I0efc023b307694809b68f1e84a649c1578eca313
2024-07-23 11:18:41 +09:00
Treehugger Robot
a6fe9e7ebd Merge "Remove PRODUCT_SHIPPING_API_LEVEL in assemble_vintf" into main 2024-07-23 01:57:09 +00:00
Zhi Dou
8a9a52d140 Merge "make java reader library availiable for mainline" into main 2024-07-22 13:59:28 +00:00
Parth Sane
01e6b4bc51 Merge "Export the libbinder flag to Android.bp" into main 2024-07-22 12:22:05 +00:00
Sid Nayyar
0ddd61a73f Add kernel lifetimes and approved OGKI builds configs to GSI
These kernel configs are required for end-of-life enforcement and OGKI
compliance verification VTS tests.

Bug: 338636324
Bug: 342094847
Test: manually built and flashed on device, device had config files
Change-Id: Ia1f94ba19bab1f2e3b129827ad5634023290dbc5
2024-07-21 09:17:57 +00:00
Christopher Ferris
3b8f6ebbb7 Merge "Replace PRODUCT_DISABLE_SCUDO with MALLOC_LOW_MEMORY." into main 2024-07-20 01:36:55 +00:00
Treehugger Robot
088443385f Merge "only use new storage for read write" into main 2024-07-19 21:39:45 +00:00
Christopher Ferris
7064db2a19 Replace PRODUCT_DISABLE_SCUDO with MALLOC_LOW_MEMORY.
The PRODUCT_DISABLE_SCUDO only removes scudo from the list of
sanitizers. It doesn't change the allocator to be used.

Instead use MALLOC_LOW_MEMORY := true, which causes a device
to use a low memory version of the allocator.

Bug: 318756974

Test: Treehugger.
Change-Id: Idaf57cfa4fa723ce8d7f285b2bad8ec29059f0df
2024-07-19 21:38:52 +00:00
Zhi Dou
b88c3e638b make java reader library availiable for mainline
Test: atest aconfig.test.java
Bug: 349874828
Change-Id: I2cabfa9665e5c474ba64f5969e96e9dae2fdcb9b
2024-07-19 21:01:27 +00:00
Zhi Dou
1edd4485c6 only use new storage for read write
Test: atest aconfig.test.java
Bug: 349874828
Change-Id: I5af9fa6243b8b8a157f03242e6e5a411ced7be44
2024-07-19 20:37:53 +00:00
Treehugger Robot
ca4c83efa3 Merge "feat: show if flag is locally overridden" into main 2024-07-19 14:09:41 +00:00
Ted Bauer
05fea28d9c feat: show if flag is locally overridden
Bug: 324436145
Test: adb shell aflags list
Change-Id: Id239a760e86e469f77d1e99f7a6f27d54cb87206
2024-07-19 13:11:42 +00:00
Treehugger Robot
d9fc22aeda Merge "Pass PRODUCT_ART_TARGET_INCLUDE_DEBUG_BUILD to Soong" into main 2024-07-19 03:21:23 +00:00
Ashok Mutyala
bfd217bb0f Remove PRODUCT_SHIPPING_API_LEVEL in assemble_vintf
No longer handling PRODUCT_SHIPPING_API_LEVEL

Test: Build Success
Change-Id: I91715290d556ad8fd24a59ed1cf2a4930293bf53
2024-07-19 02:57:48 +00:00
Kiyoung Kim
c7fea48094 Pass PRODUCT_ART_TARGET_INCLUDE_DEBUG_BUILD to Soong
Pass PRODUCT_ART_TARGET_INCLUDE_DEBUG_BUILD to Soong so it can decide if
ART debug APEX should be used instead of ART APEX

Bug: 351698657
Test: AOSP CF eng build succeeded
Change-Id: I1e0683be5cd66f1a18e7aec5b1d96ac6e5f4588a
2024-07-19 10:14:05 +09:00
LaMont Jones
1997e9f786 Merge "Pass the target product to release-config" into main 2024-07-18 23:01:11 +00:00
Michael Wright
41b64550d8 Pass the target product to release-config
If you don't, release-config will read the TARGET_PRODUCT environment
variable to determine the product. This works in most cases, but it's
possible (e.g. via buildspec.mk) to change the target product within
make without modifying the environment variable. In these cases,
release-config will produce the config for one product but then the
build will read the config for a completely different product, leading
to build errors.

Instead, just pass the target product to release-config explicitly so it
generates the config for the product that the build is expecting.

Bug: 353351911
Test: TARGET_SKIP_OTA_PACKAGE="true" build/soong/soong_ui.bash \
    --make-mode TARGET_PRODUCT=apps TARGET_RELEASE=next \
    TARGET_BUILD_VARIANT=user droid dist \
    ANDROID_BUILDSPEC=vendor/google_clockwork/build/app_build_spec.mk \
    ALLOW_MISSING_DEPENDENCIES=true \
    UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true \
    RELAX_USES_LIBRARY_CHECK=true
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:310d7718439d074fe38b25b97eb609f6db66c3d6)
Merged-In: I63e80249ac702b5517f4a3cfd54c8a4dbd416794
Change-Id: I63e80249ac702b5517f4a3cfd54c8a4dbd416794
2024-07-18 20:36:10 +00:00
Treehugger Robot
726c69d608 Merge "Use JDK 21 instead of 17" into main 2024-07-18 16:47:48 +00:00
Parth Sane
560884d4af Export the libbinder flag to Android.bp
Note that the namespace is "libbinder".

Bug: 333854840
Test: N/A
Flag: RELEASE_LIBBINDER_CLIENT_CACHE
Change-Id: Iecfb62c14685afcce72cf89ad61536efd2d17e31
2024-07-18 14:24:01 +00:00
Ted Bauer
7e272b8bba Merge "Read from new storage in aflags" into main 2024-07-18 13:32:59 +00:00
Sorin Basca
ba29ac54f4 Use JDK 21 instead of 17
Bug: 342332820
Test: TH
Change-Id: Id040a389243220eb4c5b47631bfdd9f27bc00923
2024-07-18 12:05:19 +01:00
Tongbo Liu
15c19082d4 Exclude mcts tests from cts based on the env config.
Change-Id: Ife879a0553076f4bf2a5e9835807fbf5a86dea27
Merged-In: Ife879a0553076f4bf2a5e9835807fbf5a86dea27
Test: make cts EXCLUDE_MCTS=true
Bug: 345592291
2024-07-18 08:49:11 +00:00
Treehugger Robot
60f44e93a8 Merge "Add ASAN_ENABLED and SANITIZE_TARGET_SYSTEM_ENABLED to Soong config variables:" into main 2024-07-18 05:52:52 +00:00
Treehugger Robot
083e56837b Merge "Add BOARD_MOVE_GSI_AVB_KEYS_TO_VENDOR_BOOT as a soong config variable" into main 2024-07-18 00:44:49 +00:00
Ted Bauer
bbbe092496 Read from new storage in aflags
Bug: 324436145
Test: adb shell aflags list --use-new-storage
Change-Id: Ib615e25bc0bc7f2b0362e286a45ce40ebf21f92d
2024-07-17 18:39:25 +00:00
Nikita Putikhin
bd0cba45be Merge "Use test install base template instead of a hardcoded path" into main 2024-07-17 11:34:28 +00:00
Nelson Li
39f5cc4153 Add ASAN_ENABLED and SANITIZE_TARGET_SYSTEM_ENABLED to Soong config variables:
`SANITIZE_TARGET` is a variable in Android's build system used to
enable sanitizers. Currently, Soong only supports enabling SANITIZE for
individual modules in Android.bp.
Adding ASAN_ENABLED and SANITIZE_TARGET_SYSTEM_ENABLED as Soong config
variables would allow Soong to also support building with Sanitizers by
directly setting the SANITIZE_TARGET environment variable.

Bug: 353164536
Test: SANITIZE_TARGET_SYSTEM=true SANITIZE_TARGET=address m -j asan_extract
Change-Id: I542239ee25d210d903d2481a2b1426f756656308
2024-07-17 16:56:58 +08:00