Commit graph

52450 commits

Author SHA1 Message Date
android-build-team Robot
ea9a041a31 Make change and version bump to QQ1A.190612.002
Change-Id: Ic848196d1284be1e9cca2e8e363d25b74c8af23f
2019-06-12 04:15:42 +00:00
android-build-team Robot
02e1460720 Merge "Make change and version bump to QQ1A.190612.001" into qt-qpr1-release 2019-06-12 03:54:08 +00:00
android-build-team Robot
ac8934c342 Make change and version bump to QQ1A.190612.001
Change-Id: Iae0438d5ec3eb264fb82267ade2b0692c911e222
2019-06-12 03:49:00 +00:00
android-build-team Robot
a60cf413ad Make change and version bump to QQ1A.190612.001
Change-Id: Ie5017647b3e0bfebe07d6e52781b9274426d01f1
2019-06-12 03:48:22 +00:00
android-build-team Robot
7a35f1e622 Make change and version bump to QQ1A.190612.001
Change-Id: I07321cecc77d149b675730b738113e149156274b
2019-06-12 03:25:48 +00:00
Tim Joines
973281796c Merge "Enabled traced on Android Go devices by default." into qt-dev
am: 6d98e83561

Change-Id: Ie14af6cd78727043a5811a09f0fd4ca4a6628962
2019-06-11 10:26:58 -07:00
Tim Joines
6d98e83561 Merge "Enabled traced on Android Go devices by default." into qt-dev 2019-06-11 17:21:04 +00:00
android-build-team Robot
8d96eefaf8 Make change and version bump to QQ1A.190611.001
Change-Id: I1b34f9022fc59e0a9fdd7804e174fdc54ba722b5
2019-06-11 03:18:48 +00:00
android-build-team Robot
9b6093b895 Make change and version bump to QQ1A.190610.001
Change-Id: I6a429ed0af22636c14294da72e7db4764a0f5340
2019-06-09 23:19:47 +00:00
android-build-team Robot
4b5188783d Make change and version bump to QQ1A.190609.001
Change-Id: I7d6c06fa2ec5b9ce03e67612d77eb993f3e4e2ff
2019-06-08 23:21:22 +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
android-build-team Robot
75cba2ac01 Version bump to QQ1A.190606.002 [core/build_id.mk]
Change-Id: I3d8b1b1bc57da9a899bd3c181255227acb27ef10
2019-06-07 01:58:51 +00:00
Tao Bao
4252c3658b Rebuild recovery-from-boot patch when calling add_img_to_target_files.
am: 97a6690a23

Change-Id: I5e1b475dfce405042beeb996853e47a4bb7be99f
2019-06-06 11:00:52 -07:00
android-build-team Robot
30819d4413 Make change and version bump to QQ1A.190606.001
Change-Id: Ia9ca25f5e3fca630e4e332e824a328aab1d0e6bb
2019-06-06 06:59:16 +00:00
Tao Bao
97a6690a23 Rebuild recovery-from-boot patch when calling add_img_to_target_files.
When using Verified Boot 2.0, releasetools specifies a salt value based
on build fingerprint, so that to give idempotent images.

However, the change that removed static `ro.build.fingerprint` [1] broke
the behavior, as common.LoadInfoDict still relies on fingerprints.
Without a fixed salt, the first call to make_recovery_patch.py and the
second one (which writes IMAGES/{boot,recovery}.img) will see different
images, which leads to install-recovery.sh failure.

Note that currently there's a dependency that requires getting bootable
images through two separate calls. make_recovery_patch.py has to happen
first to get (placeholder) files in the system image. We then generate
canned fs_config files, and finally use add_img_to_target_files.py to
write the images.

This CL adds a quick workaround to force rebuilding the
recovery-from-boot patch while calling add_img_to_target_files.py.

[1] https://android-review.googlesource.com/c/platform/build/+/892933

Bug: 134123803
Bug: 134525174
Test: TreeHugger
Test: Build a non-A/B target that uses AVB. Run validate_target_files.py
      on the generated target_files.zip.
Change-Id: I5859e30be63bfd54398cf41fd2d907f15285f560
Merged-In: I5859e30be63bfd54398cf41fd2d907f15285f560
(cherry picked from commit 4978fa99d1)
2019-06-05 22:04:47 -07:00
android-build-team Robot
8ff869a7d2 Make change and version bump to QQ1A.190605.001
Change-Id: I46b9ab521a7757a7b8032638b52b9bc778d5edc6
2019-06-05 03:20:23 +00:00
Tao Bao
814b14b3f7 releasetools: Allow verifying chained vbmeta partitions.
Chained vbmeta partitions (vbmeta_system, vbmeta_vendor) were added to
support dynamic partitions. validate_target_files.py misses the logic in
handling such partitions.

Bug: 132882632
Test: Run validate_target_files.py on a target_files.zip that uses
      chained vbmeta_system partition.
Change-Id: Id06c575d13d5e9cc1b621f485ceb75d3e354c39f
2019-06-03 23:12:49 -07:00
android-build-team Robot
a4ccde4da2 Make change and version bump to QQ1A.190604.001
Change-Id: I323a3a7d11a549b6039c947a01db798132e51355
2019-06-04 03:23:21 +00:00
Tao Bao
9e401dfcd8 releasetools: Add a hard-coded codename-API mapping.
This is to work around signing APKs that are still targeting 'Q' instead
of API 29.

Bug: 132882632
Test: Sign a target_files.zip with such APKs.
Change-Id: I6a58a496d555f1f18e90d1c430b83b7e13b9b825
2019-06-03 13:57:09 -07:00
android-build-team Robot
920dfd1f65 Make change and version bump to QQ1A.190603.001
Change-Id: I5dd3e2935ae0770001a4ff12a4749be098cab4d7
2019-06-02 23:18:47 +00:00
android-build-team Robot
b7ef307108 Make change and version bump to QQ1A.190602.001
Change-Id: I92f9df14b18efa407d0d4fa2fd7c3537a853464c
2019-06-01 23:21:36 +00:00
android-build-team Robot
f4cc8e11b7 Version bump to QQ1A.190530.004 [core/build_id.mk]
Change-Id: Ia153e4a7499d844860b5d65c8bca42f47d9819fc
2019-05-31 18:39:43 +00:00
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