Commit graph

4210 commits

Author SHA1 Message Date
Hsin-Yi Chen
5358b924a3 Merge "Ensure no redundant ABI reference dumps" 2019-07-24 02:27:18 +00:00
Tom Cherry
6cf1b11ead Generate /etc/{passwd,group} for all partitions
Bug: 73062966
Test: can load AIDs from partitions other than vendor
Test: bionic-unit-tests
Merged-In: Ia85abbeefe5a945369970f2aef42692e07ab8c09
Change-Id: Ia85abbeefe5a945369970f2aef42692e07ab8c09
(cherry picked from commit 8a54ec8482)
2019-07-23 17:07:11 +00:00
Steven Moreland
2399a8fd0d Merge "Remove libhidlcache" am: 21e8cbd570 am: a06f48c9ce am: 3fe7331cd9
am: e36f8d07bb

Change-Id: I128ea706b86bf8e3eb5fc884a8fa86941d95a8e3
2019-07-23 09:49:08 -07:00
Steven Moreland
b9b159166d Merge "Add libbinder_ndk to ll-ndk." am: 1f8089476a am: 4273f62e9b am: 5094be445a
am: 145e35e1c1

Change-Id: I981d4d1eb7e68135de754fc2100c8fae35cd353a
2019-07-23 09:46:52 -07:00
Tom Cherry
6722de1277 Merge "Generate /etc/{passwd,group} for all partitions" 2019-07-23 16:40:01 +00:00
Steven Moreland
3fe7331cd9 Merge "Remove libhidlcache" am: 21e8cbd570
am: a06f48c9ce

Change-Id: I514ca661400c6918dce54775d1a1b53d1b6ef11a
2019-07-23 09:31:04 -07:00
Steven Moreland
5094be445a Merge "Add libbinder_ndk to ll-ndk." am: 1f8089476a
am: 4273f62e9b

Change-Id: I9c965529a68afadd3fdb2db2685ad6556ee0e41f
2019-07-23 09:28:46 -07:00
Steven Moreland
a06f48c9ce Merge "Remove libhidlcache"
am: 21e8cbd570

Change-Id: I6635358ebe5637f28dde63d7b44034772516137e
2019-07-23 09:21:37 -07:00
Steven Moreland
4273f62e9b Merge "Add libbinder_ndk to ll-ndk."
am: 1f8089476a

Change-Id: I22651c7ba23ec46b10c6fe5e657b3a44283c7c60
2019-07-23 09:19:56 -07:00
Steven Moreland
21e8cbd570 Merge "Remove libhidlcache" 2019-07-23 15:51:17 +00:00
Kiyoung Kim
049d535910 Add libraries txt file to build target
Linkerconfig requires more libraries txt files to get library list
related variable values. To make this available from runtime, those
should be added as build target and included in system image.

Bug: 137511540
Test: m -j && tested from cuttlefish
Change-Id: I713c4419e4ed52e22561a5988f6c233ecce91c9d
2019-07-23 19:54:53 +09:00
Hsin-Yi Chen
07ece13f06 Ensure no redundant ABI reference dumps
This commit ensures that all ABI dumps under prebuilts/abi-dumps/ have
corresponding NDK/VNDK libraries. When an NDK/VNDK library is removed
but its ABI dump isn't, the build system reports an error.

The build system does not check whether all NDK/VNDK libraries have ABI
reference dumps because the owners of the libraries may intend to
disable ABI check in some cases.

Test: touch prebuilts/abi-dumps/vndk/R/32/x86/test.so.lsdump && make
Bug: 132140703
Change-Id: I615ac8b509f151b75f57f35cd78c518fae798974
2019-07-23 14:20:21 +08:00
Steven Moreland
ef85b4c4d4 Add libbinder_ndk to ll-ndk.
So that it is always in sync w/ system libbinder.

Bug: 136027762
Bug: 138152918
Test: binderVendorDoubleLoadTest
Change-Id: I46f896ee979d41ed67ac47b7c84652b4b49aa8c9
2019-07-23 01:28:32 +00:00
Tom Cherry
fb303a5903 Generate /etc/{passwd,group} for all partitions
Bug: 73062966
Test: can load AIDs from partitions other than vendor
Test: bionic-unit-tests
Merged-In: Ia85abbeefe5a945369970f2aef42692e07ab8c09
Change-Id: Ia85abbeefe5a945369970f2aef42692e07ab8c09
2019-07-22 21:41:17 +00:00
Tom Cherry
a52764f0c1 Merge "Generate /etc/{passwd,group} for all partitions" into qt-dev-plus-aosp am: 4710034f9d
am: c5b2f826f3

Change-Id: I41cbbe9de88305336cb8859c0e4e378ce8fe1822
2019-07-22 13:43:45 -07:00
Steven Moreland
34f1c35a60 Remove libhidlcache
This is unused, and there are plans in the future
to use fwk IMemory everywhere.

Bug: 136027762
Test: N/A
Change-Id: I5f2eb40542d3127c08e4f74caa6adb3cd2bfbac1
2019-07-22 10:46:07 -07:00
Tom Cherry
8a54ec8482 Generate /etc/{passwd,group} for all partitions
Bug: 73062966
Test: can load AIDs from partitions other than vendor
Test: bionic-unit-tests
Change-Id: Ia85abbeefe5a945369970f2aef42692e07ab8c09
2019-07-19 23:05:25 +00:00
Przemyslaw Szczepaniak
f67c72b34d Move libneuralnetworks.so to com.android.neuralnetworks APEX
Test: build&flashed crosshatch image
Bug: 137320025

Change-Id: Iadbb32cffc636c515a5e89b62539183ebc0c2f14
2019-07-19 16:41:48 +01:00
Peiyong Lin
b62914abe5 Merge "Update gsi VNDK with composer 2.4" 2019-07-18 17:35:30 +00:00
Peiyong Lin
e4751308bc Update gsi VNDK with composer 2.4
BUG: 135929065
Test: build
Change-Id: I48254ff75fe8e5604ed7f5de0fa5fe40ded79553
2019-07-17 14:34:26 -07:00
Isaac Chen
9008e80c8e Merge "Disable apex update for GSI" into qt-dev
am: 66893b698c

Change-Id: I144b524967844a6ac908e071571892ea790ad4ef
2019-07-16 20:46:15 -07:00
TreeHugger Robot
66893b698c Merge "Disable apex update for GSI" into qt-dev 2019-07-17 03:23:16 +00:00
Marissa Wall
40ee758541 gralloc: add IAllocator/IMapper 4.0 to gsi
Add support for gralloc 4.0 to gsi.

Bug: 136016160
Test: Compiles and boots

Change-Id: I200d089d40dc1d92397b0820519b2093c51b1883
2019-07-15 12:10:33 -07:00
TreeHugger Robot
287f7ecb6f Merge "runtime_libart: Re-enable iorapd by default." 2019-07-11 01:01:29 +00:00
SzuWei Lin
e0b4bff7bb Merge "Whitelist dexpreopt files for SdkSetup" am: 0bf9b427b6 am: bd7952bb38 am: 2dff7463a0
am: c46e33715e

Change-Id: I46bf75f39d80ccbd9f72f530582c02a6d78e6c26
2019-07-10 01:20:59 -07:00
SzuWei Lin
bd7952bb38 Merge "Whitelist dexpreopt files for SdkSetup"
am: 0bf9b427b6

Change-Id: I49534b1a2353f0c78fd16cf1d2fde37477380c1f
2019-07-10 00:57:59 -07:00
SzuWei Lin
a6d530fa1a Merge "Revise GSI targets to inherit from mainline_system directly" am: 4899beb4bf am: d5d128699c am: 58a545027f
am: 364e1bc56f

Change-Id: Id8369b0e6afba6fe986bf0692918a5f9fdf209ae
2019-07-09 21:46:22 -07:00
SzuWei Lin
d2a6aa8525 Whitelist dexpreopt files for SdkSetup
aosp_product.mk removed the wildcard dexpreopt items. Any apk
requires to whitelist them also.

Bug: 135502030
Test: build aosp_arm-userdebug
Change-Id: Ibb1e6bfe6136a2e63f92e0305b3b939f08127428
2019-07-10 12:28:13 +08:00
SzuWei Lin
d5d128699c Merge "Revise GSI targets to inherit from mainline_system directly"
am: 4899beb4bf

Change-Id: I3f418e667f2404f9d97ec39681ab222aee376838
2019-07-09 21:19:19 -07:00
Treehugger Robot
4899beb4bf Merge "Revise GSI targets to inherit from mainline_system directly" 2019-07-10 03:49:27 +00:00
Colin Cross
3f8eb7ec99 temporarily disable vendor file check for mainline
We want to use prebuilts for apex modules for qt-dev, but it is
running afoul of the vendor file check.  Disable the check for
now until we figure out a better solution.

Using Merged-In instead of DNM

Bug: 137033385
Test: Forrest run build_test
Change-Id: I9db5cb227780ede6aaff0070cd2fd59e95e635e6
Merged-In: 874b7a7766a569613dcd3ae526eaa6e1d4b78866
Merged-In: I99431a9a342e9b0617510e250597f3024ef39322
2019-07-09 15:36:28 -07:00
SzuWei Lin
df09892cdb Revise GSI targets to inherit from mainline_system directly
The patch seperates gsi_common.mk to aosp_product.mk and
gsi_release.mk. Let GSI targets can be inherit with 3 parts:

- system: mainline_system.mk
- product: aosp_product.mk
- vendor: none or emulator vendor makefiles

aosp_product.mk includes the AOSP packages/settings will be in
the product partition.

GSI targets also includes the gsi_release.mk, which contains
the special settings for the GSI for releasing, ex.
skip_mount.cfg, extra VNDK, etc. After the patch, the build
targets inherit from aosp_$arch.mk will not apply these special
settings anymore.

The gsi_common.mk, legacy_gsi_common.mk and aosp_$arch_ab.mk will
be phased out later.

Bug: 135502030
Test: build gsi_arm64-userdebug and aosp_arm64-userdebug, compare
Test: root, system and vendor in out folder with/without the patch
Change-Id: Ic604ac91ba9a704e6507bac324d19bbf68063464
2019-07-09 18:13:22 +08:00
Justin Yun
0d32336f0b Merge "Rename product_services to system_ext" am: b7a50ece30 am: 8f11ad5d40 am: fe113213fd
am: d75b4e611f

Change-Id: Ia56bec9a0626286b59581c326eb054a0b88a864d
2019-07-09 02:50:48 -07:00
Justin Yun
8f11ad5d40 Merge "Rename product_services to system_ext"
am: b7a50ece30

Change-Id: I7a56d76d3543b2bc4b1d0b24e54e8dd82ab7f15a
2019-07-09 02:14:55 -07:00
Justin Yun
6151e3f1ea Rename product_services to system_ext
Bug: 134359158
Test: build and check if system_ext.img is created
Change-Id: I67f2e95dd29eac6a28e07e24ea973d3a134c3bfc
2019-07-09 08:57:19 +00:00
Jimmy Chen
abdd855676 vndk: update package list for android.hardware.wifi.supplicant@1.3
Bug: 136720092
Test: build and check these libs are now on system/lib and system/lib64
Change-Id: I9dd859ebeee55b21f3b30c82aa1006e6449040d2
2019-07-04 17:37:09 +08:00
Jiyong Park
09dcc68663 updatable_apex.mk is not inherited from mainline_system.mk
mainline_system.mk is inherited by not only Pixels but also products
like GSI and sdk_gphone where kernel isn't capable of supporting
updatable APEX.

Stop inheriting updatable_apex.mk from mainline_system.mk and let each
product to decide whether or not to inherit updatable_apex.mk.

Also, TARGET_FLATTEN_APEX is not set to true for GSI as it is the
default setting.

Bug: 132664085
Test: choosecombo 1 aosp_arm64 userdebug; get_build_var
TARGET_FLATTEN_APEX shows true
choosecombo 1 sdk_gphone userdebug; get_build_var TARGET_FLATTEN_APEX
shows true

Change-Id: I3c4e1e4b2bbebd675904d148dd18acb57ecbdfe9
Merged-In: I3c4e1e4b2bbebd675904d148dd18acb57ecbdfe9
(cherry picked from commit 5fd45bbeb0)
2019-07-02 13:38:23 +00:00
Kavi Gupta
ad190d07ba Merge "Modify build to put dumpcoverage agent into /system/lib" am: 4d77e4da45 am: 8532af0f29 am: 3ff8608d6f
am: b4043bd27b

Change-Id: Ic77892bf49157039ba25039b3f876cf569c02612
2019-06-28 17:56:43 -07:00
Kavi Gupta
3ff8608d6f Merge "Modify build to put dumpcoverage agent into /system/lib" am: 4d77e4da45
am: 8532af0f29

Change-Id: If4b5a5dce624e064778f2175a1b153a1e12be98c
2019-06-28 16:17:00 -07:00
Treehugger Robot
4d77e4da45 Merge "Modify build to put dumpcoverage agent into /system/lib" 2019-06-28 22:41:14 +00:00
Anton Hansson
87006b0f00 Merge "Move board config variable from mainline_system" am: bf95d43dc6 am: a17c7a1005 am: 81c61780bb
am: 15733cb726

Change-Id: I23da76311d080f1171c04e28992aaa3d937114dd
2019-06-28 10:10:23 -07:00
Anton Hansson
81c61780bb Merge "Move board config variable from mainline_system" am: bf95d43dc6
am: a17c7a1005

Change-Id: I1d945c577a363716f4389f05681c5d2c3ba22f07
2019-06-28 08:37:52 -07:00
Anton Hansson
bf95d43dc6 Merge "Move board config variable from mainline_system" 2019-06-28 09:31:40 +00:00
Kiyoung Kim
487c980e31 Merge "Add Linkerconfig to base system target" am: 4ec56d9214 am: 3d2f8e0661 am: f5fa68352a
am: 827b16f196

Change-Id: Idab339cfa6ea82efdf1a476b9afa879a0d838c8a
2019-06-27 19:57:02 -07:00
Kiyoung Kim
f5fa68352a Merge "Add Linkerconfig to base system target" am: 4ec56d9214
am: 3d2f8e0661

Change-Id: I0c9a95b3b3796cd633dd6590fc8cc4e9bfb0591c
2019-06-27 19:01:47 -07:00
Kiyoung Kim
4ec56d9214 Merge "Add Linkerconfig to base system target" 2019-06-28 00:46:42 +00:00
Anton Hansson
fddfe05b59 Merge "Remove lmk.log_stats sysprop from mainline_system" am: 6ce59eb4f6 am: 98b3c85628 am: 8b527b3bea
am: 61700fae94

Change-Id: Id057465224c5d66683b7701f6754df356e7bb9c3
2019-06-27 13:37:26 -07:00
Kavi Gupta
7185f8cc2d Modify build to put dumpcoverage agent into /system/lib
This location allows the agent to be attached to arbitrary processes.

It only makes sense to include libdumpcoverage.so on coverage builds,
as these are the only builds that have any information to be dumped.

Test: manual, used examples in README (see other CL) to test whether
it works on a userdebug_coverage build on cuttlefish

Change-Id: Ib2fece1b41a3b5d16c8a2a444c5486137e475fda
2019-06-27 09:28:39 -07:00
Anton Hansson
d8d0821252 Remove lmk.log_stats sysprop from mainline_system
It is now set on the /product partition by relevant devices.

Bug: 135569569
Test: lunch mainline_system_arm64; inspect system/etc/prop.default
Test: boot crosshatch and check the sysprop is still true via "adb shell getprop"
Change-Id: I34696977f584a65741c6002e6688d86e66a1f121
Merged-In: I34696977f584a65741c6002e6688d86e66a1f121
2019-06-27 10:32:46 +00:00
Anton Hansson
8b527b3bea Merge "Remove lmk.log_stats sysprop from mainline_system" am: 6ce59eb4f6
am: 98b3c85628

Change-Id: Iceb8d73d09d297fd1b2e23350cca78ebe821beb1
2019-06-27 02:41:27 -07:00
Anton Hansson
6ce59eb4f6 Merge "Remove lmk.log_stats sysprop from mainline_system" 2019-06-27 08:28:18 +00:00
Kiyoung Kim
ca019895ef Add Linkerconfig to base system target
Add Linkerconfig to base system target

Bug: 135004088
Test: m -j & Tested from device
Change-Id: I02a3b58854c2f19866f42ba22541737c132daa44
2019-06-27 09:44:58 +09:00
Anton Hansson
c4f11be520 Move board config variable from mainline_system
This variable setting belongs in a board config, not
a product makefile.

Test: presubmit
Change-Id: I41e342ce841ec7aea69ff62aaefdc748cbf28d04
2019-06-26 18:07:05 +01:00
Anton Hansson
fd81f696ed Remove lmk.log_stats sysprop from mainline_system
It is now set on the /product partition by relevant devices.

Bug: 135569569
Test: lunch mainline_system_arm64; inspect system/etc/prop.default
Change-Id: I34696977f584a65741c6002e6688d86e66a1f121
2019-06-26 15:49:10 +01:00
Anton Hansson
d040bfad63 Merge "Fix non-existing modules check" am: c1d0bfef47 am: 0796c70deb am: a4a23641ce
am: fc32aa6e47

Change-Id: I294f535cc36964d366a162fc6fa582cc9dbfc803
2019-06-26 03:30:51 -07:00
Anton Hansson
a4a23641ce Merge "Fix non-existing modules check" am: c1d0bfef47
am: 0796c70deb

Change-Id: Idb48fb89c275747e9997afe37796a0ed74693473
2019-06-26 03:14:49 -07:00
Anton Hansson
528fdc021f Fix non-existing modules check
This variable was accidentally changed to refer to the
shorthand PRODUCT_XYZ instead of PRODUCTS.<mk>.PRODUCT_XYZ
in a previous mass-migration, but that shorthand didn't
exist for these variables. Add it in.

Also whitelist the offender introduced since it was broken.

Test: lunch generic; m nothing
Change-Id: I29dd73c29796743e770afa0c2ceb4f8583dc6e1e
2019-06-25 21:52:58 +01:00
Isaac Chen
9550ce161f Disable apex update for GSI
Currently, GSI does not include apex support and TARGET_FLATTEN_APEX is true.
This will cause issues for vendors with apex support (e.g. Cuttlefish).
This change set ro.apex.updatable to false in product to override that sets
in vendor.

Bug: 135411972
Bug: 134673003
Test: $ lunch aosp_x86-userdebug; m -j; emulator
      $ lunch aosp_cf_x86_phone-userdebug
      # Replace system.img in super.img with GSI
      # The resulted CF could boot and browse the web successfully.

Change-Id: I08fd7a1b254aac276926329e064c35b714764936
Merged-In: I08fd7a1b254aac276926329e064c35b714764936
(cherry picked from commit fae280264e)
2019-06-21 00:36:42 +00:00
SzuWei Lin
e40cc936ff Enforce property split in GSI
Pure GSI build targets has no vendor partition, such as
aosp_$arch_ab and gsi_$arch. The system properties defined by
PRODUCT_PROPERTY_OVERRIDES will be in /system/build.prop.

The patch defined a fake BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE to
let these system properties flow to vendor and won't pollute the
system.img.

The bug also move some properties to /product/build.prop.

Bug: 135508595
Bug: 131162245
Bug: 134781120
Test: check the /system/build.prop do not have "ro.carrier=unknown"
Test: adb remount on GSI Q on P
Change-Id: Ib200d66cf98fea572c26338e058bce29eb5e0cd7
Merged-In: Ib200d66cf98fea572c26338e058bce29eb5e0cd7
(cherry picked from commit 711d696eb3af759c63c416b0224faeac1f6c04f1)
2019-06-21 00:35:45 +00:00
Changyeon Jo
d8df3e0c16 EVS VNDK list update
This change adds EVS 1.1 to the list.

Bug: 128851019
Change-Id: I83a515ac5fa7e3352457cdb5e0e0165e3af29354
Signed-off-by: Changyeon Jo <changyeon@google.com>
2019-06-20 15:07:50 -07:00
SzuWei Lin
9321d40880 Merge "Enforce property split in GSI" am: 345ed53d98 am: 0148d6e91e am: d20c8a5e36
am: 80d5702aa0

Change-Id: I835e620e75ad8d87440c27b3b38f21f2714e1e8a
2019-06-19 21:26:06 -07:00
SzuWei Lin
d20c8a5e36 Merge "Enforce property split in GSI" am: 345ed53d98
am: 0148d6e91e

Change-Id: Idedcab0c0c5ad079be83ddb7820c1427bb2e7f65
2019-06-19 19:55:26 -07:00
Treehugger Robot
345ed53d98 Merge "Enforce property split in GSI" 2019-06-20 01:53:15 +00:00
Isaac Chen
efd0c24b05 Merge "Disable apex update for GSI" am: 435dcbb845 am: 2f7bc0874a am: 0f2046ec59
am: 9a1e26f69d

Change-Id: Ic26383779c82f35bea563b2f81f359fa02bb0005
2019-06-19 04:09:48 -07:00
Isaac Chen
0f2046ec59 Merge "Disable apex update for GSI" am: 435dcbb845
am: 2f7bc0874a

Change-Id: I919365b57157c7cf726063071efaf382c70eb311
2019-06-19 03:56:45 -07:00
Treehugger Robot
435dcbb845 Merge "Disable apex update for GSI" 2019-06-19 10:38:42 +00:00
Neil Fuller
af897e73cc Merge "Remove a host simulation of the runtime module" am: c4924c616c am: b8e30c7602 am: ee8ef06510
am: 759a2224b7

Change-Id: I97f5165e63934da73507297856a2cbd607b07150
2019-06-18 09:28:19 -07:00
Neil Fuller
ee8ef06510 Merge "Remove a host simulation of the runtime module" am: c4924c616c
am: b8e30c7602

Change-Id: I0b839272d84a88927de0a7f3193ebb8352fe9cfc
2019-06-18 08:57:48 -07:00
SzuWei Lin
79e0d25c33 Enforce property split in GSI
Pure GSI build targets has no vendor partition, such as
aosp_$arch_ab and gsi_$arch. The system properties defined by
PRODUCT_PROPERTY_OVERRIDES will be in /system/build.prop.

The patch defined a fake BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE to
let these system properties flow to vendor and won't pollute the
system.img.

The bug also move some properties to /product/build.prop.

Bug: 135508595
Bug: 131162245
Bug: 134781120
Test: check the /system/build.prop do not have "ro.carrier=unknown"
Test: adb remount on GSI Q on P
Change-Id: Ib200d66cf98fea572c26338e058bce29eb5e0cd7
2019-06-18 18:23:18 +08:00
Isaac Chen
fae280264e Disable apex update for GSI
Currently, GSI does not include apex support and TARGET_FLATTEN_APEX is true.
This will cause issues for vendors with apex support (e.g. Cuttlefish).
This change set ro.apex.updatable to false in product to override that sets
in vendor.

Bug: 135411972
Bug: 134673003
Test: $ lunch aosp_x86-userdebug; m -j; emulator
      $ lunch aosp_cf_x86_phone-userdebug
      # Replace system.img in super.img with GSI
      # The resulted CF could boot and browse the web successfully.

Change-Id: I08fd7a1b254aac276926329e064c35b714764936
2019-06-18 15:57:51 +08:00
Igor Murashkin
c47dd05e16 runtime_libart: Re-enable iorapd by default.
This reverts commit ef66a8b7da.

Bug: 134774708
Change-Id: Ib6d3b04515d9c7bc3fd068d2f806266b7bf92e55
2019-06-13 15:07:53 -07:00
Tim Joines
2cc7b82c59 Merge "Enabled traced on Android Go devices by default." into qt-dev am: 6d98e83561 am: 973281796c
am: 527f5b938a

Change-Id: I20b06831585c34983742503fa386c05b5aed0f2a
2019-06-11 10:38:01 -07:00
Tim Joines
527f5b938a Merge "Enabled traced on Android Go devices by default." into qt-dev am: 6d98e83561
am: 973281796c

Change-Id: I5ff1edfecbeb97b979630e36d31b7f5b3b75008a
2019-06-11 10:32:59 -07:00
Tim Joines
bc645922b1 Merge "Enabled traced on Android Go devices by default." into qt-dev
am: 6d98e83561

Change-Id: I6499516256a06f6bafbad3943a816858ae5415ce
2019-06-11 10:30:02 -07:00
Neil Fuller
001150ed06 Remove a host simulation of the runtime module
Removes simulated runtime mainline module time zone data files
now that they are no longer needed.

Bug: 132169989
Test: Treehugger only
Change-Id: I8b9665d4b8896d78bf4784d669c86d10dbef54f9
2019-06-10 10:58:13 +00:00
Neil Fuller
69324709f8 Merge "Add a host simulation of the tzdata module" 2019-06-10 10:51:09 +00:00
Neil Fuller
66baeb523d Add a host simulation of the tzdata module
Sets up additional files so that host environments
can now have a simulation of the time zone data
mainline module in addition to the simulation of the
runtime mainline module they already have.

Bug: 132169989
Test: Treehugger only
Exempt-From-Owner-Approval: Cherry-pick; already approved internally
Merged-In: I43dadb150e359bbcb9da61e0187286ac6d38f7c2
Change-Id: I43dadb150e359bbcb9da61e0187286ac6d38f7c2
2019-06-10 10:50:51 +00:00
Tim Joines
84c0d23f75 Enabled traced on Android Go devices by default.
Memory impact of this change: ~1.5MB idle PSS.

Test: build low_ram enabled target
Bug: 123542916
Change-Id: I5afec17cd0b60cab9c6f336df8a09d3861473394
2019-06-07 21:22:31 +00:00
Neil Fuller
6c0c9ba89d Add a host simulation of the tzdata module am: 8236702567
am: 37a6295bc7

Change-Id: I7218c32c575ffb99be7424af5f373108c2da6fb9
2019-06-07 09:30:29 -07:00
Neil Fuller
8236702567 Add a host simulation of the tzdata module
Sets up additional files so that host environments
can now have a simulation of the time zone data
mainline module in addition to the simulation of the
runtime mainline module they already have.

Bug: 132169989
Test: Treehugger only
Change-Id: I43dadb150e359bbcb9da61e0187286ac6d38f7c2
2019-06-07 13:05:34 +00:00
Kalesh Singh
ceac3a1d9b Merge "Add ashmemd_hidl_client to base_vendor.mk product packages." am: 6bfa11ed64 am: de28abfbc9 am: b0533c748b
am: 8a025a1e4f

Change-Id: Ib2e10beff1283074d244c7670ae2992bea9105a4
2019-06-06 08:45:28 -07:00
Kalesh Singh
b0533c748b Merge "Add ashmemd_hidl_client to base_vendor.mk product packages." am: 6bfa11ed64
am: de28abfbc9

Change-Id: Ia85cc3cac41119b1060d32825300b63202713d9d
2019-06-06 08:35:26 -07:00
Kalesh Singh
d1980fa4e3 Add ashmemd_hidl_client to base_vendor.mk product packages.
Change-Id: I77605e7129d4ffa6026f3546adbda61e59f50de0
Bug: 134161662
Test: m -j
2019-06-04 17:02:48 -07:00
huans
ff37e043f2 Add Multidisplay App and so to whitelist
Add Multidisplay App to top makefile for sdk_phone

Bug: 114842496 131702523

Test: Build
Change-Id: If1958d2d9e4783438b2fd7cf04de02e64c710564
2019-05-30 22:33:06 +00:00
Kalesh Singh
6a11328bd2 Merge "Ashmem VNDK library list update" am: 523362d544 am: bf87f1d7a6 am: 8f46d8a263
am: 487f2ab88e

Change-Id: Ifc310734ece4ea4a0044e45b67cbb59e718934ba
2019-05-30 01:07:00 -07:00
Kalesh Singh
8f46d8a263 Merge "Ashmem VNDK library list update" am: 523362d544
am: bf87f1d7a6

Change-Id: I90be9daaeea1fba4eb3c15482aa42431bfcfdb5d
2019-05-30 00:52:08 -07:00
Treehugger Robot
523362d544 Merge "Ashmem VNDK library list update" 2019-05-30 07:36:41 +00:00
Kalesh Singh
8030ae0c9c Ashmem VNDK library list update
Added VNDK-core: android.system.ashmem@1.0.so

Bug: 133319042
Test: m -j
Change-Id: Idb0cbe2500376f641534781a9aa95c4b2a8533ee
2019-05-29 11:00:05 -07:00
Jooyung Han
e3da4b0f9d Merge "make: Add support to skip current VNDK install" am: a0ee5dee5c am: f953eb1118 am: 1a3cd04200
am: 0104216cac

Change-Id: I11b8deec3a7f51ab17ae97bb257f328bb50b711a
2019-05-24 21:49:17 -07:00
Jooyung Han
1a3cd04200 Merge "make: Add support to skip current VNDK install" am: a0ee5dee5c
am: f953eb1118

Change-Id: I6bb15c3824bde9b663d9eea4395ee392793044fd
2019-05-24 20:05:28 -07:00
Jooyung Han
9340a673cd make: Add support to skip current VNDK install
You can get a system.img without current VNDK libs.
This may help when you want a smaller system.img given that the image
will be used with a specific version (not current) of vendor image.

Bug: 132140714
Test: m TARGET_SKIP_CURRENT_VNDK=true && see if current VNDK is not
installed

Change-Id: Ie0815e6dd6ce2f861b6c42e637da4bb146320673
2019-05-25 02:06:08 +09:00
SzuWei Lin
9827419e82 Merge "Add AOSP WallpaperPicker to GSI" am: ed46a99e81 am: 5500278b1f am: c816e548b7
am: 0e0bd82114

Change-Id: I0f1d95b1a55b4c9e66075720e49aa6788a1e7f29
2019-05-24 05:16:58 -07:00
SzuWei Lin
78318c9a6e Add AOSP WallpaperPicker to GSI
The patch also update the mainline whitelist.

Bug: 133295307
Test: build gsi_arm64-userdebug and flash on a Pixel device,
Test: long press on the homescreen, WallpaperPicker is in the selection
Change-Id: I7831471cc920a24d64512341f0e4f3fef5024b30
(cherry picked from commit 5f23fee45f)
2019-05-23 20:05:22 +08:00
SzuWei Lin
c816e548b7 Merge "Add AOSP WallpaperPicker to GSI" am: ed46a99e81
am: 5500278b1f

Change-Id: I7f9b1f0cd0ff2e3ad75918a768b71f05527fdd37
2019-05-23 03:21:41 -07:00
SzuWei Lin
5f23fee45f Add AOSP WallpaperPicker to GSI
The patch also update the mainline whitelist.

Bug: 133295307
Test: build gsi_arm64-userdebug and flash on a Pixel device,
Test: long press on the homescreen, WallpaperPicker is in the selection
Change-Id: I7831471cc920a24d64512341f0e4f3fef5024b30
2019-05-22 17:29:58 +08:00
Jiyong Park
5fd45bbeb0 updatable_apex.mk is not inherited from mainline_system.mk
mainline_system.mk is inherited by not only Pixels but also products
like GSI and sdk_gphone where kernel isn't capable of supporting
updatable APEX.

Stop inheriting updatable_apex.mk from mainline_system.mk and let each
product to decide whether or not to inherit updatable_apex.mk.

Also, TARGET_FLATTEN_APEX is not set to true for GSI as it is the
default setting.

Bug: 132664085
Test: choosecombo 1 aosp_arm64 userdebug; get_build_var
TARGET_FLATTEN_APEX shows true
choosecombo 1 sdk_gphone userdebug; get_build_var TARGET_FLATTEN_APEX
shows true

Change-Id: I3c4e1e4b2bbebd675904d148dd18acb57ecbdfe9
2019-05-20 20:01:18 +09:00
Chong Zhang
ea077e08bc Merge "Remove a few libs used by soft omx from vndk" into qt-dev am: 8b6b22e593 am: c102e88864
am: 8db34a5c91

Change-Id: I1d78a7860c57886c35b5d79b1da608f7c0d7e7ea
2019-05-17 18:33:34 -07:00
Chong Zhang
c102e88864 Merge "Remove a few libs used by soft omx from vndk" into qt-dev
am: 8b6b22e593

Change-Id: Iac485677ee43a049be633dc809fe5df6c40597cd
2019-05-17 13:43:53 -07:00
TreeHugger Robot
8b6b22e593 Merge "Remove a few libs used by soft omx from vndk" into qt-dev 2019-05-17 20:11:29 +00:00
Mathieu Chartier
6e0bc97875 Merge "Specify default image block size of 512KB by default" into qt-dev 2019-05-17 16:35:30 +00:00
Chong Zhang
1e6573f85e Remove a few libs used by soft omx from vndk
Soft omx plugins are already removed from vndk,
these should have been removed together. Keeping
them in vndk with have both 32 and 64 bit on system,
but soft omx only uses one set.

bug: 132466615
test: build and check these libs are now on vendor/lib.
Change-Id: I0242ece971ac75266cdf84e2341e5fa4b087451b
2019-05-16 12:24:53 -07:00
Chong Zhang
9c3546ef33 resolve merge conflicts of 7980587608 to qt-r1-dev-plus-aosp
am: 562df6ec9c

Change-Id: I2f8843db0ea181ac21cfe1eef9bf13049746cc34
2019-05-15 22:43:27 -07:00
Ian Pedowitz
4f6f69fc06 Merge "Revert "Revert "Updating the platform sdk version for Q""" into qt-dev am: 122a1136e6
am: eabd44fe54

Change-Id: I0d9deaccd77ce06dbdd6c3e0793f0c6e7313664d
2019-05-15 21:25:05 -07:00
Chong Zhang
562df6ec9c resolve merge conflicts of 7980587608 to qt-r1-dev-plus-aosp
Bug: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I2acc079286697d8a303d15283fcde9af4c6cd69b
2019-05-15 20:51:02 -07:00
Ian Pedowitz
eabd44fe54 Merge "Revert "Revert "Updating the platform sdk version for Q""" into qt-dev
am: 122a1136e6

Change-Id: I06fa2e607be9fbaed6c1796c66bddcc62d6c28d7
2019-05-15 17:11:38 -07:00
Chong Zhang
936d4fc773 Merge "resolve merge conflicts of 07d4342fa5 to qt-dev-plus-aosp" into qt-dev-plus-aosp 2019-05-15 23:23:11 +00:00
Chong Zhang
6dd3336925 resolve merge conflicts of 07d4342fa5 to qt-dev-plus-aosp
Bug: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Iba2e59906c6d9dd3dba2cf3ebe88206ae9d7bca9
2019-05-15 15:44:39 -07:00
Chong Zhang
7980587608 Remove soft omx libs from package -- DO NOT MERGE
am: 07d4342fa5

Change-Id: I3f5a3b7a3478f6ba1c9fa3bdbe7f8c8906420f6a
2019-05-15 14:13:38 -07:00
TreeHugger Robot
99d493fd3b Merge "Remove soft omx libs from package -- DO NOT MERGE" into qt-dev 2019-05-15 20:48:32 +00:00
Ian Pedowitz
c0183e5b70 Merge "Revert "Revert "Updating the platform sdk version for Q""" into qt-dev
am: 122a1136e6

Change-Id: Idaa679084002b521a5ae5652378e9922d17365e8
2019-05-15 13:15:05 -07:00
Chong Zhang
07d4342fa5 Remove soft omx libs from package -- DO NOT MERGE
These are installed by media.codec as required modules,
and they're usually on vendor partition now. We don't
want to install the system targets here.

bug: 132466615

Change-Id: I8375563648bc2a5016dac4760b853cb32dde5429
2019-05-15 20:02:23 +00:00
Ian Pedowitz
122a1136e6 Merge "Revert "Revert "Updating the platform sdk version for Q""" into qt-dev 2019-05-15 16:28:53 +00:00
Mathieu Chartier
410ec0d03e Specify default image block size of 512KB by default
Enables parallel decompression.

Test: manual
Bug: 116052292

(cherry picked from commit 6cbc3899b3)

Merged-In: I172935c8dd9c729199d9015e82487f84018bb9f4
Change-Id: I1b5db4aed3b06b527a6b4d4b25583f7ee10f05cb
2019-05-15 09:09:38 -07:00
Emilian Peev
396f416f6c Merge "Add libdepthphoto to mainline_system" into qt-dev am: 02c434e887
am: 64534babf3

Change-Id: Iabd4c36ef11e373fdbdf3e24020448a50cd47d3d
2019-05-14 16:37:39 -07:00
Emilian Peev
64534babf3 Merge "Add libdepthphoto to mainline_system" into qt-dev
am: 02c434e887

Change-Id: I441933734a9d3f591c864688815c9e079c20aa63
2019-05-14 15:09:23 -07:00
TreeHugger Robot
02c434e887 Merge "Add libdepthphoto to mainline_system" into qt-dev 2019-05-14 22:00:21 +00:00
TreeHugger Robot
123402bbeb Merge "Revert "Don't inherit updatable_apex from mainline_system"" 2019-05-14 00:26:44 +00:00
Ian Pedowitz
bed3e5262e Revert "Revert "Updating the platform sdk version for Q""
This reverts commit 842119ab3a.

Reason for revert: Rolling forward for Q-Finalization

Bug: 129975435
Bug: 129943426
Test: Build
Change-Id: I651e3ec68a765d3867be5341751cd536ccbe604a
2019-05-11 10:01:39 -07:00
Emilian Peev
55b9c1b651 Add libdepthphoto to mainline_system
Used by depth composite stream in camera
service.

Bug: 132173732
Test: make,
runtest -x
cts/tests/camera/src/android/hardware/camera2/cts/ImageReaderTest.java
-m testDynamicDepth
runtest -x
cts/tests/camera/src/android/hardware/camera2/cts/ExtendedCameraCharacteristicsTest.java
-m testDepthOutputCharacteristics
runtest -x
cts/tests/camera/src/android/hardware/camera2/cts/NativeImageReaderTest.java
-m testDepthJpeg

Change-Id: I1357f8ab09cdd9bc43317ea0d50537e1f9ef8d7a
2019-05-10 08:13:36 -07:00
Varun Shah
94e23b0469 Merge "Remove reference to DefaultContainerService." into qt-dev
am: 42d18f6ca8

Change-Id: Ie556b39bd1434ddd65786c9d2b75c451b2386d35
2019-05-10 01:13:25 -07:00
TreeHugger Robot
42d18f6ca8 Merge "Remove reference to DefaultContainerService." into qt-dev 2019-05-10 01:52:38 +00:00
Martin Stjernholm
b7fd03fd32 Merge "Remove libc_malloc_{debug,hooks} from the system image." am: eba4d2312a
am: 5b657c75ac

Change-Id: I61d80c674ea5066e104bace51a329b951b159f0c
2019-05-09 13:18:49 -07:00
Treehugger Robot
eba4d2312a Merge "Remove libc_malloc_{debug,hooks} from the system image." 2019-05-09 19:13:43 +00:00
Jiyong Park
02426e6118 Ensure TARGET_FLATTEN_APEX == true when ro.apex.updatable is not set
TARGET_FLATTEN_APEX and ro.apex.updatable cannot be independently set.
For a device where updating APEXes is not supported, ro.apex.updatable
should not be set (or set to false) and TARGET_FLATTEN_APEX should be
set to true. For APEX-supporting devices, it is the opposite;
ro.apex.updatable == true and TARGET_FLATTEN_APEX is false (or not set).

To ensure this relationship, TARGET_FLATTEN_APEX is by default set to
true, and overridden to false when updatable_apex.mk is inherited.

Bug: 130623080
Test: choosecombo to Pixels 2 and later; get_build_var
TARGET_FLATTEN_APEX returns false.
choosecombo to the original Pixel and other non-Pixel targets;
get_build_var TARGET_FLATTEN_APEX returns true.
choosecombo to the cuttlefish; get_build_var TARGET_FLATTEN_APEX
returns false

Merged-In: Id73a594dd9838457e68e2793122592c11a84fc83
Change-Id: Id73a594dd9838457e68e2793122592c11a84fc83
(cherry picked from commit 18411a42f0)
2019-05-09 09:56:55 +09:00
Pawin Vongmasa
5389bb1640 Merge "Remove libcodec2_vndk from vndk" into qt-dev
am: e0041c5433

Change-Id: I114a4f3855874ba079a79a901587384064ea46e3
2019-05-08 08:36:09 -07:00
Jiyong Park
b233b2bb09 Ensure TARGET_FLATTEN_APEX == true when ro.apex.updatable is not set
am: 18411a42f0

Change-Id: I55c69b9e1686f97daa6348e6829995f368882e71
2019-05-08 08:35:05 -07:00
TreeHugger Robot
e0041c5433 Merge "Remove libcodec2_vndk from vndk" into qt-dev 2019-05-08 15:29:12 +00:00
Jiyong Park
18411a42f0 Ensure TARGET_FLATTEN_APEX == true when ro.apex.updatable is not set
TARGET_FLATTEN_APEX and ro.apex.updatable cannot be independently set.
For a device where updating APEXes is not supported, ro.apex.updatable
should not be set (or set to false) and TARGET_FLATTEN_APEX should be
set to true. For APEX-supporting devices, it is the opposite;
ro.apex.updatable == true and TARGET_FLATTEN_APEX is false (or not set).

To ensure this relationship, TARGET_FLATTEN_APEX is by default set to
true, and overridden to false when updatable_apex.mk is inherited.

Bug: 130623080
Test: choosecombo to Pixels 2 and later; get_build_var
TARGET_FLATTEN_APEX returns false.
choosecombo to the original Pixel and other non-Pixel targets;
get_build_var TARGET_FLATTEN_APEX returns true.
choosecombo to the cuttlefish; get_build_var TARGET_FLATTEN_APEX
returns false

Change-Id: Id73a594dd9838457e68e2793122592c11a84fc83
2019-05-08 20:51:21 +09:00
Jiyong Park
c317dafff1 Revert "Don't inherit updatable_apex from mainline_system"
This reverts commit 9af722d59e.

Reason for revert: kernels in the internal master are all patched
to support APEX update.

Bug: 131162245
Test: test camera on Pixel 2019
Change-Id: I9e8630993a0be7db473cf65f9e38f5bc7f7e52de
2019-05-08 12:51:17 +09:00
Lajos Molnar
6de43bfdc3 Merge "media: make softomx plugin a plugin" into qt-dev
am: ba6c73fa42

Change-Id: Ib167acc0a42f63247fa17d000d112c0b30702462
2019-05-07 09:46:15 -07:00
Martin Stjernholm
5055dae50c Remove libc_malloc_{debug,hooks} from the system image.
They are part of Bionic and should now be in the Runtime APEX.

Test: Flash and boot
Bug: 122566199
Bug: 118374951
Change-Id: Ib1a2999b56d743242ef7aafa7aed57f8c6a7b0e5
2019-05-07 17:33:36 +01:00
Lajos Molnar
90917c898e media: make softomx plugin a plugin
This means removing libstagefright_softomx from VNDK, and adding
the plugin lib to PRODUCT_PACKAGES.

Bug: 129710438
Change-Id: Ie9bbc3fb38b06951bcafa27ea0691a6c0e7eb470
2019-05-06 16:03:51 -07:00
Jiyong Park
f6baf1a76f Merge "Don't inherit updatable_apex from mainline_system" am: 5e25df9f5a
am: b8fca9280d

Change-Id: I353a8243449260443601ede8779087218e1c847d
2019-05-06 10:28:05 -07:00
Treehugger Robot
5e25df9f5a Merge "Don't inherit updatable_apex from mainline_system" 2019-05-06 17:16:12 +00:00
bohu
9492ee3d1b emulator: support dynamic partitions
BUG: 125540538

Change-Id: I9d486f57ac4ec11b1bbe9ab97890d12441c3054e
Merged-In: I9d486f57ac4ec11b1bbe9ab97890d12441c3054e
2019-05-05 20:34:02 -07:00
Pawin Vongmasa
dfcba32e5f Remove libcodec2_vndk from vndk
Test: Builds

Bug: 128894663
Change-Id: I46d97a35d992ce3ea10bbb4149e66c049f69984c
2019-05-03 15:49:53 -07:00
Jiyong Park
9af722d59e Don't inherit updatable_apex from mainline_system
Camera on aosp_* targets are broken because they are inheriting from
updatable_apex.mk through mainline_system.mk. However, the kernels for
the targets on AOSP are too old to support updatable APEX. Temporarily
disabling updatable apex until when the kernels are updated from
internal master.

Bug: 131162245
Test: camera can be captured in aosp_crosshatch
Merged-In: Ibfef74db0769992266ebadf445836d2a183df3f7
Change-Id: Ia0beeb9523ade9bb8180034deb8ef0b01ee1c88b
2019-05-03 18:23:21 +00:00
Sasha Smundak
50ac66a0e8 Merge "Provide android_app_certificate module that always points to AOSP certificate." am: f14e865cfb
am: 330928b3bd

Change-Id: I8d5519fd801840d670bb6b1ce9df850ca866c7c1
2019-05-03 11:17:21 -07:00
Sasha Smundak
f222dfbb0c Provide android_app_certificate module that always points to AOSP
certificate.

See the comment in cts/tests/tests/carrierapi/Android.bp

Bug: 122332514
Test: atest CtsCarrierApiTestCases
(same failures as baseline)
Change-Id: I80b9a1e466a3556486d05befe60d3522e6980ef5
2019-05-02 22:22:47 -07:00
bohu
c73e9b70dc emulator: support dynamic partitions
BUG: 125540538

Change-Id: I9d486f57ac4ec11b1bbe9ab97890d12441c3054e
Merged-In: I9d486f57ac4ec11b1bbe9ab97890d12441c3054e
2019-05-03 03:36:53 +00:00
Jiyong Park
2dd4e28cb9 Merge "Revert "Temporarily not inheriting updatable_apex.mk"" into qt-dev
am: 63513e2b7d

Change-Id: Id6bceba64596b9a70db28fae8acd081ca14c9c2b
2019-05-02 16:25:00 -07:00
Ian Pedowitz
cb83f8c594 Merge "Revert "RESTRICT AUTOMERGE Updating the platform sdk version for Q"" into qt-dev
am: 277bf1ae79

Change-Id: Ib797e7e2a82f181dbab7d031ade96e4be784ad81
2019-05-02 14:49:57 -07:00
Ian Pedowitz
f3213ae7d8 Merge "RESTRICT AUTOMERGE Updating the platform sdk version for Q" into qt-dev
am: 72cb9c892d

Change-Id: I5dc918143d23758b77ff8be9a29788880d0b87cc
2019-05-02 14:16:16 -07:00
Bo Hu
a3434e3c0f Merge "emulator: support dynamic partitions" into qt-dev-plus-aosp 2019-05-02 20:25:56 +00:00
Calin Juravle
d7f57d4114 Merge "Rename PRODUCT_USES_ART to PRODUCT_USES_DEFAULT_ART_CONFIG" am: c23e013814
am: 569835bf14

Change-Id: Iab52c7daa14bbe671a37d5ea585255f8af10abf7
2019-05-02 11:17:43 -07:00
bohu
a3deb4f04b emulator: support dynamic partitions
BUG: 125540538

Change-Id: I9d486f57ac4ec11b1bbe9ab97890d12441c3054e
2019-05-02 09:32:06 -07:00
TreeHugger Robot
63513e2b7d Merge "Revert "Temporarily not inheriting updatable_apex.mk"" into qt-dev 2019-05-02 07:03:33 +00:00
Ian Pedowitz
842119ab3a Revert "RESTRICT AUTOMERGE Updating the platform sdk version for Q"
This reverts commit 5e0226b816.

Reason for revert: QT SDK Finalization. Will be merged again on/after May 13th

Bug: 129975435
Change-Id: Ia3693b2a4907c4ca9be56cfe18fda35b8545abba
2019-05-02 00:55:38 +00:00
Calin Juravle
cdff6b1451 Rename PRODUCT_USES_ART to PRODUCT_USES_DEFAULT_ART_CONFIG
It better describes what is meant to represent.

Test: m build
Change-Id: I942721cee2c7eaef625bf8c64aae32c1725705eb
2019-05-01 15:35:03 -07:00
Suprabh Shukla
5e0226b816 RESTRICT AUTOMERGE Updating the platform sdk version for Q
Test: Builds, boots.

Bug: 129975435
Change-Id: I98d35b36c540a258e17d18210eb4e93717abacc6
2019-04-30 00:48:01 +00:00
Jiyong Park
519bd73006 Revert "Temporarily not inheriting updatable_apex.mk"
This reverts commit c5fc637c20.

Reason for revert: all Pixels (except pixel 1) are ready to support updatable APEX

Bug: 129035564
Test: run camera tests

Change-Id: Ib01a97db857ad928d875d244dcd0b3cac8e080ee
2019-04-26 05:43:22 +00:00
Yifan Hong
4298a83592 Merge changes from topic "productmanifest" am: 001ebfcb30
am: 4d90d659c8

Change-Id: Ia5d6cf7874e3c7a5b4a9adc34713f4c121bf7136
2019-04-25 16:15:30 -07:00
Yifan Hong
51e87262c2 Add product manifest.
- Rename framework_manifest.xml to system_manifest.xml since that's more accurate.
- Add product_manifest.xml to base_product.mk
- Add product_manifest.xml to verified_assembled_framework_manifest.xml to check
  it at build time.

Bug: 126770403
Bug: 130714844
Bug: 80547152

Test: build and inspect output
Test: lshal

Change-Id: I1b447d8c36f72768e28e9bcaa4d06afdeba08c2a
2019-04-25 10:22:36 -07:00
Yifan Hong
1bf5cd31c0 Add product manifest.
- Rename framework_manifest.xml to system_manifest.xml since that's more accurate.
- Add product_manifest.xml to base_product.mk
- Add product_manifest.xml to verified_assembled_framework_manifest.xml to check
  it at build time.

Bug: 126770403
Bug: 130714844
Bug: 80547152

Test: build and inspect output
Test: lshal

Change-Id: I1b447d8c36f72768e28e9bcaa4d06afdeba08c2a
Merged-In: I1b447d8c36f72768e28e9bcaa4d06afdeba08c2a
2019-04-24 16:28:48 -07:00
Varun Shah
670a88daf8 Remove reference to DefaultContainerService.
Bug: 111838160
Test: builds and flashes
Change-Id: If9178c55d05de916a1add65e86f42fac0e2f5d29
2019-04-23 11:39:15 -04:00
Bowgo Tsai
2835149987 Revert "Adding adb_debug.prop"
This reverts commit a280a66b5a.

/init now switched to read adb_debug.prop from debug ramdisk instead
of GSI or other system.img. No need to keep the file in GSI.

See the following for more details:
  https://android-review.googlesource.com/c/platform/system/core/+/946517

Bug: 126493225
Test: tree hugger
Change-Id: I981db8e13216fbe0f066f4d3684ee149b1177d22
Merged-In: I981db8e13216fbe0f066f4d3684ee149b1177d22
(cherry picked from commit 8966070431)
2019-04-23 16:24:29 +08:00
Bowgo Tsai
bf23e32478 Merge "Revert "Adding adb_debug.prop"" am: db57997c72
am: 3a4df557b0

Change-Id: I30d442f7e519684dfdb9824c02af5556d9218320
2019-04-23 00:52:26 -07:00
Treehugger Robot
db57997c72 Merge "Revert "Adding adb_debug.prop"" 2019-04-23 07:40:53 +00:00
Lev Rumyantsev
19ecb76b7b Move default native.bridge property to system set
So that it can be overridden by PRODUCT_PROPERTY_OVERRIDES.

Test: native bridge property is overridden when requested
Bug: 130825973
Bug: 130564502
Change-Id: I8413b9b5b2ac24ac62b6cf22a5f14393420927f5
Merged-In: I8413b9b5b2ac24ac62b6cf22a5f14393420927f5
(cherry-picked from 7e9f49c73c)
2019-04-22 19:40:16 -07:00
Tao Bao
1e5d0e7f98 Merge "Move update-payload-key.pub.pem into a module." am: 22c434e80f
am: bf3c47695c

Change-Id: Ibb99dbf190ff5e49d6ab79f56763e855ae523710
2019-04-22 10:40:34 -07:00
Bowgo Tsai
8966070431 Revert "Adding adb_debug.prop"
This reverts commit a280a66b5a.

/init now switched to read adb_debug.prop from debug ramdisk instead
of GSI or other system.img. No need to keep the file in GSI.

See the following for more details:
  https://android-review.googlesource.com/c/platform/system/core/+/946517

Bug: 126493225
Test: tree hugger
Change-Id: I981db8e13216fbe0f066f4d3684ee149b1177d22
2019-04-22 18:39:44 +08:00
Tao Bao
0733fbeaf8 Move update-payload-key.pub.pem into a module.
This allows update_engine listing the file as a required module,
regardless of the value in AB_OTA_UPDATER.

Bug: 130516531
Test: Build aosp_arm64-userdebug w/o setting AB_OTA_UPDATER. Check that
      /system/etc/update_engine/update-payload-key.pub.pem is available.
Change-Id: Ied041aca750e7260402ae8dbf65ff740d0b87205
2019-04-21 18:25:24 -07:00
Lev Rumyantsev
f2a71414d3 Merge "Move default native.bridge property to system set" am: 1a5e781659
am: 58cc3d3ee1

Change-Id: I25f2b4154b50b6c285ea39710f59590a758125d7
2019-04-21 14:24:55 -07:00
Tao Bao
6f34013ba6 Build otacerts as a module.
Bug: 30414428
Test: `m -j dist` with aosp_taimen-userdebug. Check
      /system/etc/security/otacerts.zip available under system and
      recovery images.
Change-Id: I5abeb2da441fb3e3231e094063c2383eb3807852
Merged-In: I5abeb2da441fb3e3231e094063c2383eb3807852
2019-04-21 14:24:43 -07:00
Lev Rumyantsev
7e9f49c73c Move default native.bridge property to system set
So that it can be overridden by PRODUCT_PROPERTY_OVERRIDES.

Test: native bridge property is overridden when requested
Bug: 130825973
Bug: 130564502
Change-Id: I8413b9b5b2ac24ac62b6cf22a5f14393420927f5
2019-04-20 23:02:16 -07:00
Tao Bao
4986e81160 Build otacerts as a module.
Bug: 30414428
Test: `m -j dist` with aosp_taimen-userdebug. Check
      /system/etc/security/otacerts.zip available under system and
      recovery images.
Change-Id: I5abeb2da441fb3e3231e094063c2383eb3807852
(cherry picked from commit b7936f3d2e16bcad36dcbfc72123381726dbc3c5)
2019-04-19 21:20:09 +00:00
Calin Juravle
442942c4de Merge changes I25b0c03e,I8a8a93ca
* changes:
  Add the entire boot image to boot.zip
  Disable iorapd by default
2019-04-19 01:57:09 +00:00
Calin Juravle
6bfdcda0e6 Add the entire boot image to boot.zip
Add all the boot image files necessary of offline inspection and
compilation in a single zip file (boot.zip).

This replaces the previous boot_profiles_jars.zip which contained only the
jar files.

Bug: 130376456
Test: m dist

Change-Id: I25b0c03ee9e7a2c2ff25db406656ce79baff5a46
Merged-In: Ib71c4fcc0d451570d0bb0584745487c54f884fd9
(cherry picked from commit 3dfae3f149)
2019-04-18 17:48:39 -07:00
Mathieu Chartier
ef66a8b7da Disable iorapd by default
Test: reboot and verify iorapd is not running
Bug: 123595428
Bug: 72170747

(cherry picked from commit 3dbd7356de)

Merged-In: I9c53714d6a35f8cb016e0baceeb12482d50557a5
Change-Id: I8a8a93ca088c577e0e7ac9600313c433c573f759
2019-04-18 17:48:30 -07:00
Calin Juravle
59db2b6805 Add the entire boot image to boot.zip
am: 471c9170c4

Change-Id: Iefaf8b0878b84a789372ccce443884f7c89d7bc2
2019-04-18 16:01:38 -07:00
Calin Juravle
471c9170c4 Add the entire boot image to boot.zip
Add all the boot image files necessary of offline inspection and
compilation in a single zip file (boot.zip).

This replaces the previous boot_profiles_jars.zip which contained only the
jar files.

Bug: 130376456
Test: m dist

Change-Id: I25b0c03ee9e7a2c2ff25db406656ce79baff5a46
Merged-In: Ib71c4fcc0d451570d0bb0584745487c54f884fd9
(cherry picked from commit 3dfae3f149)
2019-04-18 14:28:24 -07:00
Jiyong Park
182b704fc8 Temporarily not inheriting updatable_apex.mk
am: c5fc637c20

Change-Id: I7792f4edf564919493816c90528f079f0af64d36
2019-04-17 13:08:10 -07:00
Jiyong Park
c5fc637c20 Temporarily not inheriting updatable_apex.mk
It broke camera.

Bug: 130652892
Test: m
Test: adb shell getprop ro.apex.updatable should return false or nothing
Change-Id: Id2df926e152411cb5d0bc4331cfd43e0dcd8ad6c
2019-04-17 16:21:36 +00:00
Jiyong Park
5645a3a9a0 Add updatable_apex.mk
The product abstracts configs that need to be set to support updating of
APEXes.

Bug: 130418467
Test: m
Test: adb shell getprop ro.apex.updatable in Pixel 2 and 3
Test: adb shell /system/apex/com.android.apex.cts.shim.apex exists.
Merged-In: Idb44388a0cf6338f8b4500a1d0d2762ed59476bf
Change-Id: Idb44388a0cf6338f8b4500a1d0d2762ed59476bf
(cherry picked from commit fa51bedf8b)
2019-04-17 16:18:56 +09:00
Jiyong Park
c66d72100e Merge "Add updatable_apex.mk" into qt-dev
am: af11c9f4fd

Change-Id: I64594110dfc7f1f80c61e3ceb9af6df383b88628
2019-04-16 07:43:56 -07:00
TreeHugger Robot
af11c9f4fd Merge "Add updatable_apex.mk" into qt-dev 2019-04-16 14:26:41 +00:00
Victor Chang
c3538a4ac0 Remove libicu*.so from /system
Bug: 120659668
Test: CtsJniTestCases
Merged-In: I1c2ab41aa0b19f71025e2dd09be9b9bd306e8616
Change-Id: I1c2ab41aa0b19f71025e2dd09be9b9bd306e8616
(cherry picked from commit c164b8ef13)
2019-04-15 12:36:50 +01:00
Jiyong Park
fa51bedf8b Add updatable_apex.mk
The product abstracts configs that need to be set to support updating of
APEXes.

Bug: 130418467
Test: m
Test: adb shell getprop ro.apex.updatable in Pixel 2 and 3
Test: adb shell /system/apex/com.android.apex.cts.shim.apex exists.
Change-Id: Idb44388a0cf6338f8b4500a1d0d2762ed59476bf
2019-04-15 20:34:18 +09:00
Andreas Gampe
b039d4da97 Merge "Build: Include lock-inversion agent in debug builds" am: 7ef6d0d39e
am: 8210b9aa41

Change-Id: I0c666c2e138868db4c472aed302dba2caafca0cd
2019-04-13 09:30:31 -07:00
Treehugger Robot
7ef6d0d39e Merge "Build: Include lock-inversion agent in debug builds" 2019-04-13 16:08:58 +00:00
vichang
9def1f23e9 Merge "Remove libicu*.so from /system" am: b23062899c
am: 5a7ce27b9f

Change-Id: Ifdaa72481889fe37e751e355b906e99eef2029c0
2019-04-13 02:46:46 -07:00
vichang
b23062899c Merge "Remove libicu*.so from /system" 2019-04-13 09:34:17 +00:00
Andreas Gampe
306dbcc49b Build: Include lock-inversion agent in debug builds
Bug: 124744938
Test: m
Change-Id: Ieeaab84d2bc3db73dd8a6b19c05e4f39d90f22e0
2019-04-12 15:33:01 -07:00
Victor Chang
c164b8ef13 Remove libicu*.so from /system
Bug: 120659668
Test: CtsJniTestCases
Change-Id: I1c2ab41aa0b19f71025e2dd09be9b9bd306e8616
2019-04-12 20:01:43 +01:00
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
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
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
6c95d826e8 Merge "media: remove soft OMX components from VNDK" into qt-dev 2019-04-05 18:09:36 +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
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
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
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
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
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
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
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