Commit graph

52478 commits

Author SHA1 Message Date
android-build-team Robot
da68ac05ce Version bump to QQ1A.190530.003 [core/build_id.mk]
Change-Id: I5235c1df2c65e911aa200f5f2d40a277d9c1e68f
2019-05-31 02:51:00 +00:00
Alan Viverette
bedc5143c2 Remove obsolete Support Library guidance from version_defaults.mk
am: c45849fc0c

Change-Id: Id57530a4356a7d4454466bf90d61ea1bff3eae6d
2019-05-30 13:19:41 -07:00
android-build-team Robot
061303c923 Version bump to QQ1A.190530.002 [core/build_id.mk]
Change-Id: I84f149d5360681804c78fb417136b93b178f0b47
2019-05-30 20:03:19 +00:00
Alan Viverette
c45849fc0c Remove obsolete Support Library guidance from version_defaults.mk
Test: n/a docs only
Fixes: 133228727
Change-Id: I10cdd9a4dfe8c508417f7b80320e308c236f2c8e
2019-05-30 16:57:25 +00:00
android-build-team Robot
f898929326 Make change and version bump to QQ1A.190530.001
Change-Id: I44fd6d367b608e55e90a38e267df04cb691c4b82
2019-05-30 03:18:43 +00:00
android-build-team Robot
4d5c1d84c0 Version bump to QQ1A.190529.002 [core/build_id.mk]
Change-Id: Id04d38fa12c1bcf36eb3d67a845ebc2faea1abb6
2019-05-29 20:46:44 +00:00
android-build-team Robot
d81166e6c1 Make change and version bump to QQ1A.190529.001
Change-Id: Id6ad6c28f8d676172480fa2276876fdb16d5b94e
2019-05-29 03:17:32 +00:00
android-build-team Robot
961f1ca425 Version bump to QQ1A.190528.002 [core/build_id.mk]
Change-Id: Ie931dcac8a79a56029542b8718f78dff47015e8f
2019-05-28 23:06:21 +00:00
android-build-team Robot
f628c0ceb0 Make change and version bump to QQ1A.190528.001
Change-Id: I8e4eb31d8a4b8677bc7f2b8ea75903c843d117dc
2019-05-28 03:18:16 +00:00
android-build-team Robot
9399a7e567 Make change and version bump to QQ1A.190527.001
Change-Id: I10e7c1dffb12d1330ab86729d3aaec7ce58d246c
2019-05-26 23:18:19 +00:00
android-build-team Robot
c823d3b5e1 Make change and version bump to QQ1A.190526.001
Change-Id: I79b60aa82b84319e3335fc799b92c67173a044b7
2019-05-25 23:20:37 +00:00
Hridya Valsaraju
07fac153b7 Merge "Allow for the DTB image to be built by the Android build system." into qt-dev
am: f862715103

Change-Id: Iab952fe7660893ff99dc7f37d8a568b11628ea6c
2019-05-24 11:41:32 -07:00
TreeHugger Robot
f862715103 Merge "Allow for the DTB image to be built by the Android build system." into qt-dev 2019-05-24 17:34:27 +00:00
SzuWei Lin
cec562ce5f Merge "Add AOSP WallpaperPicker to GSI" into qt-dev
am: 1230a18b5c

Change-Id: I2885a8c1c69ab5b3ee5bb496048c87d4b8a027b1
2019-05-23 14:11:35 -07:00
TreeHugger Robot
1230a18b5c Merge "Add AOSP WallpaperPicker to GSI" into qt-dev 2019-05-23 20:02:08 +00: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
Bowgo Tsai
d12f6f20fd Moving /odm/build.prop to /odm/etc/buid.prop
am: 33ff602070

Change-Id: I5fc3f06634c1770b1c3fbbe177f88d305355689f
2019-05-22 21:34:20 -07:00
android-build-team Robot
ec5fa5b6fb Make change and version bump to QQ1A.190523.001
Change-Id: I4089d9a577695cf89a50f28c1c1819cba870f5be
2019-05-23 03:17:31 +00:00
android-build-team Robot
517c116765 Version bump to QQ1A.190522.003 [core/build_id.mk]
Change-Id: I163ad5e2548ad88f4d3f2f01a9f712b90de726a0
2019-05-23 00:26:59 +00:00
Hridya Valsaraju
5b8f78fbe8 Allow for the DTB image to be built by the Android build system.
The current solution expects BOARD_PREBUILT_DTBIMAGE_DIR to
contain prebuilt DTB files that are concatenated by the build system
to create $OUT/dtb.img. In order to accommodate devices that build
the dtb image locally, when BOARD_PREBUILT_DTBIMAGE_DIR is undefined,
make boot.img creation depend only on $OUT/dtb.img.

Bug: 133161451
Test: Build with BOARD_PREBUILT_DTBIMAGE_DIR undefined and verify
using unpack_bootimg.py that $OUT/dtb.img was included in boot.img.

Change-Id: Iae2c634ccdc1d83589b26d382882f75fb8565a31
Merged-In: Iae2c634ccdc1d83589b26d382882f75fb8565a31
2019-05-22 15:55:47 -07:00
android-build-team Robot
2a2cea9d41 Version bump to QQ1A.190522.002 [core/build_id.mk]
Change-Id: I8ff2608b8a1ac9f2e3e7eb579556e727419305d2
2019-05-22 21:33:28 +00:00
Bowgo Tsai
33ff602070 Moving /odm/build.prop to /odm/etc/buid.prop
In device root directory, we have the following symlinks:
  - /odm/app -> /vendor/odm/app
  - /odm/bin -> /vendor/odm/bin
  - /odm/etc -> /vendor/odm/etc
  ...

This allows the Generic System Image (GSI) to be used on both devices:
  1) Has a physical odm partition, where those symlink will be hidden
     when /odm is used as the mount point
  2) Has no physical odm partition and fallback to /vendor/odm/.

We can't just have the symlink /odm -> /vendor/odm, because the former
devices won't have /vendor/odm directory, which leads to mount failure
when the mount point /odm is resolved to /vendor/odm.

The existing /vendor/odm/build.prop won't be loaded in the latter
devices, because there is no symlink:
    - /odm/build.prop -> /vendor/odm/build.prop.

Note that init blocks reading through direct symlinks (O_NOFOLLOW) so
the above symlink won't work either. This CL moves the odm build.prop
to /odm/etc/build.prop for init to load it (symlinks in earlier
components of the path will still be followed by O_NOFOLLOW).

Bug: 132128501
Test: boot a device and checks /odm/etc/build.prop is loaded
Test: make dist with an odm.img, checks $OUT/odm/etc/build.prop is loaded
Change-Id: I6f88763db755c9ec6068bfdd9cee81c19d72e9d7
Merged-In: I6f88763db755c9ec6068bfdd9cee81c19d72e9d7
(cherry picked from commit 6c62884000)
2019-05-22 16:14:53 +08:00
android-build-team Robot
f038399a43 Make change and version bump to QQ1A.190522.001
Change-Id: Ie83d539713671ec386eb0d3b74124bdbed7417ea
2019-05-22 03:18:43 +00:00
android-build-team Robot
ff03abaad3 Version bump to QQ1A.190521.002 [core/build_id.mk]
Change-Id: I2b6cb2553b7612436783f7610cfed9268615e288
2019-05-21 22:46:35 +00:00
android-build-team Robot
e06a1de864 Make change and version bump to QQ1A.190521.001
Change-Id: Id88f21e32e6bf35da613d13547dbc7b6f9c64d65
2019-05-21 03:17:04 +00:00
android-build-team Robot
10aa92aef1 Version bump to QQ1A.190520.002 [core/build_id.mk]
Change-Id: I9d7472bc8e1fa0b0a0e256ea4db3db8e43079f83
2019-05-20 21:07:39 +00:00
Tao Bao
7c58c104fb Add sign_apex.py that signs a given APEX file.
am: f52dbb81fe

Change-Id: I4db7fae14d9f48a1d6df7c4ad422ada187b89ef1
2019-05-20 09:17:21 -07:00
android-build-team Robot
6f5e7a9faa Make change and version bump to QQ1A.190520.001
Change-Id: I9a0fbf73472b0a15dbf5d205d48d3200176a8a8c
2019-05-19 23:18:26 +00:00
Tao Bao
f52dbb81fe Add sign_apex.py that signs a given APEX file.
Bug: 132687993, 131687150
This CL moves SignApex() from sign_target_files_apks into apex_utils,
and adds sign_apex that allows signing a standalone APEX file directly.

Test: Run the following command and check the output file.
$ build/make/tools/releasetools/sign_apex.py \
     -v \
     --container_key \
         build/make/target/product/security/testkey.x509.pem \
     --payload_key external/avb/test/data/testkey_rsa4096.pem \
     --payload_extra_args \
         "--signing_helper_with_files ./signing-helper.sh" \
     foo.apex \
     signed-foo.apex
Test: Run sign_target_files_apks.py on crosshatch target_files.zip.
Change-Id: I4b2422fd5cb1c60a3aa94511475e2a0e5b1666ca
2019-05-19 11:33:31 -07:00
android-build-team Robot
ef33b15151 Make change and version bump to QQ1A.190519.001
Change-Id: I3cf752d28395dd8f1733340435772c3861b3f9d7
2019-05-18 23:35:56 +00:00
Chong Zhang
29134063c8 Merge "Remove a few libs used by soft omx from vndk" into qt-dev
am: 8b6b22e593

Change-Id: If4da571c1b729766fdb6578aabcb7b4f3f45a03f
2019-05-17 13:49:02 -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
Bowgo Tsai
c344b21ef4 Merge "Appending per-partition os_version into AVB props" into qt-dev
am: 61c5d29655

Change-Id: Ifdc58c3bf9d4ce0edca9fe14f8a9fe65e5e4d610
2019-05-17 10:03:04 -07:00
TreeHugger Robot
61c5d29655 Merge "Appending per-partition os_version into AVB props" into qt-dev 2019-05-17 16:45:44 +00:00
Mathieu Chartier
0fef2ff79d Merge "Specify default image block size of 512KB by default" into qt-dev
am: 6e0bc97875

Change-Id: Ie2b41683df25d72ab12542a49140d9f0e7098e8e
2019-05-17 09:43:56 -07: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
Bowgo Tsai
ce8b063507 Appending per-partition os_version into AVB props
os_version is important for keymaster version binding, where it
refuses to perform operations with a key that is bound to an old
system version.  This ensures that an attacker who discovers a
weakness in an old version of system or TEE software cannot roll a
device back to the vulnerable version and use keys created with the
newer version.

Previously, os_version for system.img is added into boot.img header
for bootloader to read the value then pass to TEE before booting the
HLOS. However, with project Treble to modularize each partition, all
images are now in the trajectory to be built independently (still
on-going). Also, in the Generic System Image (GSI) compliance test,
the os_version in OEM's boot.img cannot reflect the actual version of
GSI.

This CL adds per-partition os_versions into AVB metadata, which is
readable by bootloader via libavb without file system dependency. It's
still unclear for how os_version in non-system partition should be used.
We just add them for completeness here.

See more details in:
https://source.android.com/security/keystore/version-binding

Bug: 132233601
Test: build and avbtool info_image $OUT/vbmeta.img
      - Prop: com.android.build.boot.os_version -> '10'
      - Prop: com.android.build.system.os_version -> '10'
      - Prop: com.android.build.system.security_patch -> '2019-06-05'
      - Prop: com.android.build.vendor.os_version -> '10'
      - Prop: com.android.build.vendor.security_patch -> '2019-06-05'
      - Prop: com.android.build.product.os_version -> '10'
      - Prop: com.android.build.product.security_patch -> '2019-06-05'

Change-Id: I21a77420f2e8a3456f7a8cae5158eb8fc41319e7
Merged-In: I21a77420f2e8a3456f7a8cae5158eb8fc41319e7
(cherry picked from commit 9b54801b58)
2019-05-16 21:46:53 +08:00
Anton Hansson
dce130f251 Merge "Move default setting of a product variable" into qt-dev
am: 43b86c0182

Change-Id: I4ff87c28d74c5655f3deea7c112ff42712a7f5e9
2019-05-16 02:44:21 -07:00
Anton Hansson
43b86c0182 Merge "Move default setting of a product variable" into qt-dev 2019-05-16 09:27:29 +00:00
Chong Zhang
b573bc3eb7 Merge "Remove soft omx libs from package -- DO NOT MERGE" into qt-dev
am: 99d493fd3b

Change-Id: Ifec68bf52455117a9c4c85b7c5a14989fbac375d
2019-05-15 14:13:50 -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
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
Ian Pedowitz
89e4c9da7a Merge "Android Q is now REL" 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
Anton Hansson
584d3726b6 Move default setting of a product variable
Should be in product_config.mk, before the variables are readonly'd, or
the default will fail to work.

(cherry picked from commit 269dd013a5)

Bug: 131576555
Test: set PRODUCT_SHIPPING_API_LEVEL := 29 in mainline_arm64.mk && lunch
Change-Id: I25faee7ec0a3fff17e1d08b834d868834effda36
Merged-In: I25faee7ec0a3fff17e1d08b834d868834effda36
2019-05-15 11:30:29 +01:00
Paul Scovanner
2813ebc21d Update Security String to 2019-07-05 Bug:132634503 am: 0718f458a1 am: 67f7ba7d9c am: 2ec2e55239
am: f01785c0a8

Change-Id: I92f844d235420335ccd7a29a07b8d6ea9757fedd
2019-05-14 15:03:19 -07:00
TreeHugger Robot
02c434e887 Merge "Add libdepthphoto to mainline_system" into qt-dev 2019-05-14 22:00:21 +00:00