Commit Graph

98461 Commits

Author SHA1 Message Date
Zhi Dou
5228a6f4a2 Merge "read new stoarge based on flag value" into main 2024-07-29 13:26:35 +00:00
Treehugger Robot
78decbf865 Merge "use smart pointer for fd" into main 2024-07-29 13:15:15 +00:00
Zhi Dou
66ff40c08a read new stoarge based on flag value
This change changes the logic to read the flag value from new storage.
Before it check the existence of a file. Not it will directly check the
flag value from DeviceConfig.

Test: m and presubmit
Bug: 349874828
Change-Id: I4a360564a3b48564057eede9bd893899136b3221
2024-07-26 22:46:47 +00:00
Zhi Dou
8add8e0c9b use smart pointer for fd
Test: presubmit
Bug: 348693143
Change-Id: Ibdb1e132a4840d0c3d82aa5f7546a0fc5f5f528b
2024-07-26 22:25:43 +00:00
Treehugger Robot
e75610b4c7 Merge "core/Makefile: Drop the raw packed desktop image from build artifacts." into main 2024-07-26 19:51:11 +00:00
Alex Klein
50687c3f2d core/Makefile: Drop the raw packed desktop image from build artifacts.
Drop the raw image now to avoid the extra storage usage/costs
before someone starts depending on it.

Bug: b:349581445
Test: None
Change-Id: I8a0ba12d7f00ebad3e85327b00e2f700028658b0
2024-07-26 18:56:24 +00:00
Zhi Dou
8c6ec5a33d Merge "add sdk none version for core lib usage" into main 2024-07-26 15:33:22 +00:00
Zhi Dou
0e5e128034 add sdk none version for core lib usage
Test: m
Bug: 349874828
Change-Id: I412bcf06ca38c862b026715a6a394350eda49b64
2024-07-26 14:03:50 +00:00
Treehugger Robot
e110c68023 Merge "Add HOST_PREFER_32_BIT to Soong Config and move art-tools to product configuration." into main 2024-07-26 06:42:16 +00:00
Nelson Li
e63be2a724 Add HOST_PREFER_32_BIT to Soong Config and move art-tools to product configuration.
This change accomplishes two things:

Adds `HOST_PREFER_32_BIT` to Soong config variables:
The `HOST_PREFER_32_BIT` environment variable is frequently used in
Android.mk files within the art/ directory. By adding it to
soong_config_variable, we make it accessible to the Soong build system,
which will be essential when converting art modules to Android.bp.

Moves `art-tools` to product configuration:
Originally, `art-tools` was a phony target added to
PRODUCT_HOST_PACKAGES. This approach is incorrect because
PRODUCT_HOST_PACKAGES should only contain actual modules, not phony
targets. We are addressing this by converting the dependencies and
conditional statements (ifeq) within `art-tools` into
PRODUCT_HOST_PACKAGES entries in base_system.mk.

Bug: 346702835
Test: m -j; Then, check related dependencies build in the system.
Change-Id: Iab252dea71c9df9d75f2701b33d3cd4d391e7f5d
2024-07-26 12:57:41 +08:00
Wei Li
31964df630 Merge "Add new SBOM generation tool." into main 2024-07-26 00:45:43 +00:00
Treehugger Robot
afede373c0 Merge "make aconfig_storage_file.test.java use library from framework" into main 2024-07-25 23:50:06 +00:00
Treehugger Robot
2837b5ec07 Merge "core/Makefile: Add dist-for-goals calls for desktop image." into main 2024-07-25 21:30:01 +00:00
Zhi Dou
d6b37c1be7 make aconfig_storage_file.test.java use library from framework
Test: atest aconfig_storage_file.test.java
Bug: 349874828
Change-Id: If6fbf086e889a2c0068a1ca22979db39f5d86448
2024-07-25 19:30:13 +00:00
Treehugger Robot
33e9bc04c2 Merge "add hide and unsupportedadppusage annotation to read library" into main 2024-07-25 18:14:05 +00:00
Alex Klein
54b93ca0f0 core/Makefile: Add dist-for-goals calls for desktop image.
The desktop image is being built but not appearing in the artifacts.
Add dist-for-goals calls to make them show up in the builder
artifact lists.

Bug: b:349581445
Test: m, manual
Flag: EXEMPT desktop-only tooling
Change-Id: I015dc28871173376c1877e368ea423c9991e1aaf
2024-07-25 17:33:15 +00:00
Zhi Dou
fa988f0a34 add hide and unsupportedadppusage annotation to read library
Test: presubmit
Bug: 349874828
Change-Id: I5b808d87fe7df2ba8a85c8c75ee7baa66ff22d6b
2024-07-25 16:56:48 +00:00
Inseob Kim
409209f02c Merge changes from topic "revert-3195644-revert-3195637-revert-3184480-system_build_prop_soong-BZIDUTEOOC-KRUETCBWUR-TUHZPHUVFJ" into main
* changes:
  Revert "Revert^2 "Add more variables for system/build.prop migra..."
  Revert^3 "Use Soong-built system/build.prop"
2024-07-25 10:18:06 +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
Wei Li
a3265ef0a1 Add new SBOM generation tool.
Bug: 324465531
Test: CIs
Test: m soong-sbom
Change-Id: Icfb7a9062158853b85c2de95f678ab164fc3fd90
2024-07-24 22:32:38 -07: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