Commit graph

6753 commits

Author SHA1 Message Date
Yifan Hong
c4803f8900 Merge "Install e2fsck_ramdisk to GKI ramdisk." am: 97c8455634 am: 38d4d432b7 am: d0e4a325d5
Original change: https://android-review.googlesource.com/c/platform/build/+/1489086

Change-Id: Ibd03e59df3801149912b1e6664999fc556ab0a36
2020-11-07 03:44:25 +00:00
Yifan Hong
d0e4a325d5 Merge "Install e2fsck_ramdisk to GKI ramdisk." am: 97c8455634 am: 38d4d432b7
Original change: https://android-review.googlesource.com/c/platform/build/+/1489086

Change-Id: I08e57e694b541fe7ccc5f1461420fafde4bb9607
2020-11-06 19:39:44 +00:00
Yifan Hong
97c8455634 Merge "Install e2fsck_ramdisk to GKI ramdisk." 2020-11-06 19:17:15 +00:00
Yifan Hong
84ae75cd3c Install e2fsck_ramdisk to GKI ramdisk.
Test: build and inspect output
Bug: 172603832
Fixes: 171326057
Change-Id: If656efdea8a503dc837f23898a5f0ed56884eda4
2020-11-06 10:28:03 -08:00
Treehugger Robot
cbc7970d10 Merge "Phase out Legacy GSI" am: a0aebc1081 am: e2aef95b2d am: 2c1648bbc8
Original change: https://android-review.googlesource.com/c/platform/build/+/1485796

Change-Id: Idbb42bc720a648a2c3a20990ced65b52a3098be4
2020-11-06 05:25:25 +00:00
Treehugger Robot
2c1648bbc8 Merge "Phase out Legacy GSI" am: a0aebc1081 am: e2aef95b2d
Original change: https://android-review.googlesource.com/c/platform/build/+/1485796

Change-Id: I9aa232d0e9279ed709ac4cede63dedef0d98d692
2020-11-06 04:37:57 +00:00
Treehugger Robot
a0aebc1081 Merge "Phase out Legacy GSI" 2020-11-06 04:00:40 +00:00
Treehugger Robot
c3d4dfa4f0 Merge "Switch ramdisk.img to the LZ4 format" am: d41b82563f am: af00a45d17 am: 5c7500deb9
Original change: https://android-review.googlesource.com/c/platform/build/+/1489080

Change-Id: I47866f70c3e6982750a12887b84524620f2227c7
2020-11-05 22:27:59 +00:00
Treehugger Robot
5c7500deb9 Merge "Switch ramdisk.img to the LZ4 format" am: d41b82563f am: af00a45d17
Original change: https://android-review.googlesource.com/c/platform/build/+/1489080

Change-Id: I16fa98800f3332c8b0f861c94e2cd17a79e774a4
2020-11-05 22:19:03 +00:00
Treehugger Robot
d41b82563f Merge "Switch ramdisk.img to the LZ4 format" 2020-11-05 21:30:28 +00:00
Roman Kiryanov
49803e35b9 Switch ramdisk.img to the LZ4 format
Bug: 169336853
Test: file out/target/product/emulator_x86_64/ramdisk.img
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: I085d230a49cd92cc7fe3a620eec411d0e8b90667
2020-11-05 10:47:55 -08:00
Yi Kong
a8d60ab3de Merge "Add profcollect to PLATFORM_PACKAGES_DEBUG" am: da1cf9f1c1 am: a216a3e2c6 am: 5fcea7ab25
Original change: https://android-review.googlesource.com/c/platform/build/+/1485800

Change-Id: I9e8abf5019ccbb944d5d41b3fb672834f0bd9626
2020-11-04 20:05:53 +00:00
Yi Kong
5fcea7ab25 Merge "Add profcollect to PLATFORM_PACKAGES_DEBUG" am: da1cf9f1c1 am: a216a3e2c6
Original change: https://android-review.googlesource.com/c/platform/build/+/1485800

Change-Id: I2ac90f493820187f3b694a4113faeb5dbcaa9299
2020-11-04 19:53:22 +00:00
Yi Kong
25328f5cb9 Add profcollect to PLATFORM_PACKAGES_DEBUG
... but it does not get turned on automatically. This is controlled by
profcollect_native_boot.enabled device config.

Test: boot device and verify profcollectd is disabled by default
Bug: 79161490
Change-Id: Ia91b9759e108896f275633e3156355b65dc94299
2020-11-04 09:44:27 +08:00
Treehugger Robot
ed4bce9aed Merge "Add keystore2 to PLATFORM_PACKAGES" am: c0f701287c am: e383447ffe am: 47767ebd8a
Original change: https://android-review.googlesource.com/c/platform/build/+/1479457

Change-Id: I6e457563acdc072b3ffda3f66f5a9d87de23c3d8
2020-11-03 21:33:07 +00:00
Treehugger Robot
47767ebd8a Merge "Add keystore2 to PLATFORM_PACKAGES" am: c0f701287c am: e383447ffe
Original change: https://android-review.googlesource.com/c/platform/build/+/1479457

Change-Id: I6fac0ea9a1815b005e0735844b7100043099a975
2020-11-03 21:20:30 +00:00
Treehugger Robot
c0f701287c Merge "Add keystore2 to PLATFORM_PACKAGES" 2020-11-03 20:37:23 +00:00
Yifan Hong
f53b60d8dd Merge "Enable BOARD_USES_GKI on aosp_arm64" am: 4503e6e383 am: edd0abfbc0 am: 254552fdb2
Original change: https://android-review.googlesource.com/c/platform/build/+/1455954

Change-Id: I663c57223d90e7d22d6169f0588a23164743b9ce
2020-11-03 20:06:28 +00:00
Yifan Hong
254552fdb2 Merge "Enable BOARD_USES_GKI on aosp_arm64" am: 4503e6e383 am: edd0abfbc0
Original change: https://android-review.googlesource.com/c/platform/build/+/1455954

Change-Id: I49841c1a3baa308127d7ee2ebd97146690ebd917
2020-11-03 19:35:40 +00:00
SzuWei Lin
d418471390 Phase out Legacy GSI
Legacy GSI is the GSI for the O/O-MR1 launching devices. VINTF and
VNDK do not support O/O-MR1 now. It is the time to phase out Legacy
GSI.

Bug: 162277261
Test: none
Change-Id: I55901604da21daa58b51ee6676cd61bb9e4ff5e6
2020-11-03 18:23:57 +08:00
Yifan Hong
c10e367912 Enable BOARD_USES_GKI on aosp_arm64
Enable BOARD_USES_GENERIC_KERNEL_IMAGE := true. In addition:
- Disable recovery_as_boot
- Disable recovery (PRODUCT_BUILD_RECOVERY_IMAGE=false)

Test: builds, and mmma packages/modules/Gki
Bug: 156098440
Change-Id: If6988f6b44f098ed8f1dc214eee1f2223fd03ae8
2020-11-02 11:28:20 -08:00
Janis Danisevskis
95799b056e Add keystore2 to PLATFORM_PACKAGES
Add keystore 2 to the PLATFORM_PACKAGES in anticipation for the Keystore
2.0 migration. This builds and installs keystore2 on the device, but it
does not get started yet. Staring keystore2 is currently controlled with
the platform property ro.android.security.keystore2.enable=true.

Bug: 171305684
Test: keystore2 builds and is present on the device but does not start
      unconditionally.
Change-Id: Id92cb2aa38022516067853d89d6c3210db1100a8
2020-10-28 19:40:51 -07:00
Treehugger Robot
1645d4075a Merge "Add fs_config_(dirs|files) for product and system_ext" am: 1391c95f32 am: 324a3729d6 am: 75f2758912
Original change: https://android-review.googlesource.com/c/platform/build/+/1465965

Change-Id: Ie4d3da25cb9cb49507b439412a1cb564bcb27914
2020-10-22 07:54:04 +00:00
Treehugger Robot
75f2758912 Merge "Add fs_config_(dirs|files) for product and system_ext" am: 1391c95f32 am: 324a3729d6
Original change: https://android-review.googlesource.com/c/platform/build/+/1465965

Change-Id: Ia39fe375a6b3cc1898d1cc5132862b095062cd57
2020-10-22 07:25:20 +00:00
Justin Yun
75f7cf9a2d Add fs_config_(dirs|files) for product and system_ext
These files were added to devices with the fs_config_files_nonsystem
module in base_vendor.mk. As they are partition-specific, move them
to each base_<partition>.mk file.

To add the fs_config_* files to the base_<partition>.mk files, it is
required to define the fs_config_* regardless of the existance of
partitions.

Bug: 170282998
Test: build and check if they are installed.
Change-Id: Ib8a2c75e2e0e93bb7030da981494e880f8465e5a
2020-10-21 03:39:22 +00:00
Treehugger Robot
611f7f5ca0 Merge "Update VNDK version for common graphics HALs." 2020-10-20 23:56:51 +00:00
Steven Moreland
0189ce2216 Merge "Update VNDK version for common graphics HALs." into rvc-d1-dev-plus-aosp am: a4995363e5
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/12874991

Change-Id: I141c489cf5dee08a76300c2eedf4e481b3d89c49
2020-10-20 20:42:33 +00:00
Steven Moreland
a4995363e5 Merge "Update VNDK version for common graphics HALs." into rvc-d1-dev-plus-aosp 2020-10-20 20:36:42 +00:00
Daniel Norman
e7a11c1024 Merge "Removes usage of TARGET_NO_VENDOR_BOOT." am: 6a93af91dc am: 140548db2c am: 0828ddae58
Original change: https://android-review.googlesource.com/c/platform/build/+/1457443

Change-Id: I3cae59bc7c977ddcc065213e08da1a035c903bce
2020-10-20 18:26:12 +00:00
Daniel Norman
0828ddae58 Merge "Removes usage of TARGET_NO_VENDOR_BOOT." am: 6a93af91dc am: 140548db2c
Original change: https://android-review.googlesource.com/c/platform/build/+/1457443

Change-Id: I392d8e9bc442ee0fcbaf9e14ca8fc83ab79b9e6b
2020-10-20 18:12:11 +00:00
Daniel Norman
6a93af91dc Merge "Removes usage of TARGET_NO_VENDOR_BOOT." 2020-10-20 17:18:01 +00:00
Steven Moreland
be4cdda31b Update VNDK version for common graphics HALs.
We are adding things to them, and in order for core libraries like libui
to use them, the newer versions need to be in the VNDK.

Exempt-From-Owner-Approval: cherry-pick
Bug: 170435409
Test: build
Change-Id: I18495d303ae8bd68f35631b2be2dc9dcf915e991
Merged-In: I18495d303ae8bd68f35631b2be2dc9dcf915e991
2020-10-20 00:23:17 +00:00
Steven Moreland
40a9f49ced Update VNDK version for common graphics HALs.
We are adding things to them, and in order for core libraries like libui
to use them, the newer versions need to be in the VNDK.

Bug: 170435409
Test: build
Change-Id: I18495d303ae8bd68f35631b2be2dc9dcf915e991
Merged-In: I18495d303ae8bd68f35631b2be2dc9dcf915e991
2020-10-19 21:04:21 +00:00
Daniel Norman
ad6293c098 Removes usage of TARGET_NO_VENDOR_BOOT.
- true -> PRODUCT_BUILD_VENDOR_BOOT_IMAGE=false
- false -> (removed, uses default option which builds vendor-boot.img
            if BOARD_BOOT_HEADER_VERSION>=3)

Bug: 170423509
Test: Inspect build artifacts from treehugger.
Change-Id: Id16fbda7fdfc70d62db389d6efb5201cb0d6d4e3
2020-10-16 15:10:21 -07:00
Makoto Onuki
4c9a4c8d5e Merge "Remove unneed jar files from the system partition" am: e1faea86f9 am: 282b6fce49 am: 6be865dc5c
Original change: https://android-review.googlesource.com/c/platform/build/+/1462688

Change-Id: I762f7f3c6171bb7bebff37d1c1c7d4cdc68e75ec
2020-10-16 16:57:50 +00:00
Makoto Onuki
6be865dc5c Merge "Remove unneed jar files from the system partition" am: e1faea86f9 am: 282b6fce49
Original change: https://android-review.googlesource.com/c/platform/build/+/1462688

Change-Id: I8f0cf8db250d9fa955858c4214bddde69d8841cd
2020-10-16 16:29:01 +00:00
Makoto Onuki
e1faea86f9 Merge "Remove unneed jar files from the system partition" 2020-10-16 15:41:16 +00:00
Makoto Onuki
90ac5ae188 Remove unneed jar files from the system partition
Fix: 170967644
Test: boot
Test: Make sure the following jar files are removed
$OUT/system/framework/service-blobstore.jar
$OUT/system/framework/service-jobscheduler.jar

Change-Id: Ia5351d9d3b1dda7bf96e95bbaad171cd8c3b49fc
Merged-in: Ia5351d9d3b1dda7bf96e95bbaad171cd8c3b49fc
2020-10-15 13:06:58 -07:00
Martin Stjernholm
39b05f8c78 Merge "Rename com.android.art module." am: a530fa9825 am: 8125de9276 am: 56348da7f9
Original change: https://android-review.googlesource.com/c/platform/build/+/1455023

Change-Id: If98ec37c768b4d58dc204c99847656c2ed54cd27
2020-10-14 18:44:47 +00:00
Martin Stjernholm
56348da7f9 Merge "Rename com.android.art module." am: a530fa9825 am: 8125de9276
Original change: https://android-review.googlesource.com/c/platform/build/+/1455023

Change-Id: I5455bb3c63c0fb11b8903ab1bd594f8044b4a4ef
2020-10-14 18:29:46 +00:00
Martin Stjernholm
a530fa9825 Merge "Rename com.android.art module." 2020-10-14 17:56:42 +00:00
Devin Moore
acd2e14225 Merge "Update vndk list for android.hardware.common.fmq" am: 761f5fe164 am: 2b37bd991e am: 757b419fde
Original change: https://android-review.googlesource.com/c/platform/build/+/1456139

Change-Id: I3079933f30fafb5c0e87a452acec4cb04fe00018
2020-10-13 15:50:33 +00:00
Devin Moore
757b419fde Merge "Update vndk list for android.hardware.common.fmq" am: 761f5fe164 am: 2b37bd991e
Original change: https://android-review.googlesource.com/c/platform/build/+/1456139

Change-Id: If9160f3843c72e096cb1bf2113c397982c2a5321
2020-10-13 15:21:51 +00:00
Devin Moore
761f5fe164 Merge "Update vndk list for android.hardware.common.fmq" 2020-10-13 14:58:08 +00:00
Martin Stjernholm
1cced44791 Rename com.android.art module.
Paving the way for renaming the ART release APEX to com.android.art.

Test: m
Bug: 169639321
Change-Id: I55af4b3dcba48757e7fb65d5d4bc7517c91ae80f
2020-10-13 14:37:19 +01:00
Steve Muckle
e468a9fd20 Merge "Revert^2 "use new GKI kernel location"" am: a5e1dc4b1c am: 4231172840 am: c9eefe4ad2
Original change: https://android-review.googlesource.com/c/platform/build/+/1455798

Change-Id: I69a16b64717049803bb36bc1dbe5ae0f320e38c3
2020-10-12 01:44:00 +00:00
Steve Muckle
c9eefe4ad2 Merge "Revert^2 "use new GKI kernel location"" am: a5e1dc4b1c am: 4231172840
Original change: https://android-review.googlesource.com/c/platform/build/+/1455798

Change-Id: Ic014ca1905bb2f907e58861f786e2238bf565af4
2020-10-12 01:30:23 +00:00
Devin Moore
68a3cef45e Update vndk list for android.hardware.common.fmq
Change created with update-vndk-list.sh for the new package.

Test: m
Bug: 142326204
Change-Id: Iecd2ad2fc2f00c0214dc3ad4bf60661b492c5e4f
2020-10-09 13:48:01 -07:00
Steve Muckle
0f0fa1a07d Revert^2 "use new GKI kernel location"
a0281768fe

This revert includes a fix to use the lz4 variant of the kernel,
as was the case before, rather than the uncompressed one.

Bug: 170451791
Change-Id: Iaab082d8bba04df82d742d682251447f3e21fe9b
2020-10-09 10:32:57 -07:00
Xiao Ma
b236cef699 Merge "Revert "use new GKI kernel location"" am: f07902e84f am: 677a13713c am: b60960d28b
Original change: https://android-review.googlesource.com/c/platform/build/+/1455939

Change-Id: I02e4eb75b468c8e96c1863058d2d342c9b883ce1
2020-10-09 08:48:28 +00:00