Commit graph

4250 commits

Author SHA1 Message Date
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
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
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
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
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
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