Commit graph

4301 commits

Author SHA1 Message Date
Yo Chiang
20c4575af7 Merge "Add x86 / x86_arm mainline_system product" am: 16652990ec am: 2214b0fb08 am: afcd8eb64c
am: 570ea5a8e6

Change-Id: I945b785853fe741759789f8dc2afdf07bc419510
2019-10-07 03:53:01 -07:00
SzuWei Lin
80360791a9 Merge "Remove healthd from base_product.mk" am: 7c7f144484 am: b1ed0bd95b am: 38c1f4b562
am: ed2abde896

Change-Id: I0a23eba7192d99da690e35f4bedc9f8f50f11790
2019-10-07 03:47:11 -07:00
Yo Chiang
afcd8eb64c Merge "Add x86 / x86_arm mainline_system product" am: 16652990ec
am: 2214b0fb08

Change-Id: I0e72f39fe0885a9086ecedd7c61bf58e8117f941
2019-10-07 03:40:54 -07:00
SzuWei Lin
38c1f4b562 Merge "Remove healthd from base_product.mk" am: 7c7f144484
am: b1ed0bd95b

Change-Id: I4362588bacac4cf27560a8c5154c2eec33249803
2019-10-07 03:35:00 -07:00
Yo Chiang
2214b0fb08 Merge "Add x86 / x86_arm mainline_system product"
am: 16652990ec

Change-Id: Ibb05a35c9da7176d08ddee433d0f26cfd1952f8b
2019-10-07 03:34:44 -07:00
SzuWei Lin
b1ed0bd95b Merge "Remove healthd from base_product.mk"
am: 7c7f144484

Change-Id: Ic1afd4de3df00df5d6779a1dbeb90fef40f8cf19
2019-10-07 03:29:20 -07:00
Treehugger Robot
16652990ec Merge "Add x86 / x86_arm mainline_system product" 2019-10-07 10:27:14 +00:00
Treehugger Robot
7c7f144484 Merge "Remove healthd from base_product.mk" 2019-10-07 10:10:34 +00:00
SzuWei Lin
24e6bcd0b6 Remove healthd from base_product.mk
healthd had been deprecated from Android P.
Does not need to support it now.

Bug: 142164625
Bug: 138284857
Test: lunch gsi_arm64-userdebug;make -j
Test: No healthd in out folder
Change-Id: I48db70f4bf39f6322bd2e80e536e2ec96b3a6408
2019-10-05 14:05:48 +08:00
Bill Peckham
eb40fdcf7e Merge "Moving recovery resources from /system to /vendor" am: 959b5ebbf8 am: 2c4d3a7b6c am: 2ca399a4ec
am: e1212b2740

Change-Id: I66319dad513db3804e7c9ddbe29206c614375896
2019-10-04 20:45:16 -07:00
Yo Chiang
8b674819ac Add x86 / x86_arm mainline_system product
- Add mainline_x86 / mainline_x86_arm board
- Add mainline_system_x86 / mainline_system_x86_arm product
- BOARD_SYSTEM_EXTIMAGE_FILE_SYSTEM_TYPE := ext4

These products build only system.img and vbmeta.img.
These serve as a "golden example" for x86 / arm64 CSI.

Bug: 141972143
Bug: 141657175
Test: lunch mainline_system_x86-userdebug; m
Test: Compare $ANDROID_PRODUCT_OUT against sdk_phone_x86 / aosp_cf_x86_phone
Change-Id: I40dec69ceadfe7057c1706b883b81958d3c0a416
2019-10-05 11:35:33 +08:00
Bill Peckham
2ca399a4ec Merge "Moving recovery resources from /system to /vendor" am: 959b5ebbf8
am: 2c4d3a7b6c

Change-Id: Ibcb1f7ca8e41c1f524d26455a7e926eedd919edf
2019-10-04 20:31:01 -07:00
Bill Peckham
2c4d3a7b6c Merge "Moving recovery resources from /system to /vendor"
am: 959b5ebbf8

Change-Id: Ied05e3765ea8afbc29b4d9bf713217d0d3753fa5
2019-10-04 20:24:19 -07:00
Bill Peckham
959b5ebbf8 Merge "Moving recovery resources from /system to /vendor" 2019-10-05 03:14:12 +00:00
Lev Proleev
603de740c3 Merge "Add NeuralNetworks HAL v1.3" 2019-10-04 15:34:10 +00:00
Yo Chiang
8f5f6721cf Merge "Enforce /system module RRO for mainline products" am: c578262e37 am: fc810895ec am: 86dc21bddf
am: 2a50a7fc23

Change-Id: I216a2c4d897639ffe5cb9e6ba633ae78d8a5666b
2019-10-03 23:38:34 -07:00
Yo Chiang
86dc21bddf Merge "Enforce /system module RRO for mainline products" am: c578262e37
am: fc810895ec

Change-Id: I4930a3e1662107fbac048d8095960d8b87971631
2019-10-03 23:25:31 -07:00
Yo Chiang
fc810895ec Merge "Enforce /system module RRO for mainline products"
am: c578262e37

Change-Id: I4db1c617728cdc653ba993ddc414b6acca88db1d
2019-10-03 23:20:01 -07:00
Treehugger Robot
c578262e37 Merge "Enforce /system module RRO for mainline products" 2019-10-04 05:58:44 +00:00
Bill Peckham
e868aec14b Moving recovery resources from /system to /vendor
This change is part of a topic that moves the recovery resources from the
system partition to the vendor partition, if it exists, or the vendor directory
on the system partition otherwise. The recovery resources are moving from the
system image to the vendor partition so that a single system image may be used
with either an A/B or a non-A/B vendor image. The topic removes a delta in the
system image that prevented such reuse in the past.

The recovery resources that are moving are involved with updating the recovery
partition after an update. In a non-A/B configuration, the system boots from
the recovery partition, updates the other partitions (system, vendor, etc.)
Then, the next time the system boots normally, a script updates the recovery
partition (if necessary). This script, the executables it invokes, and the data
files that it uses were previously on the system partition. The resources that
are moving include the following.

* install-recovery.sh
* applypatch
* recovery-resource.dat (if present)
* recovery-from-boot.p (if present)

This change includes the platform build system and release tools changes to
move the recovery resources from system to vendor (or /system/vendor). The
release tools need to know where to generate the recovery patch, and they
discover this from misc_info.txt variable board_uses_vendorimage, which the
platform build system generates.

We remove applypatch from PRODUCT_PACKAGES, but it is added back as a required
module in target/product/base_vendor.mk.

Several release tools rely on the misc_info.txt board_uses_vendorimage variable
to know how to generate and detect the recovery patch.

This change partially removes the --rebuild_recovery flag from the
merge_target_files.py script. The flag will be fully removed in a follow-on
change.

Bug: 68319577
Test: Ensure that recovery partition is updated correctly.
Change-Id: Ia4045bd67ffb3d899efa8d20dab4c4299b87ee5f
2019-10-04 00:04:34 +00:00
Andrew Lewis
41367e31fc Merge "Revert "[MultiDisplay] remove emulator_system.mk"" 2019-10-03 16:37:14 +00:00
Roshan Pius
3216f38c9c Merge "wifi_stack: Move to network_stack process" 2019-10-03 12:50:26 +00:00
Andrew Lewis
ffebeff06e Revert "[MultiDisplay] remove emulator_system.mk"
This reverts commit 572ce182ef.

Reason for revert: breaks build_test on git_master

Change-Id: I4ba0825ee84f4535ec5efd7a7d1ebe3c80d7b17a
2019-10-03 10:48:45 +00:00
Harpreet "Eli" Sangha
57b3aa9cce Merge "Add Vibrator HAL 1.4" 2019-10-03 05:18:18 +00:00
TreeHugger Robot
62927e47ae Merge "Revert "Disable camera pinning and enable iorapd prefetching by default."" 2019-10-02 22:18:05 +00:00
Dongwon Kang
23cca16a66 Merge "Remove codec libs from base_system.mk" am: 03d3a36664 am: ed15824ac4 am: cd2a1d4a31
am: 13ee9ec3b9

Change-Id: I30b03e308ef709fa89fffd2be2d9e5020720acca
2019-10-02 14:57:23 -07:00
Huan Song
240d467390 Merge "[MultiDisplay] remove emulator_system.mk" 2019-10-02 21:33:25 +00:00
Steven Moreland
05cbd78993 Merge "Remove libhidltransport/libhwbinder from VNDK."
am: 147f46ba72

Change-Id: I49c531f53e1a18a6dc1e36c3b3abdd6a8e4ebe86
2019-10-02 14:25:00 -07:00
Steven Moreland
147f46ba72 Merge "Remove libhidltransport/libhwbinder from VNDK." 2019-10-02 21:10:50 +00:00
Dongwon Kang
cd2a1d4a31 Merge "Remove codec libs from base_system.mk" am: 03d3a36664
am: ed15824ac4

Change-Id: I03cf558cdbf9556ae8773a3893bec0ab94b38838
2019-10-02 13:52:15 -07:00
Dongwon Kang
ed15824ac4 Merge "Remove codec libs from base_system.mk"
am: 03d3a36664

Change-Id: Icd39b6851fe01d9bb84f22b2bca1d2cc7976b754
2019-10-02 13:24:48 -07:00
Treehugger Robot
03d3a36664 Merge "Remove codec libs from base_system.mk" 2019-10-02 18:21:41 +00:00
Yan Wang
b45c5afe5b Revert "Disable camera pinning and enable iorapd prefetching by default."
This reverts commit ffd23394de.

Reason for revert: Turn on for crosshatch only, because we only have prebuilt trace for this type.

Bug: 141987657

Change-Id: Ibbf16212d2f7d42510ee1d5bfa807c1883409707
2019-10-02 16:59:34 +00:00
Yo Chiang
33b088d67f Enforce /system module RRO for mainline products
Turn on RRO enforcement for /system modules for products
that use mainline_system.mk

Bug: b/137727426
Test: compare_images
Change-Id: Ia1824481c85fb031d5e156307bf7a848e4721d9e
2019-10-02 18:44:11 +08:00
Roshan Pius
274ecd4c31 wifi_stack: Move to network_stack process
Switch the default target to use the wifi stack APK inside the
network_stack process.

Bug: 135691051
Test: Manual tests
- manual connect to wifi networks
- Remove networks
Test: Will send for ACTS wifi regression testing
Change-Id: I54a58157f9f62062366dd16718d401bd6276bca6
2019-10-01 16:48:41 -07:00
Pete Bentley
a877966f91 Merge "Install BoringSSL self test binaries to vendor image." am: 4c71349fe6
am: 0867677242

Change-Id: I4bfc582ff8bb44f14a281b832f534ae236698098
2019-10-01 16:03:15 -07:00
Pete Bentley
0867677242 Merge "Install BoringSSL self test binaries to vendor image."
am: 4c71349fe6

Change-Id: I0df28b485b88e7ca280dd5c14f51a988726ccc2d
2019-10-01 15:56:42 -07:00
Treehugger Robot
4c71349fe6 Merge "Install BoringSSL self test binaries to vendor image." 2019-10-01 22:38:19 +00:00
Dongwon Kang
6e2b1f84fd Remove codec libs from base_system.mk
- libstagefright_enc_common
- libstagefright_amrnb_common

Bug: 141885505
Test: build and boot.
      Checked libstagefright_enc_common.so doesn't exist in /system/lib64.
      libstagefright_amrnb_common.so is still there because other system
      module, librtp_jni.so, is using it, but there is no reason to keep
      this in base_system.mk.

Change-Id: I43692b50bd23e0b857606b42cb000c8566489dd6
2019-10-01 15:16:11 -07:00
Steven Moreland
f985f373a3 Merge "Remove libhidltransport/libhwbinder from VNDK." into qt-r1-dev-plus-aosp am: b1acf47708
am: 7190f82bf2

Change-Id: I1c5a5125668695d17e55d3d32082094659c3ca95
2019-10-01 09:27:10 -07:00
Steven Moreland
b1acf47708 Merge "Remove libhidltransport/libhwbinder from VNDK." into qt-r1-dev-plus-aosp 2019-10-01 15:53:28 +00:00
Yo Chiang
036d91d723 Merge "Enable mainline checking for mainline_system_arm64" am: efd0d2da0f am: ee69213ce1 am: ae27edc14f
am: b0f465c501

Change-Id: If0a386a8c6abaab5a46bf17803d42874c14e4194
2019-10-01 03:03:33 -07:00
Yo Chiang
ae27edc14f Merge "Enable mainline checking for mainline_system_arm64" am: efd0d2da0f
am: ee69213ce1

Change-Id: Ib4625afb59559935478764e1f7d5d59a8a78e71a
2019-10-01 02:52:01 -07:00
Yo Chiang
ee69213ce1 Merge "Enable mainline checking for mainline_system_arm64"
am: efd0d2da0f

Change-Id: I411a4ee5c3d21e66d4bba3197234a2330a226422
2019-10-01 02:45:31 -07:00
Yo Chiang
b58789b5b1 Enable mainline checking for mainline_system_arm64
Ensure only /system partition modules defined in mainline_system.mk is
included.

Test: lunch mainline_system_arm64-userdebug; m
Change-Id: I0cf9e28dd95fdc0f8f1eb88aefa07e230223b996
2019-10-01 14:36:11 +08:00
Steven Moreland
6e0cde8c98 Remove libhidltransport/libhwbinder from VNDK.
Since they are empty.

Bug: 135686713
Test: builds
Change-Id: Ic7206bfc4fb3ba481ea025eb709054c6b8fc307d
(cherry picked from commit 344e791de74c1de8df770b6189988e2224e1b948)
2019-10-01 01:40:09 +00:00
Huan Song
572ce182ef [MultiDisplay] remove emulator_system.mk
emulator_system.mk was required by MultiDisplay app to install and
run in system/priv_app. Since MultiDisplay app has been removed to
system_ext partition, it is safe to remove the emulator_system.mk

Bug: 141870812

Test: MultiDisplay has been verified to work with sdk_phone_x86/64 user/userdebug
sdk_gphone_x86/64 user/userdebug

Change-Id: I8db33ce9c037585ba65f09164afcfb2655710b81
2019-09-30 12:53:08 -07:00
Pete Bentley
e28c732521 Install BoringSSL self test binaries to vendor image.
Required in order to run test self test for the vendor copy of
libcrypto.so which may differ from the one in /system and so will use
differently name flag files in order to avoid running the BoringSSL
Known Answer Tests on every process startup, impacting system health.

Bug: 141150335
Test: TH
Change-Id: I1db922379a59fa66fc65b6d92d370f33a2c65799
Merged-In: I1db922379a59fa66fc65b6d92d370f33a2c65799
(cherry picked from commit e3ab8eab25)
2019-09-30 20:38:05 +01:00
Kiyoung Kim
5b91165d94 Merge "Add library list for VNDK using core variant" am: 1f9387ae01 am: 24dc38bed9 am: ee63d8fbbc
am: 2a95dbce29

Change-Id: I54ed1ad37beb96bc7c9a20ba49a1b4b9b124ee63
2019-09-29 19:30:40 -07:00
Kiyoung Kim
ee63d8fbbc Merge "Add library list for VNDK using core variant" am: 1f9387ae01
am: 24dc38bed9

Change-Id: If76bd330b6546f077bf375e6f2cfd02110bb77de
2019-09-29 19:17:32 -07:00