Commit Graph

4392 Commits

Author SHA1 Message Date
Ahmed ElArabawy 69e62af873 Wifi: Add Wifi library to mainline_system
This commit adds android.hardware.wifi@1.0.so to mainline_system.

Bug: 122363107
Test: Successful build
Test: lunch crosshatch-userdebug ; make -j64
Test: lunch mainline_system_arm64; make -j64
Change-Id: Ifb402ad59e02f6f5c18c2372655a5896e917d5c2
Merged-In: Ifb402ad59e02f6f5c18c2372655a5896e917d5c2
(cherry picked from commit b38ce5a6ff)
2019-01-08 09:24:48 +00:00
Treehugger Robot ebe0590d0a Merge "Set 32bits Legacy GSI to be 32bits binder" 2019-01-08 09:19:36 +00:00
Vinay Kalia 0d7b8c02d2 Add android.hardware.power.stats@1.0 to current.txt
BUG: 117424656
Test: Compilation and device boot
Change-Id: I3c7263c83ab7b245205a21c7c503e8fe43a23de7
(cherry picked from commit 72bbe36216)
Merged-In: I3c7263c83ab7b245205a21c7c503e8fe43a23de7
2019-01-07 14:08:30 -08:00
Treehugger Robot 0d5fcc075e Merge "Making abb part of system image." 2019-01-07 19:34:32 +00:00
Treehugger Robot ebe0b7a1c9 Merge "Remove more Android.mk files from build/make" 2019-01-07 17:44:20 +00:00
Anton Hansson fdc3203ef0 Add mainline.mk
Contains mainline_system and the relevant AOSP packages for the
other partitions. Intended to be inherited by the aosp_X variants
of mainline devices.

Bug: 118826166
Test: build mainline_arm64
Change-Id: I7d1953bf5ccda4d9652dca4d32efb75b31015342
2019-01-07 16:49:29 +00:00
Alex Buynytskyy 8a96a65bc7 Making abb part of system image.
Test: manual

Change-Id: Id8921e0afa0d1f94d439f4a35d71bb017ed6f765
2019-01-07 15:45:21 +00:00
Anton Hansson 0cb36d7bbc Add adb_keys to mainline_system if they exist
Similar to I1720644d89ec5289fbe99f95ebcdfbb3f3b20e67,
but for mainline_system. This reduces the diff between
full_base.mk and mainline_system, a step on the way to
get aosp_blueline inheriting mainline_system.

Bug: 118826166
Test: make
Change-Id: I52bfe5dfb3e1a22db2d46fe9d1f372ee25533fdd
2019-01-07 14:36:12 +00:00
Anton Hansson 14fc7361b9 Merge "Add a languages_default.mk" 2019-01-07 10:32:25 +00:00
Anton Hansson 47ca8d0a73 Merge "Remove km_MH locale from mainline" 2019-01-07 10:31:52 +00:00
SzuWei Lin aee5affa6d Set 32bits Legacy GSI to be 32bits binder
The binder interface bitness is always 64bits from P.
To keep 32bits binder interface for Legacy GSI, we need to explict
configure it.

Bug: 122282239
Test: lunch aosp_arm_ab-userdebug; make -j
Change-Id: I90b45adb52c398d1c0cf3f877199f9dd1e0b3f86
2019-01-07 18:23:42 +08:00
Dan Willemsen ef45381221 Remove more Android.mk files from build/make
soong_ui is passing the Android.mk file list to Kati, and it ignores
Android.mk files found via symlinks, so we don't need the workarounds
for build/make/target/board/Android.mk and build/target/board/Android.mk
both existing.

We've got dist support in Soong now, so we can remove the signapk
Android.mk

Bug: 122332221
Test: m dist out/dist/signapk.jar out/dist/libconscrypt_openjdk_jni.so
Change-Id: I2ac9016b04146340c5ac80f7090d00e186023574
2019-01-05 02:40:45 +00:00
Treehugger Robot afdd7b99e5 Merge "Remove nonsensical inclusion of Home" 2019-01-05 01:17:41 +00:00
Sandeep Patil 35972d1b1a Add 'dmctl' to default debug utilities.
dmctl can list all device mapper targets and their tables which is
extremely useful information for a bugreport. Especially to compare
the device mapper setup with the partition metadata.

Bug: 120916687
Test: 'dmctl list device -v'

Change-Id: I9e3afcf146b2814b0304f69cdf6029303beb57c7
Merged-In: I9e3afcf146b2814b0304f69cdf6029303beb57c7
Signed-off-by: Sandeep Patil <sspatil@google.com>
2019-01-04 15:24:19 -08:00
Ruchi Kandoi 4c4ba4e0d9 Merge "Add android.hardware.nfc@1.2 to VNDK" 2019-01-04 19:56:41 +00:00
Anton Hansson 7216f022a5 Remove nonsensical inclusion of Home
Home is overriden by Launcher3QuickStep, so listing these two
in the same mk is a noop.

Test: make
Change-Id: I2865a5346c63efd78e434185041f320ca344e854
2019-01-04 16:00:21 +00:00
Treehugger Robot 150cc7c0d4 Merge "Remove languages_small.mk" 2019-01-04 15:55:05 +00:00
Anton Hansson c004218b8b Add a languages_default.mk
This is the same list of languages that was in mainline_system.mk
before, but sorted alphabetically.

Make languages_full inherit this list and add the only locale present
that was previously unique (the en_XC pseudo-locale).

Test: make
Change-Id: I09f0c7521740d4c779d5fd2a50baa92b7cdfe8d4
2019-01-04 14:19:59 +00:00
Anton Hansson beb15ac6a8 Remove km_MH locale from mainline
This doesn't appear to be a real locale. The interpretation would be
khmer spoken in the Marshall Islands, which doesn't appear to be a thing.
The locale doesn't appear in https://lh.2xlibre.net/locales/ or
frameworks/base/core/res/res/values/locale_config.xml.

It might have been a typo when it was introduced in internal change
I78d91916fdbb04502466c26bf7d160fe679aaa31.

Test: make
Change-Id: Id1deebdd8ad2a5601c15b84e010be766b3a951e9
2019-01-04 14:15:04 +00:00
Treehugger Robot ad68902d5a Merge "Add Tag to mainline_system" 2019-01-04 13:47:30 +00:00
Anton Hansson ffa1da0620 Remove languages_small.mk
Not imported by any known products.

Test: build_test
Change-Id: Id4e79ca14b57f6e63260424802f9a063bcb4de4f
2019-01-04 13:05:52 +00:00
Jiyong Park 46e7f186b7 Merge "Remove the testing-purpose APEX keys." 2019-01-03 18:28:42 +00:00
Anton Hansson da77c52806 Add Tag to mainline_system
Needed for NFC. Has a proprietary override, which is the
only reason I had not added it earlier.

Test: make
Bug: 80410283
Change-Id: I1fad3d2bab0ff2fa8bbd32388049f0f8c86b68a5
2019-01-03 16:50:58 +00:00
Narayan Kamath 7be9e4dacc Merge "base_system: Add ModuleMetadata to base system image." 2019-01-03 13:40:51 +00:00
SzuWei Lin 3da383971c Revise apns-conf.xml of Legacy GSI from goldfish to sample
GSI includes a default apns-conf.xml. This patch align the
apns-conf.xml in Legacy GSI with the one in non-Legacy GSI.

Bug: 122238063
Test: lunch aosp_arm64_ab-userdebug; make -j and check output
Change-Id: Ia9e2e411d9f62896f75e190c72260688bed5369d
2019-01-03 07:09:00 +00:00
Narayan Kamath 5e8025e28c base_system: Add ModuleMetadata to base system image.
Test: m
Bug: 121187951
Change-Id: Idd87f95d2cd0c5d34009e7b55919a93dc11e2747
2018-12-31 14:19:25 +00:00
Jiyong Park e118692657 Remove the testing-purpose APEX keys.
They are embedded in the corresponding APEXes.

Bug: 122047804
Test: m
Change-Id: I244aeb153796b048d78671cd024fec03e4fda083
2018-12-27 16:06:29 +09:00
Remi NGUYEN VAN 7264a0daab Merge "Build NetworkStack package" 2018-12-26 00:48:25 +00:00
Patrik Fimml 618f1b2c0c Push cameraserver downstream from base_system.mk.
Some non-phone form factors don't want cameraserver to save storage and RAM.
Pushing it down to handheld and other build files allows selective inclusion to
happen there.

Intended to be a no-op refactoring, will disable for ATV in a follow-up CL.

Bug: 118369095
Test: built system image for random device as smoke test
Change-Id: I260fa5c9e512341d6a6824afebd5e8273fa5e66c
Merged-In: I260fa5c9e512341d6a6824afebd5e8273fa5e66c
2018-12-21 11:53:09 +00:00
Ruchi Kandoi edb74d2368 Add android.hardware.nfc@1.2 to VNDK
Test: Compiles
Change-Id: I6a334149323d909ce47c18bde7c78dc6511049b8
2018-12-19 15:02:53 -08:00
Yifan Hong 4663e3257a Add lpdump to all builds
Right now, it takes 29K.

Test: builds

Change-Id: I8f2e4be52cca6697724988ddc880aa6f29166cd1
2018-12-19 11:32:54 -08:00
SzuWei Lin 2d541f35cd Apply skip mounting product and other partitions in GSI
Uses skip_mount.cfg for `init` to skip mounting product and
product_service paritions in GSI. The patch also removes
the un-mount in `init.gsi.rc`.

With this patch, a device with flashing GSI will not use the
content in product/prodcut_service partitions on the device
and will always use the content under /system/product in GSI.

The patch also rename the target/product/vndk to
target/product/gsi.

Bug: 120208657
Bug: 117246558
Test: Boot blueline master/P with flashing aosp_arm64-userdebug
Test: /product and /product_service should be symbolic links
Change-Id: Idc9c60e5a05b3d90fc4ab64b0ac000571849b19b
2018-12-19 14:42:27 +08:00
Justin Yun c80ae22e44 Remove libunwind from VNDK
libunwind has no dependency on vendor modules.
Remove it from VNDK list.

Bug: 120948701
Test: build and boot
Change-Id: Ic4c0080fea7da021334aaa1a81b3b7377b06f62f
2018-12-19 00:57:17 +00:00
Anton Hansson acb3084aa2 Allow mainline_arm64 to have product contents
The device currently targeted does not have a product partition.
Adding product-specific apps to it therefore trips up the artifact path
check for /system.

Workaround that by whitelisting /system/product/% for now. This should
be removed when the device has the right partitions.

Bug: 110072687
Test: build mainline_arm64
Merged-In: I54175bc51df5dfe82c64f66f255a2cea6ff9b9ab
Change-Id: I54175bc51df5dfe82c64f66f255a2cea6ff9b9ab
2018-12-18 14:34:29 +00:00
Treehugger Robot 9aaf0d4019 Merge "Add rss_hmw_reset to system partition" 2018-12-17 12:31:26 +00:00
Anton Hansson 9c9ea97fa0 Merge "Add hansson to target/board and target/product OWNERS" 2018-12-14 18:02:52 +00:00
Anton Hansson ddcbb0240f Add hansson to target/board and target/product OWNERS
Test: No
Change-Id: I626b6465ba05c96a2c6e4425959d17f107881859
2018-12-14 11:27:39 +00:00
Adam Vartanian cee5d1da46 Add Conscrypt APEX to base image
Test: manual inspection of base image
Bug: 110404540
Change-Id: Ief4104ab0a2b42407554b96e9a8b1b47cddff156
2018-12-14 09:58:13 +00:00
Treehugger Robot 93e6c59784 Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master" 2018-12-13 05:45:21 +00:00
Remi NGUYEN VAN a329810971 Build NetworkStack package
For go devices, the network stack should not run in a separate process:
NetworkStackLib is used in-process instead.

Test: built & booted a go and non-go config
Bug: b/112869080

Change-Id: I18b0446a0c0d19519ce0ef344f185b54ad7d4ac6
2018-12-13 09:28:10 +09:00
Nicolas Geoffray 1bc5aff793 Remove perfprofd from set of binaries installed on system.
Needed to get some space on marlin-eng :(

Also avoids static linking libart into perfprofd. Roland will follow-up by reverting the no-perfprofd changes.

bug: 73175642

Test: lunch marlin-eng && m -j32
Change-Id: Ic1c79c6dd1052981801b92604f9891a8a63b4ea0
2018-12-11 23:00:57 +00:00
Xin Li 3449df5704 DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master
Bug: 120502534
Change-Id: Ib1b590fc605b17e3a3901e65f62d5f7ad2257f6a
2018-12-11 14:03:11 -08:00
Andreas Gampe ab459af5b5 Merge "Build: Add test apex keys to debug product packages" 2018-12-06 19:13:56 +00:00
Treehugger Robot 5cf5594818 Merge "Audio VNDK: add V5 HIDL libraries" 2018-12-04 17:44:07 +00:00
Anton Hansson de6f4cfdc8 Reenable avb for mainline
Partial rollback of Id5d114bde8b93800fe52c791ccc47cdffd86f382.

It is likely mainline also wants some of the BOARD_AVB_SYSTEM.. flags,
but I'm not entirely sure which ones.

Test: run build_mixed with this patch
Change-Id: I6ef3c01f6c74e6d93cf798b26b8c7a4785bbefb4
2018-12-04 16:56:33 +00:00
Anton Hansson c0f0c2094d Merge "Split GSI and mainline board configs" 2018-12-03 11:16:30 +00:00
Kevin Rocard 693dc9a53f Audio VNDK: add V5 HIDL libraries
Bug: 118203066
Test: compile
Change-Id: I830f9fac7a3a99f06b2112ae844bf7b3f6ad2888
Merged-In: I830f9fac7a3a99f06b2112ae844bf7b3f6ad2889
Signed-off-by: Kevin Rocard <krocard@google.com>
2018-12-02 18:21:11 -08:00
Anton Hansson 5fbe6abfb7 Merge "Add llkd to mainline_system" 2018-11-30 10:33:44 +00:00
Anton Hansson bd5bad916a Merge "Remove USE_HWC2 plumbing and settings" 2018-11-30 09:11:28 +00:00
Anton Hansson 40c4773288 Split GSI and mainline board configs
Make the mainline board config only import a subset of the GSI
options. The current set of attributes is the minimal set to
keep mainline_system_arm64 building, as well as not producing
any diffs in the current set of files in /system. It's possible
we'll need to move a few more over, but we'll do that on a
case-by-case basis.

Make the GSI config inherit the mainline one. The only diff for GSI
should be the addition of BOARD_USES_SYSTEM_OTHER_ODEX.

Bug: 119911662
Test: build mainline_system_arm64
Change-Id: Id5d114bde8b93800fe52c791ccc47cdffd86f382
2018-11-29 20:56:39 +00:00
Anton Hansson 3b11910bfb Add two compile flags for mainline
- LMKD_LOG_STATS being false is a disk-saving flag not suitable
  for mainline
- USE_HWC2 should likely be cleaned up, but toggles some timing
  behavior in libhwui

Bug: 80410283
Test: build mainline_system_arm64
Change-Id: I8a1be50bd2cc48405656cd1daad8e8a1ca555871
2018-11-29 10:10:42 +00:00
Anton Hansson b91e0c5ab1 Remove USE_HWC2 plumbing and settings
Last use removed in Ibefde5feaeaec8fb68cbc6ea1c019bf8b5e608bb

Test: make
Change-Id: I0567347379b1d030ed2f8dba7babc1f22be5dac4
2018-11-29 10:08:07 +00:00
Treehugger Robot d5bb13addb Merge "Add the dns resolv module to /system" 2018-11-29 10:01:19 +00:00
chenbruce 27bfb6371f Add the dns resolv module to /system
This includes the dns resolv APEX in the system image

Bug: 119527674
Test: build / boot crosshatch
Change-Id: Ie92db9979fb63bfabcd29590d0ea236fd8717970
2018-11-29 12:36:32 +08:00
Andreas Gampe 825ce40e78 Build: Add test apex keys to debug product packages
The keys are required for tests.

Bug: 119261380
Bug: 119264433
Test: m
Change-Id: I36a96cfae21f1f545a0168cfd45d6f8a2a139ab3
2018-11-28 14:36:16 -08:00
Malcolm Chen 07fdc21766 Adding IRadioConfig 1.2 to current.txt.
To better test CBRS, we want IRadio 1.1 to be Android P plus CBRS
HAL interfaces, while 1.2 will be 1.1 plus all other Android Q
interfaces. So we are creating V1_2 folder and moving everything
currently defined in android.hardware.radio.config.V1_1 there.

Bug: 117805040
Test: build and telephony unittest
Change-Id: Icf208036385d1d9994d07fe7d839b290f2234622
Merged-In: Icf208036385d1d9994d07fe7d839b290f2234622
2018-11-27 19:36:05 +00:00
Malcolm Chen 916106972d Adding IRadio 1.4 to vndk current.txt
To better test CBRS, we want IRadio 1.3 to be Android P plus CBRS
HAL interfaces, while 1.4 will be 1.3 plus all other Android Q
interfaces. So we are creating V1_4 folder and moving everything
currently defined in android.hardware.radio.V1_3 there.

Bug: 117805040
Test: build and telephony unittest
Change-Id: I0a0c651b25caa4d0bd88bf51c02a9f7160d0caff
Merged-In: I0a0c651b25caa4d0bd88bf51c02a9f7160d0caff
2018-11-27 19:14:18 +00:00
Anton Hansson 159eb0938b Merge "Add two more libraries to mainline_system" 2018-11-27 08:53:29 +00:00
Steven Moreland 62da89ca75 safe_union@1.0 to vndk-sp
This is a types-only HAL used by any HAL as a convenient primitive for
effectively using safe_union, so it should be able to be
double-loadable.

Bug: 119790516
Test: build and boot walleye
Change-Id: I8f48ec6e3a0f47bfd5bb90d8c496848fbed85687
2018-11-26 12:24:32 -08:00
Anton Hansson 1f6e024bcc Add two more libraries to mainline_system
Bug: 80410283
Test: make
Change-Id: I479396b24b1a551afd591da9f4f550eb0a74b540
2018-11-26 17:08:07 +00:00
Anton Hansson 6d8a179cf1 Add a bunch of libraries to mainline_system
These are libraries commonly depended on by things on the product
partition. Add them explicitly for now.

Bug: 80410283
Test: build mainline_system_arm64
Change-Id: I6696990243397aa7109f88951ff120acf2a0f7e8
2018-11-20 14:53:09 +00:00
Anton Hansson 6f2cfd93d8 Merge "Add BOARD_USES_SYSTEM_OTHER_ODEX := true to mainline" 2018-11-20 10:05:27 +00:00
Dan Willemsen 66a468a772 Add ss as a previously debug tagged module
From external/iproute2

Test: check installed files on debug builds
Change-Id: Ie2e1fc927f636602b1285f8b0e62a926d538b150
2018-11-20 03:08:19 +00:00
Dan Willemsen cf0a2169d0 Add iw as a previously debug tagged module
From external/iw

Test: check installed files on debug builds
Change-Id: Ie1282e88dfee47f958e13fd7ec17163f1178cb22
2018-11-20 03:08:07 +00:00
Rafal Slawik f0ca96b8d1 Add rss_hmw_reset to system partition
rss_hwm_reset is binary that reset RSS high-water mark counters for all
currently running processes. It runs in a separate process because it
needs dac_override capability.

The binary is not a persistent service. It is invoked from a system
service by flipping sys.rss_hwm_reset.on property.

Bug: 119603799
Test: adb shell ls /system/bin
Change-Id: Iee0b54ec6486d8f23048819493f6d710db3feff6
2018-11-19 10:14:51 +00:00
Dan Willemsen 0d78e19721 Add previously debug tagged modules
From external/iputils

Test: check installed files on userdebug builds
Change-Id: I26e7cfa03f8a788283bce9c75fc38b4221cd57e6
2018-11-17 11:38:28 -08:00
Zach Riggle 0665927c9c Add sanitizer-status to PRODUCT_PACKAGES_DEBUG
This ensures all -userdebug builds have the sanitizer-status binary,
which is used to check which build flags were used for a given image.

It is important to distinguish between what the build fingerprint
claims, and what is actually available on the phone.

Change-Id: Iac1eabb8c5ed885a057f7a302b1887b7e9c4ccbc
Merged-In: Iac1eabb8c5ed885a057f7a302b1887b7e9c4ccbc
(cherry-picked from 3a26f80cd4)
2018-11-17 11:37:45 -08:00
Anton Hansson adbafe0a7c Add BOARD_USES_SYSTEM_OTHER_ODEX := true to mainline
Likely not the final setting we'll settle with for this device,
but brings mainline_system builds closer to the device builds
it's targeting.

Bug: 80410283
Test: build mainline_arm64
Change-Id: Ib672d1a060d0ad6a4e1faa210461bbbbaf6f2bc6
2018-11-16 16:36:50 +00:00
Treehugger Robot e67518fe6d Merge "Unmount product partition in GSI" 2018-11-16 05:17:33 +00:00
Neil Fuller fcdeba0d6d Merge "Add the time zone data module to /system" 2018-11-15 15:17:04 +00:00
SzuWei Lin 4999dc047c Unmount product partition in GSI
This is a workaround solution. It let GSI to unmount product
partition when booting. The patch avoid the problem that

- share UID between between system and product partition
- the product partition override the content under /system/product

Bug: 119391482
Test: Boot aosp_arm64-userdebug on a blueline device with Android P
Change-Id: I48808fcc1ca527a23eb1446b97176b08268b500e
2018-11-15 21:06:56 +08:00
Anton Hansson 08d4227898 Merge "Add libfwdlockengine to mainline_system" 2018-11-15 09:01:16 +00:00
Roland Levillain c47f2beef3 Merge "Revert^2 "Add the Android Runtime APEX module to PRODUCT_PACKAGES."" 2018-11-14 14:22:08 +00:00
Neil Fuller 97d2d0c8b5 Add the time zone data module to /system
This includes the time zone data APEX in the system image
which should flush out any obvious issues.

Bug: 119026403
Test: build / boot taimen
Change-Id: I3d9a8289d8af405a373c94891b482540e59a3571
2018-11-14 13:13:59 +00:00
Anton Hansson a194a83e56 Merge "Add TimeZoneUpdater apk to mainline /system" 2018-11-14 08:59:23 +00:00
Roland Levillain 53ccc72179 Revert^2 "Add the Android Runtime APEX module to PRODUCT_PACKAGES."
Unless specified otherwise (using `DONT_INCLUDE_RUNTIME_APEX`).

This reverts commit 4c39bd2c6e.

Test: make systemimage on taimen-userdebug
Test: make systemimage on marlin-eng
Test: make systemimage on marlin-userdebug
Test: make systemimage on sailfish-userdebug
Bug: 113373927
Change-Id: I1f1f0ffcc7bb6bf26d4df72613a806d2d73c5e82
2018-11-13 20:20:05 +00:00
Anton Hansson 8879840c52 Add llkd to mainline_system
Bug: 110410711
Test: lunch mainline_arm64; m
Change-Id: Idb42e91ee9dcb91a0ca5c0e3eabf293a1213ff32
2018-11-13 15:19:34 +00:00
Roland Levillain 4c39bd2c6e Revert "Add the Android Runtime APEX module to PRODUCT_PACKAGES."
This reverts commit cb6e935db8.

Reason for revert: Increases the system image size beyond the
limit for some targets (e.g. marlin).

Bug: 113373927
Change-Id: Ia609523a60179c32d377d0735049c944464ea0cc
2018-11-12 17:24:59 +00:00
Roland Levillain d9d0e35652 Add some ART people as OWNERS of target/product/runtime_libart.mk.
Test: build/make/tools/checkowners.py -c -v build/make/target/product/OWNERS
Bug: 113373927
Change-Id: I7780803432b53b9a1ab42b7bb80695a200f2e386
2018-11-12 14:12:56 +00:00
Jordan Liu a9ce0ce07a Merge "Add radio config version 1.1" 2018-11-09 18:50:35 +00:00
Roland Levillain cb6e935db8 Add the Android Runtime APEX module to PRODUCT_PACKAGES.
Test: make systemimage
Bug: 113373927
Change-Id: I49c01fd40b2b777128586161e4c6ece6c5aea293
2018-11-07 15:36:14 +00:00
Anton Hansson 8af128d703 Add libfwdlockengine to mainline_system
Required by certain ringtones, apparently (though I couldn't find
what actually uses this library).

Bug: 80410283
Test: lunch mainline_arm64; m
Change-Id: I36b5b07156b41c442903d7d07e6b9d9f4abe2345
2018-11-06 17:29:32 +00:00
Anton Hansson cac5bff8ae Add TimeZoneUpdater apk to mainline /system
This is disabled by default, but can be enabled via a
config overlay.

Bug: 116191025
Bug: 80410283
Test: make
Change-Id: Ibfe5d85580ccccc774de166750d91efd74458a8d
2018-11-06 11:23:29 +00:00
Peiyong Lin 318dde33d3 [GPU Service] Add gpuservice into PRODUCT_PACKAGES.
BUG: 118347356
Test: Build, flash, boot, `adb shell cmd gpu vkjson` to verify
Change-Id: Ib9a7d13817853da040c8c4059beca90418de4621
2018-11-03 15:01:17 -07:00
Jiyong Park 90418404d4 Remove apex_debug_key
Remove apex_debug_key, in favor of apex.test.key which is under
/system/apex and is built with soong.

Bug: 118213152
Test: /system/etc/security/apex/testkey exists
Change-Id: Iaa0facea2d26cadd48783778e8915bc3c560de10
2018-11-02 14:36:08 +09:00
Treehugger Robot c03653720f Merge "add flags_health_check binary to system_base.mk" 2018-11-01 18:46:52 +00:00
Hongyi Zhang eaa08d4cd4 add flags_health_check binary to system_base.mk
Test: build succeeded, /system/bin/flags_health_check can be found on
device

Change-Id: Ia8b73d7bbfc6951e580f62b6bebf006211b0ce33
2018-11-01 03:28:19 +00:00
Jiyong Park 53c816f7de Don't check VNDK lib list for PDK builds
Some libs, such as libandroid_net.so and some other Renderscript related
ones, can't be built in PDK due to missing frameworks/base.

Bug: 118634643
Test: build PDK; build doesn't break due to missing VNDK libs

Change-Id: Ic2bf657d796c2044c3b8f49b2963ca84760d54d1
2018-11-01 10:50:27 +09:00
Anton Hansson 3ae69f2990 Add list of locales to mainline_system
Locales not in this list will get stripped.

Bug: 80410283
Test: lunch mainline_arm64; m
Change-Id: I90a63e234e2f2ee32da8f9f257248f5ee6354151
Merged-In: I90a63e234e2f2ee32da8f9f257248f5ee6354151
(cherry picked from commit d994b0dc98)
2018-10-30 08:54:30 +00:00
Anton Hansson 41ec0a65a4 Merge "Add vendor restrict to mainline targets" 2018-10-30 07:43:55 +00:00
Anton Hansson 123f8e73ed Add vendor restrict to mainline targets
Prevents additions of non-aosp artifacts to these products.

Bug: 80410283
Test: lunch mainline_arm64; m nothing
Test: lunch mainline_system_arm64; m nothing
Change-Id: Id12a77bd7f4cc9917aecbca76e8a2842d7c77613
2018-10-29 16:25:49 +00:00
Anton Hansson 284b81c1ae Add a mainline arm64 device
The existing 'generic' targets are emulator devices, and targeting
it has the side-effect of including emulator-specific artifacts.

Create a mainline device instead, which is really generic. This also
allows specifying tweaks unsuitable for the emulator.

Include BoardConfigGsiCommon for now, even though it includes a few
things we likely won't want in the future.

Bug: 80410283
Bug: 111538404
Test: lunch mainline_arm64; m
Change-Id: I15e7cb41fcbd3c0592a091ba7a8575ddf10bda71
2018-10-29 16:15:04 +00:00
Treehugger Robot f26f313d17 Merge "libvixl-arm and -arm64 are no longer VNDK libraries." 2018-10-24 01:41:57 +00:00
Jordan Liu 1eba69d346 Add radio config version 1.1
Version 1.1 includes EID as part of SimSlotStatus.

Test: make
Bug: 116656814
Change-Id: Ief5e866fc2fd91563a02684fa74bcc37081bf1be
2018-10-23 15:15:31 -07:00
Treehugger Robot 17c9e2a296 Merge "Workaround Legancy GSI for some Wifi firmware" 2018-10-19 22:22:03 +00:00
Bill Yi 0f693d3f25 Merge "Merge pi-dr1-dev to aosp-master" 2018-10-19 21:21:30 +00:00
Florian Mayer 0c41ee3b35 Merge "Build heapprofd per default." 2018-10-19 20:45:02 +00:00
SzuWei Lin 11892a4b9a Workaround Legancy GSI for some Wifi firmware
Bug: 117963911
Test: Turn on wifi with aosp_arm64_ab-userdebug on Pixel 1/2/3 devices
Change-Id: I0d516876522a687709ff21cbfc5bc0cc415b8335
2018-10-19 17:37:20 +08:00
Anton Hansson a38f6aac3a Merge "Remove PRODUCT_SHIPPING_API_LEVEL in mainline_system"
am: 058f33ec0f

Change-Id: Ie9ca08191c1b3b75aef94aad1a7a1458a5f3dd67
2018-10-18 09:05:59 -07:00
Anton Hansson 058f33ec0f Merge "Remove PRODUCT_SHIPPING_API_LEVEL in mainline_system" 2018-10-18 15:32:47 +00:00
Anton Hansson b65a5ba193 Remove PRODUCT_SHIPPING_API_LEVEL in mainline_system
Let this be defined in the leaves instead. As is it frequently causes
problems where the product inheriting this also inherit another value
of PRODUCT_SHIPPING_API_LEVEL, leading to invalid values unless
overridden again.

Bug: 80410283
Test: lunch mainline_arm64; m nothing
Test: lunch mainline_system_arm64; m nothing
Change-Id: Id08b6cc0cd8815404e548c521c9e40706ba8ca16
2018-10-18 13:40:22 +01:00
Jiyong Park c551b22f44 libvixl-arm and -arm64 are no longer VNDK libraries.
libvixl-arm and libvixl-arm64 are not used by any vendor libraries, but
only by ART. Removing them from VNDK.

Test: m
Change-Id: I5b83be13cd70fb12581fe561798484a8907022c6
2018-10-18 20:37:38 +09:00
Anton Hansson c15e717584 Merge "Add PresencePolling to mainline_system"
am: fc1e1a54cd

Change-Id: If92e8d9c57598c91b720fe71e9c6134deaa6e8d9
2018-10-18 02:04:16 -07:00
Anton Hansson e7334299df Merge "Re-submit "Add trailing slash to mainline path claims.""
am: 471a45b952

Change-Id: I99cb86a27887df6d2bf0cb922621c7c52e35aa39
2018-10-18 01:52:34 -07:00
Anton Hansson fc1e1a54cd Merge "Add PresencePolling to mainline_system" 2018-10-18 08:04:19 +00:00
Anton Hansson 471a45b952 Merge "Re-submit "Add trailing slash to mainline path claims."" 2018-10-18 08:03:53 +00:00
bohu ef14e322c2 Merge "fix generic_x86_arm"
am: 569ddd300b

Change-Id: I66338017c69b4ecfad9c630b1f9cbc6c45041d86
2018-10-18 00:27:28 -07:00
bohu 9b4e805a4d fix generic_x86_arm
To make the generic_x86_arm bootable.
Third party translabor binary can be added on the resulting
system.img and be tested at least on emulator.

BUG: 117673798

Change-Id: Iffbcf9217bbedc12ba83a4851e84ecbf299bf8e7
Merged-In: Iffbcf9217bbedc12ba83a4851e84ecbf299bf8e7
2018-10-17 21:57:15 +00:00
Anton Hansson f452c3528d Merge "Fix typo"
am: fac7b1de9c

Change-Id: Ia4b33f3d51aa32d49ff29b387eabaabb2defa085
2018-10-17 10:53:32 -07:00
Anton Hansson da02e8619a Add PresencePolling to mainline_system
Missed adding this app in I5afabc7dcc4ca320f06fdc4a2669fb1b81e53b0b.
It is usually added in conjunction with RcsService.

Bug: 80410283
Test: lunch mainline_arm64; m nothing
Change-Id: Ic721d1dcef479a03f4b603bd77a91801ea9dd9ec
2018-10-17 18:04:46 +01:00
Anton Hansson dcb5ef1333 Re-submit "Add trailing slash to mainline path claims."
With a workaround for preopt files that get installed into an unknown
path. The BoardConfig defines whether the files go in /system_other,
so allow that.

This reverts commit 46bf4b510c.

Test: lunch mainline_arm64-userdebug; m nothing
Change-Id: Ia75670eb6e3730ad0ff17f5b81954b69f6cab22b
2018-10-17 16:40:29 +01:00
Anton Hansson 28e0f0353c Fix typo
We want to add to PRODUCT_PACKAGES_DEBUG, not overwrite it.

Test: make
Change-Id: Ib67d20e33b30edd76ca24ce208f899cb4c25004c
2018-10-17 09:08:27 +01:00
Anton Hansson e885f35d05 Merge "Add some debug binaries to mainline_system"
am: 7f758720f6

Change-Id: I251cae723eb7efec8823f1501a3d2e2bd075b94a
2018-10-17 00:40:19 -07:00
Anton Hansson 8bafde098f Merge "Add the default charger images to mainline_system"
am: bb449e0bd4

Change-Id: I404000cdf8ecc31a9239bc9ebf0df6763382584f
2018-10-17 00:38:59 -07:00
Anton Hansson 7f758720f6 Merge "Add some debug binaries to mainline_system" 2018-10-17 07:23:18 +00:00
Anton Hansson bb449e0bd4 Merge "Add the default charger images to mainline_system" 2018-10-17 07:20:54 +00:00
Tom Cherry aafccd7aac Merge "Separate init packaging for mainline"
am: eea8dad05f

Change-Id: I9ddf2c1357793e28e81cf06d31abaa58acf798f6
2018-10-16 13:38:36 -07:00
Tom Cherry 6195b3578a Separate init packaging for mainline
With system-as-root, both first and second stage init belong to
system, but without system-as-root, first stage belongs to vendor and
second stage belongs to system.  This change references two phony
packages that include the right parts of init for systen and vendor.

Bug: 117606184
Test: mainline builds work properly
Change-Id: I997309655fef28cb1c3d4b3be989c035b5c6488d
2018-10-16 09:58:54 -07:00
Anton Hansson aa236882c0 Add the default charger images to mainline_system
Bug: 80410283
Test: lunch mainline_arm64; m nothing
Change-Id: I539b57ef436be3d6209d6436fae6c5eb75832bf7
2018-10-16 17:34:33 +01:00
Anton Hansson 36c5d0d1cc Add some debug binaries to mainline_system
These binaries are commonly included in debug builds, so include
them on mainline too.

Bug: 80410283
Test: lunch mainline_arm64; m nothing
Change-Id: If0adfb4795ea82e158a0218d9c16d897012dd8b5
2018-10-16 16:15:39 +01:00
Florian Mayer a910ba41c8 Build heapprofd per default.
See go/heapprofd for details. This will be used to profile the memory
usage of system services and apps.

See https://b.corp.google.com/issues/111289182#comment2 for system
health approval.

Change-Id: I2cf3af57e22c39c968afc0ca971f1d3862e27fe2
2018-10-15 14:14:55 +01:00
Anton Hansson f9ae891d1c Merge "Revert "Add trailing slash to mainline path claims.""
am: d1874ddf86

Change-Id: I4b945a7432a91b8294395da65542f8c155c361bf
2018-10-15 03:29:21 -07:00
Anton Hansson 46bf4b510c Revert "Add trailing slash to mainline path claims."
This reverts commit f1fb31a301.

Reason for revert: breaks some builds

Change-Id: I22f7939dc25bee6e3c2b8835f86ce5772ab3edec
2018-10-15 10:13:35 +00:00
Anton Hansson 249b60d0d8 Merge "Add trailing slash to mainline path claims."
am: 9d5b3dbf17

Change-Id: I936ddb71273ecab183219aa8614d3683aac66017
2018-10-15 01:48:17 -07:00
Anton Hansson f1fb31a301 Add trailing slash to mainline path claims.
Fixes a bug where system_other/ paths are considered part of
the "system" path.

Test: lunch mainline_arm64; m nothing
Change-Id: Id7aad41ea285f545260289f59e55c251677bdc38
2018-10-12 11:10:17 +01:00
Sooraj Sasindran 837eeb1f8e Merge "Add ANS to telephony systems"
am: 0c833a7fba

Change-Id: I960d762d49dc04d26d013511fba5747a0fd5761d
2018-10-11 21:55:17 -07:00
Treehugger Robot 0c833a7fba Merge "Add ANS to telephony systems" 2018-10-12 04:41:09 +00:00
Steven Moreland 3aefd6a480 Merge "VNDK-core += android.hidl.safe_union@1.0.so"
am: bb0d85169f

Change-Id: I42f0cea6881173c68be44c50f0bc2c5ae5bb64ba
2018-10-11 14:44:12 -07:00
Steven Moreland bb0d85169f Merge "VNDK-core += android.hidl.safe_union@1.0.so" 2018-10-11 21:23:27 +00:00
Tom Cherry 4ac9c871b0 Merge "Whitelist TARGET_COPY_OUT_RAMDISK for mainline"
am: 37660e2e32

Change-Id: I4b6bace334b13f8b20a94f37e0154c1b6b14d858
2018-10-11 11:14:22 -07:00
Steven Moreland 637b675b89 VNDK-core += android.hidl.safe_union@1.0.so
Bug: 116156870
Test: build & boot
Change-Id: I6712d035d5a30ed3e06acf9503e00231053ce6ce
2018-10-11 09:53:45 -07:00
Sooraj Sasindran 0d4a3c2e46 Add ANS to telephony systems
Add ANS to telephony systems

Bug: 114793357
Test: verified it using developer options
Change-Id: Id31be8524934b47345ba95954636822eb59264ac
Merged-In: Id31be8524934b47345ba95954636822eb59264ac
2018-10-10 20:40:52 +00:00
Tom Cherry 16f45d6cd9 Whitelist TARGET_COPY_OUT_RAMDISK for mainline
Test: mainline builds without BOARD_BUILD_SYSTEM_ROOT_IMAGE set.
Change-Id: Ia3a5bfa6d2ba1872710409d8c88bba6ff710a1c6
2018-10-09 10:41:01 -07:00
Igor Murashkin 270f1b5897 Merge "base_system: Add iorapd as core product target"
am: 976f1d4577

Change-Id: I4664a8d004e0e100350fa80de532a7a6ed54d6e6
2018-10-08 13:19:21 -07:00
Treehugger Robot 976f1d4577 Merge "base_system: Add iorapd as core product target" 2018-10-08 20:12:59 +00:00
Igor Murashkin 962e2dde0a base_system: Add iorapd as core product target
This makes iorapd be built as part of the system image
with a regular 'make' command.

Part of a topic that has 'iorapd' start up by init_rc.

Bug: 72170747
Change-Id: I300bc35f508fbe36bf0f545e20236c718392d571
2018-10-05 16:28:12 -07:00
Bowgo Tsai aba6c98fd2 Merge "Revert "Fix build error for sdk_gphone_x86_64-userdebug""
am: 3e795ee38b

Change-Id: I1f97f0e1c36115e341397bbac76d684a083198d5
2018-10-03 23:52:22 -07:00
Treehugger Robot 3e795ee38b Merge "Revert "Fix build error for sdk_gphone_x86_64-userdebug"" 2018-10-04 06:37:38 +00:00
Bowgo Tsai 3ac95b53f4 Revert "Fix build error for sdk_gphone_x86_64-userdebug"
This reverts commit 6924b25729.

Reason for revert: with the following fix, this workaround is no longer needed.
  https://android-review.googlesource.com/c/platform/build/+/762663

Bug: 112322265
Change-Id: I07363f6a5aa1697b6f7702343f3120e1049f07d8
Test: build sdk_gphone_x86_64-userdebug
2018-10-04 04:35:55 +00:00
Anton Hansson 49b96de883 Merge "Add a few apps to mainline_system."
am: 65fd432a91

Change-Id: I58cd4eaa082c48ac56068ca9f2bf232b571f0648
2018-10-03 03:50:25 -07:00
Anton Hansson 65fd432a91 Merge "Add a few apps to mainline_system." 2018-10-03 10:32:57 +00:00
Jayant Chowdhary 3daa23eeb3 Merge "Reland "Add libbinderthreadstate to the VNDK."""
am: 8a8cf7b081

Change-Id: I736b2b798f8036b54580b7bbfa993bca9b8b3cd3
2018-10-02 13:57:09 -07:00
Jayant Chowdhary 8a8cf7b081 Merge "Reland "Add libbinderthreadstate to the VNDK.""" 2018-10-02 20:14:37 +00:00
Jayant Chowdhary 18a75cb2c4 Reland "Add libbinderthreadstate to the VNDK.""
This reverts commit 13467f5993.

Reason for revert: Dependencies which broke tests due to exclusion from 
                   LOCAL_JNI_SHARED_LIBS have been added.

Change-Id: I4aca69d7bfa12a132b8334deb61ed350b434f5df
2018-10-01 22:52:07 +00:00
Anton Hansson a88a8b6bb1 Merge "Add wrapped net utils to mainline_system."
am: 0820a93d69

Change-Id: I8eeabce2ced5b80205d02db366989650b1191bde
2018-10-01 10:31:42 -07:00
Anton Hansson 0820a93d69 Merge "Add wrapped net utils to mainline_system." 2018-10-01 17:22:05 +00:00
Anton Hansson 5c9730bcc3 Merge "Add bluetooth libraries to mainline_system."
am: e1d2c8d647

Change-Id: Ief3250f164bd57400fc6a0454eda3ab4745f50be
2018-10-01 04:13:58 -07:00
Anton Hansson c941007331 Add bluetooth libraries to mainline_system.
These are included on current mainline devices.

Bug: 80410283
Test: lunch mainline_arm64; m nothing
Change-Id: I1c214c760f3f668804baef642f1c7121d0723bfb
2018-10-01 10:55:35 +00:00
Anton Hansson 017e68e6cd Add a few apps to mainline_system.
- LiveWallPapersPicker is included virtually everywhere
- PartnerBookmarksProvider is required by other apps
- SafetyRegulatoryInfo shows html content from a res overlay
- DMService, RcsService and Stk are all telephony apps
  of some sort.

Bug: 80410283
Test: lunch mainline_arm64; m nothing
Change-Id: I5afabc7dcc4ca320f06fdc4a2669fb1b81e53b0b
2018-10-01 11:54:22 +01:00
Anton Hansson 2df4bce8b8 Add wrapped net utils to mainline_system.
For /vendor to access net utils.

Test: lunch mainline_arm64; m nothing
Bug: 80410283
Change-Id: I317ed0f70271af6304d71ed669e7d1b17b3e19c0
2018-10-01 11:45:22 +01:00
Anton Hansson 58577be60a Merge "Add the nfc_extras shared lib to mainline."
am: 60be6ae961

Change-Id: I23439ac16e7922942861743736797ed7cfe7a8ad
2018-10-01 02:57:14 -07:00
Anton Hansson bfa4338842 Add the nfc_extras shared lib to mainline.
Bug: 80410283
Test: lunch mainline_arm64; m nothing
Change-Id: I5bdc32988ced9c0b93bb54bc8cb88ead7efe4fcb
2018-09-28 15:14:59 +01:00
Anton Hansson 79fec85fde Merge "Add preopt scripts to mainline."
am: cae7ba396c

Change-Id: I5d51193d5135e3ffaf525547917376d2fa45a76c
2018-09-28 04:00:21 -07:00
Anton Hansson cae7ba396c Merge "Add preopt scripts to mainline." 2018-09-28 10:49:00 +00:00
Remi NGUYEN VAN 8654604f4b Merge "Revert "Add libbinderthreadstate to the VNDK.""
am: ebf81b36cf

Change-Id: Ia65b5fc949b046d66da7e437b32e482346a7faac
2018-09-28 02:59:32 -07:00
Remi NGUYEN VAN ebf81b36cf Merge "Revert "Add libbinderthreadstate to the VNDK."" 2018-09-28 09:42:53 +00:00
Remi NGUYEN VAN 13467f5993 Revert "Add libbinderthreadstate to the VNDK."
This reverts commit e99863d896.

Reason for revert: This breaks framework tests and blocks presubmit

Change-Id: I50be59542c0bc655c310fbd15cc55f3b32947453
2018-09-28 07:50:45 +00:00
Wei Wang a595437a4b Merge "Added android.hardware.atrace 1.0 to VNDK"
am: cb1a99a676

Change-Id: Ic6549f55581fcf7d3af6fcb1b83dad5a3cccd552
2018-09-27 18:24:34 -07:00
Treehugger Robot cb1a99a676 Merge "Added android.hardware.atrace 1.0 to VNDK" 2018-09-28 01:16:13 +00:00
Wei Wang ccf68e0231 Added android.hardware.atrace 1.0 to VNDK
Bug: 111098596
Test: atrace/systrace

(cherry picked from commit 70ed2ec2f1)

Change-Id: I68c552591875473ad7c51753ebdc77b986c6a73d
2018-09-27 16:39:24 -07:00
Jayant Chowdhary 79a216848b Merge "Add libbinderthreadstate to the VNDK."
am: 2f12a56593

Change-Id: I927a58e0867b47a04fb964a29812cd436e5b4154
2018-09-27 14:14:25 -07:00
Jayant Chowdhary 2f12a56593 Merge "Add libbinderthreadstate to the VNDK." 2018-09-27 21:02:35 +00:00
Anton Hansson deec280bbb Add preopt scripts to mainline.
These scripts support art preopting in system_other, which is
a generically useful thing to keep on mainline.

Note that the preloads_copy script should also be added, but
that needs some work to be done (b/116714695).

Bug: 80410283
Test: lunch mainline_arm64; m nothing
Change-Id: I693e17ac0f61f2417ced639d1fdfe164c54341a9
2018-09-27 11:18:11 +01:00
Anton Hansson f6326846e2 Merge "Include AOSP telephony apps in mainline_system."
am: fb59f55487

Change-Id: I928d8c18382cf7c3da4f4200f14b95024b2cbe16
2018-09-27 03:07:16 -07:00
Anton Hansson f7ad92fde1 Merge "Fix vendor include in mainline_arm64."
am: b35140f666

Change-Id: I62ecf429b4ea037d78976f005cc1e5cd5bb68650
2018-09-27 03:06:37 -07:00
Jayant Chowdhary e99863d896 Add libbinderthreadstate to the VNDK.
Bug: 110364143

Test: make -j64

Change-Id: I28259136fa26ff7aaf73e37862fa4c87397cd763
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2018-09-26 11:07:29 -07:00
Anton Hansson 889018d3d6 Include AOSP telephony apps in mainline_system.
These apps are included on all mainline devices. Including them
necessitates splitting telephony.mk into two pieces, as "rild"
installs on /vendor.

Bug: 80410283
Test: lunch mainline_arm64; m nothing
Change-Id: Id4f1684604c71e853c8096e9a6992e65b6dfefed
2018-09-26 16:28:13 +01:00
Anton Hansson 1b66873130 Fix vendor include in mainline_arm64.
Include all the _vendor equivalents of the mk's included by
mainline_system. The previous include was a typo.

Bug: 80410283
Test: lunch mainline_arm64; m nothing
Change-Id: I71cf6509ad67ed28908716356228ef3980823bf6
2018-09-26 16:28:06 +01:00
Przemyslaw Szczepaniak 93d0e0d3c4 Merge "Add NeuralNetworks HAL v1.2 to VNDK"
am: 4da4d6cc89

Change-Id: I5511f827d6630cb7c48e6e607ed6d006bf8ed9e5
2018-09-24 05:44:09 -07:00
Przemyslaw Szczepaniak 4da4d6cc89 Merge "Add NeuralNetworks HAL v1.2 to VNDK" 2018-09-24 12:25:55 +00:00
Martijn Coenen 0fa999d51c Merge "Add keys for APEX images for eng/userdebug."
am: 6466b3a334

Change-Id: Ibd5efbb12e25309775d6c61bfba3a40d99667c24
2018-09-24 02:57:47 -07:00
Treehugger Robot 6466b3a334 Merge "Add keys for APEX images for eng/userdebug." 2018-09-24 09:44:22 +00:00
Slava Shklyaev aa244e95ae Add NeuralNetworks HAL v1.2 to VNDK
Bug: 114365802
Test: m check-vndk-list
Change-Id: I367869b5aa231175ad1a96518c6950b131d90b8f
Merged-In: I367869b5aa231175ad1a96518c6950b131d90b8f
(cherry-picked in 0bafe4902b)
2018-09-21 14:44:47 +01:00
Tianjie Xu 09419ba860 Merge "Add recovery-persist to base_system"
am: 4b554bc436

Change-Id: Ic74ff159e437ab5d02d5a5f434fb44b9600800e5
2018-09-20 23:21:59 -07:00
yidong.zhang 62a5929b56 Merge "Enable TARGET_2ND_ARCH_VARIANT := armv7-a for vts build"
am: 993513a7d0

Change-Id: Ic3b9480cd54942a13c8918a66ec22b45db78ed05
2018-09-20 22:55:27 -07:00
Yifan Hong 0672b2222e Merge "health filesystem HAL renamed to health storage HAL"
am: 6a43200f89

Change-Id: If8b9dea76fdebb173cbe01a084080875b31a686b
2018-09-20 22:37:47 -07:00
Hung-ying Tyan 48d9f62e6c Merge changes from topic "vndk28"
am: 5bc52ac49f

Change-Id: I4b1acde427a78f9c49a6d9e5bb2ad6af245de9da
2018-09-20 22:36:57 -07:00
Treehugger Robot 4b554bc436 Merge "Add recovery-persist to base_system" 2018-09-20 21:26:53 +00:00
Treehugger Robot 993513a7d0 Merge "Enable TARGET_2ND_ARCH_VARIANT := armv7-a for vts build" 2018-09-20 21:04:23 +00:00
Tianjie Xu 0f68c1386c Add recovery-persist to base_system
We moved the recovery metric parsing to the native code, which executes
on the next normal build and stays under the system partition. Also,
the recovery-persist binary needs to be installed on both A/B and
non-A/B devices. Therefore, adds recovery-persist to base_system to
avoid breaking the mainline targets.

Bug: 114278989
Test: build mainline target
Change-Id: I251ef862d9342b0dc308223ee6c48849f098bb1e
2018-09-20 12:42:08 -07:00
Yifan Hong 6a43200f89 Merge "health filesystem HAL renamed to health storage HAL" 2018-09-20 17:26:53 +00:00
yidong.zhang f190daa19b Enable TARGET_2ND_ARCH_VARIANT := armv7-a for vts build
Vts release package is not compatible with cortext-a7(armv7-a) cores.
Build vts with TARGET_2ND_ARCH_VARIANT := armv7-a instead of armv8-a.

Bug: 116070933
Test: run vts -m VtsHalBaseV1_0TargetTest on cortext-a7 platform
Change-Id: I8089856223bac5129ad807496ad78b2cbfe1cc8a
2018-09-20 15:14:41 +00:00
Martijn Coenen 3508ef69fc Add keys for APEX images for eng/userdebug.
These keys will be used to sign and verify APEX modules on
eng/userdebug devices. The keys may still change, but are
added now to unblock apexd development.

The keys were generated as follows:

$ openssl genrsa -out apex_debug_key.pem 4096
$ avbtool extract_public_key --key apex_debug_key.pem --output apex_debug_key

We'll probably need PRODUCT_APEX_KEYS at some point, but we'll wait
with that until we have build support.

Bug: 112684055
Test: /system/etc/security/apex/apex_debug_key found on-device
Change-Id: I5f4b1cb1eb11be6431146aa4297b50205fbc382e
2018-09-20 06:48:51 +00:00
Yifan Hong 9596c71bc6 health filesystem HAL renamed to health storage HAL
Bug: 111655771
Test: compiles
Change-Id: Ia245102f7af958b7ee7e811342a63b7325d7482b
Merged-In: Ia245102f7af958b7ee7e811342a63b7325d7482b
2018-09-19 13:11:41 -07:00
Hung-ying Tyan 5f8eb7c553 Revert "Revert "Add VNDK v28 to GSI from Android Q""
This reverts commit ffdbab3ff3.

Bug: 113560265
Test: (with the topic) build aosp_arm-userdebug and app only with and without vndk 28
Change-Id: I68a74ba5544a262414e777d8f07bc1ea18f24235
2018-09-19 17:55:29 +08:00
Colin Cross 329da43849 Merge "Revert "Add VNDK v28 to GSI from Android Q""
am: c70c69e740

Change-Id: Iabd2f1934aa3410f3cf4062e991c82ca8f41980e
2018-09-17 18:18:45 -07:00
Colin Cross c70c69e740 Merge "Revert "Add VNDK v28 to GSI from Android Q"" 2018-09-18 00:35:01 +00:00
Colin Cross ffdbab3ff3 Revert "Add VNDK v28 to GSI from Android Q"
This reverts commit 6c4578b64e.

Reason for revert: breaks unbundled app builds that don't have prebuilts/vndk

Bug: 113560265
Change-Id: I7c067fda1a369c67866eb8f327eb61170bb26533
2018-09-17 20:25:21 +00:00
SzuWei Lin dade85dd47 Merge "Add VNDK v28 to GSI from Android Q"
am: 5c3907f922

Change-Id: Ibcbfd59c0cecbfbed5fc3ac5e9f3dfac89bb72c8
2018-09-17 03:20:43 -07:00
Treehugger Robot 5c3907f922 Merge "Add VNDK v28 to GSI from Android Q" 2018-09-17 10:00:54 +00:00
Steven Moreland f484673f9e Merge "Remove HIDL libs from PRODUCT_BOOT_JARS."
am: 44199a57da

Change-Id: I4d32f0c8a836c57aef7fcc224a2cc4da6d3da621
2018-09-13 09:26:52 -07:00
Steven Moreland ccc7ce1050 Remove HIDL libs from PRODUCT_BOOT_JARS.
These are left in PRODUCT_PACKAGES so that they can still
be added to the classpaths of legacy targets.

Bug: 77307025
Test: boot Pixel 2

Change-Id: Ib14969291319e03f181b9ea4d40096de095137e7
2018-09-12 09:17:01 -07:00
Bowgo Tsai afb8caeadc Merge "Fix build error for sdk_gphone_x86_64-userdebug"
am: 8596dd8828

Change-Id: Id209bcb1c4f24419980fdbb7dbef6c3c423ce788
2018-09-11 07:42:22 -07:00
Bowgo Tsai 6924b25729 Fix build error for sdk_gphone_x86_64-userdebug
Increases BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE to 128MB to fix
the build break. This is because we enabled AVB signing in the following
CL. And verified boot metadata will consume the reserved size in current
build system.

  https://android-review.googlesource.com/c/platform/build/+/745691

Bug: None
Test: build sdk_gphone_x86_64-userdebug
Change-Id: If1f44dccbc3a69b1b38a23e979f50c2c52401a25
2018-09-11 19:23:14 +08:00
Bowgo Tsai 84452c6876 Merge "Enable AVB signing on GSI"
am: d9a58852bd

Change-Id: I16b4761de19f135265df4df5698f042ee8c47400
2018-09-10 23:37:17 -07:00
Treehugger Robot d9a58852bd Merge "Enable AVB signing on GSI" 2018-09-11 06:21:21 +00:00
Hridya Valsaraju e4f206e9ae Merge "Add fastboot HAL to VNDK"
am: 217f0defe9

Change-Id: Iea21c1ded8ec05a574d60cf0524eeb445c3e5747
2018-09-07 19:55:45 -07:00
Treehugger Robot 217f0defe9 Merge "Add fastboot HAL to VNDK" 2018-09-08 02:47:40 +00:00
Hridya Valsaraju 3482c89303 Add fastboot HAL to VNDK
Bug: 79480454
Bug: 78793464
Test: make

Change-Id: Ib9fa4161579d666a3276a1a4193b750b64653760
2018-09-06 21:21:16 -07:00
Sundong Ahn dbda94f7b3 Merge "Rename to android.test.base.impl"
am: 7d1be8148e

Change-Id: I74755b144b194d1ae405faf306b5486399ca77fa
2018-09-06 18:44:46 -07:00