Commit Graph

5425 Commits

Author SHA1 Message Date
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
Andrew Lehmer 6d3eda97ea Merge "Revert "Remove USE_XML_AUDIO_POLICY_CONF build flag"" am: 4c151cc398
am: a367884d30

Change-Id: Icb3d53628ca29a3903013838e0b136253619149d
2019-05-14 14:38:11 -07:00
Andrew Lehmer 4c42d17465 Revert "Remove USE_XML_AUDIO_POLICY_CONF build flag"
This reverts commit 79c61ba50e.

Reason for revert: Buildcop

Change-Id: I18d3ebeded2e9b20fef3a57c8509a2e701f6692e
2019-05-14 21:16:46 +00:00
Mikhail Naganov 3f2c8aed7f Merge "Remove USE_XML_AUDIO_POLICY_CONF build flag" am: 9f40efc5ff
am: 3754312901

Change-Id: I34eb76f6423ca4ce7fca11f6372c2634d64f531c
2019-05-14 13:08:09 -07:00
Mikhail Naganov 79c61ba50e Remove USE_XML_AUDIO_POLICY_CONF build flag
This flag is no more used by the build files and should
be removed.

Bug: 132435217
Test: make
Change-Id: Icbd2359da659290ce4fba1a11ba6da76f23679da
2019-05-13 14:02:43 -07: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
Tao Bao 5a45dd6409 Merge "Unset AB_OTA_UPDATER from BoardConfigMainlineCommon." am: 246a30a1cb
am: a2a708a616

Change-Id: Ib9a90b06b46d89bdccc4925a5b5a4430e1d2354b
2019-05-08 12:05:33 -07:00
Tao Bao 246a30a1cb Merge "Unset AB_OTA_UPDATER from BoardConfigMainlineCommon." 2019-05-08 18:37:28 +00: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
Tao Bao ff2a3f0af8 Unset AB_OTA_UPDATER from BoardConfigMainlineCommon.
The previous need to build mainline devices as A/B no longer applies
[1], as we have unbundled the install of update-payload-key.pub.pem from
AB_OTA_UPDATER. Unsetting AB_OTA_UPDATER from BoardConfigMainlineCommon
defers the decision of using A/B OTA to be board-specific.

mainline_arm64 is considered as a specific board to build generic
system-only OTAs in A/B format. So it defines the two variables there.

[1] commit 571fab0610

Bug: 130516531
Test: TreeHugger
Test: Compare the built images for GSI and mainline targets. They don't
      have different artifacts due to the change.
Change-Id: I33cc9b6623dca7cc7c2a7e2c65cdbccced5e816e
2019-05-07 13:26:09 -07: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
Bo Hu 3c818c4cad Merge "emulator: support dynamic partitions" into qt-dev 2019-05-04 22:24:31 +00: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
TreeHugger Robot c2bbeae797 Merge "Removing --flag 2 when building GSI vbmeta.img" into qt-dev 2019-05-03 03:17:29 +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
Calin Juravle c23e013814 Merge "Rename PRODUCT_USES_ART to PRODUCT_USES_DEFAULT_ART_CONFIG" 2019-05-02 17:56:11 +00:00
bohu a3deb4f04b emulator: support dynamic partitions
BUG: 125540538

Change-Id: I9d486f57ac4ec11b1bbe9ab97890d12441c3054e
2019-05-02 09:32:06 -07:00
Lajos Molnar bf77eecd3d allow actually 140MB vendor partition space
Bug: 129710438
Change-Id: I93bfe7f25f16a8e48871db7357ec587c21dcc7d6
Merged-In: I93bfe7f25f16a8e48871db7357ec587c21dcc7d6
2019-05-02 15:18:33 +00: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
Bowgo Tsai 50e9962a53 Merge "Removing --flag 2 when building GSI vbmeta.img" am: ab0ed975f0
am: 4b1e25af26

Change-Id: I0699a913794e3d80bbe7629f9a05b20360f771d8
2019-04-30 01:39:09 -07:00
Bowgo Tsai 1a47aed4e3 Removing --flag 2 when building GSI vbmeta.img
With the support of enabling AVB on standalone partitions in libfs_avb,
devices can boot GSI with dm-verity. No need to disable AVB anymore.

Devices still can use the following command to disable AVB on
device-specific vbmeta.img if needed:

    `fastboot flash --disable-verification vbmeta vbmeta.img`

Bug: 130595457
Test: Tree Hugger
Change-Id: I067dcda15f14f04428e0b60ce1f49227d61e4349
Merged-In: I067dcda15f14f04428e0b60ce1f49227d61e4349
(cherry picked from commit 2e2a7682ba)
2019-04-30 16:27:40 +08:00
Treehugger Robot ab0ed975f0 Merge "Removing --flag 2 when building GSI vbmeta.img" 2019-04-30 08:06:34 +00: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
Yifan Hong 46f7e88c27 Merge changes from topic "productmanifest" into qt-dev
* changes:
  ota_from_target_files: include metadata when odm / product is changed.
  Add product manifest.
2019-04-26 22:39: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
SzuWei Lin ac7cb67870 Disable non-AOSP nnapi extensions on product partition in GSI
The extensions is for OEM. To avoid AOSP code using OEM
extensions mistakenly. GSI denys product to use the extensions
by enabling the following property:

    ro.nnapi.extensions.deny_on_product=true

Bug: 129900377
Test: make gsi_arm64-userdebug, check /system/build.prop
Change-Id: Ia679f1f9c108bd5a164c8cdeb1d73f57da755608
Merged-In: Ia679f1f9c108bd5a164c8cdeb1d73f57da755608
(cherry picked from commit 3c6fde2d90)
2019-04-24 15:36:14 +08: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 2e2a7682ba Removing --flag 2 when building GSI vbmeta.img
With the support of enabling AVB on standalone partitions in libfs_avb,
devices can boot GSI with dm-verity. No need to disable AVB anymore.

Devices still can use the following command to disable AVB on
device-specific vbmeta.img if needed:

    `fastboot flash --disable-verification vbmeta vbmeta.img`

Bug: 130595457
Test: Tree Hugger
Change-Id: I067dcda15f14f04428e0b60ce1f49227d61e4349
2019-04-23 18:10:01 +08: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
Tao Bao 22c434e80f Merge "Move update-payload-key.pub.pem into a module." 2019-04-22 17:16:46 +00:00
SzuWei Lin 8f489d7f31 Merge "Disable non-AOSP nnapi extensions on product partition in GSI" am: 6a3d438aa0
am: 87381a80fc

Change-Id: I61bd5bc57ce58eb0572e1c0c0705de1f16ec3c7b
2019-04-22 05:06:58 -07:00
Treehugger Robot 6a3d438aa0 Merge "Disable non-AOSP nnapi extensions on product partition in GSI" 2019-04-22 11:46:13 +00: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
SzuWei Lin 3c6fde2d90 Disable non-AOSP nnapi extensions on product partition in GSI
The extensions is for OEM. To avoid AOSP code using OEM
extensions mistakenly. GSI denys product to use the extensions
by enabling the following property:

    ro.nnapi.extensions.deny_on_product=true


Bug: 129900377
Test: make gsi_arm64-userdebug, check /system/build.prop
Change-Id: Ia679f1f9c108bd5a164c8cdeb1d73f57da755608
2019-04-22 06:28:13 +00: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
TreeHugger Robot 498aa08221 Merge "Change emulator system image to unsparse format" into qt-dev 2019-04-18 14:37:22 +00: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
Isaac Chen fda36e9839 Change emulator system image to unsparse format
Currently, emulator system image is the non-legasy GSI, which is in sparse
format. Several internal clients don't support sparse format, and other
internal/external clients usually support both. The reason to choose sparse
format for GSI may not be valid any more. See bug for detail.

Bug: 130341962
Test: Checked the header of system.img to see if it's unsparse.
      Boot emulator aosp_x86 successfully.

Change-Id: I839f49809429227607b2e876a4a3628df43a97b4
Merged-In: I839f49809429227607b2e876a4a3628df43a97b4
(cherry picked from commit 90bfda1cc4)
2019-04-16 12:00:18 +08:00
Isaac Chen bcd412cf8e Merge "Change emulator system image to unsparse format" am: d18be7f8db
am: b1056bae51

Change-Id: Ieccc9d7620c2343d457adbb78fff58da96399baf
2019-04-15 05:17:33 -07:00
Isaac Chen d18be7f8db Merge "Change emulator system image to unsparse format" 2019-04-15 11:57:49 +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
Isaac Chen 90bfda1cc4 Change emulator system image to unsparse format
Currently, emulator system image is the non-legasy GSI, which is in sparse
format. Several internal clients don't support sparse format, and other
internal/external clients usually support both. The reason to choose sparse
format for GSI may not be valid any more. See bug for detail.

Bug: 130341962
Test: Checked the header of system.img to see if it's unsparse.
      Boot emulator aosp_x86 successfully.
      Boot mixed GSI and CF x86 successfully.

Change-Id: I839f49809429227607b2e876a4a3628df43a97b4
2019-04-12 13:16:34 +08: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
Anton Hansson 4844d4f3c7 Enable JIT Zygote experiment in mainline boardconfig
Like Ie413f84c545c869ee336912a7b05ca80bb968129, but for all
mainline devices.

Bug: 119800099
Test: m
Change-Id: Ief77adaea61203a013f85cf870c5350253fdb7dd
Merged-In: Ief77adaea61203a013f85cf870c5350253fdb7dd
2019-04-09 13:02:44 +01:00
Paul Duffin 70a875afec Merge "Remove android.test.base from bootclasspath" 2019-04-09 10:35:41 +00:00
Anton Hansson bba55ee2aa Merge "Enable JIT Zygote experiment in mainline boardconfig" am: f49c38c2c1
am: 40af566c4f

Change-Id: Ifffad6407b7bc95e0e7111046e1507f916266a3d
2019-04-09 02:14:25 -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 953dc98790 Merge "allow actually 140MB vendor partition space" into qt-dev 2019-04-05 18:09:36 +00:00
Lajos Molnar 6c95d826e8 Merge "media: remove soft OMX components from VNDK" into qt-dev 2019-04-05 18:09:36 +00:00
Anton Hansson 66bd1852f1 Enable JIT Zygote experiment in mainline boardconfig
Like Ie413f84c545c869ee336912a7b05ca80bb968129, but for all
mainline devices.

Bug: 119800099
Test: m
Change-Id: Ief77adaea61203a013f85cf870c5350253fdb7dd
2019-04-05 18:45:17 +01:00
Anton Hansson 0e3a76e755 Merge "Move device-specific vars from mainline common" into qt-dev 2019-04-05 16:01:34 +00:00
Lajos Molnar 0fb6fcca27 allow actually 140MB vendor partition space
Bug: 129710438
Change-Id: I93bfe7f25f16a8e48871db7357ec587c21dcc7d6
2019-04-04 21:59:30 +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
Anton Hansson 9ca0c27be6 Move device-specific vars from mainline common
Move a couple of variables out of BoardConfigMainlineCommon
because they vary either by device or by how they build in
AOSP vs internal.

Bug: 80410283
Test: presubmit
Change-Id: Ia42df91ad8c8d8fc4618be375a17ea23896f4352
Merged-In: Ia42df91ad8c8d8fc4618be375a17ea23896f4352
2019-04-04 18:47:48 +01:00
Anton Hansson 91aa9414c0 Move device-specific vars from mainline common
Move a couple of variables out of BoardConfigMainlineCommon
because they vary either by device or by how they build in
AOSP vs internal.

Bug: 80410283
Test: presubmit
Change-Id: Ia42df91ad8c8d8fc4618be375a17ea23896f4352
2019-04-04 17:33:51 +01: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 6e1026e591 Merge "Unset system-as-root for mainline" am: 2f5e18362b am: d3229a7179
am: 508d4a2797

Change-Id: I4edec0fd236f7c53087f436a2ddfd3c65cca7ee5
2019-03-26 14:26:33 -07:00
Anton Hansson 2f5e18362b Merge "Unset system-as-root for mainline" 2019-03-26 19:34:13 +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
Anton Hansson cd2f94407c Unset system-as-root for mainline
This flag is not allowed to be true when dynamic partitions are
enabled, which mainline devices are expected to do.

Bug: 80410283
Test: make
Change-Id: I50c9fe9332ea1490a84484f9311cfe001a083754
2019-03-26 09:22:07 +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
Anton Hansson 0af2847ba0 Merge "Make mainline device enable property split" am: 072795054a am: cc85e0377c
am: 802e6faa77

Change-Id: I055a9967654e1efee1274d28cdea45b8113e43b7
2019-03-25 11:59:58 -07: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 018bd137b7 Make mainline device enable property split
This setting moves the PRODUCT_PROPERTY_OVERRIDES to
the vendor partition.

Bug: 80410283
Test: tail system/build.prop | grep ro.carrier=
      (empty)

Change-Id: I30d564fbd2dd3b56763ccff77979b223857f1c2f
2019-03-25 10:53:07 +00:00
Anton Hansson 5fbbea2d18 Merge "Set file system types for mainline_arm64 partitions" am: 9274688574 am: 3632d053d0
am: eb49e55ad7

Change-Id: I3365a50b76f9e9116db48b75aa2c591f155bc414
2019-03-25 02:41:15 -07: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 9274688574 Merge "Set file system types for mainline_arm64 partitions" 2019-03-25 09:24:16 +00: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
Anton Hansson 1683198010 Set file system types for mainline_arm64 partitions
This config was in a weird state where it sets the OUT
directory for these partitions but not the file system
type. Within the build system, both of these variables
are used interchangeably to check whether these partitions
are expected to be present.

A typical mainline device is expected to /vendor and
/product, so just add these.

Bug: 120974093
Test: make
Change-Id: I803d7afdcadc37e4384ae80f08bc1c8db535d2f4
2019-03-22 17:25:43 +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
Mathieu Chartier 8ef74918a9 Turn off app image startup cache temporarily
Until other regressions in the platform are fixed.

Bug: 128941180
Test: make
Change-Id: I51aafa9bf9469fb9e3257e75ef5ee94b0b223abb
2019-03-19 18:06:49 -07:00
SzuWei Lin b3ba5843f2 Merge "Disable RescueParty in GSI temporary" am: 39f88f9c28 am: b9bf035c60
am: ff91a64d85

Change-Id: Ic120b0cb84de828548772f59712ee680f31aa73d
2019-03-18 04:27:41 -07:00
Treehugger Robot 39f88f9c28 Merge "Disable RescueParty in GSI temporary" 2019-03-18 11:12:45 +00:00
Po-Chien Hsueh a1380a54a4 Rename module DynamicAndroidInstallationService
Rename this module to DynamicSystemInstallationService per one of
the API review suggestions.

Bug: 126613281
Test: build, install, and check the module is there
Change-Id: I2b1d2ba787c8d76f770ede23e90b4e09f7e4c143
2019-03-18 07:15:50 +00:00
Tao Bao 22f3f54345 Merge "Include charger.recovery for recovery." am: bc2f9ce2c1 am: f740f57ca8
am: 1efdbad8ea

Change-Id: Id9211411d0234a0a264422a8c426cb251a58cd5b
2019-03-14 10:17:00 -07:00
Tao Bao bc2f9ce2c1 Merge "Include charger.recovery for recovery." 2019-03-14 16:56:29 +00:00
SzuWei Lin 4fff0440b0 Disable RescueParty in GSI temporary
RescueParty reboot the device to recovery mode if there is any
priv app die continuously. The behavior blocks the testing.
Disable the feature temporary before all problem apps fixed.

Bug: 120679683
Test: Boot a device with GSI and a die app
Test: Unplug USB and does not auto reboot
Change-Id: I70e5b7222299c6d0173d87e41d7a68beeda77dd5
2019-03-14 22:43:02 +08:00
Remi NGUYEN VAN 63ab02ff68 Merge "Move NetworkStack in-process from lib to APK" am: c6bf520424 am: 0dda351bf0
am: 3ea98a1d22

Change-Id: I63d45ae55d5740b0438c3462cec4391387552b98
2019-03-11 19:12:35 -07:00
Remi NGUYEN VAN c6bf520424 Merge "Move NetworkStack in-process from lib to APK" 2019-03-12 01:37:26 +00:00
SzuWei Lin 81a3f0f4de Merge "Fix some system property missing problem on aosp_* targets" am: bc1e820f25 am: 37e3fd9887
am: c72c066545

Change-Id: If5d6dc33cddb8dc1b72c39ad59d1a5b6d48b2b05
2019-03-11 09:50:12 -07:00
Treehugger Robot bc1e820f25 Merge "Fix some system property missing problem on aosp_* targets" 2019-03-11 16:10:22 +00:00
TreeHugger Robot 3a6a7f8055 Merge "Move mediaswcodec process to apex" 2019-03-08 19:46:28 +00:00
SzuWei Lin ace19f63fe Fix some system property missing problem on aosp_* targets
Some PRODUCT_PROPERTY_OVERRIDES has no effect, ex.
ro.dalvik.vm.native.bridge=0 in runtime_libart.mk,
because gsi_common.mk uses ':=', not '+='.

Bug: 125829345
Test: build aosp_arm64-userdebug
Test: check the properties in /vendor/build.prop
Change-Id: Ib5e026069e7919fed8a00f905f3dbaa15042107f
2019-03-08 18:16:54 +08:00
Remi NGUYEN VAN e6fcb468d8 Move NetworkStack in-process from lib to APK
This makes the in-process configuration closer to the "standard" module
configuration, by using an APK in both cases, but making sure that
svelte builds use an in-process service to avoid the memory impact.

Bug: 127908503
Test: svelte build boots and has functional WiFi
Change-Id: I59f44df7c23a24429e9fe6be034260373e33a994
2019-03-08 17:42:59 +09:00
Chong Zhang 4c1d7f8dba Move mediaswcodec process to apex
bug: 127499775
test:
- adb shell lshal debug android.hardware.media.c2@1.0::IComponentStore/software
check all software c2 codecs are still listed
- clean-built image shouldn't have mediaswcodec in /system/bin
- atest CtsMediaTestCases -- --module-arg CtsMediaTestCases:size:small

Change-Id: I649ba743b9fc82445e5f1e2ad44247e4a3392e4c
2019-03-07 10:03:19 -08:00
Dan Willemsen 3d05a08a6f Reland "First pass at creating PRODUCT_HOST_PACKAGES"
Adds icu-data_host_runtime_apex to fix unbundled builds which pull it in
via PRODUCT_PACKAGES, but are missing packages that would pull it in via
PRODUCT_HOST_PACKAGES.

Test: build/soong/build_test.bash
Test: in ub-timezonedata-master; tapas TimeZoneData; m
Change-Id: I1583c7582b386c3e8478711cb1df340518d763c1
Merged-In: I1583c7582b386c3e8478711cb1df340518d763c1
2019-03-06 14:46:06 -08:00
Dan Willemsen 4a70a19f84 Reland "First pass at creating PRODUCT_HOST_PACKAGES"
Adds icu-data_host_runtime_apex to fix unbundled builds which pull it in
via PRODUCT_PACKAGES, but are missing packages that would pull it in via
PRODUCT_HOST_PACKAGES.

Test: build/soong/build_test.bash
Test: in ub-timezonedata-master; tapas TimeZoneData; m
Change-Id: I1583c7582b386c3e8478711cb1df340518d763c1
2019-03-04 18:03:14 -08:00
TreeHugger Robot 9d5ca5d86e Merge "Add Codec2 and BufferPool vndk modules" 2019-03-05 00:13:00 +00:00
Tao Bao 2173bc1cf2 Include charger.recovery for recovery.
It used to be installed to recovery with the rsync from normal root to
recovery root.

Bug: 114042635
Test: `m -j bootimage` with aosp_walleye-userdebug.
Change-Id: If3451f21018f271b1df83a31d4ece382e0dfebb9
2019-03-04 11:46:29 -08:00
Pawin Vongmasa 0eaaccb529 Add Codec2 and BufferPool vndk modules
Test: Builds

Bug: 112362730
Change-Id: I89ae0924a4d2f3ba0296eb30aae2f966cd9a30eb
2019-03-03 17:02:16 -08:00
Yifan Hong 7a82913627 Merge "Build ODM manifests and fragments for each SKU." am: 5a4696e460 am: 9abd15f3c1
am: 934174f0bd

Change-Id: Ia088e5a7445e2701920307c65647def62589dd78
2019-03-01 11:00:14 -08:00
Yifan Hong 5a4696e460 Merge "Build ODM manifests and fragments for each SKU." 2019-03-01 18:32:32 +00:00
TreeHugger Robot 00ff89e442 Merge "Change to configstore 1.1" 2019-03-01 06:39:43 +00:00
Martin Stjernholm c62dcaf4e4 Merge "Remove libnpt from system again." am: 1b9a0c8f7d am: 6dddea74a3
am: e46f28cf7c

Change-Id: Ib424fcf66994a565d99a1fb7d6a7340113ca8df7
2019-02-28 19:03:38 -08:00
Treehugger Robot 1b9a0c8f7d Merge "Remove libnpt from system again." 2019-03-01 02:23:50 +00:00
Martin Stjernholm 616dc79043 Remove libnpt from system again.
http://r.android.com/914573 fixes libjdwp to look for it in the APEX.

Test: Flash and boot
Test: adb forward tcp:5555 jdwp:`adb shell pidof com.android.email` && jdb -attach localhost:5555
Test: atest CtsJdwpTestCases
Bug: 124498388
Change-Id: Idf380660a21c88969e42d6a03a6b50fd2baa4c17
2019-02-27 20:51:56 +00:00
Ray Essick 2fa0b813a3 Merge "Remove libmediaplayerservice from base components" 2019-02-26 21:57:42 +00:00
Lingfeng Yang fbae04c480 Merge "Add more space in the sdk image for an updated swiftshader" am: aa39d0bdbc am: 60928d7ea8
am: cdca859619

Change-Id: I72dad71a4cb0264cfbddc1549cb8fcfad328e651
2019-02-26 08:34:50 -08:00
Cody Schuffelen 45dd92e51b Add more space in the sdk image for an updated swiftshader
Related change: aosp/907158.

Bug: 124530765
Test: TreeHugger
Change-Id: Id9313c3900dae90696101c83d04827d4ee5911bf
2019-02-26 00:21:17 -08:00
Ray Essick a8e1d084bb Remove libmediaplayerservice from base components
Let libmediaplayerservice be pulled as a dependency from mediaserver. This
also means that it only pulls in the flavor (32/64-bit) needed for mediaserver.

Bug: 16890215
Test: build, check results, boot
2019-02-25 21:00:15 -08:00
Orion Hodson 561c9a0bf5 Merge "Add libartpalette-system" am: 6997dbd6ca am: 1cc983f9b2
am: 4a3b7fa166

Change-Id: I54271964ac4d70e09e2b319eff1ec2bc2e19a704
2019-02-22 20:50:30 -08:00
Dan Willemsen 086f8f002c Revert "First pass at creating PRODUCT_HOST_PACKAGES"
This reverts commit 7218a21ed0.

Reason for revert: broke some side branches, and the mac build

Change-Id: Ifa52f2dbf9a383f69e07ba0aceb4742b05376364
Fixes: 125912305
2019-02-22 22:02:23 +00:00
Sundong Ahn a1bd079779 Change to configstore 1.1
The configstore 1.2 will be deleted. So changed to configstore 1.1 in
PRODUCT_PACKAGES and remove configstore 1.2 in vndk.

Bug: 124531214
Test: build & boot
Test: adb shell lshal | grep configstore & check configstore 1.2
Change-Id: I2c9e1f8b5dc7616112d2602cac22059a05e59901
2019-02-22 12:06:03 +09:00
Dan Willemsen 7218a21ed0 First pass at creating PRODUCT_HOST_PACKAGES
This only defines PRODUCT_HOST_PACKAGES as a concept, and requires that
it contain at least all of the files that would be installed to the host
from PRODUCT_PACKAGES (minus libraries, as those are expected to be
installed based on what's required by other modules).

It does not actually change what will be built, that will happen in a
future change.

Test: build/soong/build_test.bash
Change-Id: Ie502b1a483f821b957cfd407c31a93e243896dae
2019-02-20 12:58:37 -08:00
Orion Hodson 13ef2eb458 Add libartpalette-system
Test: ssh to mac, lunch, build, flash, boot device.

Change-Id: Iddeb6b7e69edbf260be1148428fd9aa468d4559d
2019-02-20 13:36:07 +00:00
Bowgo Tsai cf82764987 Merge "GSI vbmeta.img: set rollback_index to zero" am: 93030e3f4d am: 8ef0dae2c6
am: 12d9c24978

Change-Id: Ic8e133ef3ff8743806086b0f06afb6ab64b6d0de
2019-02-19 17:54:52 -08:00
Treehugger Robot 93030e3f4d Merge "GSI vbmeta.img: set rollback_index to zero" 2019-02-20 01:20:09 +00:00
Yifan Hong b321665b9d Build ODM manifests and fragments for each SKU.
In BoardConfig.mk, ODM manifests can be specify as follows:

    # installed to /odm/etc/vintf/manifest.xml
    ODM_MANIFEST_FILES := device/foo/bar/odm_manifest.xml

    # installed to /odm/etc/vintf/manifest_baz.xml
    ODM_MANIFEST_SKUS := baz
    ODM_MANIFEST_BAZ_FILES := device/foo/bar/odm_manifest_baz.xml

This is preferred over PRODUCT_COPY_FILES because it uses
assemble_vintf to check manifest at build time.

Test: builds

Change-Id: I18517b8ba09d3271627d6f21b8250b1bfc9e5db3
2019-02-19 12:37:50 -08:00
Bowgo Tsai c1a8f1a5d7 GSI vbmeta.img: set rollback_index to zero
The major purpose of vbmeta.img built on GSI targets (e.g., aosp_arm,
aosp_arm64, etc) is to disable AVB. We should also set the rollback
index to zero, to prevent the device bootloader from updating the
last seen rollback index in the tamper-evident storage.

Bug: 122583908
Test: build aosp_arm64, then `avbtool info_image --image $OUT/vbmeta.img`
Change-Id: I48a49957f8dd3169003b9507fe80e519f301d5b5
2019-02-19 10:38:40 +08:00
vichang 70eb134c7a Merge "Add a bug number in the TODO tag" am: 4ea3ad0e34 am: cdaa9001fe
am: 2adcb9f2fa

Change-Id: Ie8e46987eae236a5e82ccd755df98345195cb937
2019-02-18 10:06:22 -08:00
vichang 4ea3ad0e34 Merge "Add a bug number in the TODO tag" 2019-02-18 17:51:53 +00:00
Victor Chang 575379e30b Add a bug number in the TODO tag
- ICU4C is kept in PRODUCT_PACKAGES for the app compat issue

Bug: 124218500
Test: Treehugger
Change-Id: I9b98321c639e99c59e6a5ea45dd380f5f731a419
2019-02-18 11:54:07 +00:00
Luca Stefani 461aaf9635 Merge "Fix flags argument passed to avbtool for GSI images" am: 6867fd7dda am: 15c83f9713
am: 428b90c473

Change-Id: I1ee5bff4e7d2fe48abab0b50eeb64932c75ea9be
2019-02-17 21:46:54 -08:00
Treehugger Robot 6867fd7dda Merge "Fix flags argument passed to avbtool for GSI images" 2019-02-18 05:27:52 +00:00
Martin Stjernholm 3e572e0103 Merge "Add libnpt back into system." am: 611a99da84 am: 1ebf81e58f
am: 1fd20a5c6e

Change-Id: I953e253d1e89b9e0c96bd7fc79eee9b0a0384185
2019-02-15 09:19:56 -08:00
Martin Stjernholm fd0b822d09 Add libnpt back into system.
It must be there for libjdwp to find it and load the debugger transport
correctly. This is a temporary fix while we are looking into loading libnpt
from the Runtime APEX.

Bug: 124498388
Test: adb forward tcp:5555 jdwp:`adb shell pidof com.android.email` && jdb -attach localhost:5555
Test: atest CtsJdwpTestCases
Change-Id: I644c092c2ad5f6c9669bdccc24c7953d3be6b328
2019-02-15 15:08:50 +00:00
SzuWei Lin 6089834247 Merge "Fix booting problem on GSI with user build" am: b41ab14b1e am: 3e985e9b10
am: faffe14ea7

Change-Id: I34f18f0a5621429fae1abe110d5da2a19802c1fd
2019-02-15 02:54:26 -08:00
Treehugger Robot b41ab14b1e Merge "Fix booting problem on GSI with user build" 2019-02-15 10:37:44 +00:00
Remi NGUYEN VAN 9e79eb8719 Merge "Add test keys for networkstack" am: fc35e5aaa5 am: 661bfd4405
am: bc6517bf7e

Change-Id: I103b92197ae494b10a383ef8e72688968233336e
2019-02-14 22:38:17 -08:00
SzuWei Lin fd6d294c2b Fix booting problem on GSI with user build
GSI doesn't include gsi_system.prop on user build, and cause some
devices cannot boot GSI with user build. Some properies in
gsi_system.prop do not suitable for user build, the patch create
a new gsi_system_user.prop for GSI user build.

Bug: 124479721
Test: boot aosp_arm64-user on a blueline device.
Change-Id: Ide2bdc8e8733817afb832b50b28807768e22f011
2019-02-15 14:34:53 +08:00
Remi NGUYEN VAN fc35e5aaa5 Merge "Add test keys for networkstack" 2019-02-15 04:11:07 +00:00
Jiyong Park 70039c9f33 Merge "Revert "Add APK container signing key/cert pairs for APEXes"" am: da4ee462c7 am: 5f501b5127
am: fdc5c8439b

Change-Id: Ib3ca04a01d56b58e502796bf726c73134117e1aa
2019-02-14 11:16:12 -08:00
Treehugger Robot da4ee462c7 Merge "Revert "Add APK container signing key/cert pairs for APEXes"" 2019-02-14 18:42:47 +00:00
Suren Baghdasaryan b4ceb248c7 Merge "Add cgroups.recovery.json into recovery image" am: e57df508c4 am: 70072e97eb
am: 244ed1f4e3

Change-Id: I8bb86c8f850b96382ff6b94c932a4f13375787df
2019-02-14 10:28:14 -08:00
Suren Baghdasaryan 72546076c8 Add cgroups.recovery.json into recovery image
Use cgroups.recovery.json as /etc/cgroups.json during recovery.

Bug: 124270406
Test: "adb reboot sideload; adb devices" shows 'sideload' as expected
Change-Id: I0af01a6801da7ce29ddd7c30ad48be4f98c3a280
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-02-14 17:08:55 +00:00
Jiyong Park 2237d06a78 Revert "Add APK container signing key/cert pairs for APEXes"
This reverts commit 74f27716f3.

The key/cert pairs for APEXes are moved to the same directory where the
APEXes are defined.

Test: Check this for all APEXes
jarsigner -verify -verbose -certs out/target/product/blueline/system/apex/com.android.tzdata.apex shows
...
X.509, CN=com.android.tzdata, OU=Android, O=Android, L=Mountain View, ST=California, C=US

Change-Id: I8d867b434b93aa68cbc707fa20ed8dbd4cef755e
2019-02-15 00:39:47 +09:00
Martin Stjernholm 4124dedfa4 Merge "Disable installation of ART modules in /system." am: 6747fb91bb am: 49305909a8
am: 689a580f8d

Change-Id: I9aa42270ec87dafb116b3ef33c7ec795214acd45
2019-02-13 16:59:57 -08:00
Martin Stjernholm a568592f53 Disable installation of ART modules in /system.
Remove ART modules (`art-runtime`, `art-tools`) from `PRODUCT_PACKAGES`, as
they are provided by the Android Runtime APEX module
(`com.android.runtime`).

Copy of rpl's http://r.android.com/812674.

Test: Flash and boot
Test: atest CtsJniTestCases
Test: atest CtsJdwpTestCases
Test: m checkbuild dist
Bug: 113373927
Change-Id: I3e0c130f1a9c596629ab243648f0251cf71c1499
2019-02-13 22:28:09 +00:00
TreeHugger Robot c8f0dc3fe6 Merge "Add gsi_tool and DynamicAndroidInstallationService to base_system" 2019-02-13 16:44:56 +00:00
Justin Yun 4805947da8 Merge "Add an option not to install all VNDK libs" am: 95c7f58bb7 am: 3385d3f2ff
am: fd6dfb3734

Change-Id: I227878d5cad9b11e8852598cd4b6650b3328f4b7
2019-02-12 23:46:52 -08:00
Justin Yun 89443aed80 Add an option not to install all VNDK libs
When using VNDK snapshot, current VNDK libs are not required. Use
"TARGET_SKIP_CURRENT_VNDK=true" to skip installing current VNDK libs.

Bug: 123607022
Test: TARGET_SKIP_CURRENT_VNDK=true PRODUCT_EXTRA_VNDK_VERSIONS=28 m -j
Change-Id: I65c902c71a7952536bbf824a1dccb9360e843f1a
2019-02-13 10:46:10 +09:00
Remi NGUYEN VAN 333c98517b Add test keys for networkstack
The networkstack is using shared test keys for NetworkStack.apk,
CaptivePortalLogin.apk and NetworkStackPermissionStub.apk.

This allows NetworkStackPermissionStub.apk to define signature
permissions without the platform certificate, and enforce that the other
packages match the signature to use the permissions if they are
installed.

Bug: 124033493
Test: m
Change-Id: I7257a472d702e82acdadffc4e0535c63a8bd591d
2019-02-13 00:57:41 +09:00
Jiyong Park 45433aec35 Merge "TARGET_FLATTEN_APEX for GSI" am: 84f1ade63f am: cd3825adc7
am: 9772c4284a

Change-Id: I85f5b44b444a3050b85202eac5ae7bf7a29ca940
2019-02-12 00:23:16 -08:00
Jiyong Park 84f1ade63f Merge "TARGET_FLATTEN_APEX for GSI" 2019-02-12 08:04:39 +00:00
Mathieu Chartier 09b8342cf6 Merge "Revert "Enable layout compilation by default"" am: 5838c3f8bb am: f7f965ca40
am: 16f0df8b6b

Change-Id: Id6a5e6807202391764ca174e28f77aa118030fa2
2019-02-11 14:52:49 -08:00
Mathieu Chartier 5838c3f8bb Merge "Revert "Enable layout compilation by default"" 2019-02-11 22:10:55 +00:00