Commit graph

4221 commits

Author SHA1 Message Date
Treehugger Robot
ad68902d5a Merge "Add Tag to mainline_system" 2019-01-04 13:47:30 +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
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