Commit Graph

5425 Commits

Author SHA1 Message Date
Anton Hansson 826d0d1f9e Merge "Add libdrm to mainline_system" 2019-04-12 15:16:28 +00:00
Anton Hansson edf841f8aa Merge "Add libdrm to mainline_system" into qt-dev
am: a7d290cbad

Change-Id: I67147d10d3056dfd43ca61ec9ce101aa071cb9ec
2019-04-12 04:03:22 -07:00
Anton Hansson 6f964f579d Add libdrm to mainline_system
Used by things on /product.

Bug: 130023865
Test: make
Change-Id: I564c6d823ac7e04d6a41dfd1ceb7074755b0bfd8
Merged-In: I564c6d823ac7e04d6a41dfd1ceb7074755b0bfd8
2019-04-12 11:55:20 +01:00
Isaac Chen 90bfda1cc4 Change emulator system image to unsparse format
Currently, emulator system image is the non-legasy GSI, which is in sparse
format. Several internal clients don't support sparse format, and other
internal/external clients usually support both. The reason to choose sparse
format for GSI may not be valid any more. See bug for detail.

Bug: 130341962
Test: Checked the header of system.img to see if it's unsparse.
      Boot emulator aosp_x86 successfully.
      Boot mixed GSI and CF x86 successfully.

Change-Id: I839f49809429227607b2e876a4a3628df43a97b4
2019-04-12 13:16:34 +08:00
Anton Hansson 92c66b3daa Add libdrm to mainline_system
Used by things on /product.

Bug: 130023865
Test: make
Change-Id: I564c6d823ac7e04d6a41dfd1ceb7074755b0bfd8
2019-04-11 17:00:24 +01:00
Dan Willemsen b801fa66ad Merge "Stop using build/target -> build/make/target symlink" am: e3ef041244
am: db1e6e9cbc

Change-Id: I3900e2c73b2379a9b4d36576f3e9d02bd4dd24b7
2019-04-10 13:46:36 -07:00
Dan Willemsen 0ab1be6fe2 Stop using build/target -> build/make/target symlink
Instead, fully specify build/make/target/... everywhere

Test: treehugger
Change-Id: Idf89b2e6a0b777adbfb6370ea34f35faee6d4965
2019-04-09 21:35:37 -07:00
Mathieu Chartier c2311c3394 Merge "Specify default image block size of 512KB by default" am: d7d6e9d671
am: ec870fe90c

Change-Id: I02dde099774eed34ab2fab9305bec86cd388c1c1
2019-04-09 08:48:17 -07:00
Mathieu Chartier d7d6e9d671 Merge "Specify default image block size of 512KB by default" 2019-04-09 15:31:54 +00:00
Paul Duffin 12516509b4 Merge "Remove android.test.base from bootclasspath" am: 70a875afec
am: bff6f6e65d

Change-Id: I9a57f7eb342101fdc3f181edfdd79a3da5930147
2019-04-09 05:27:29 -07:00
Anton Hansson 4844d4f3c7 Enable JIT Zygote experiment in mainline boardconfig
Like Ie413f84c545c869ee336912a7b05ca80bb968129, but for all
mainline devices.

Bug: 119800099
Test: m
Change-Id: Ief77adaea61203a013f85cf870c5350253fdb7dd
Merged-In: Ief77adaea61203a013f85cf870c5350253fdb7dd
2019-04-09 13:02:44 +01:00
Paul Duffin 70a875afec Merge "Remove android.test.base from bootclasspath" 2019-04-09 10:35:41 +00:00
Anton Hansson bba55ee2aa Merge "Enable JIT Zygote experiment in mainline boardconfig" am: f49c38c2c1
am: 40af566c4f

Change-Id: Ifffad6407b7bc95e0e7111046e1507f916266a3d
2019-04-09 02:14:25 -07:00
Mathieu Chartier 6cbc3899b3 Specify default image block size of 512KB by default
Enables parallel decompression.

Test: manual
Bug: 116052292
Change-Id: I172935c8dd9c729199d9015e82487f84018bb9f4
2019-04-08 13:56:40 -07:00
Paul Duffin fad04b7591 Remove android.test.base from bootclasspath
Default to exclude android.test.base from the bootclasspath unless the
REMOVE_ATB_FROM_BCP flag is set to false.

Bug: 73711752
Test: make droid, flash, atest -p cts/tests/signature/
Change-Id: Iabcda707ff0f0b4ec7cade1125938a2759af8f76
2019-04-08 10:32:05 +01:00
Mathieu Chartier 39adb5535d Revert "Turn off app image startup cache temporarily"
This reverts commit 8ef74918a9.

Bug: 128941180
Test: TH

Reason for revert: Regressions are mostly fixed

Change-Id: I4bef949b4ac9b11523482c6714345a250c11573a
2019-04-05 15:58:55 -07:00
Lajos Molnar 953dc98790 Merge "allow actually 140MB vendor partition space" into qt-dev 2019-04-05 18:09:36 +00:00
Lajos Molnar 6c95d826e8 Merge "media: remove soft OMX components from VNDK" into qt-dev 2019-04-05 18:09:36 +00:00
Anton Hansson 66bd1852f1 Enable JIT Zygote experiment in mainline boardconfig
Like Ie413f84c545c869ee336912a7b05ca80bb968129, but for all
mainline devices.

Bug: 119800099
Test: m
Change-Id: Ief77adaea61203a013f85cf870c5350253fdb7dd
2019-04-05 18:45:17 +01:00
Anton Hansson 0e3a76e755 Merge "Move device-specific vars from mainline common" into qt-dev 2019-04-05 16:01:34 +00:00
Lajos Molnar 0fb6fcca27 allow actually 140MB vendor partition space
Bug: 129710438
Change-Id: I93bfe7f25f16a8e48871db7357ec587c21dcc7d6
2019-04-04 21:59:30 +00:00
Lajos Molnar 0c8d2b748c media: remove soft OMX components from VNDK
Bug: 129710438
Change-Id: I23b2ab67d05895f4c9085b8ac878dcf45200e18f
2019-04-04 19:09:20 +00:00
Lajos Molnar 9d2acacd52 media: move com.android.media.swcodecs to base_system.mk.
This can now be supported on all devices.

Bug: 129710438
Change-Id: Ide0921361ce6b22655f6f5a2695fc892dbe47998
(cherry picked from commit 4609a369d4)
2019-04-04 19:06:40 +00:00
Anton Hansson 9ca0c27be6 Move device-specific vars from mainline common
Move a couple of variables out of BoardConfigMainlineCommon
because they vary either by device or by how they build in
AOSP vs internal.

Bug: 80410283
Test: presubmit
Change-Id: Ia42df91ad8c8d8fc4618be375a17ea23896f4352
Merged-In: Ia42df91ad8c8d8fc4618be375a17ea23896f4352
2019-04-04 18:47:48 +01:00
Anton Hansson 91aa9414c0 Move device-specific vars from mainline common
Move a couple of variables out of BoardConfigMainlineCommon
because they vary either by device or by how they build in
AOSP vs internal.

Bug: 80410283
Test: presubmit
Change-Id: Ia42df91ad8c8d8fc4618be375a17ea23896f4352
2019-04-04 17:33:51 +01:00
TreeHugger Robot ec5b7c5646 Merge "Remove Arvo/Lato/ArbutusSlab/Rubik fonts from all product targets." 2019-04-03 22:14:49 +00:00
Amin Shaikh 288ec50c08 Remove Arvo/Lato/ArbutusSlab/Rubik fonts from all product targets.
For OEMs that would like to include these fonts, feel free to include
them in product targets outside of this project.

Bug: 123701811
Test: make
Change-Id: I641477e24155e3e1c0a97f484a500aa155b1a9c4
2019-04-03 21:45:44 +00:00
Yifan Hong 058ddaea8d Merge "Add libcgrouprc.so to LL-NDK" 2019-04-03 19:08:51 +00:00
Yifan Hong 02799d98a3 Merge "Add libcgrouprc.so to LL-NDK" 2019-04-03 16:41:21 +00:00
Anton Hansson d235946a3d Merge "Add more product defaults to mainline.mk" am: 7369b7622f am: b35434d9bf
am: ce2754f57c

Change-Id: I2c12bd0b250f45a4b3e538c2a6ea081f6d2acdad
2019-04-03 02:33:26 -07:00
Nicolas Geoffray add5c3b658 Merge "Re-order the ext/framework boot jars in bootclasspath." am: 31a7dee48b am: 2c142f1178
am: 719b51b400

Change-Id: I68d9fa0af7681b34989725b15a1f36d01ed58364
2019-04-03 01:37:41 -07:00
Anton Hansson 7369b7622f Merge "Add more product defaults to mainline.mk" 2019-04-03 08:28:06 +00:00
Nicolas Geoffray 31a7dee48b Merge "Re-order the ext/framework boot jars in bootclasspath." 2019-04-03 07:27:55 +00:00
Yifan Hong 4ceadcda40 Add libcgrouprc.so to LL-NDK
Bug: 123664216
Test: builds
Change-Id: I8228580879c6eb3d44a9111a6ed09b328df4a2c8
Merged-In: I8228580879c6eb3d44a9111a6ed09b328df4a2c8
2019-04-02 22:32:34 -07:00
Dan Willemsen 4f447f1415 Merge "Remove a few entries from PRODUCT_HOST_PACKAGES" am: 9e4e30e219 am: 7954503ea1
am: d800adb979

Change-Id: I7bf1a4f4c0b2e53bf19fb53238f0fb641eec36a3
2019-04-02 20:34:24 -07:00
Dan Willemsen a15c3a838d Remove a few entries from PRODUCT_HOST_PACKAGES
adbd shouldn't be needed on the host in most cases

selinux_policy_system is a device PHONY_PACKAGE that will stop working
soon in PRODUCT_HOST_PACKAGES. I talked to jeffv and he's fine removing
it for now, adding back individual binaries if desired, or creating a
new host PHONY_PACKAGE.

shell_and_utilities_system is a similar device phony module. enh is fine
with it not being installed on the host by default for now, and we can
add them back as needed.

Test: treehugger
Change-Id: I1938f9f4ea5dbea2905baaf301473b617de9c530
2019-04-02 16:03:28 -07:00
Nicolas Geoffray bfe65c6a1b Re-order the ext/framework boot jars in bootclasspath.
Order of those doesn't matter, and the new order simplifies b/119800099.

Test: m and boots
Bug: 119800099
Change-Id: I9667a8d49ae751dfe713e37483548a58dfb25bd4
2019-04-02 17:56:07 +00:00
Colin Cross 00d8c4b64e Merge "Remove media_cmd from product packages" 2019-04-02 16:39:04 +00:00
Martin Stjernholm ff2f484864 Merge "Drop libsigchain from the system image." am: c712ac1001 am: 683996193e
am: 11eb0df260

Change-Id: I0af560e8e50f2cbd8c6435967092f46eb4082635
2019-04-01 12:37:25 -07:00
Martin Stjernholm f8b6fefcd1 Drop libsigchain from the system image.
It is now in the Runtime APEX and considered internal there.

Test: Flash and boot
Test: atest CtsCompilationTestCases CtsBionicTestCases
Bug: 118374951
Bug: 124293228
Change-Id: I33bb9c238d7db46795deb592c9d20fe6591c1654
2019-04-01 18:37:06 +01:00
Yifan Hong d89aacf6d5 Add libcgrouprc.so to LL-NDK
Bug: 123664216
Test: builds
Change-Id: I8228580879c6eb3d44a9111a6ed09b328df4a2c8
2019-04-01 09:36:31 -07:00
Bowgo Tsai 8859e60fd7 Merge "Adding gsk_keys.mk" am: a719f02197 am: 016e83a83a
am: f3e70324f1

Change-Id: Ifd2a307669c879c3b59e9300bcdedae7ca313158
2019-04-01 07:14:08 -07:00
Anton Hansson 5aa8db53a2 Add more product defaults to mainline.mk
Replicate aosp_blueline's configuration, which is shared with other
pixels, and explicitly repurpose this to be a generic AOSP mainline
device.

Clean up associated whitelist entries in gsi for the apps I'm
moving to /product in the same topic.

Bug: 129077057
Test: boot aosp_blueline
Test: browse ringtones
Change-Id: I8424cb23923987d2176369f93b479fc827fbabef
2019-04-01 13:24:38 +01:00
Bowgo Tsai a0e177edba Adding gsk_keys.mk
Adds the following line into a device.mk in order to include
GSI keys into the first-stage ramdisk.

   $(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_keys.mk)

Bug: 112293933
Test: make checks $OUT/ramdisk/avb/.
Change-Id: I8e4a9a8dd607916a3f45a07e0ba14c58def5d8d3
2019-04-01 18:24:35 +08:00
Jiwen Cai c03e3c9341 Merge "Remove android.frameworks.bufferhub@1.0-service" 2019-03-31 23:37:44 +00:00
Colin Cross c20033f974 Remove media_cmd from product packages
The jar for the media command line tool is now installed as a
dependency of the media package.

Bug: 122332340
Test: lunch generic-eng && m nothing
Change-Id: I15ef7cb373ff249887f5641ca9c9722bfc3263a2
Merged-In: I15ef7cb373ff249887f5641ca9c9722bfc3263a2
2019-03-29 16:35:06 -07:00
Jiwen 'Steve' Cai eee1046b50 Remove android.frameworks.bufferhub@1.0-service
Disable this for Q. We will add this back once Q branches.

Bug: 128320950
Bug: 123429755
Test: Build system
Change-Id: I1d360c7a8890148be6197092ba149203a72a019d
2019-03-29 11:51:42 -07:00
Colin Cross a13f3750f4 Remove media_cmd from product packages
The jar for the media command line tool is now installed as a
dependency of the media package.

Bug: 122332340
Test: lunch generic-eng && m nothing
Change-Id: I15ef7cb373ff249887f5641ca9c9722bfc3263a2
2019-03-29 11:04:19 -07:00
Dan Willemsen e5b842206f Merge "Stop installing host packages via PRODUCT_PACKAGES" am: 672e98fac8 am: cc2155aa37
am: 7e8cc8ce6c

Change-Id: I13151a5e1918d5de18dbda6939da14a4d1be36b1
2019-03-28 20:34:08 -07:00
Dan Willemsen 672e98fac8 Merge "Stop installing host packages via PRODUCT_PACKAGES" 2019-03-29 03:20:52 +00:00
TreeHugger Robot bc1246688d Merge "Revert "Revert "Add libstagefright_omx_soft to vndk""" 2019-03-28 02:34:25 +00:00
Chong Zhang f36de45bf8 Revert "Revert "Add libstagefright_omx_soft to vndk""
This reverts commit aabadd18ae.

Reason for revert: Reland

Change-Id: I02dee8cd07283f484efa48265495fa3839701d50
2019-03-27 18:53:40 +00:00
SzuWei Lin e62a8b3d0e Merge "Phase out all _a targets" am: fde506a6d7 am: 969c3cd3ba
am: c31910805e

Change-Id: I4b9230194542440fe49fa6f82294e48cc348feca
2019-03-27 06:20:20 -07:00
John Tsai e3721ac8c0 Merge "Revert "Add libstagefright_omx_soft to vndk"" 2019-03-27 05:06:49 +00:00
John Tsai aabadd18ae Revert "Add libstagefright_omx_soft to vndk"
This reverts commit cb867c9a96.

Reason for revert: more build break on below, revet it together.

Removed VNDK-core: libstagefright_omx_soft.so
error: VNDK library list has been changed.
Run update-vndk-list.sh to update build/make/target/product/gsi/current.txt

Change-Id: I4846cdfe612c01cf9f9cab5a077a5782ff52e915
2019-03-27 05:05:50 +00:00
SzuWei Lin b90ffb0f9a Phase out all _a targets
The _a targets are build for Legacy GSI for non-system-as-root
partition layout devices. The Android build system is not able
to build a system image with non-system-as-root anymore.
Also, `init` supports mounting system-as-root system image at
all, all devices should no problem to mount it.

Bug: 124278972
Test: none
Change-Id: I9c56e7e5d8517a630854f030616c3b3ecb94b9a8
2019-03-27 12:16:43 +08:00
TreeHugger Robot bbc5debb3a Merge "Add libstagefright_omx_soft to vndk" 2019-03-27 03:01:23 +00:00
Anton Hansson 6e1026e591 Merge "Unset system-as-root for mainline" am: 2f5e18362b am: d3229a7179
am: 508d4a2797

Change-Id: I4edec0fd236f7c53087f436a2ddfd3c65cca7ee5
2019-03-26 14:26:33 -07:00
Anton Hansson 2f5e18362b Merge "Unset system-as-root for mainline" 2019-03-26 19:34:13 +00:00
Anton Hansson b73674c62f Merge "Move EmergencyInfo to the /product hierarchy" am: cd0997c1e9 am: fb69403773
am: e7ef1b2cb9

Change-Id: Idc2f0fd6a9fd9895a5720d7f94de563f0c8c4a47
2019-03-26 06:15:40 -07:00
Anton Hansson cd0997c1e9 Merge "Move EmergencyInfo to the /product hierarchy" 2019-03-26 12:39:09 +00:00
Orion Hodson a9dc8880b8 Merge "Add art-tools to host build outputs" am: 484e82f7ca am: b3c665b28b
am: f372581dea

Change-Id: Id5d635de586d78b16b9fe7fd669627ea4186e107
2019-03-26 02:54:55 -07:00
Treehugger Robot 484e82f7ca Merge "Add art-tools to host build outputs" 2019-03-26 09:29:48 +00:00
Anton Hansson cd2f94407c Unset system-as-root for mainline
This flag is not allowed to be true when dynamic partitions are
enabled, which mainline devices are expected to do.

Bug: 80410283
Test: make
Change-Id: I50c9fe9332ea1490a84484f9311cfe001a083754
2019-03-26 09:22:07 +00:00
Chong Zhang cb867c9a96 Add libstagefright_omx_soft to vndk
This is the base of all soft omx components, plugins
only need to link this instead of libstagefright_omx.

bug: 129272021
test: builds
Change-Id: I7fcf03d23ab7ed93269532bab55c972585178ad5
2019-03-25 15:07:41 -07:00
Anton Hansson 735aa9180e Move EmergencyInfo to the /product hierarchy
The app is moving to /product.

Bug: 122353713
Test: build_test
Change-Id: I78dc47963de21b8966fdfe15ce18695bf0747221
2019-03-25 19:52:06 +00:00
Anton Hansson 0af2847ba0 Merge "Make mainline device enable property split" am: 072795054a am: cc85e0377c
am: 802e6faa77

Change-Id: I055a9967654e1efee1274d28cdea45b8113e43b7
2019-03-25 11:59:58 -07:00
Orion Hodson b099a10add Add art-tools to host build outputs
Building of host tools stopped when moving to APEX. This change
re-enables building of host tools.

Bug: 128990084
Test: m -j72 && find out -name 'oatdump'
Change-Id: Iad42b4e36561001709634174014192e56a64aafd
2019-03-25 13:36:59 +00:00
Anton Hansson 018bd137b7 Make mainline device enable property split
This setting moves the PRODUCT_PROPERTY_OVERRIDES to
the vendor partition.

Bug: 80410283
Test: tail system/build.prop | grep ro.carrier=
      (empty)

Change-Id: I30d564fbd2dd3b56763ccff77979b223857f1c2f
2019-03-25 10:53:07 +00:00
Anton Hansson 5fbbea2d18 Merge "Set file system types for mainline_arm64 partitions" am: 9274688574 am: 3632d053d0
am: eb49e55ad7

Change-Id: I3365a50b76f9e9116db48b75aa2c591f155bc414
2019-03-25 02:41:15 -07:00
Anton Hansson 6572dc41c3 Merge "Make mainline_system_arm64 build only /system" am: 115292896a am: 27ade4181f
am: f5c94a9570

Change-Id: Ia7abef0ee930bf34d3154a085c7a8c99042eaaae
2019-03-25 02:39:59 -07:00
Anton Hansson ccf93e6096 Merge "Enable AB_OTA_UPDATER for mainline" am: 30355b60f7 am: fa96c5c4a0
am: 5d6db45d82

Change-Id: I752e88c304e500e374ae42c3218ca4647e493374
2019-03-25 02:38:52 -07:00
Anton Hansson 9274688574 Merge "Set file system types for mainline_arm64 partitions" 2019-03-25 09:24:16 +00:00
Anton Hansson 115292896a Merge "Make mainline_system_arm64 build only /system" 2019-03-25 09:23:30 +00:00
Anton Hansson 30355b60f7 Merge "Enable AB_OTA_UPDATER for mainline" 2019-03-25 09:20:32 +00:00
Anton Hansson 1683198010 Set file system types for mainline_arm64 partitions
This config was in a weird state where it sets the OUT
directory for these partitions but not the file system
type. Within the build system, both of these variables
are used interchangeably to check whether these partitions
are expected to be present.

A typical mainline device is expected to /vendor and
/product, so just add these.

Bug: 120974093
Test: make
Change-Id: I803d7afdcadc37e4384ae80f08bc1c8db535d2f4
2019-03-22 17:25:43 +00:00
TreeHugger Robot 1a7864212c Merge "Rename module DynamicAndroidInstallationService" 2019-03-22 17:21:39 +00:00
Anton Hansson 07fa9b13b4 Make mainline_system_arm64 build only /system
Configure this product not to build any of the other partitions.

Note that the only partition that currently has artifacts produced
is system_other, and this change doesn't appear to prevent odex/vdex
files from being created there anyway. However, it does allow
configuring the target device (mainline_arm64) to have more partitions
in a followup change.

Bug: 111533333
Test: make
Change-Id: Ib115cb03bc99b9b61e0d6f1b622784e7ad5fcea0
2019-03-22 14:07:49 +00:00
Bowgo Tsai dfac317006 Merge "Adding adb_debug.prop" am: 9da9c32e80 am: b25582f91b
am: 9a6455b071

Change-Id: I6e4828c6a1271a4ccbd4ac959cf0aa3295d37360
2019-03-22 06:27:23 -07:00
Bowgo Tsai a280a66b5a Adding adb_debug.prop
The adb_debug.prop will be loaded by init when the file
/force_debuggable is present in the first-stage ramdisk, and the device
is unlocked. This file has the highest priority to override other system
properties, thus can override ro.debuggable to 1 to allow adb root.

Bug: 126493225
Test: boot a device with /force_debuggable in ramdisk, checks
      adb_debug.prop is loaded

Change-Id: I75d661bb04178f584d8b6f5eba26ae35ccb01239
2019-03-22 11:43:33 +08:00
Anton Hansson 571fab0610 Enable AB_OTA_UPDATER for mainline
The file $(TARGET_OUT_ETC)/update_engine/update-payload-key.pub.pem
is installed conditionally based on this variable, and was found
to differ between mainline_system and the intended device targets.

Also move the variable from gsi_common.mk as GSI inherits the mainline
boardconfig. The variable is not a PRODUCT flag (and not inherited as
such), so fits better in the BoardConfig I think.

Bug: 80410283
Test: presubmit
Change-Id: Ida6fa923fd01b062ff3b93e7737e1e6edf7e4fa1
2019-03-21 14:54:43 +00:00
Anton Hansson 59b25b4dec Merge "Remove protobuf-cpp-full-rtti from mainline" am: 299d782ecd am: ce0f3e8510
am: 5c915e20b1

Change-Id: I583dab2825c3a7dfe39dc3b4a838fcba92e11608
2019-03-20 11:17:46 -07:00
Dan Willemsen 2e79dafed1 Stop installing host packages via PRODUCT_PACKAGES
Test: treehugger
Change-Id: I24ac93f3558116f4ddd96d22ef9bbd47240fdd06
2019-03-20 10:29:42 -07:00
Anton Hansson 3e69a4a52d Remove protobuf-cpp-full-rtti from mainline
It used to be depended on by something on /product, but this
is no longer the case.

Bug: 119619080
Test: build downstream users of mainline_system
Change-Id: Iabe1dbb45499b25295f741a62336cb86e4565d60
2019-03-20 13:03:42 +00:00
Mathieu Chartier 8ef74918a9 Turn off app image startup cache temporarily
Until other regressions in the platform are fixed.

Bug: 128941180
Test: make
Change-Id: I51aafa9bf9469fb9e3257e75ef5ee94b0b223abb
2019-03-19 18:06:49 -07:00
SzuWei Lin b3ba5843f2 Merge "Disable RescueParty in GSI temporary" am: 39f88f9c28 am: b9bf035c60
am: ff91a64d85

Change-Id: Ic120b0cb84de828548772f59712ee680f31aa73d
2019-03-18 04:27:41 -07:00
Treehugger Robot 39f88f9c28 Merge "Disable RescueParty in GSI temporary" 2019-03-18 11:12:45 +00:00
Po-Chien Hsueh a1380a54a4 Rename module DynamicAndroidInstallationService
Rename this module to DynamicSystemInstallationService per one of
the API review suggestions.

Bug: 126613281
Test: build, install, and check the module is there
Change-Id: I2b1d2ba787c8d76f770ede23e90b4e09f7e4c143
2019-03-18 07:15:50 +00:00
Tao Bao 22f3f54345 Merge "Include charger.recovery for recovery." am: bc2f9ce2c1 am: f740f57ca8
am: 1efdbad8ea

Change-Id: Id9211411d0234a0a264422a8c426cb251a58cd5b
2019-03-14 10:17:00 -07:00
Tao Bao bc2f9ce2c1 Merge "Include charger.recovery for recovery." 2019-03-14 16:56:29 +00:00
SzuWei Lin 4fff0440b0 Disable RescueParty in GSI temporary
RescueParty reboot the device to recovery mode if there is any
priv app die continuously. The behavior blocks the testing.
Disable the feature temporary before all problem apps fixed.

Bug: 120679683
Test: Boot a device with GSI and a die app
Test: Unplug USB and does not auto reboot
Change-Id: I70e5b7222299c6d0173d87e41d7a68beeda77dd5
2019-03-14 22:43:02 +08:00
Remi NGUYEN VAN 63ab02ff68 Merge "Move NetworkStack in-process from lib to APK" am: c6bf520424 am: 0dda351bf0
am: 3ea98a1d22

Change-Id: I63d45ae55d5740b0438c3462cec4391387552b98
2019-03-11 19:12:35 -07:00
Remi NGUYEN VAN c6bf520424 Merge "Move NetworkStack in-process from lib to APK" 2019-03-12 01:37:26 +00:00
SzuWei Lin 81a3f0f4de Merge "Fix some system property missing problem on aosp_* targets" am: bc1e820f25 am: 37e3fd9887
am: c72c066545

Change-Id: If5d6dc33cddb8dc1b72c39ad59d1a5b6d48b2b05
2019-03-11 09:50:12 -07:00
Treehugger Robot bc1e820f25 Merge "Fix some system property missing problem on aosp_* targets" 2019-03-11 16:10:22 +00:00
TreeHugger Robot 3a6a7f8055 Merge "Move mediaswcodec process to apex" 2019-03-08 19:46:28 +00:00
SzuWei Lin ace19f63fe Fix some system property missing problem on aosp_* targets
Some PRODUCT_PROPERTY_OVERRIDES has no effect, ex.
ro.dalvik.vm.native.bridge=0 in runtime_libart.mk,
because gsi_common.mk uses ':=', not '+='.

Bug: 125829345
Test: build aosp_arm64-userdebug
Test: check the properties in /vendor/build.prop
Change-Id: Ib5e026069e7919fed8a00f905f3dbaa15042107f
2019-03-08 18:16:54 +08:00
Remi NGUYEN VAN e6fcb468d8 Move NetworkStack in-process from lib to APK
This makes the in-process configuration closer to the "standard" module
configuration, by using an APK in both cases, but making sure that
svelte builds use an in-process service to avoid the memory impact.

Bug: 127908503
Test: svelte build boots and has functional WiFi
Change-Id: I59f44df7c23a24429e9fe6be034260373e33a994
2019-03-08 17:42:59 +09:00
Chong Zhang 4c1d7f8dba Move mediaswcodec process to apex
bug: 127499775
test:
- adb shell lshal debug android.hardware.media.c2@1.0::IComponentStore/software
check all software c2 codecs are still listed
- clean-built image shouldn't have mediaswcodec in /system/bin
- atest CtsMediaTestCases -- --module-arg CtsMediaTestCases:size:small

Change-Id: I649ba743b9fc82445e5f1e2ad44247e4a3392e4c
2019-03-07 10:03:19 -08:00
Dan Willemsen 3d05a08a6f Reland "First pass at creating PRODUCT_HOST_PACKAGES"
Adds icu-data_host_runtime_apex to fix unbundled builds which pull it in
via PRODUCT_PACKAGES, but are missing packages that would pull it in via
PRODUCT_HOST_PACKAGES.

Test: build/soong/build_test.bash
Test: in ub-timezonedata-master; tapas TimeZoneData; m
Change-Id: I1583c7582b386c3e8478711cb1df340518d763c1
Merged-In: I1583c7582b386c3e8478711cb1df340518d763c1
2019-03-06 14:46:06 -08:00
Dan Willemsen 4a70a19f84 Reland "First pass at creating PRODUCT_HOST_PACKAGES"
Adds icu-data_host_runtime_apex to fix unbundled builds which pull it in
via PRODUCT_PACKAGES, but are missing packages that would pull it in via
PRODUCT_HOST_PACKAGES.

Test: build/soong/build_test.bash
Test: in ub-timezonedata-master; tapas TimeZoneData; m
Change-Id: I1583c7582b386c3e8478711cb1df340518d763c1
2019-03-04 18:03:14 -08:00
TreeHugger Robot 9d5ca5d86e Merge "Add Codec2 and BufferPool vndk modules" 2019-03-05 00:13:00 +00:00
Tao Bao 2173bc1cf2 Include charger.recovery for recovery.
It used to be installed to recovery with the rsync from normal root to
recovery root.

Bug: 114042635
Test: `m -j bootimage` with aosp_walleye-userdebug.
Change-Id: If3451f21018f271b1df83a31d4ece382e0dfebb9
2019-03-04 11:46:29 -08:00
Pawin Vongmasa 0eaaccb529 Add Codec2 and BufferPool vndk modules
Test: Builds

Bug: 112362730
Change-Id: I89ae0924a4d2f3ba0296eb30aae2f966cd9a30eb
2019-03-03 17:02:16 -08:00
Yifan Hong 7a82913627 Merge "Build ODM manifests and fragments for each SKU." am: 5a4696e460 am: 9abd15f3c1
am: 934174f0bd

Change-Id: Ia088e5a7445e2701920307c65647def62589dd78
2019-03-01 11:00:14 -08:00
Yifan Hong 5a4696e460 Merge "Build ODM manifests and fragments for each SKU." 2019-03-01 18:32:32 +00:00
TreeHugger Robot 00ff89e442 Merge "Change to configstore 1.1" 2019-03-01 06:39:43 +00:00
Martin Stjernholm c62dcaf4e4 Merge "Remove libnpt from system again." am: 1b9a0c8f7d am: 6dddea74a3
am: e46f28cf7c

Change-Id: Ib424fcf66994a565d99a1fb7d6a7340113ca8df7
2019-02-28 19:03:38 -08:00
Treehugger Robot 1b9a0c8f7d Merge "Remove libnpt from system again." 2019-03-01 02:23:50 +00:00
Martin Stjernholm 616dc79043 Remove libnpt from system again.
http://r.android.com/914573 fixes libjdwp to look for it in the APEX.

Test: Flash and boot
Test: adb forward tcp:5555 jdwp:`adb shell pidof com.android.email` && jdb -attach localhost:5555
Test: atest CtsJdwpTestCases
Bug: 124498388
Change-Id: Idf380660a21c88969e42d6a03a6b50fd2baa4c17
2019-02-27 20:51:56 +00:00
Ray Essick 2fa0b813a3 Merge "Remove libmediaplayerservice from base components" 2019-02-26 21:57:42 +00:00
Lingfeng Yang fbae04c480 Merge "Add more space in the sdk image for an updated swiftshader" am: aa39d0bdbc am: 60928d7ea8
am: cdca859619

Change-Id: I72dad71a4cb0264cfbddc1549cb8fcfad328e651
2019-02-26 08:34:50 -08:00
Cody Schuffelen 45dd92e51b Add more space in the sdk image for an updated swiftshader
Related change: aosp/907158.

Bug: 124530765
Test: TreeHugger
Change-Id: Id9313c3900dae90696101c83d04827d4ee5911bf
2019-02-26 00:21:17 -08:00
Ray Essick a8e1d084bb Remove libmediaplayerservice from base components
Let libmediaplayerservice be pulled as a dependency from mediaserver. This
also means that it only pulls in the flavor (32/64-bit) needed for mediaserver.

Bug: 16890215
Test: build, check results, boot
2019-02-25 21:00:15 -08:00
Orion Hodson 561c9a0bf5 Merge "Add libartpalette-system" am: 6997dbd6ca am: 1cc983f9b2
am: 4a3b7fa166

Change-Id: I54271964ac4d70e09e2b319eff1ec2bc2e19a704
2019-02-22 20:50:30 -08:00
Dan Willemsen 086f8f002c Revert "First pass at creating PRODUCT_HOST_PACKAGES"
This reverts commit 7218a21ed0.

Reason for revert: broke some side branches, and the mac build

Change-Id: Ifa52f2dbf9a383f69e07ba0aceb4742b05376364
Fixes: 125912305
2019-02-22 22:02:23 +00:00
Sundong Ahn a1bd079779 Change to configstore 1.1
The configstore 1.2 will be deleted. So changed to configstore 1.1 in
PRODUCT_PACKAGES and remove configstore 1.2 in vndk.

Bug: 124531214
Test: build & boot
Test: adb shell lshal | grep configstore & check configstore 1.2
Change-Id: I2c9e1f8b5dc7616112d2602cac22059a05e59901
2019-02-22 12:06:03 +09:00
Dan Willemsen 7218a21ed0 First pass at creating PRODUCT_HOST_PACKAGES
This only defines PRODUCT_HOST_PACKAGES as a concept, and requires that
it contain at least all of the files that would be installed to the host
from PRODUCT_PACKAGES (minus libraries, as those are expected to be
installed based on what's required by other modules).

It does not actually change what will be built, that will happen in a
future change.

Test: build/soong/build_test.bash
Change-Id: Ie502b1a483f821b957cfd407c31a93e243896dae
2019-02-20 12:58:37 -08:00
Orion Hodson 13ef2eb458 Add libartpalette-system
Test: ssh to mac, lunch, build, flash, boot device.

Change-Id: Iddeb6b7e69edbf260be1148428fd9aa468d4559d
2019-02-20 13:36:07 +00:00
Bowgo Tsai cf82764987 Merge "GSI vbmeta.img: set rollback_index to zero" am: 93030e3f4d am: 8ef0dae2c6
am: 12d9c24978

Change-Id: Ic8e133ef3ff8743806086b0f06afb6ab64b6d0de
2019-02-19 17:54:52 -08:00
Treehugger Robot 93030e3f4d Merge "GSI vbmeta.img: set rollback_index to zero" 2019-02-20 01:20:09 +00:00
Yifan Hong b321665b9d Build ODM manifests and fragments for each SKU.
In BoardConfig.mk, ODM manifests can be specify as follows:

    # installed to /odm/etc/vintf/manifest.xml
    ODM_MANIFEST_FILES := device/foo/bar/odm_manifest.xml

    # installed to /odm/etc/vintf/manifest_baz.xml
    ODM_MANIFEST_SKUS := baz
    ODM_MANIFEST_BAZ_FILES := device/foo/bar/odm_manifest_baz.xml

This is preferred over PRODUCT_COPY_FILES because it uses
assemble_vintf to check manifest at build time.

Test: builds

Change-Id: I18517b8ba09d3271627d6f21b8250b1bfc9e5db3
2019-02-19 12:37:50 -08:00
Bowgo Tsai c1a8f1a5d7 GSI vbmeta.img: set rollback_index to zero
The major purpose of vbmeta.img built on GSI targets (e.g., aosp_arm,
aosp_arm64, etc) is to disable AVB. We should also set the rollback
index to zero, to prevent the device bootloader from updating the
last seen rollback index in the tamper-evident storage.

Bug: 122583908
Test: build aosp_arm64, then `avbtool info_image --image $OUT/vbmeta.img`
Change-Id: I48a49957f8dd3169003b9507fe80e519f301d5b5
2019-02-19 10:38:40 +08:00
vichang 70eb134c7a Merge "Add a bug number in the TODO tag" am: 4ea3ad0e34 am: cdaa9001fe
am: 2adcb9f2fa

Change-Id: Ie8e46987eae236a5e82ccd755df98345195cb937
2019-02-18 10:06:22 -08:00
vichang 4ea3ad0e34 Merge "Add a bug number in the TODO tag" 2019-02-18 17:51:53 +00:00
Victor Chang 575379e30b Add a bug number in the TODO tag
- ICU4C is kept in PRODUCT_PACKAGES for the app compat issue

Bug: 124218500
Test: Treehugger
Change-Id: I9b98321c639e99c59e6a5ea45dd380f5f731a419
2019-02-18 11:54:07 +00:00
Luca Stefani 461aaf9635 Merge "Fix flags argument passed to avbtool for GSI images" am: 6867fd7dda am: 15c83f9713
am: 428b90c473

Change-Id: I1ee5bff4e7d2fe48abab0b50eeb64932c75ea9be
2019-02-17 21:46:54 -08:00
Treehugger Robot 6867fd7dda Merge "Fix flags argument passed to avbtool for GSI images" 2019-02-18 05:27:52 +00:00
Martin Stjernholm 3e572e0103 Merge "Add libnpt back into system." am: 611a99da84 am: 1ebf81e58f
am: 1fd20a5c6e

Change-Id: I953e253d1e89b9e0c96bd7fc79eee9b0a0384185
2019-02-15 09:19:56 -08:00
Martin Stjernholm fd0b822d09 Add libnpt back into system.
It must be there for libjdwp to find it and load the debugger transport
correctly. This is a temporary fix while we are looking into loading libnpt
from the Runtime APEX.

Bug: 124498388
Test: adb forward tcp:5555 jdwp:`adb shell pidof com.android.email` && jdb -attach localhost:5555
Test: atest CtsJdwpTestCases
Change-Id: I644c092c2ad5f6c9669bdccc24c7953d3be6b328
2019-02-15 15:08:50 +00:00
SzuWei Lin 6089834247 Merge "Fix booting problem on GSI with user build" am: b41ab14b1e am: 3e985e9b10
am: faffe14ea7

Change-Id: I34f18f0a5621429fae1abe110d5da2a19802c1fd
2019-02-15 02:54:26 -08:00
Treehugger Robot b41ab14b1e Merge "Fix booting problem on GSI with user build" 2019-02-15 10:37:44 +00:00
Remi NGUYEN VAN 9e79eb8719 Merge "Add test keys for networkstack" am: fc35e5aaa5 am: 661bfd4405
am: bc6517bf7e

Change-Id: I103b92197ae494b10a383ef8e72688968233336e
2019-02-14 22:38:17 -08:00
SzuWei Lin fd6d294c2b Fix booting problem on GSI with user build
GSI doesn't include gsi_system.prop on user build, and cause some
devices cannot boot GSI with user build. Some properies in
gsi_system.prop do not suitable for user build, the patch create
a new gsi_system_user.prop for GSI user build.

Bug: 124479721
Test: boot aosp_arm64-user on a blueline device.
Change-Id: Ide2bdc8e8733817afb832b50b28807768e22f011
2019-02-15 14:34:53 +08:00
Remi NGUYEN VAN fc35e5aaa5 Merge "Add test keys for networkstack" 2019-02-15 04:11:07 +00:00
Jiyong Park 70039c9f33 Merge "Revert "Add APK container signing key/cert pairs for APEXes"" am: da4ee462c7 am: 5f501b5127
am: fdc5c8439b

Change-Id: Ib3ca04a01d56b58e502796bf726c73134117e1aa
2019-02-14 11:16:12 -08:00
Treehugger Robot da4ee462c7 Merge "Revert "Add APK container signing key/cert pairs for APEXes"" 2019-02-14 18:42:47 +00:00
Suren Baghdasaryan b4ceb248c7 Merge "Add cgroups.recovery.json into recovery image" am: e57df508c4 am: 70072e97eb
am: 244ed1f4e3

Change-Id: I8bb86c8f850b96382ff6b94c932a4f13375787df
2019-02-14 10:28:14 -08:00
Suren Baghdasaryan 72546076c8 Add cgroups.recovery.json into recovery image
Use cgroups.recovery.json as /etc/cgroups.json during recovery.

Bug: 124270406
Test: "adb reboot sideload; adb devices" shows 'sideload' as expected
Change-Id: I0af01a6801da7ce29ddd7c30ad48be4f98c3a280
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-02-14 17:08:55 +00:00
Jiyong Park 2237d06a78 Revert "Add APK container signing key/cert pairs for APEXes"
This reverts commit 74f27716f3.

The key/cert pairs for APEXes are moved to the same directory where the
APEXes are defined.

Test: Check this for all APEXes
jarsigner -verify -verbose -certs out/target/product/blueline/system/apex/com.android.tzdata.apex shows
...
X.509, CN=com.android.tzdata, OU=Android, O=Android, L=Mountain View, ST=California, C=US

Change-Id: I8d867b434b93aa68cbc707fa20ed8dbd4cef755e
2019-02-15 00:39:47 +09:00
Martin Stjernholm 4124dedfa4 Merge "Disable installation of ART modules in /system." am: 6747fb91bb am: 49305909a8
am: 689a580f8d

Change-Id: I9aa42270ec87dafb116b3ef33c7ec795214acd45
2019-02-13 16:59:57 -08:00
Martin Stjernholm a568592f53 Disable installation of ART modules in /system.
Remove ART modules (`art-runtime`, `art-tools`) from `PRODUCT_PACKAGES`, as
they are provided by the Android Runtime APEX module
(`com.android.runtime`).

Copy of rpl's http://r.android.com/812674.

Test: Flash and boot
Test: atest CtsJniTestCases
Test: atest CtsJdwpTestCases
Test: m checkbuild dist
Bug: 113373927
Change-Id: I3e0c130f1a9c596629ab243648f0251cf71c1499
2019-02-13 22:28:09 +00:00
TreeHugger Robot c8f0dc3fe6 Merge "Add gsi_tool and DynamicAndroidInstallationService to base_system" 2019-02-13 16:44:56 +00:00
Justin Yun 4805947da8 Merge "Add an option not to install all VNDK libs" am: 95c7f58bb7 am: 3385d3f2ff
am: fd6dfb3734

Change-Id: I227878d5cad9b11e8852598cd4b6650b3328f4b7
2019-02-12 23:46:52 -08:00
Justin Yun 89443aed80 Add an option not to install all VNDK libs
When using VNDK snapshot, current VNDK libs are not required. Use
"TARGET_SKIP_CURRENT_VNDK=true" to skip installing current VNDK libs.

Bug: 123607022
Test: TARGET_SKIP_CURRENT_VNDK=true PRODUCT_EXTRA_VNDK_VERSIONS=28 m -j
Change-Id: I65c902c71a7952536bbf824a1dccb9360e843f1a
2019-02-13 10:46:10 +09:00
Remi NGUYEN VAN 333c98517b Add test keys for networkstack
The networkstack is using shared test keys for NetworkStack.apk,
CaptivePortalLogin.apk and NetworkStackPermissionStub.apk.

This allows NetworkStackPermissionStub.apk to define signature
permissions without the platform certificate, and enforce that the other
packages match the signature to use the permissions if they are
installed.

Bug: 124033493
Test: m
Change-Id: I7257a472d702e82acdadffc4e0535c63a8bd591d
2019-02-13 00:57:41 +09:00
Jiyong Park 45433aec35 Merge "TARGET_FLATTEN_APEX for GSI" am: 84f1ade63f am: cd3825adc7
am: 9772c4284a

Change-Id: I85f5b44b444a3050b85202eac5ae7bf7a29ca940
2019-02-12 00:23:16 -08:00
Jiyong Park 84f1ade63f Merge "TARGET_FLATTEN_APEX for GSI" 2019-02-12 08:04:39 +00:00
Mathieu Chartier 09b8342cf6 Merge "Revert "Enable layout compilation by default"" am: 5838c3f8bb am: f7f965ca40
am: 16f0df8b6b

Change-Id: Id6a5e6807202391764ca174e28f77aa118030fa2
2019-02-11 14:52:49 -08:00
Mathieu Chartier 5838c3f8bb Merge "Revert "Enable layout compilation by default"" 2019-02-11 22:10:55 +00:00
Mathieu Chartier fd2ae2892e Revert "Enable layout compilation by default"
This reverts commit 2e321b0e85.

Layout equality test is failing.
Bug: 111895153
Bug: 124248633
Exempt-From-Owner-Approval: Revert

Change-Id: Ia5c66b7a41963cd1b874c734164677f1fdcebb67
2019-02-11 22:10:40 +00:00
Mathieu Chartier e1b968ab69 Merge "Enable layout compilation by default" am: 0c44ba4eda am: a221a6e592
am: 2f9ba11cee

Change-Id: Ic5be52a78af677e86a22db2d3f3ec0a09fdefaee
2019-02-11 10:17:19 -08:00
Mathieu Chartier 0c44ba4eda Merge "Enable layout compilation by default" 2019-02-11 17:58:50 +00:00
Jiyong Park c35a33e59c TARGET_FLATTEN_APEX for GSI
Regular (non-flattened) APEX may require changes to the kernel, which is
against the Treble promise. For maximum compatibility, APEXes are
flattened for GSI so that APEXes can be activated by legacy kernels.

Bug: 124159875
Test: N/A
Change-Id: Iea5701d3b917ebf8657d3ce38131c1838b51677e
2019-02-11 21:50:02 +09:00
Anton Hansson a16b161499 Merge "Enable suspend for mainline charger" am: c75e5ba356 am: faf0bbf2b8
am: 33f67f3c46

Change-Id: I4ef01514cc4a17f460d17fb2c379221f0d727c7d
2019-02-11 03:11:00 -08:00
Anton Hansson c75e5ba356 Merge "Enable suspend for mainline charger" 2019-02-11 10:53:49 +00:00
Eino-Ville Talvala b4aa2116be Merge "Add camera.provider@2.5 to VNDK" 2019-02-11 01:22:52 +00:00
Luca Stefani 7c7b4b6beb Fix flags argument passed to avbtool for GSI images
* avbtool expect extra flags to be passed with the --flags argument
  but currently we're missing an 's'.
  Luckily this isn't an issue as python argparse matches
  --flag as an alias to --flags ( python... )

Test: m vbmetaimage; check vbmeta header
Change-Id: I42d833c61c9b313dc067b1e519bae36395d09824
2019-02-10 19:59:27 +01:00
Anton Hansson 5d89ad8044 Merge "Remove non-existant packages from mainline_system" am: 76d8591417 am: 68028611f0
am: 1d1725d7eb

Change-Id: Iffa203bc5a893e89467a76782a8759bf46679844
2019-02-08 06:48:16 -08:00
Mathieu Chartier 2e321b0e85 Enable layout compilation by default
Aims to get additional coverage of the view compiler. Note that the
compiled views are not currently loaded.

Test: adb shell getprop
Bug: 111895153

Change-Id: I7b172fc55bc47ee1593eb352fb9d9143f44a1e6c
2019-02-08 13:35:54 +00:00
Anton Hansson b100f5b834 Enable suspend for mainline charger
Bug: 80410283
Test: make
Change-Id: I09efa8dd557d586424c342772925b9ab2940bc88
2019-02-08 13:34:49 +00:00
Anton Hansson c8df56f35e Remove non-existant packages from mainline_system
Also add the health-check macro to the buildable products
to make sure no other non-existant packages are added.

Bug: 80410283
Test: build mainline_arm64 + mainline_system_arm64
Change-Id: I6c54de2f43b5ab0c9e0ddfa09fa7553c321e4aa7
2019-02-08 08:08:52 +00:00
Anton Hansson ed5f6646b0 Remove DMService from mainline_system
Doesn't exist in AOSP.

Bug: 110072687
Test: make
Change-Id: I516ff4d647e62b8535e9bf648a156b010a328e93
Merged-In: I516ff4d647e62b8535e9bf648a156b010a328e93
2019-02-08 08:08:46 +00:00
Anton Hansson 64179cca6d Merge "Remove DMService from mainline_system" 2019-02-07 08:43:47 +00:00
Anton Hansson ac03357fa7 Merge "Add bluetooth build config for mainline" am: 375291fa26 am: 6b50388c80
am: 9e78eb58ba

Change-Id: Iedda9dfda4513aff273be82e519bf570bc7fb30f
2019-02-07 00:23:57 -08:00
Anton Hansson 375291fa26 Merge "Add bluetooth build config for mainline" 2019-02-07 08:07:06 +00:00
TreeHugger Robot afaeb98c40 Merge "Refactor frameworks-base-overlays." 2019-02-07 01:39:42 +00:00
Henry Fang 61738b7bf7 Merge "enable cas@1.1 interface" 2019-02-06 20:55:28 +00:00
Steven Moreland 890f9324f6 Merge "mainline_system -= ...tests.libhwbinder@1.0-impl" am: 7bd8753381 am: 7a61e48691
am: 41919a7998

Change-Id: I55fd8d0363aaad37c0ffad5e543b8a6a75049d3d
2019-02-06 10:57:33 -08:00
Steven Moreland 7bd8753381 Merge "mainline_system -= ...tests.libhwbinder@1.0-impl" 2019-02-06 18:16:54 +00:00
Amin Shaikh e5234f8f02 Refactor frameworks-base-overlays.
Split debug packages out of frameworks-base-overlays. Add this
collection of packages to handheld_product instead of handheld_vendor
since they all have LOCAL_PRODUCT_MODULE set to true.

Bug: 118757293
Test: make
Change-Id: Ibb94bf16e6d462fc32767275c923c4128f2fd731
2019-02-06 11:42:59 -05:00
Anton Hansson 60bf75ae47 Add bluetooth build config for mainline
This matches the build config used on current mainline devices,
but should ideally be removed once possible.

Bug: 123695868
Test: boot blueline
Change-Id: I8fdef9fbe45b75f175afe9350974f54d1ec5e0c8
2019-02-06 15:51:03 +00:00
Orion Hodson d2d3c048d0 Merge "Remove libsurfaceflinger_ddmconnection from PRODUCT_PACKAGES" 2019-02-06 08:51:39 +00:00
Tri Vo cbf67e8864 Merge "Add ashmemd to base_system.mk" am: 7bd32730a4 am: 07e5189064
am: 5a3d3acce8

Change-Id: I1b7b45b1ef1bad377ee1e1a7258d3f7b7110bc50
2019-02-05 14:08:54 -08:00
Tri Vo 7bd32730a4 Merge "Add ashmemd to base_system.mk" 2019-02-05 21:38:50 +00:00
Henry Fang bce4255f30 enable cas@1.1 interface
Replace default cas@1.0 with cas@1.1
Test: Manual
bug: 123903559

Change-Id: I25e66988581ec6d47dee8790e3ccc32d46cca004
2019-02-05 13:17:03 -08:00
Orion Hodson 172eae9364 Remove libsurfaceflinger_ddmconnection from PRODUCT_PACKAGES
DdmConnection dlopen's libart.so which is undesirable for the Runtime Module.

Bug: 120782499
Test: m -j100
Change-Id: I53aa1ee43da6cbee8a61c231e38d8bdad26c98e4
Merged-In: I53aa1ee43da6cbee8a61c231e38d8bdad26c98e4
2019-02-05 09:31:33 +00:00
TreeHugger Robot a16c00adbe Merge "Remove libsurfaceflinger_ddmconnection from PRODUCT_PACKAGES" 2019-02-05 09:06:51 +00:00
Kostya Kortchinsky 027324099f Add option to disable Scudo globally [Make]
This adds an option to turn off Scudo globally, and use it for Go.

Bug: 123228023
Test: verify that Scudo is disabled for a Go build, eg:
lunch marlin_svelte-eng && m -j, check that Scudo is not linked in
out/target/product/marlin/system/bin/mediaextractor
Test: verify that Scudo is enabled otherwise, eg:
lunch marlin-eng && m -j, check that Scudo is linked in
out/target/product/marlin/system/bin/mediaextractor

Change-Id: Idc82d581fade544a474e6f2ff0b54dd191ba0818
Merged-In: Idc82d581fade544a474e6f2ff0b54dd191ba0818
2019-02-04 12:35:04 -08:00
Kostya Kortchinsky 954832632d Add option to disable Scudo globally [Make]
This adds an option to turn off Scudo globally, and use it for Go.

Bug: 123228023
Test: verify that Scudo is disabled for a Go build, eg:
lunch marlin_svelte-eng && m -j, check that Scudo is not linked in
out/target/product/marlin/system/bin/mediaextractor
Test: verify that Scudo is enabled otherwise, eg:
lunch marlin-eng && m -j, check that Scudo is linked in
out/target/product/marlin/system/bin/mediaextractor

Change-Id: Idc82d581fade544a474e6f2ff0b54dd191ba0818
2019-02-04 15:43:18 +00:00
Orion Hodson 534b105964 Remove libsurfaceflinger_ddmconnection from PRODUCT_PACKAGES
DDMS dlopen's libart.so which is undesirable for the Runtime
Module.

Bug: 120782499
Test: m -j100
Change-Id: I53aa1ee43da6cbee8a61c231e38d8bdad26c98e4
2019-02-04 15:08:41 +00:00
Suren Baghdasaryan 521133d9d2 Add libjsoncpp into VNDK
Include libjsoncpp into vndk because libprocessgroup uses it
for task profile parsing.

Bug: 111307099
Test: builds, boots
Change-Id: I99ddc4db53a7e9b2b6122ca1f0360ded454d0d83
Merged-In: I99ddc4db53a7e9b2b6122ca1f0360ded454d0d83
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-02-02 17:06:54 +00:00
Suren Baghdasaryan 35fc328316 Add cgroups.json and task_profiles.json build targets
Add cgroups.json and task_profiles.json into the list of packages.

Bug: 111307099
Test: builds, boots

Change-Id: Ib8ab11de573505f522ccd9cec2c6afd7e23d2f2f
Merged-In: Ib8ab11de573505f522ccd9cec2c6afd7e23d2f2f
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-02-02 17:05:56 +00:00
Suren Baghdasaryan 7ab0a16028 Add libjsoncpp into VNDK
Include libjsoncpp into vndk because libprocessgroup uses it
for task profile parsing.

Bug: 111307099
Test: builds, boots
Change-Id: I99ddc4db53a7e9b2b6122ca1f0360ded454d0d83
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-02-02 05:52:30 +00:00
Suren Baghdasaryan 7007488c44 Add cgroups.json and task_profiles.json build targets
Add cgroups.json and task_profiles.json into the list of packages.

Bug: 111307099
Test: builds, boots

Change-Id: Ib8ab11de573505f522ccd9cec2c6afd7e23d2f2f
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-02-02 05:52:20 +00:00
SzuWei Lin 0fae759a19 Merge changes I1772a55a,Ibd398d4f,If5476048,Ied201aad am: f834600fb3 am: c1ea73f62e
am: c93d4c67cd

Change-Id: If96022f3f2fc7a08558979d32513ce17c134078e
2019-02-01 16:52:30 -08:00
Treehugger Robot f834600fb3 Merge changes I1772a55a,Ibd398d4f,If5476048,Ied201aad
* changes:
  Enable mainline checking for all GSI targets
  Change aosp_$arch.mk to inherit from gsi_common.mk
  Change Legacy GSI to inherit from gsi_common.mk
  Whilelist system/product_services in gsi_common.mk
2019-02-02 00:27:37 +00:00
Henry Fang 4cfc44949d Merge "Revert "Revert "Change make file to include cas@1.1""" 2019-02-01 15:17:39 +00:00
SzuWei Lin 323be83a66 Enable mainline checking for all GSI targets
There are some makefile inherit from aosp_$arch*.mk. This patch
change to only enable mainline checking on excat GSI targets,
such as aosp_$arch or aosp_$arch_(a|ab), and does not apply on
the child targets.

This patch also add some more whitelist items to gsi_common.mk

Bug: 123613261
Test: aosp_arm64-userdebug build pass
Test: remove some whitelist items and aosp_arm64-userdebug build fail
Test: sdk_phone_arm64-eng build pass
Test: gsi_arm64-userdebug build pass
Change-Id: I1772a55ab823a0312b9f215f0d2c3b0c727c8e4b
2019-02-01 15:30:28 +08:00
SzuWei Lin ce1fdb2f55 Change aosp_$arch.mk to inherit from gsi_common.mk
The patch changes GSI (aosp_$arch) to inherit from gsi_common.mk
instead of aosp_base_telephony.mk.

The patch also clones the emulator_vendor.mk from emulator.mk to
include all vendor modules.

Bug: 119747870
Test: boot aosp_arm64-userdebug on a blueline device on master/P
Test: boot aosp_x86-userdebug on the emulator
Test: boot aosp_x86_64-userdebug on the emulator
Test: compare the out folder with/without the patch, only more content
Change-Id: Ibd398d4f93d2a964813e05ccd434975435d25adc
2019-02-01 11:29:02 +08:00
SzuWei Lin f6f5d8ad09 Change Legacy GSI to inherit from gsi_common.mk
The patch change Legacy GSI (aosp_$arch_(a|b)) to inherit from
gsi_common.mk instead of treble_common.mk

It does not inherit from gsi_common.mk directy. The patch adds
legacy_gsi_common.mk to extend gsi_common.mk, and all Legacy
GSI inherit from legcay_gsi_common.mk.

The patch also removed treble_common*.mk.

Bug: 119747870
Test: flash aosp_arm64_ab-userdebug on blueline P
Test: flash aosp_arm64_ab-userdebug on walleye O-MR1
Change-Id: If54760484cc0937719c1336f1a4caac8468d2009
2019-02-01 11:29:02 +08:00
SzuWei Lin 54ea4b763a Whilelist system/product_services in gsi_common.mk
GSI could include system/product_services to override the content
in product_services partition, so whitelist the folder.

Bug: 119747870
Test: build a build target has prodcut_services and
Test: inherit gsi_common.mk
Change-Id: Ied201aad88d75ef85258c24e8a2a4952b968ff3f
2019-02-01 11:29:02 +08:00
Steven Moreland 5bc1844b2a mainline_system -= ...tests.libhwbinder@1.0-impl
Tests are configured to load this statically now.

Fixes: 122456128
Test: libhwbinder_benchmark, hwbinderThroughputTest, libhwbinder_latency
Change-Id: I5cd53642d8b6ddb85e79fd231280b9d26ce3ee35
2019-02-01 01:56:29 +00:00
Henry Fang 695482bfca Revert "Revert "Change make file to include cas@1.1""
This reverts commit 674fd1461a.

Reason for revert: <This CL isn't related to public API which triggered previous revert>

Change-Id: I1db7e0541790ee8a0c196d9d2ff4d9f4f14e04a2
2019-01-31 22:26:49 +00:00
Mathieu Chartier c40654f951 Merge "Remove USER exclusion for dalvik.vm.dex2oat-resolve-startup-strings" am: 4bd3fe9565 am: 1f66faaa80
am: fd7af3f2c2

Change-Id: I449f0e7eb2c98ed6a56529026d45470daac707ab
2019-01-31 13:58:13 -08:00
Mathieu Chartier 42ce38236a Remove USER exclusion for dalvik.vm.dex2oat-resolve-startup-strings
Aims to have more consistency between user and userdebug builds.

Bug: 116059983
Test: make

Change-Id: I4f8bdbdd9c3983d04d956a4993d9de60f5f60664
2019-01-31 09:53:52 -08:00
Calin Juravle 2784fd03e2 Merge "Count hotness in system server compiled code" am: 4f3f03c09b am: 536c2d3de8
am: 77a08b4fb2

Change-Id: I9974a6e48aee713e51e88de022391c79a70b463d
2019-01-31 09:37:31 -08:00
Calin Juravle fae75af005 Count hotness in system server compiled code
Bug: 123665033
Test: manual: build & look at system server profile
Change-Id: Ia155073ee6f94424f2c22035283f688a495fba8c
2019-01-31 00:00:34 -08:00
TreeHugger Robot 5641680e7f Merge "Move font overlay packages to Pixel." 2019-01-31 04:31:58 +00:00
Xusong Wang d727c22e81 Merge "Revert "Change make file to include cas@1.1"" 2019-01-31 01:07:26 +00:00
Xusong Wang 674fd1461a Revert "Change make file to include cas@1.1"
This reverts commit 9082be6c95.

Reason for revert: <INSERT REASONING HERE>

Change-Id: Id069bb654d3e5daf6dd148f1c69b05594e8760fa
2019-01-31 01:05:53 +00:00
Mathieu Chartier 239f5792b7 Merge "Enable resolution of startup const-string for non user builds" am: 8fdf4e0f5b am: 47200d864f
am: 97adeb16aa

Change-Id: I81a890f0cd01b8b20e77d676386b4aada5e70847
2019-01-30 15:09:19 -08:00
Henry Fang c710fee848 Merge "Change make file to include cas@1.1" 2019-01-30 22:53:52 +00:00
Mathieu Chartier 8fdf4e0f5b Merge "Enable resolution of startup const-string for non user builds" 2019-01-30 22:40:03 +00:00
Sandeep Patil df3d26eef2 Merge "vndk: current: remove libpagemap" am: 7839861087 am: 6ee9c26851
am: 1569df0004

Change-Id: I3624af7369084219bf90532c5db4c7914d281b34
2019-01-30 11:48:09 -08:00
Treehugger Robot 7839861087 Merge "vndk: current: remove libpagemap" 2019-01-30 19:19:26 +00:00
Amin Shaikh 33aac984c4 Move font overlay packages to Pixel.
Include FontNotoSerifSourceOverlay to AOSP so developers have one option
to choose from in developer options.

Bug: 123570171
Test: make
Change-Id: Idd47899ce9e0a35d2dde35bfdcb8f9ffba61429a
2019-01-30 14:13:45 -05:00
Mathieu Chartier cf5a8b16ed Enable resolution of startup const-string for non user builds
Bug: 116059983
Bug: 111397239
Test: make
Change-Id: I82dec2041e7cb83897bd7ed7125631c39a4af85a
2019-01-30 17:14:00 +00:00
Mathieu Chartier 4aaa9fc7da Merge "Disable iorapd by default" 2019-01-30 06:12:31 +00:00
SzuWei Lin b31043144e Merge "Add gsi_common.mk" am: 59fa4ca993 am: a4dabb3050
am: 782e918327

Change-Id: I90fabbbec4f10b3b9092f22df649cdaeb7caf956
2019-01-29 21:59:15 -08:00
Treehugger Robot 59fa4ca993 Merge "Add gsi_common.mk" 2019-01-30 05:32:53 +00:00
Tri Vo 8c52dffaee Add ashmemd to base_system.mk
Bug: 113362644
Test: presubmit
Change-Id: Ic31ba5a86df82afc2ad76fda558360f5474ba931
2019-01-29 20:19:32 -08:00
TreeHugger Robot b8b741f090 Merge "Reduced down slop and added action for expanding notifications (2/2)" 2019-01-30 00:37:02 +00:00
Mathieu Chartier 3dbd7356de Disable iorapd by default
Test: reboot and verify iorapd is not running
Bug: 123595428
Bug: 72170747
Change-Id: I9c53714d6a35f8cb016e0baceeb12482d50557a5
2019-01-29 15:19:35 -08:00
Sandeep Patil 74e85fe723 vndk: current: remove libpagemap
Bug: 113035067
Test: lunch aosp_blueline-userdebug; m -j

Change-Id: Ie866eb9fc53ee81d3034520d560aa0ed7d7ba45a
Signed-off-by: Sandeep Patil <sspatil@google.com>
2019-01-29 14:59:36 -08:00
SzuWei Lin 97951719ae Add gsi_common.mk
gsi_common.mk is a new makefile file for GSI build targets.
It inherited the content from Mainline by mainline_system.mk.
Also it include other default GSI settings and try to covered
all contents from aosp_base_telephony.mk

It will be used to replace the treble_common*.mk. All
aosp_$arch*.mk will become to inherit from gsi_common.mk.

This patch also contains a new build target gsi_arm64,
which is used to test the gsi_common.mk purely.

Bug: 119747870
Test: compare the out system folder between gsi_arm64 and aosp_arm64
Test: also the gsi_arm64-userdebuge can boot on a Pixel device
Change-Id: I9a013f9407e0fe06b45011e36d5169b94f67148d
2019-01-29 18:00:04 +08:00
Anton Hansson 51e82f87d7 Remove DMService from mainline_system
Doesn't exist in AOSP.

Bug: 110072687
Test: make
Change-Id: I516ff4d647e62b8535e9bf648a156b010a328e93
2019-01-29 09:25:09 +00:00
Steven Moreland 67edfd726f Merge "base_vendor += dumpsys_vendor" am: 3a296fde5f am: 23ae5c0c5a
am: 74540d3007

Change-Id: I4a9b3667c60ffed7a1c53a47181a07358b482f9f
2019-01-29 00:27:42 -08:00
Ruchi Kandoi 00c5785ded Merge "add android.hardware.secure_element@1.1" am: fee423e64d am: eebdf6f0ac
am: 66ac1276f6

Change-Id: Icd11ed886da39e32a45604e2e1ded35eda94c48c
2019-01-28 23:20:25 -08:00
Yifan Hong 1d9f2bbaaa Merge "Add product_compatibitility_matrix.xml to base_product." am: bf21932408 am: ba52952af3
am: 0316dd616a

Change-Id: I46beb08c1702eb56ab3202cbc1d69b73e3773cf5
2019-01-28 20:50:50 -08:00
Treehugger Robot 3a296fde5f Merge "base_vendor += dumpsys_vendor" 2019-01-29 01:46:08 +00:00
TreeHugger Robot 9e882dd360 Merge "Add android.hardware.input.common HAL" 2019-01-29 01:19:11 +00:00
Ruchi Kandoi fee423e64d Merge "add android.hardware.secure_element@1.1" 2019-01-28 21:49:55 +00:00
Yifan Hong bf21932408 Merge "Add product_compatibitility_matrix.xml to base_product." 2019-01-28 18:08:44 +00:00
Anton Hansson 90bd77071e Merge "Move mainline_arm64 over to use mainline device" am: ad9ee4b504 am: 2b219b051f
am: bd57a28943

Change-Id: I415e70e6e42eb0ccf11fdca8a8205965f1795af5
2019-01-28 03:07:58 -08:00
Anton Hansson ee25fc7a63 Merge "Add recovery_refresh to mainline_system" am: 8fbdd25457 am: 628e7ff762
am: b5ca00950b

Change-Id: I3555941bb1840ed400ccfb786695239da14f5d87
2019-01-28 03:07:00 -08:00
Anton Hansson ad9ee4b504 Merge "Move mainline_arm64 over to use mainline device" 2019-01-28 10:49:32 +00:00
Anton Hansson 8fbdd25457 Merge "Add recovery_refresh to mainline_system" 2019-01-28 10:49:16 +00:00
Anton Hansson a8b60940c5 Merge "Auto-include device_manifest.xml when necessary" am: 096b88bf90 am: 1cff5df789
am: 7c1890f536

Change-Id: I436dc97b1a1b9531017963e98d5b8ccd7cc01b6a
2019-01-28 02:00:22 -08:00
Nicolas Geoffray 5f3ef9dbcc Merge "Move remaining libcore JNI libraries to APEX." am: 93626d9616 am: 8b227ab6d9
am: 07c2c7c837

Change-Id: I9adba89837ed8c91626dc38a70b8067f6be95a07
2019-01-28 01:57:05 -08:00
Anton Hansson 096b88bf90 Merge "Auto-include device_manifest.xml when necessary" 2019-01-28 09:18:34 +00:00
Nicolas Geoffray 93626d9616 Merge "Move remaining libcore JNI libraries to APEX." 2019-01-28 09:16:21 +00:00
Pete Bentley b8b08bdd02 Move remaining libcore JNI libraries to APEX.
Test: Flash and boot on Taimen
Test: atest CtsLibcoreTestCases CtsJniTestCases
Bug: 119090773
Change-Id: Ia9e7077327d2abc3f637c09acc5933b9c1682d5a
Exempt-From-Owner-Approval: Simple clean steps rule
2019-01-28 09:14:12 +00:00
Steven Moreland 442e983241 base_vendor += dumpsys_vendor
Bug: 123433249
Test: adb shell /vendor/bin/dumpsys
Change-Id: I989825c65d759fd07ff0d0f690bc45d056637528
2019-01-25 19:15:20 -08:00
Matthew Ng b693371fd7 Reduced down slop and added action for expanding notifications (2/2)
Added an option to select expanding notifications to execute after a
gesture. Exploring swipe down by reducing the touch slope to a smaller
value to execute more. Since it is swiping towards the edge, less events
will be received and typically hard to trigger when swiping other
directions.

Bug: 112934365
Test: manual
Change-Id: Ibf59c87622e988511fe620ac60ee3d0e44aeb2b2
2019-01-25 14:45:29 -08:00
Henry Fang 9082be6c95 Change make file to include cas@1.1
Change configure file for build system to include cas@1.1
Test: manual
Bug: 122472761

Change-Id: I360bc430ed879d7c900fe5d1f77c7d3c16cff1fa
2019-01-25 14:43:51 -08:00
Jiyong Park 54f1d8e052 Merge "Add APK container signing key/cert pairs for APEXes" am: 1ff476e216 am: 8bb658cb89
am: 60beb2863a

Change-Id: Iaf087514d7ffdef038dd94fab5cd34b89c54dbf4
2019-01-25 12:07:44 -08:00
Treehugger Robot 1ff476e216 Merge "Add APK container signing key/cert pairs for APEXes" 2019-01-25 19:46:08 +00:00
TreeHugger Robot 9e5c79841c Merge "Use go_handheld_core_hardware.xml for Go builds" 2019-01-25 18:46:28 +00:00
Jiyong Park 74f27716f3 Add APK container signing key/cert pairs for APEXes
Created via
openssl req -x509 -newkey rsa:4096 -nodes -days 999999 -keyout key.pem -out com.android.tzdata.x509.pem
openssl pkcs8 -topk8 -inform PEM -outform DER -in key.pem -out com.android.tzdata.pk8 -nocrypt

Test: m com.android.tzdata
jarsigner -verify -verbose -certs out/target/product/blueline/system/apex/com.android.tzdata.apex shows
...
X.509, CN=com.android.tzdata, OU=Android, O=Android, L=Mountain View, ST=California, C=US

Change-Id: I19f6efaaa6468e65e9891e4e61704fb48f0b986a
2019-01-26 02:19:58 +09:00
Suren Baghdasaryan 3a14d98f11 DO NOT MERGE: Revert "Revert "Add libprocessgroup into VNDK""
This reverts commit fec192e98f.

Reason for revert: AOSP is fixed with new vendor image

Change-Id: I2b7f4683139cf28bb5b8fa64c5c5273cf5c935a3
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-01-25 16:52:50 +00:00
Anton Hansson b4bb4308d9 Merge "Move PrintRecommendationService back to handheld_system" am: 673cbcd6f8 am: 6529ac841a
am: 67014e8f4a

Change-Id: I3bb0ba3a185ee6fe8cb25304b94927d15d23a6fe
2019-01-25 08:31:50 -08:00
Anton Hansson 6529ac841a Merge "Move PrintRecommendationService back to handheld_system"
am: 673cbcd6f8

Change-Id: I818fe4c0cadcaa7c368267e594cacfe9b82caa1e
2019-01-25 08:19:29 -08:00
Hung-ying Tyan 5ac10bee7f Add gsi_tool and DynamicAndroidInstallationService to base_system
Bug: 122015653
Test: run "adb shell am ..." to trigger DynamicAndroidInstallationService
      full command: adb shell am start-activity -a
        android.content.action.START_INSTALL -e KEY_SYSTEM_URL <file_url>
        --el KEY_SYSTEM_SIZE <system_image_size> --el KEY_USERDATA_SIZE 8589934592
Test: run "adb shell gsi_tool"

Change-Id: I4045a16dd50066c8a303be13c524ed4c09f60f87
2019-01-25 23:21:41 +08:00
Anton Hansson d5e069e405 Auto-include device_manifest.xml when necessary
It doesn't make sense to specify a DEVICE_MANIFEST_FILE but the
build not including it. The conditional definition of the module
makes it problematic to have it listed in the PRODUCT_PACKAGES
of a generic mk.

Test: build mainline_arm64 + mainline_system_arm64
Change-Id: I40e435ce114263ceabbd373d3d719318c592fc13
2019-01-25 13:50:47 +00:00
Anton Hansson 14fb72c15c Move mainline_arm64 over to use mainline device
Possible now that it has TARGET_COPY_OUT set for vendor and
product.

Update the whitelist too.

Bug: 120974093
Test: make
Change-Id: I99eb718f5f4e79b9224a4079f2ff4595cd2b7ae2
2019-01-25 11:29:26 +00:00
Anton Hansson 91fddbbd95 Add recovery_refresh to mainline_system
Needed by recovery on devices without a cache partition.

Bug: 80410283
Test: lunch mainline_arm64; m nothing
Change-Id: I71fd35022b0928016f6767cea35971ce14bf03fe
2019-01-25 11:27:27 +00:00
Anton Hansson dca5c961a2 Move PrintRecommendationService back to handheld_system
This app is not intended to be moved to /product.

Bug: 122353713
Test: lunch mainline_arm64; m nothing
Change-Id: I65464975a77e187591b3e2de2521f1b2876b5abf
2019-01-25 11:14:47 +00:00
Dan Willemsen fee862995a Merge "Bump the remaining 32-bit arm configs to require neon" am: 1fdf5d789b am: 7ce2e247d9
am: f60131d3d8

Change-Id: If906225e372e1c278749ea0af8586dbdb4bdf77e
2019-01-24 20:14:23 -08:00
Dan Willemsen 7ce2e247d9 Merge "Bump the remaining 32-bit arm configs to require neon"
am: 1fdf5d789b

Change-Id: I51fd1a89aae654e9e34ecaa21eff5b66987b981f
2019-01-24 19:58:20 -08:00
Dan Willemsen 1fdf5d789b Merge "Bump the remaining 32-bit arm configs to require neon" 2019-01-25 03:52:17 +00:00
Ng Zhi An 4039feb041 Use go_handheld_core_hardware.xml for Go builds
Test: m, ! grep app_widgets $OUT/vendor/etc/permissions/handheld_core_hardware.xml
Change-Id: I5f1c43add007840356faad848a40b284e774883e
2019-01-24 16:46:33 -08:00
Siarhei Vishniakou b1c7fb3dc1 Add android.hardware.input.common HAL
This HAL is used to keep common definitions, potentially used by other
input HALs in the future.

Bug: 111480215
Test: make only
Change-Id: I499a7988211a6fc1253805038ac7edcf337bc4e2
2019-01-24 11:54:09 -08:00
Paul Duffin 96d0b82e52 Merge "Remove REMOVE_OAHL_FROM_BCP flag" am: 22efcc114e am: 5941366ce2
am: 7d2a8a5668

Change-Id: I7b3799cc92bda1f0a1a2b31902438e941d433044
2019-01-24 08:22:22 -08:00
Paul Duffin 5941366ce2 Merge "Remove REMOVE_OAHL_FROM_BCP flag"
am: 22efcc114e

Change-Id: I44119648a93a299a3d1901fcad695c57372743f9
2019-01-24 08:10:56 -08:00
Paul Duffin 22efcc114e Merge "Remove REMOVE_OAHL_FROM_BCP flag" 2019-01-24 16:01:40 +00:00
Dan Willemsen 53d62fed72 Bump the remaining 32-bit arm configs to require neon
Stop using armv7-a without neon for 32-bit unbundled apps, and update
generic_x86_arm to match the cuttlefish configuration that includes
neon.

Test: treehugger
Change-Id: Ieb6a2106655803a8ca609907c12168e628ee1b85
2019-01-23 22:27:33 -08:00
Suren Baghdasaryan fec192e98f DO NOT MERGE: Revert "Add libprocessgroup into VNDK"
This reverts commit 1877db4591.

Reason for revert: Broke AOSP

Change-Id: I4f4b8bae60966f1459365387bbde5a1f60c7b727
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-01-23 20:52:04 -08:00
Badhri Jagan Sridharan 04104dd964 Merge "USB: VNDK: Add USB V1.2 hal interface" 2019-01-24 02:03:20 +00:00
Henry Fang 686743d92c Merge "Update CEC hal to 2.0" 2019-01-24 01:02:05 +00:00
Ruchi Kandoi 4cb79e1412 add android.hardware.secure_element@1.1
Test: compiles
Bug: 122590188
Change-Id: Ibfbc3ecf5c19c42ea4ba695f2a9d6ad04cd9bf62
2019-01-23 14:31:39 -08:00
Yifan Hong 28ee89dda1 Add product_compatibitility_matrix.xml to base_product.
The module refers to framework compatibitlity matrix
that defined OEM modules.

Also, renamed framework_compatibility_matrix.xml
to system_compatibility_matrix.xml, since
framework_compatibility_matrix.xml consists of both
system and product compatibility matrices. This fixes
mainline build.

Test: build
Test: boot device with product compatibility matrix

Bug: 120600021
Change-Id: Ibfb12578c3ec77b6baede4eed852074e08022119
2019-01-23 12:22:04 -08:00
Badhri Jagan Sridharan 981a8d3219 USB: VNDK: Add USB V1.2 hal interface
Bug: 119642987

Test: TBD
Change-Id: Id34809f5f1553dbeb73ff721f9fdab046f0b839e
2019-01-23 10:38:55 -08:00
Anton Hansson 65c5b81745 Merge "Move ModuleMetadata to base_product" am: 2ec9fcd951 am: 999a9f4b28
am: f09d5ed23c

Change-Id: Ia65e553c5fe35ded9d88807c17eb3ebed511ae75
2019-01-23 03:42:33 -08:00
Anton Hansson 2ec9fcd951 Merge "Move ModuleMetadata to base_product" 2019-01-23 11:17:43 +00:00
Anton Hansson d596209561 Merge "Enable 64-bit mediadrmserver for mainline" am: 767569b489 am: 9c67ac4003
am: a9ea6d883c

Change-Id: I0d48bf4b3d529a425e30a7454a25f9adc8abaa38
2019-01-23 02:23:04 -08:00
Anton Hansson 767569b489 Merge "Enable 64-bit mediadrmserver for mainline" 2019-01-23 09:56:46 +00:00
Ivan Lozano 36440eaf11 Merge "Add mediacodec.policy to the mainline system." 2019-01-22 18:56:39 +00:00
Suren Baghdasaryan 1877db4591 Add libprocessgroup into VNDK
Include libprocessgroup into vndk because libprocessgroup now implements
sched_policy control functions.

Bug: 111307099
Test: builds, boots
Merged-In: If18227e8a824a1e606df78dfe01d9d2437c62792
Change-Id: If18227e8a824a1e606df78dfe01d9d2437c62792
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-01-22 18:16:56 +00:00
Anton Hansson f2d90e9143 Move ModuleMetadata to base_product
The app is moving from /system to /product.

Bug: 122353713
Test: make
Change-Id: I0987b46013527503eedf75350bc30b303722552b
2019-01-22 18:07:03 +00:00
Paul Duffin fd24c9fe1f Remove REMOVE_OAHL_FROM_BCP flag
The REMOVE_OAHL_FROM_BCP flag is always set to true and is no longer
necessary so this change removes any uses of the flag.

Bug: 18027885
Test: cts/tests/signature/runSignatureTest.sh
Change-Id: Ied8c3315b29094ad6acee539520af3e4c9e79839
2019-01-22 14:16:12 +00:00
TreeHugger Robot bf0574c5c3 Merge "Add updatable-media to bootclasspath" 2019-01-21 14:27:09 +00:00
Dan Willemsen 8ba31669e9 Merge "Add previously debug-tagged modules" am: 241d7cdba0 am: 2c4201eaca
am: 3b59a7b9ef

Change-Id: Idf89ceb2361ca0396904b5936607e3fd5c870b6b
2019-01-19 00:13:29 -08:00
Dan Willemsen 241d7cdba0 Merge "Add previously debug-tagged modules" 2019-01-19 07:39:56 +00:00
Dongwon Kang b83a586e4c Add updatable-media to bootclasspath
Test: build & boot & MediaPlayer2Test
Bug: 112766913
Change-Id: I138558b6f629b0adcfc86787ca21e1c078b7d3cd
2019-01-18 21:12:56 -08:00
Dongwon Kang da8e3d0735 Merge "Move UPDATABLE_BOOT_(MODULES|JARS) to base_system.mk for further extension" am: 082fd2c5bc am: e8b1110846
am: fad608125e

Change-Id: Ida46b54700de4306303517c34e030fb2bfc851d7
2019-01-18 21:09:45 -08:00
Dongwon Kang 167758a153 Move UPDATABLE_BOOT_(MODULES|JARS) to base_system.mk for further extension
Test: build & boot
Bug: 112766913

Change-Id: I5af02d44c4b4163acdc4e3078dcebd84556ee049
2019-01-18 17:06:18 -08:00
Dan Willemsen ec6cc8521d Add previously debug-tagged modules
These all had `LOCAL_MODULE_TAGS := debug`

Test: treehugger
Change-Id: I848d1d9fb7e9921827ef6b5b72376710150ce839
2019-01-18 15:51:41 -08:00
Eino-Ville Talvala a40c46334c Add camera.provider@2.5 to VNDK
Test: Builds
Change-Id: I8d5fa199a4b2b6a4376cc805cd5a9c8af7285ac8
2019-01-18 15:38:36 -08:00
Henry Fang 4a03d1a98d Update CEC hal to 2.0
change make file for cec@2.0 hal
Test: manual
Bug: 122853595

Change-Id: I540a0c816c2d7abe6133ce0d2a499b5785b02a0a
2019-01-18 14:49:21 -08:00
Suren Baghdasaryan 6f4fd6c5e3 Add libprocessgroup into VNDK
Include libprocessgroup into vndk because libprocessgroup now implements
sched_policy control functions.

Bug: 111307099
Test: builds, boots
Change-Id: If18227e8a824a1e606df78dfe01d9d2437c62792
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-01-18 02:36:49 +00:00
Ivan Lozano 7257cb9d84 Add mediacodec.policy to the mainline system.
Bug: 110363419
Bug: 116668460
Test: make -j
Change-Id: I557f99fe463435a78c6b803b08b944574319f0a9
2019-01-17 16:23:41 -08:00
Treehugger Robot 0a8750b3da Merge "Change the impl lib name of java_sdk_library" 2019-01-17 10:01:37 +00:00
Sundong Ahn a9f2ef5ed1 Change the impl lib name of java_sdk_library
The impl lib name of java_sdk_library is changed to {module_name}.jar
instead of {module_name}.impl.jar

Bug: 110404779
Test: m -j
Change-Id: I275cd40e3682640b96425e56698cea770888cbb1
Merged-In: I275cd40e3682640b96425e56698cea770888cbb1
(cherry picked from commit 0372f189ac)
2019-01-17 09:42:57 +09:00
Anil Admal 214c084ba7 Merge "Non-framewok location access visibility and control (VNDK)" 2019-01-16 19:01:42 +00:00
Anton Hansson f4e9102ea8 Merge "Set TARGET_COPY_OUT_ for product/vendor in mainline" am: 9a0dd5b288 am: dae8049421
am: 8dad70660d

Change-Id: Ib9eae63af430c2751093cfc731145139b708e421
2019-01-16 09:09:38 -08:00
Anton Hansson 3c19cb6de5 Merge "Add webview to mainline whitelist" am: 3fc20bd7d9 am: e360c96bc2
am: ba02d77619

Change-Id: I0e5bc4dd361cbc66126d57555689ff2c051fc9dd
2019-01-16 08:53:34 -08:00
Anton Hansson 9a0dd5b288 Merge "Set TARGET_COPY_OUT_ for product/vendor in mainline" 2019-01-16 16:53:01 +00:00
Anton Hansson 3fc20bd7d9 Merge "Add webview to mainline whitelist" 2019-01-16 16:31:50 +00:00
Treehugger Robot 0735b4f9fe Merge "Split *_product makefiles" 2019-01-16 15:18:37 +00:00
SzuWei Lin caa5e88d4a Split *_product makefiles
So far, we have *_system.mk and *_vendor.mk.
This patch split all product settings from *_vendor.mk to new
*_product.mk

This patch also create a new telephony.mk to include all
telephony_*.mk

Bug: 119747870
Test: lunch mainline_arm64-user; make -j
Test: compare the content with and without the patch
Test: the output files in out folder are the same
Change-Id: I79aefdd1971b3b5724a3ec858de4109b645c765a
Merged-In: I79aefdd1971b3b5724a3ec858de4109b645c765a
2019-01-16 22:23:35 +08:00
Anton Hansson 9791518d58 Set TARGET_COPY_OUT_ for product/vendor in mainline
This product variable is used to generate the loader config (to use
either /system/product or /product), and the vendor one is likely
used in similar ways. Having these partitions is required for mainline
devices, so set it in the shared BoardConfig.

Bug: 80410283
Test: make
Change-Id: I6f2d94ff43572a28df54ea8c60f2d838a3b9216c
2019-01-16 13:32:51 +00:00
Anton Hansson 0a5d5fec2e Add webview to mainline whitelist
The app will move to product soon, but temporarily
whitelist that mainline_arm64 adds it to /system.

Test: make
Change-Id: I7b0ce5623a160bcb0f8b89f3053a007019ff0b62
2019-01-16 13:31:02 +00:00
TreeHugger Robot 6622ea852b Merge "Change the impl lib name of java_sdk_library" 2019-01-16 10:47:25 +00:00
Anton Hansson cd7175d792 Merge "Remove webview from media_system.mk" am: e7f127491a am: 50ac1cb858
am: 513c0bc90c

Change-Id: I2d2aa70a509c5e916829284d5ddd53a9ef440d15
2019-01-16 02:09:00 -08:00
Anton Hansson e7f127491a Merge "Remove webview from media_system.mk" 2019-01-16 09:44:39 +00:00
TreeHugger Robot 267a15129b Merge "Load sw C2 codecs from apex" 2019-01-16 03:05:37 +00:00
Howard Chen d136972d48 Merge "Add gsid" am: a72cc8f038 am: 4c28a7da14
am: a7a078194c

Change-Id: I45c0d153824e3bca3b116aa7baa71e96df4e1439
2019-01-15 15:59:05 -08:00
Treehugger Robot a72cc8f038 Merge "Add gsid" 2019-01-15 23:26:58 +00:00
TreeHugger Robot 7bddee9c4b Merge "gralloc: add allocator 3.0 and mapper 3.0" 2019-01-15 23:21:26 +00:00
Anton Hansson 9b2f3af064 Remove webview from media_system.mk
It is present in media_vendor.mk (and soon media_product.mk),
which is the correct place.

Test: make
Change-Id: I7ffda211cf4b01a22ec01c661959defcf59bbc4b
2019-01-15 14:36:14 +00:00
TreeHugger Robot 40d00f50d3 Merge "Split *_product makefiles" 2019-01-15 12:31:58 +00:00
SzuWei Lin 2ccd37eeb3 Split *_product makefiles
So far, we have *_system.mk and *_vendor.mk.
This patch split all product settings from *_vendor.mk to new
*_product.mk

This patch also create a new telephony.mk to include all
telephony_*.mk

Bug: 119747870
Test: lunch mainline_arm64-user; make -j
Test: compare the content with and without the patch
Test: the output files in out folder are the same
Change-Id: I79aefdd1971b3b5724a3ec858de4109b645c765a
2019-01-15 17:37:57 +08:00
Howard Chen 6e7500b131 Add gsid
The gsid is a daemon for managing GSI.

Bug: 122556707
Test: make && ls ${OUT}/bin/gsid
Change-Id: Ib4a3e95a7e232236ee1255a156043e45a77a3c8e
2019-01-15 15:58:02 +08:00
Anil Admal e50b9bcf09 Non-framewok location access visibility and control (VNDK)
Bug: 119560261
Test: TBD
Change-Id: If9b93ea5fd213eca33a9e8dd67896281ae3fe149
2019-01-14 20:38:06 -08:00
Treehugger Robot 3d4cbb4a5b Merge "Add IBluetoothAudio HAL 2.0 to VNDK" 2019-01-15 00:35:25 +00:00
Eric Holk cdd25ada26 Merge "Add viewcompiler to device" am: 34556552a0 am: 297f661a8f
am: eaa29ac80f

Change-Id: Ie04fdd8e6b2b76d1909d259350577a9b36356534
2019-01-14 15:59:34 -08:00
Roland Levillain f18e9af7c5 Merge "No longer honor `DONT_INCLUDE_RUNTIME_APEX`." am: 1df75e3099 am: d861d76443
am: cc87116c51

Change-Id: I0f2257a23736b1dc3340f4a8da937bd068feadd8
2019-01-14 10:59:51 -08:00
Eric Holk bc263b299a Add viewcompiler to device
This is needed so that we can generate precompiled layouts at app
install time.

Bug: 111895153

Change-Id: Ia2905fdcecc1517e6ae2c8dd4317e3a41ebee107
2019-01-14 18:31:54 +00:00
Roland Levillain fbf4dbee33 No longer honor `DONT_INCLUDE_RUNTIME_APEX`.
The Android Runtime APEX is always included on all products.

Test: make systemimage on marlin-userdebug
Test: make systemimage on sailfish-userdebug
Bug: 113373927
Change-Id: I47b02ee44562b8da17bd960825a3489572018d93
2019-01-14 15:26:44 +00:00
Cheney Ni 96f1afda79 Add IBluetoothAudio HAL 2.0 to VNDK
Bug: 111519504
Test: build & boot

Change-Id: I4247b67709a68f26c670371e6a3407171988dcf4
Merged-In: I4247b67709a68f26c670371e6a3407171988dcf4
(cherry picked from commit b7e100c6be)
2019-01-14 01:06:40 +00:00
Sooraj Sasindran 4b2e0b22fb Merge "Rename ANS to ONS" 2019-01-12 19:11:53 +00:00
Sooraj Sasindran 5f0b754c6e Merge "Rename ANS to ONS" 2019-01-12 02:32:32 +00:00
TreeHugger Robot a61bddc77b Merge "Add IBluetoothAudio HAL 2.0 to VNDK" 2019-01-11 22:43:22 +00:00
Sooraj Sasindran 181bc817f5 Rename ANS to ONS
Rename ANS to ONS
Bug: 118347827
Test: compile

Change-Id: Id01f0fc595e736f081d97309f62426cc54ac9e94
2019-01-11 09:48:50 -08:00
Jiyong Park 2b94ee687f Merge "Install bootstrap variant of bionic libs" am: fe714ead44 am: 4b8374322b
am: cc6cb963d3

Change-Id: Ib508448a09c500c52882d9d216bfecd5b925cf5f
2019-01-11 09:48:40 -08:00
Sooraj Sasindran 1eb475e693 Rename ANS to ONS
Rename ANS to ONS
Bug: 118347827
Test: compile

Merged-In: Id01f0fc595e736f081d97309f62426cc54ac9e94
Change-Id: Id01f0fc595e736f081d97309f62426cc54ac9e94
2019-01-11 17:47:03 +00:00
Jiyong Park 2a0ed36bd9 Install bootstrap variant of bionic libs
Bionic libs are moved to the runtime APEX and thus are available via the
path /apex/com.android.runtime/lib[64]. However, for processes that are
started before the APEX is ready, a copy of the bionic libs should be left
under /system/lib[64]. This change ensures that the bootstrap bionic
libs are always installed to the system partition.

Note that, at runtime, the bionic libs in the runtime APEX are
bind-mounted to /system/lib/<libname>.so which essentially hides the
bootstrap bionic libs to the processes after the activation of the
runtime APEX.

Bug: 120266448
Test: m and check that libc, libdl, libm are under
/system/lib[64]

Change-Id: I9d5e8e718aa020c012f312a70ed54652130048dd
2019-01-11 13:44:20 +09:00
Treehugger Robot 8a7fb942e9 Merge "Remove ExactCalculator module" 2019-01-11 03:14:39 +00:00
Elliott Hughes 59de691ecf Merge "Use NEON for CTS/SDK/VTS builds too (64-bit edition)." am: 6621a2fa8b am: 2818d925f9
am: 5bd3719dc2

Change-Id: I1f6dd9008ce3b7eb7330bc84fe95d5e6573767b8
2019-01-10 13:47:28 -08:00
Elliott Hughes eed7c8a458 Merge "Use NEON for CTS and SDK builds too." am: c64bc3229a am: 048939b1f0
am: c8a5ae36c0

Change-Id: I7cfbf110a81abf31aa816531b5ef0f6077ee84b4
2019-01-10 09:01:34 -08:00
Elliott Hughes 53a5581430 Use NEON for CTS/SDK/VTS builds too (64-bit edition).
It's 2019 and the CDD has required NEON for many years now.

I've left unbundled apps alone for now.

I think the recent fix here for https://issuetracker.google.com/116070933
was incorrect. (I've commented on the bug.)

Test: treehugger
Change-Id: Ia02305cfdff9fd18a85359bc44d8eb9cab1413bd
2019-01-10 08:59:47 -08:00
Elliott Hughes c64bc3229a Merge "Use NEON for CTS and SDK builds too." 2019-01-10 16:39:41 +00:00
David Srbecky acb347e594 Merge "Enable mini-debug-info for JITed methods by default." am: 06b8732b9f am: 353e441332
am: 85cabdef37

Change-Id: I841e24a00cb504975a0cc152ece3d36f71d8b86f
2019-01-10 06:14:10 -08:00
David Srbecky 06b8732b9f Merge "Enable mini-debug-info for JITed methods by default." 2019-01-10 13:24:24 +00:00
Treehugger Robot 3da0dbe459 Merge "Add 'dmctl' to default debug utilities." 2019-01-10 07:10:06 +00:00
TreeHugger Robot 5b2707255c Merge "vibrator: Add Vibrator HAL 1.3" 2019-01-10 06:55:50 +00:00
Justin Klaassen 6900aa2144 Remove ExactCalculator module
Individual products can add their own calculator package if desired.

Bug: 120905067
Test: lunch aosp_arm64 && make -j8
Merged-In: I60490b6e2a42c4304768075e8fef9f07cb72d268
Change-Id: I60490b6e2a42c4304768075e8fef9f07cb72d268
2019-01-10 14:30:55 +08:00
TreeHugger Robot 11ed7d73f2 Merge "Add the InputClassifier HAL to vndk" 2019-01-10 04:07:23 +00:00
SzuWei Lin e491887a29 Merge "Fix Legacy GSI settings for BoardConfigGsiCommon.mk" am: eeeb9f96c8 am: 3b9a7bca18
am: 27c2a4f8ab

Change-Id: I9ebce6a79e72f4ded2d337842671b47a361bd3a6
2019-01-09 19:35:19 -08:00
SzuWei Lin a2d5ed1bed Fix Legacy GSI settings for BoardConfigGsiCommon.mk
Legacy GSI had been changed to include BoardConfigGsiCommon.mk
instead of treble_common*.mk. However, some default settings are
different than the original. This patch fixes
BOARD_BUILD_SYSTEM_ROOT_IMAGE in Legacy GSI makefiles.

The patch also removes redundant settings and fix some comments.

Bug: 122282239
Test: make
Change-Id: Ie4eb8cf410bfd2edc74648c0e5ee81028242a1b7
2019-01-10 10:26:03 +08:00
Chong Zhang dfdf978f58 Load sw C2 codecs from apex
Replace the C2 entrypoint lib with apex.

bug: 111407413
Change-Id: I7b118f69219f143d55560ec824dd93066da8c842
2019-01-10 02:08:07 +00:00
Elliott Hughes 27932bf3a8 Use NEON for CTS and SDK builds too.
It's 2019 and the CDD has required NEON for many years now.

I've left unbundled apps alone for now.

Test: treehugger
Change-Id: Iee22d4605a81e2840063a203b76db7df5b4f3c37
2019-01-09 20:15:30 +00:00
Santiago Etchebehere 92b6ebeedd Add user customized fonts to handheld system.
Reapply the change reverted in ag/5945048 now that
ag/5979911 fixed the font issue.

Bug: 118756857
Test: make
Change-Id: I84781341b5343a4881c80572a024109ee9a6ea2c
2019-01-09 11:51:38 -08:00
Anton Hansson ac952ee4d7 Enable 64-bit mediadrmserver for mainline
This flag turns on 64-bit mediadrmserver for mainline. Keep the default
value for GSI for now.

Bug: 80410283
Test: make
Change-Id: Ie09b258f140b56121e4b531775b2a052b4dc6c15
2019-01-09 16:12:38 +00:00
David Srbecky 99ae76e24a Enable mini-debug-info for JITed methods by default.
Generate and store minimum amount of information necessary to
create backtraces in native tools (for crashes and profilers).

The data is compressed and takes <5% relative to JIT code size
(which is less than recent stack map savings; so win overall).

Averages for non-compiled run of maps which filled JIT code cache to ~4MB:
Q: code:1.55kb/method data:0.738kb/method debug:0.064kb/method(*this CL*)
P: code:1.62kb/method data:0.956kb/method debug:0.835kb/method(if enabled)

I also measured the P to Q on-disk stack maps savings in CL/762841 as ~28%
(not all of that is applicable to JITed code, so that is an overestimate).

Bug: 111350693
Test: Device boots, mini-debug-info is generated.
Change-Id: I95883bd4f2d5c2308149ab0ba641b0a703c7f81b
2019-01-09 13:32:12 +00:00
SzuWei Lin 9d71661ea4 Merge "Refactor GSI BoardConfig.mk" am: 104904bdf0 am: eec9c48a6a
am: 8110b534f8

Change-Id: Ic1981c1cfeb172cd439b2b01be18fb3c0d532fc5
2019-01-08 22:29:14 -08:00
Treehugger Robot 104904bdf0 Merge "Refactor GSI BoardConfig.mk" 2019-01-09 06:05:41 +00:00
Benjamin Schwartz 1a3c9f26d1 Merge "Add android.hardware.power.stats@1.0 to current.txt" 2019-01-08 17:58:59 +00:00
Anton Hansson 0909191b82 Merge "Move overridden AOSP modules out of *_system mks" 2019-01-08 16:20:47 +00:00
Anton Hansson dced84f9ec Merge "Move overridden AOSP modules out of *_system mks" 2019-01-08 12:54:10 +00:00
Anton Hansson 0fed3cf513 Merge "Add adb_keys to mainline_system if they exist" am: 3a4a966507 am: 83d2837f4b
am: 01193c8f4c

Change-Id: Ib392eca3ff1627b96ed6a7ce138abad07d418e8c
2019-01-08 04:14:05 -08:00
Anton Hansson 14ef5cc4da Merge "Add mainline.mk" am: 64bf2593f0 am: 082a87e4dc
am: a39232ae43

Change-Id: Id13049c87d2457b2587e9aae236d39446b4ef335
2019-01-08 04:12:19 -08:00
Anton Hansson 3a4a966507 Merge "Add adb_keys to mainline_system if they exist" 2019-01-08 11:40:25 +00:00
Anton Hansson 64bf2593f0 Merge "Add mainline.mk" 2019-01-08 11:40:11 +00:00
Anton Hansson 46441eac2f Merge "Wifi: Add Wifi library to mainline_system" 2019-01-08 10:22:21 +00:00
Anton Hansson 811f2392c0 Move overridden AOSP modules out of *_system mks
All these modules are to be moved to /product, as they are not
part of the core system image. Move them out of the _system mks
as a start, and temporarily whitelist them so that they can be
moved iteratively.

Bug: 122353713
Test: make
Change-Id: If658e6b4565924cd915a183400c5b2b32984eca4
Merged-In: If658e6b4565924cd915a183400c5b2b32984eca4
2019-01-08 10:03:58 +00:00
SzuWei Lin c0104fb4ed Merge "Set 32bits Legacy GSI to be 32bits binder" am: ebe0590d0a am: ec8517adb4
am: be5abf1b2a

Change-Id: If883acde4919e3666b4afc0d3ab678710fa0c7d2
2019-01-08 01:58:22 -08:00
Anton Hansson 746bcc91cf Move overridden AOSP modules out of *_system mks
All these modules are to be moved to /product, as they are not
part of the core system image. Move them out of the _system mks
as a start, and temporarily whitelist them so that they can be
moved iteratively.

Bug: 122353713
Test: make
Change-Id: If658e6b4565924cd915a183400c5b2b32984eca4
2019-01-08 09:46:31 +00:00
SzuWei Lin 1457b3fcbf Refactor GSI BoardConfig.mk
The patch modifies the Legacy GSI to use BoardConfigGsiCommon.mk
instead of board config treble-common*.mk, and delete these
treble-common*.mk files.

After the patch, the GSI common board configs are in single file
BoardConfigGsiCommon.mk

The patch also includes:

- Moving `TARGET_COPY_OUT_VENDOR := vendor` to
  BoardConfigGsiCommon.mk, because GSI always contains no vendor
  contents.
- Configure the binder interface bitness explicitly.
- Unify the structure of each BoardConfig.mk.

Bug: 122282239
Test: compare the out folder between with and without the patch
Test: output files are all the same
Change-Id: Ie5901446920dda317dea848e6d5a7bbcf10a32cf
2019-01-08 17:35:05 +08:00