Commit graph

4026 commits

Author SHA1 Message Date
Eino-Ville Talvala
a133a497c2 Remove libcameraservice and libcamera_client from base_system
Libcameraservice is only used by cameraserver, and is explicitly listed
as a dependency.  Libcamera_client is used by multiple places, but each
of them lists it as a depedency as well, so it's not needed here.

Removing the unused 64-bit version of libcameraservice will save ~2 MB
on the system partition.

Bug: 138403869
Test: atest CtsCameraTestCases
Merged-In: I196f869350900e7cc1521bc397c6ecff28decb6f
Change-Id: I196f869350900e7cc1521bc397c6ecff28decb6f
2019-07-30 11:28:23 -07:00
Eino-Ville Talvala
976b1e2df9 Remove libcameraservice and libcamera_client from base_system
Libcameraservice is only used by cameraserver, and is explicitly listed
as a dependency.  Libcamera_client is used by multiple places, but each
of them lists it as a depedency as well, so it's not needed here.

Removing the unused 64-bit version of libcameraservice will save ~2 MB
on the system partition.

Bug: 138403869
Test: atest CtsCameraTestCases
Merged-In: I196f869350900e7cc1521bc397c6ecff28decb6f
Change-Id: I196f869350900e7cc1521bc397c6ecff28decb6f
2019-07-26 12:54:44 -07:00
Victor Chang
46d95f752b Add com.android.i18n APEX module to PRODUCT_PACKAGES
Bug: 137009149
Test: device boots
Change-Id: I9de4e6930456e52dec76dd2a67d6e7ddad393332
2019-07-26 18:37:22 +01:00
Kiyoung Kim
ffe25d19b4 Merge "Add libraries txt file to build target"
am: cfbf9d32f6

Change-Id: Ieba83e4a38e500379ee2bc703db22a031b3cd198
2019-07-25 03:43:32 -07:00
Treehugger Robot
cfbf9d32f6 Merge "Add libraries txt file to build target" 2019-07-25 10:29:39 +00:00
Przemyslaw Szczepaniak
c1a7bec9ce Merge "Move libneuralnetworks.so to com.android.neuralnetworks APEX"
am: b4befed86f

Change-Id: I046adc9d59f21c8e3adc7bb426fc0034859b4a7d
2019-07-24 02:25:42 -07:00
Przemyslaw Szczepaniak
b4befed86f Merge "Move libneuralnetworks.so to com.android.neuralnetworks APEX" 2019-07-24 09:12:18 +00:00
Hsin-Yi Chen
8421d77549 Merge "Ensure no redundant ABI reference dumps"
am: 5358b924a3

Change-Id: I69955371ba2e6aa3ecbe73efdece3ebfd0845a27
2019-07-23 20:02:11 -07:00
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
Tom Cherry
6722de1277 Merge "Generate /etc/{passwd,group} for all partitions" 2019-07-23 16:40:01 +00: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
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
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
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
SzuWei Lin
bd7952bb38 Merge "Whitelist dexpreopt files for SdkSetup"
am: 0bf9b427b6

Change-Id: I49534b1a2353f0c78fd16cf1d2fde37477380c1f
2019-07-10 00:57:59 -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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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