Commit graph

23885 commits

Author SHA1 Message Date
android-build-team Robot
ed8c124166 Make change and version bump to RP1A.200620.001
Change-Id: I43926757c7100a52e963340865f220ae7394986d
2020-06-20 01:15:19 +00:00
TreeHugger Robot
22f98f1885 Merge "notice files in system_other becomes included in system's one" into rvc-dev 2020-06-19 01:23:26 +00:00
android-build-team Robot
a941338dfc Make change and version bump to RP1A.200619.001
Change-Id: I17e623db69ac27bc7571b0f5fb9e3ba7c04b3d47
2020-06-19 01:15:08 +00:00
android-build-team Robot
01f3649bf4 Version bump to RP1A.200618.002 [core/build_id.mk]
Change-Id: I40748883c43186a3356a2aaedaf70dc216012788
2020-06-18 19:30:04 +00:00
Jeongik Cha
9917520fc2 notice files in system_other becomes included in system's one
system_other is relevant partition to system over vendor.
so move notice files from system_other from vendor to system

Bug: 159189171
Test: m nothing && check ninja dependency
Change-Id: Ib69bd3faae03f174671d5db8366a59b7d28a9d9d
2020-06-18 20:44:51 +09:00
android-build-team Robot
1f3ae87c36 Make change and version bump to RP1A.200618.001
Change-Id: I7dd154bae99b67e493b82aa274e4d0048611b988
2020-06-18 01:15:20 +00:00
Paul Duffin
92d41de8f2 Fail check-boot-jars if boot jar contains 0 .class files
Protect against an invalid boot jar, e.g. one containing .dex files is
used instead of .class files.

Test: add a prebuilt for framework-tethering
      Run `m check-boot-jars` with the first fix from
	  https://r.android.com/1341756 and the build fails due to no
	  .class files because a dex jar is used.
	  Run `m check-boot-jars` with all fixeds from
	  https://r.android.com/1341756 and the build works.
Bug: 158304459
Bug: 159112414
Change-Id: I0e8ebd318312949bc58ba7a5c89f9e265b8bedf2
2020-06-17 17:38:24 +01:00
android-build-team Robot
a240995069 Version bump to RP1A.200617.002 [core/build_id.mk]
Change-Id: Ia0b48e15ff3bf585b3a08f6b685d1b8d49437c83
2020-06-17 01:54:30 +00:00
android-build-team Robot
62bf6bf857 Make change and version bump to RP1A.200617.001
Change-Id: Idea14907df9f6ba568c44a3b912fc0f80cfb8c42
2020-06-17 01:15:36 +00:00
TreeHugger Robot
6df396f96f Merge "Include image descriptor of only the first boot image in vbmeta" into rvc-dev 2020-06-17 00:46:40 +00:00
android-build-team Robot
0e6edeb17e Version bump to RP1A.200616.002 [core/build_id.mk]
Change-Id: I6b208413b27d71890d978ae8f9597efb146131f2
2020-06-16 21:52:15 +00:00
Colin Cross
7244e60105 Merge "Use inclusive language in build/make" into rvc-dev 2020-06-16 03:28:15 +00:00
Colin Cross
2be0200a8b Merge "Add out/soong/late-${TARGET_PRODUCT}.mk" into rvc-dev 2020-06-16 03:27:32 +00:00
android-build-team Robot
4eb407eb1a Make change and version bump to RP1A.200616.001
Change-Id: Id2728eefbd138cff9a6c336d10ead053636aec83
2020-06-16 01:15:50 +00:00
Roopesh Nataraja
1908f97319 Include image descriptor of only the first boot image in vbmeta
Multiple boot images can be generated based on BOARD_KERNEL_BINARIES
but vbmeta would capture the image descriptor of only the first boot
image specified in BUILT_BOOTIMAGE_TARGET.

Bug : 158213759
Test: Compile multiple boot images and check if vbmeta.img
      includes image descriptor of only the first boot image
      specified in BUILT_BOOTIMAGE_TARGET

Change-Id: Ib70f65d98546a436da82656bc5c911d437618bb5
Merged-In: Ib70f65d98546a436da82656bc5c911d437618bb5
2020-06-15 17:10:56 -07:00
TreeHugger Robot
2e2cb808cb Merge "Add test config template for sh_test." into rvc-dev 2020-06-15 16:37:06 +00:00
android-build-team Robot
8c8ce36485 Make change and version bump to RP1A.200615.001
Change-Id: I3bc0543a55cffe88caf5f5953833bdf04a756aa1
2020-06-14 23:16:22 +00:00
android-build-team Robot
834745fbe3 Make change and version bump to RP1A.200614.001
Change-Id: I2196c8969a444c300070043c9f4a764c89cad3fa
2020-06-13 23:17:31 +00:00
Colin Cross
a1383d8f9d Use inclusive language in build/make
Bug: 158889297
Test: m checkbuild
Change-Id: I54a7e55d3fdd5571ef1ae33ebe443c10d138fd28
Merged-In: I54a7e55d3fdd5571ef1ae33ebe443c10d138fd28
(cherry picked from commit c3ad80467e)
2020-06-12 21:10:55 -07:00
Colin Cross
3cd4a076ba Add out/soong/late-${TARGET_PRODUCT}.mk
Read out/soong/late-${TARGET_PRODUCT}.mk after reading Android.mk files
to allow Soong's makevars singleton to use $(call dist-for-goals).

Bug: 153485543
Test: m lint-check dist
Change-Id: I7754fd1b8dab508c96ad59beed67f0d6c4ff75f0
Merged-In: I7754fd1b8dab508c96ad59beed67f0d6c4ff75f0
(cherry picked from commit 8ca4092ab4)
2020-06-12 21:07:51 -07:00
android-build-team Robot
5bd1e96896 Make change and version bump to RP1A.200613.001
Change-Id: I75ea663af291674295147679f230d3129579e255
2020-06-13 01:15:17 +00:00
Dan Willemsen
458af2daa1 Fix dependencies on INSTALLED_RECOVERYIMAGE_TARGET
Instead of copying the logic (which led to divergences), use the
same list of dependencies for both users of build-recoveryimage-target

Bug: 158774198
Test: treehugger
Test: build-coral.ninja is the same before/after
Change-Id: I8f8c006432f3b8120df1f39c98009155fdff32ad
Merged-In: I8f8c006432f3b8120df1f39c98009155fdff32ad
(cherry picked from commit d120ac68fa)
2020-06-12 12:26:37 -07:00
android-build-team Robot
beb4033bdb Make change and version bump to RP1A.200612.001
Change-Id: If454ba8df43496e0a88524fe667e1d920c90b8ee
2020-06-12 01:15:39 +00:00
android-build-team Robot
ffe967022f Version bump to RP1A.200611.002 [core/build_id.mk]
Change-Id: I5c62de7ccb90cc3f155821cf2315d343498cc580
2020-06-12 00:31:13 +00:00
frankfeng
e56f07725b Add test config template for sh_test.
Verification of compatibility with existing sh_test targets is in progress.

Bug: 148805488
Bug: 151761373

Test: make
Test: unit tests
Test: verified test config auto-gen for bc-tests and toybox-tests
Change-Id: Id8ce5dd0723e8c95921e2e20bff72fc828d47d87
Merged-In: Id8ce5dd0723e8c95921e2e20bff72fc828d47d87
2020-06-11 22:57:48 +00:00
TreeHugger Robot
c59ba8dab0 Merge changes If99c31cc,I41fb7611,Ia2ec8b29 into rvc-dev
* changes:
  base_rules.mk optimizations
  More performance improvements
  Rewrite test data logic to make it faster
2020-06-11 21:33:15 +00:00
TreeHugger Robot
1455b76f9f Merge "Add LZ4 support to the release tools" into rvc-dev 2020-06-11 18:41:19 +00:00
J. Avila
d30b751838 Add LZ4 support to the release tools
The core android build platform has changed to add support for LZ4
compression for ramdisks, but the release tools were not. Fix this.

Bug: 156129966
Merged-In: I39680b91930d2d3cbd0cd565beb78e1ee699397e
Change-Id: I39680b91930d2d3cbd0cd565beb78e1ee699397e
2020-06-11 15:22:04 +00:00
android-build-team Robot
3414a07e44 Make change and version bump to RP1A.200611.001
Change-Id: I3751f09e2afd34707b387e84ddce90f121d034ee
2020-06-11 01:16:05 +00:00
Dan Willemsen
91afa94150 base_rules.mk optimizations
A few more misc improvements that I found while analyzing the
performance of base_rules.mk.

This brings an aosp-master/aosp_crosshatch-userdebug kati run from 33.3s
to 28.6s

Bug: 158488548
Test: build-aosp_crosshatch.ninja is the same before/after
Change-Id: If99c31cc7b5d7133d70eb644c6095f19060b71e5
Merged-In: If99c31cc7b5d7133d70eb644c6095f19060b71e5
(cherry picked from commit 8447b8116a)
2020-06-10 17:18:20 -07:00
Dan Willemsen
74a1a483fc More performance improvements
Instead of using `x := $(x) foo`, make sure `x` is initialized first,
then use `x += foo`.

For a aosp-master/aosp_crosshatch-userdebug build, this takes the build
from 49s to 33s (no significant difference in peak memory)

Bug: 158488548
Test: build-aosp_crosshatch.ninja is the same before/after
Change-Id: I41fb7611030dd3ba824f896a9c9eadbdd218f464
Merged-In: I41fb7611030dd3ba824f896a9c9eadbdd218f464
(cherry picked from commit fd1e67b8ce)
2020-06-10 17:18:13 -07:00
Dan Willemsen
e88ef9299a Rewrite test data logic to make it faster
It turns out we have a few tests with thousands of test data files,
which this logic does not handle very well. Just switching from `x :=
$(x) ...` to `x += ...` accomplishes the majority of these gains, but I
rewrote the logic to be less function-call+eval based to hopefully make
it easier to understand.

For an aosp-master/aosp_coral-eng build, this brings the time spent in
this logic from 7.6s to 0.3s (total kati runtime of 54s to 46s). Kati's
peak memory use (maxrss) also shrunk from 6.1GB to 3.8GB.

Bug: 158488548
Test: build-aosp_coral.ninja is the same before/after
Change-Id: Ia2ec8b29b5c1dd12fa7ea10b4f80fe802c692725
Merged-In: Ia2ec8b29b5c1dd12fa7ea10b4f80fe802c692725
(cherry picked from commit c5ec8e95bc)
2020-06-10 17:18:05 -07:00
Paul Scovanner
fff4e1f5a4 Update Security String to 2020-08-05 am: d4b7f4de4b
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/11826025

Change-Id: I79b57da2c0387b33868dd36d3881d1d9ee3801b7
2020-06-10 21:01:31 +00:00
Paul Scovanner
d4b7f4de4b Update Security String to 2020-08-05
Bug: 158587413
Change-Id: I5f0b271fb5302e8c72024b49fb1a2ae5120821e0
2020-06-10 18:35:18 +00:00
Paul Scovanner
a26a678246 Update Security String to 2020-08-01 am: a4d5641a34
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/11812416

Change-Id: Ic81f52a8bea6a2cba37f62ae00f42a8a130cf1b4
2020-06-10 16:56:15 +00:00
android-build-team Robot
5902b990a9 Make change and version bump to RP1A.200610.001
Change-Id: I9f37cda250a3a2052937937d20f5dbf8d726047a
2020-06-10 01:15:30 +00:00
android-build-team Robot
5988b142c6 Version bump to RP1A.200609.002 [core/build_id.mk]
Change-Id: I967aaf846711c5405dbe7b6cf5e80fd23945ef00
2020-06-09 19:47:23 +00:00
Paul Scovanner
a4d5641a34 Update Security String to 2020-08-01
Bug: 158587413
Change-Id: I21b16ed52ef9c7c26a671692c66b06855b147b16
2020-06-09 19:41:58 +00:00
android-build-team Robot
2f5cfd5b8e Make change and version bump to RP1A.200609.001
Change-Id: Ieb905aa0d7ff31b6c086096db42117068dd99fd4
2020-06-09 01:15:41 +00:00
android-build-team Robot
e6c415b3b6 Version bump to RP1A.200608.002 [core/build_id.mk]
Change-Id: I440a140654127658fd0bfdbe2d053fb8bf042196
2020-06-08 02:53:40 +00:00
android-build-team Robot
948459a188 Make change and version bump to RP1A.200608.001
Change-Id: Id085c9b7ac4d98410c36a74994c12be24b595cb8
2020-06-07 23:16:57 +00:00
android-build-team Robot
36611d55e5 Make change and version bump to RP1A.200607.001
Change-Id: I476e599ab2d233a61012445eda509d4472ef1051
2020-06-06 23:16:41 +00:00
Steve Muckle
d03ec51f38 fix spurious / on toplevel kernel module installations
When kernel modules are being put directly into lib/modules/ (as opposed
to lib/modules/<subdir>/), the empty part of the destination path causes
a target containing a redundant /. If the target is also added elsewhere
in the build without the redundant /, then rule merging will miss it,
and a build error will occur.

Bug: 158158635
Change-Id: I797addce760f4886166efa283302a53783581625
Merged-In: I797addce760f4886166efa283302a53783581625
2020-06-05 18:56:41 -07:00
android-build-team Robot
9d6a6c818f Make change and version bump to RP1A.200606.001
Change-Id: I7f1b2e107611cb71005b1eea88ca1f8835abe81e
2020-06-06 01:15:45 +00:00
Julien Desprez
7859593560 Add tradefed-test-framework to the suites exported jar
New jar that needs to be packaged for suites.

Test: make cts
Bug: 149758913
Bug: 156482663
Merged-In: If29508f3dd30939be603ed03f2536c960ca40d92
Change-Id: If50a1e76ffdb4651bf004b26eb111e113569c6c4
2020-06-05 23:08:17 +00:00
android-build-team Robot
eedc5962ba Version bump to RP1A.200605.002 [core/build_id.mk]
Change-Id: I865e054abd9765b2366cd50a0b63b969ef995470
2020-06-05 22:05:36 +00:00
Sasha Smundak
8ae0c83259 Implement android_app_set module. am: eefa8e954e
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/11718673

Change-Id: I661aed2c61ac4123c0e9a3d02c9da72ef3fac754
2020-06-05 17:38:07 +00:00
android-build-team Robot
d8e16f885c Make change and version bump to RP1A.200605.001
Change-Id: Ia66e2c955dd5d8215facfbac37f2f27dcb7d6f2d
2020-06-05 01:17:48 +00:00
android-build-team Robot
fc59c286ec Version bump to RP1A.200604.002 [core/build_id.mk]
Change-Id: Ieaac1a227d693f8cf848990f38d3d462c952b9e0
2020-06-05 00:05:41 +00:00
android-build-team Robot
3abc71688d Make change and version bump to RP1A.200604.001
Change-Id: Id0fc4bca01b47f8b36e3c159c534ca0cbe6c218b
2020-06-04 01:17:20 +00:00