Commit Graph

27611 Commits

Author SHA1 Message Date
Android Build Coastguard Worker dca9a1204f Make change and version bump to SD2A.210911.001
Change-Id: I5a68f8f57ae9213d26d513e4914dfe8e6a5f877b
2021-09-11 01:20:08 +00:00
Android Build Coastguard Worker 3ef803065c Make change and version bump to SD2A.210910.001
Change-Id: Ie20e3cae5d9cb800369ede9b08dac50a0911cafa
2021-09-09 23:19:44 +00:00
Android Build Coastguard Worker 2165e7ef47 Make change and version bump to SD2A.210909.003
Change-Id: I51b2ae2509a66b8a8095b9a547ac9f563b6375b0
2021-09-09 07:03:19 +00:00
Android Build Coastguard Worker 437a62d7dc Version bump to SD2A.210909.002 [core/build_id.mk]
Change-Id: I6c01e8f2a5d77448778d3a9b99891e1a6a8fd54e
2021-09-09 05:57:13 +00:00
Android Build Coastguard Worker cb80721417 Make change and version bump to SD2A.210909.001
Change-Id: I6df0688ff8b954a688bb0ba6a4627e83d21d5eb2
2021-09-08 23:23:31 +00:00
Joe Onorato b04f414eed Revert "Change function to check MODULE_BUILD_FROM_SOURCE" am: f3055ad6a6
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15783351

Change-Id: I3e9f50c298a3322fad5f4711539a5656237e3b8e
2021-09-08 09:05:34 +00:00
Cheonho Park 4b609dfc6d Change function to check MODULE_BUILD_FROM_SOURCE am: 32c048c379
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15692182

Change-Id: I502fb1eea220e579008229876be8426bd9b5b86b
2021-09-08 05:34:19 +00:00
Joe Onorato f3055ad6a6 Revert "Change function to check MODULE_BUILD_FROM_SOURCE"
This reverts commit 32c048c379.

Reason for revert: Dr. No approved prematurely

Bug: 197282276
Change-Id: I2f7919be20d312227f575a0313a33e7eba11ddff
2021-09-08 05:32:14 +00:00
Android Build Coastguard Worker c61c20543a Make change and version bump to SD2A.210908.001
Change-Id: Ia30fa8e539f6722e5d5fa71cb9cccd71b745cb5c
2021-09-07 23:47:30 +00:00
Android Build Coastguard Worker 0189dddb3a Make change and version bump to SD2A.210907.001
Change-Id: I5db76a511d9956be2ae7fbfb4c9925b3d95e6bcb
2021-09-06 23:17:54 +00:00
Android Build Coastguard Worker 914bfa2ad2 Make change and version bump to SD2A.210906.001
Change-Id: I1b24651aef2a50cbd178474d9ea6dfda2051ac32
2021-09-05 21:17:52 +00:00
Android Build Coastguard Worker 9527918f06 Make change and version bump to SD2A.210905.001
Change-Id: Iff47943bc413b4e491e2d004a2aadd689bd9e6c7
2021-09-04 21:18:05 +00:00
Android Build Coastguard Worker 6dba7fddcb Make change and version bump to SD2A.210904.001
Change-Id: Ib7082652380cdda2eb7e0f9862f89a4407732e2a
2021-09-04 01:17:39 +00:00
Android Build Coastguard Worker 73c3820108 Make change and version bump to SD2A.210903.001
Change-Id: I30e3fff13695d27f5bfe8c808771f0048aafc3e6
2021-09-02 23:18:37 +00:00
Android Build Coastguard Worker 01e7616d9d Make change and version bump to SD2A.210902.001
Change-Id: If7cbf00a8576b8d71a8f202db8762f739fdddb47
2021-09-01 23:18:30 +00:00
Android Build Coastguard Worker 92f214e968 Make change and version bump to SD2A.210901.001
Change-Id: I0d9f46513efca9d5a9ea7fe3c7c81c5e4087ecd2
2021-08-31 23:17:51 +00:00
Cheonho Park 32c048c379 Change function to check MODULE_BUILD_FROM_SOURCE
com.google.android.conscrypt is not valid for this
usage as S-OS can have a compressed target by default
(e.g com.google.android.conscrypt_compressed)

Same change applied to com.google.android.art check

Also modify to check `true` value of the MODULE_BUILD_FROM_SOURCE
to filter out both unset variable and `false`

Test: adding one error code temporally, install prebuilt
  train, and check result with,without this fix

    MODULE_BUILD_FROM_SOURCE := true
  + $(error we are here, true $(PRODUCT_PACKAGES))
  endif

Bug: 197282276
Change-Id: I864ba1bb5da61ccc6b8576029ab6c569959b2c93
2021-08-31 02:05:10 +00:00
Android Build Coastguard Worker 5295ce040f Make change and version bump to SD2A.210831.001
Change-Id: I5dae7f77e327b4a45fb8864aabf24dd7cfe7adf0
2021-08-30 23:18:15 +00:00
Android Build Coastguard Worker 322e0926fd Make change and version bump to SD2A.210830.001
Change-Id: I0d512cb9f63b8fb723c1e44c0da659f58a496771
2021-08-29 21:17:59 +00:00
Android Build Coastguard Worker d15c431aa8 Make change and version bump to SD2A.210829.001
Change-Id: I28597c4f6bded27f03d6243d07002bf9afce6af7
2021-08-28 21:17:58 +00:00
Android Build Coastguard Worker a2481ac92c Make change and version bump to SD2A.210828.001
Change-Id: I6f57a10e36e933d846bd6b82cc5877b9117000c4
2021-08-28 01:18:03 +00:00
Android Build Coastguard Worker a295794e58 Make change and version bump to SD2A.210827.001
Change-Id: I9681757208b96bf7cb955239f864945c6371e469
2021-08-26 23:18:20 +00:00
Presubmit Automerger Backend f0e17b7b9e [automerge] Revert "Update Security String to 2021-10-06" 2p: 1f04c4d3e7 am: bbb758b783
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15678276

Change-Id: I6719b3a57e58152bfbbb05d04384448f106f5516
2021-08-26 01:18:33 +00:00
Paul Scovanner 1f04c4d3e7 Revert "Update Security String to 2021-10-06"
This reverts commit 61275cd338.

Reason for revert: SPL bump no longer necessary due to ATT FRC respin

Bug: 193547118
Change-Id: I1df0e12d50471b518653ff865637193bd7ed9101
2021-08-26 01:04:17 +00:00
Paul Scovanner 8125e52dd7 [automerge] Update Security String to 2021-10-06 2p: 61275cd338 am: 5f9af61fc0
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15676633

Change-Id: Icc115e93811d7ab1e24ae4151c3f74945435073b
2021-08-26 00:06:40 +00:00
Android Build Coastguard Worker ca7c2992ca Make change and version bump to SD2A.210826.001
Change-Id: I13d4c649c04e6ab0379cb8519c39cac7f7f66a30
2021-08-25 23:19:10 +00:00
Paul Scovanner 61275cd338 Update Security String to 2021-10-06
Bug: 193547118
Change-Id: I6bbbf0d627c2e978beb28c2fc4ebac142ca63c1e
2021-08-25 20:24:40 +00:00
Android Build Coastguard Worker c33d41f521 Make change and version bump to SD2A.210825.001
Change-Id: If9cef52afc92696743791b852c4ce985b9ffa284
2021-08-24 23:18:05 +00:00
Android Build Coastguard Worker 35ac57de20 Make change and version bump to SD2A.210824.001
Change-Id: Ic8e1ab96d90a105a6ddc609a526d56847339a0c6
2021-08-23 23:18:49 +00:00
Android Build Coastguard Worker 7c0cb0b1e8 Make change and version bump to SD2A.210823.001
Change-Id: I65f47cc87cd53bb3473827e5ca8b02481169b4c8
2021-08-22 21:18:02 +00:00
Android Build Coastguard Worker 14ea6e035d Make change and version bump to SD2A.210822.001
Change-Id: I4f1eea51fa29f5b5dfe02a88891250893ee09f30
2021-08-21 21:17:55 +00:00
Android Build Coastguard Worker 0cdba996f2 Make change and version bump to SD2A.210821.001
Change-Id: I3f153d353cf9187304541b86844c59ad90b9523a
2021-08-21 01:20:49 +00:00
Android Build Coastguard Worker ac6c7816a3 Make change and version bump to SD2A.210820.002
Change-Id: I722a48fe5ba4978d48cf338cae98ba3cc88bd18f
2021-08-20 06:48:44 +00:00
Android Build Coastguard Worker 1e1d2493f2 Make change and version bump to SD2A.210820.001
Change-Id: Ia9b8a74cc7f0fdf361280b36faf8c44b1231b449
2021-08-19 23:20:54 +00:00
Android Build Coastguard Worker f9c1574f13 Make change and version bump to SD2A.210819.001
Change-Id: I4384525a40a1d5f005531044e22183c3fc3a08d5
2021-08-18 23:18:38 +00:00
Android Build Coastguard Worker 4687294714 Make change and version bump to SD2A.210818.004
Change-Id: Ic2ea97519acf57f716a32e03444f5d8fd85b0104
2021-08-18 08:17:27 +00:00
Android Build Coastguard Worker f24b86a606 Make change and version bump to SD2A.210818.003
Change-Id: Ic10649a9d63815a93936760f38c660aeef86edea
2021-08-18 05:44:44 +00:00
Android Build Coastguard Worker d3e358f05e Make change and version bump to SD2A.210818.002
Change-Id: I50f2bf4b704f92d194f9c47cd6617cc3f0573ef1
2021-08-18 02:22:37 +00:00
Android Build Coastguard Worker 1610f4d7c5 Make change and version bump to SD2A.210818.001
Change-Id: I7d7833f4c1aab7559e72ae63db6bc01c6bd357c6
2021-08-17 23:17:52 +00:00
Android Build Coastguard Worker 122950fef1 Make change and version bump to SD2A.210817.001
Change-Id: Ia50d1db7557a5fbc90c36d5807bff97454cbc647
2021-08-16 23:18:09 +00:00
Android Build Coastguard Worker 8b5645cf1a Make change and version bump to SD2A.210816.002
Change-Id: Ie741989d2d0e000b59c958968cc49c26f04256a3
2021-08-16 08:04:44 +00:00
Android Build Coastguard Worker 31ef09ab82 Make change and version bump to SD2A.210816.001
Change-Id: Ia8f6ddfd6e8ba5cb2ccfec52efec6a59f753192b
2021-08-15 21:17:57 +00:00
Android Build Coastguard Worker f7d007a7d9 Make change and version bump to SD2A.210815.001
Change-Id: Ia387fab255a8fd8f67a13360d5ca3011bcda414a
2021-08-14 21:18:07 +00:00
Android Build Coastguard Worker d9be7d2dd2 Make change and version bump to SD2A.210814.001
Change-Id: I402e1e1775d1ae9212f51a2d1c4775246cd105d5
2021-08-14 01:21:02 +00:00
Paul Scovanner 6480bac205 Update Security String to 2021-10-05 am: 91cbb67645 am: 4d57439ca8
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15559362

Change-Id: I40349f5ed8acd7d7293c3d041c58d81b6f2b4371
2021-08-13 23:25:07 +00:00
Paul Scovanner 91cbb67645 Update Security String to 2021-10-05
Bug: 193547118
Change-Id: I4a0cd58b18214b77302ae7ed81c189f4549dc41d
2021-08-13 19:50:02 +00:00
Android Build Coastguard Worker 5bfc8a4972 Make change and version bump to SD2A.210813.001
Change-Id: I7cdf4d0742ec0820f6a4923471f8d381b960de3f
2021-08-12 23:19:43 +00:00
Anton Hansson f045b10d7d Merge "Revert "RESTRICT AUTOMERGE Set BUILD_ID=SC"" into sc-dev 2021-08-12 14:20:58 +00:00
Anton Hansson bf70d0ba2a Revert "RESTRICT AUTOMERGE Set BUILD_ID=SC"
This reverts commit 52f0172772.

Reason for revert: broke bramble boot test

Bug: 196357202
Change-Id: Ib6f05cd323109076cbc6693d16a74cd1d86a6849
2021-08-12 14:19:54 +00:00
Sanket Chinchalkar 7c600bb59f Merge "Report Performance Test Metrics as JSON File" into sc-dev am: d1bfb2e9ed am: 228204d820
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15502939

Change-Id: Id85e50300bb3f9af14ffb7ef2880c15a81fc0787
2021-08-12 01:56:31 +00:00
Sanket Chinchalkar d1bfb2e9ed Merge "Report Performance Test Metrics as JSON File" into sc-dev 2021-08-12 01:17:34 +00:00
Android Build Coastguard Worker fbf10833b9 Make change and version bump to SD2A.210812.001
Change-Id: Ibe1f5fbf89c9c7129fc438ee841f0319e4b34b7d
2021-08-11 23:18:49 +00:00
Matthew Mintz 52f0172772 RESTRICT AUTOMERGE Set BUILD_ID=SC
Bug: 196178071
Bug: 196043450
Bug: 171506470
Test: adb shell getprop ro.build.fingerprint
Change-Id: I80596f736ce5421530ccaaa035075ceb801a6fe2
2021-08-11 15:09:44 +00:00
Kun Niu bc9354bb3c Merge "Remove MODULE_BUILD_FROM_SOURCE=true for coverage builds" into sc-dev am: bf90be8a65 am: 7424feabb5
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15502941

Change-Id: I89f8b419b33433bdb92d2d6c1b645be14854f45a
2021-08-11 07:27:01 +00:00
Kun Niu bf90be8a65 Merge "Remove MODULE_BUILD_FROM_SOURCE=true for coverage builds" into sc-dev 2021-08-11 07:02:18 +00:00
Android Build Coastguard Worker 4d859a4f18 Make change and version bump to SD2A.210811.001
Change-Id: I48ad13b0e17a6ae6419154999cc67d793f415542
2021-08-10 23:17:48 +00:00
TreeHugger Robot 00cca5b11a Merge "Adding vendor_boot-test-harness.img" into sc-dev am: e135511f4d am: dbab3c817a
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15454001

Change-Id: I8891866bb8931ef53024a06735edd1eca1a62e07
2021-08-10 02:31:37 +00:00
TreeHugger Robot e135511f4d Merge "Adding vendor_boot-test-harness.img" into sc-dev 2021-08-10 01:54:56 +00:00
Android Build Coastguard Worker fae73ca32f Make change and version bump to SD2A.210810.001
Change-Id: Ibdbea1236b2779f1cc525d4b271b0cc862f3fe89
2021-08-09 23:17:57 +00:00
Spandan Das 170898b9e0 Remove MODULE_BUILD_FROM_SOURCE=true for coverage builds
(This is a cherrypick of aosp/1788549)

This flag will be selectively added to build targets if necessary

Bug: 193569756
Test: m nothing
Merged-In: Ie0fd898b03aa91322dddd9137b038031d46c8d24
Change-Id: Ie0fd898b03aa91322dddd9137b038031d46c8d24
2021-08-09 18:22:54 +00:00
Sanket Chinchalkar ef0a516cc5 Report Performance Test Metrics as JSON File
Test: Tested Locally
Bug: 193722630
Change-Id: I113198050e4b0c5242785bc4bbee5fa95c19114d
2021-08-09 09:55:04 -07:00
Android Build Coastguard Worker 99f7849ba2 Make change and version bump to SD2A.210809.001
Change-Id: Ie98dbc05a0a736e247fe1f7ef16a0fc77f63adc1
2021-08-08 21:22:30 +00:00
Android Build Coastguard Worker cef27e4db1 Make change and version bump to SD2A.210808.001
Change-Id: I52da962483f659db3832262d639b82bc893b5087
2021-08-07 23:18:00 +00:00
Android Build Coastguard Worker 5d3af464b5 Make change and version bump to SD2A.210807.001
Change-Id: I20640ffb22310f857a627c9cd4c3334312609bea
2021-08-07 01:18:05 +00:00
Colin Cross b713d8aa9f Merge "Remove S codename from sc-v2-dev" into sc-v2-dev 2021-08-06 18:36:10 +00:00
Android Build Coastguard Worker 04151c27b8 Make change and version bump to SD2A.210806.001
Change-Id: Iba60319483e4bc92bce86bc4acf6d24a66bd7a38
2021-08-06 01:18:32 +00:00
Android Build Coastguard Worker badc7fd816 Make change and version bump to SD2A.210805.001
Change-Id: Ib3f8938790c4e9044d3a2fcf0f0d776107e95e96
2021-08-05 01:19:03 +00:00
Colin Cross b3c7b25df4 Remove S codename from sc-v2-dev
S was finalized, it shouldn't be listed as an active codename any
more.

Bug: 193674948
Test: treehugger
Change-Id: I4cce94b0ea4865a5248ab106edce8fa165390005
Merged-In: Ie5ee4479ba98b9f4525b36e38493879a15661905
2021-08-04 16:55:50 -07:00
Colin Cross c837710b52 Merge "Update codename for sc-v2-dev to Sv2" into sc-v2-dev 2021-08-04 23:29:31 +00:00
Colin Cross 19da67d49b Merge "Fix typo for ODM prop files" into sc-dev am: 65e3db8e49
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15446606

Change-Id: I06e1a68f01265b4a434814ec9aebb068b795e43e
2021-08-04 20:20:21 +00:00
Colin Cross 65e3db8e49 Merge "Fix typo for ODM prop files" into sc-dev 2021-08-04 20:05:50 +00:00
Hidefumi Kaneko 9e571609f7 Fix typo for ODM prop files
_prop_files is missing a trailing _

Bug: 195034733
Test: manual - check that expected prop files are in the image
Change-Id: Ie042acc74fa56d5515cacd5f41ddc0f82d74f20c
Merged-In: Ie042acc74fa56d5515cacd5f41ddc0f82d74f20c
2021-08-04 20:04:46 +00:00
Colin Cross 2a69b486cf Update codename for sc-v2-dev to Sv2
Bug: 193674948
Test: treehugger
Merged-In: Ie5ee4479ba98b9f4525b36e38493879a15661905
Change-Id: I0e7af15f58a2859ca938d01cff067700a85b7743
2021-08-04 12:50:25 -07:00
Bowgo Tsai 3e35c26bf2 Adding vendor_boot-test-harness.img
boot-test-harness.img is used to allow adb root on user build
images. It also sets properties: ro.audio.silent=1 & ro.test_harness=1.

GKI 2.0 devices will use BOARD_PREBUILT_BOOTIMAGE so
boot-test-harness.img will not be generated.

Therefore, we have to introduce the vendor_boot-test-harness.img
as an alternative for boot-test-harness.img.

In the future, we'll simplify the flow as:
  + If a device has a /vendor_boot partition, builds
    vendor_boot-(test-harness|debug).img.
  + Otherwise, builds boot-(test-harness|debug).img.

boot-(test-harness|debug).img needs to be kept for some clients
to gracefully transit to using vendor_boot-(test-harness|debug).img.

Bug: 194654549
Test: make then `unpack_bootimg --boot_img $OUT/vendor_boot-test-harness.img`
Test: Check the ramdisk content in ./out/vendor_ramdisk

Change-Id: If3a1393b4ff3e69bb9b62f3b843b7858437d47bf
Merged-In: If3a1393b4ff3e69bb9b62f3b843b7858437d47bf
(cherry picked from commit 87f60017b964997e877c8c322f6228c08dcb81ff)
2021-08-04 10:12:29 +08:00
Android Build Coastguard Worker 92a13bd854 Make change and version bump to SD2A.210804.001
Change-Id: I0e8ec59c1096072f7bff46d3f031d87b78e47aaa
2021-08-04 01:18:17 +00:00
Roland Levillain 8e760a5209 Merge "Work around `art-host-tests` build issues when using ART prebuilts." into sc-dev am: da8d71ea5c
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15402994

Change-Id: I7fc7cd119fdc33fef9e44f8f8a82b8e9a69a6bd7
2021-08-03 16:19:42 +00:00
Roland Levillain da8d71ea5c Merge "Work around `art-host-tests` build issues when using ART prebuilts." into sc-dev 2021-08-03 16:01:21 +00:00
Android Build Coastguard Worker 9333c01188 Make change and version bump to SD2A.210803.001
Change-Id: I74ba38ba43ee0a96b2b7a47343ae43ef562ad894
2021-08-03 01:18:11 +00:00
Android Build Coastguard Worker 99842c3b1c Make change and version bump to SD2A.210802.001
Change-Id: Ief248ede544b758c4e6344ed7d4c33ad129e5a98
2021-08-01 23:18:04 +00:00
Android Build Coastguard Worker 1e0ed57e62 Make change and version bump to SD2A.210801.001
Change-Id: I7e5efb3d66bc230c55a57c87d3b841dec312e4b0
2021-07-31 23:18:11 +00:00
Android Build Coastguard Worker c2f1c89581 Make change and version bump to SD2A.210731.001
Change-Id: I4c4a0c3c9764a4c47c85f2d5ab75f8fb62babfdd
2021-07-31 01:17:40 +00:00
Android Build Coastguard Worker c37d77570b Make change and version bump to SD2A.210730.001
Change-Id: I6a78a4c139370206ef23a3af11d87ff264ba9c8b
2021-07-30 01:18:27 +00:00
Android Build Coastguard Worker 6b0b4e7b2a Version bump to SD2A.210729.003 [core/build_id.mk]
Change-Id: Ic3c93f18cf4743dac7197d3e6ceaa705a5950961
2021-07-29 23:05:42 +00:00
Android Build Coastguard Worker 955c6c9661 Version bump to SD2A.210729.002 [core/build_id.mk]
Change-Id: I0dd5c4360937440b9c456dc90177ac05896a8bba
2021-07-29 18:29:43 +00:00
Android Build Coastguard Worker 64430f9e0b Make change and version bump to SD2A.210729.001
Change-Id: I835e954c895fa6f2be06c79426f1e2b2da75da66
2021-07-29 01:19:25 +00:00
Martin Stjernholm 228a5df289 Force MODULE_BUILD_FROM_SOURCE if com.google.android.xxx modules aren't am: 523de300dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15347314

Change-Id: I9482cdb1d30c78c9e614a4337172fc6562ce901c
2021-07-28 14:05:52 +00:00
Martin Stjernholm 523de300dd Force MODULE_BUILD_FROM_SOURCE if com.google.android.xxx modules aren't
installed.

Test: env TARGET_PRODUCT=redfin build/soong/soong_ui.bash \
        --dumpvar-mode SOONG_CONFIG_ANDROID_module_build_from_source
  returns ""
Test: env TARGET_PRODUCT=aosp_redfin build/soong/soong_ui.bash \
        --dumpvar-mode SOONG_CONFIG_ANDROID_module_build_from_source
  returns "true"
Test: env TARGET_PRODUCT=coral_hwasan build/soong/soong_ui.bash \
        --dumpvar-mode SOONG_CONFIG_ANDROID_module_build_from_source
  returns "true"
Bug: 193759980
Bug: 192556458
Bug: 194067130
Change-Id: I8023564e6e22969a9b18467ec8b1ef046333e181
2021-07-28 10:05:29 +00:00
Roland Levillain 49ec17eac8 Work around `art-host-tests` build issues when using ART prebuilts.
Using prebuilts of the ART Module seems to make
`COMPATIBILITY.art-host-tests.HOST_SHARED_LIBRARY.FILES` empty on
x86 targets, thus breaking the `art-host-tests` build target. As
a workaround, relax the corresponding build rule to allow for an
empty `COMPATIBILITY.art-host-tests.HOST_SHARED_LIBRARY.FILES`
list.

(cherry picked from commit 4d9d0aa86c67108b481cc9353067300fa33c1a74)

Test: lunch cf_x86_phone-userdebug
        && SOONG_CONFIG_art_module_source_build=false m art-host-tests
Bug: 194627489
Change-Id: I9e885be3c7161f6f09a93b3d32339a5a6e57d2a1
Merged-In: I9e885be3c7161f6f09a93b3d32339a5a6e57d2a1
2021-07-28 10:48:47 +01:00
Android Build Coastguard Worker ff45c3b402 Make change and version bump to SD2A.210728.001
Change-Id: I2b16ef5a40e65fd8ce80f22c9aeebc761241ee95
2021-07-28 01:21:24 +00:00
Android Build Coastguard Worker 18be3de0df Make change and version bump to SD2A.210727.001
Change-Id: Icf89eadd37d7aa857884eaf12e4cf63f91c82708
2021-07-27 01:18:29 +00:00
Android Build Coastguard Worker 31b211e967 Make change and version bump to SD2A.210726.001
Change-Id: I5986cc92931d8c9bcf5805828ff1d16c2b563227
2021-07-25 23:18:16 +00:00
Android Build Coastguard Worker ee92b5a3cd Make change and version bump to SD2A.210725.001
Change-Id: If117c63f72a171f4209cc0515f85c480bc1e8be8
2021-07-24 23:18:20 +00:00
Android Build Coastguard Worker b01754b67f Make change and version bump to SD2A.210724.001
Change-Id: Ic1e50381699ac43afc9b7fc167667bcb42c92b84
2021-07-24 01:17:44 +00:00
Android Build Coastguard Worker 5fd3b95be2 Version bump to SD2A.210723.002 [core/build_id.mk]
Change-Id: Ice7f3bbaa5aaeeeeb1105162f2e7a5d06964e983
2021-07-23 17:55:49 +00:00
Android Build Coastguard Worker 6d36cde3ac Make change and version bump to SD2A.210723.001
Change-Id: Ic7babbbf6aab25b6b0d555c74aef8124199aed08
2021-07-23 01:18:08 +00:00
TreeHugger Robot c07958adf6 Merge "Don't use mainline prebuilts for coverage builds." into sc-dev am: d932280147
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15358466

Change-Id: If7762b7833f24e9432396d068cdee288d37848c2
2021-07-22 16:54:29 +00:00
TreeHugger Robot d932280147 Merge "Don't use mainline prebuilts for coverage builds." into sc-dev 2021-07-22 16:37:03 +00:00
TreeHugger Robot f14c0ac1f7 Merge "Don't use prebuilt modules for sanitizer builds." into sc-dev am: 34828f27c7
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15358465

Change-Id: Iac87e0f65d4321f00b1bbd89451c0fd224ccf086
2021-07-22 16:23:56 +00:00
TreeHugger Robot 34828f27c7 Merge "Don't use prebuilt modules for sanitizer builds." into sc-dev 2021-07-22 15:43:13 +00:00
Mathew Inwood 31167aeaf4 Don't use mainline prebuilts for coverage builds.
Test: TH
Bug: 192556458
Bug: 159241638
Change-Id: Id29e273c1df1fa27a038ebdcff1a17acca58bd46
2021-07-22 12:10:57 +01:00
Mathew Inwood 2c2e1b5a1e Don't use prebuilt modules for sanitizer builds.
Prebuilt modules do not provide sanitizer binaries to using them in this
context is unsafe.

Bug: 194067130
Test: TH
Change-Id: I3682ae9ad963a8cd13bb395fe84dae515dc6d30f
2021-07-22 12:01:19 +01:00
Android Build Coastguard Worker f8b1f20454 Make change and version bump to SD2A.210722.001
Change-Id: I4ae87eefef008594456eac3b0a91fde6c940d3c9
2021-07-22 01:19:08 +00:00
Android Build Coastguard Worker 35374e8fac Make change and version bump to SD2A.210721.001
Change-Id: Id0db1309fdf235b95c7a2c60ebcad31ead3b58b1
2021-07-21 01:18:02 +00:00
Yifan Hong 2a3f9ad4f4 Only build OTA package for non-A/B with recovery am: ec91a39248
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15330197

Change-Id: I242695d7f5badab25f67d9ab050bb2269d1f47f0
2021-07-20 05:04:23 +00:00
Android Build Coastguard Worker b990cf157a Version bump to SD2A.210720.002 [core/build_id.mk]
Change-Id: Iff4ca5607e4722eebfbdfbde8f602ad2a3227398
2021-07-20 01:57:49 +00:00
Android Build Coastguard Worker 48891203e1 Make change and version bump to SD2A.210720.001
Change-Id: Ib7a5a0c943d3efdee0b687c2324a7bde1280b757
2021-07-20 01:18:41 +00:00
Android Build Coastguard Worker cec3fc1eff Version bump to SD2A.210719.002 [core/build_id.mk]
Change-Id: I2bb3e91d2848ef51eac78c10eea8873a0f95e903
2021-07-19 18:02:13 +00:00
Yifan Hong ec91a39248 Only build OTA package for non-A/B with recovery
Change I4e5adc3f42a5 alone would break hikey build, which
is a non-A/B device with a boot image, but without recovery.

Do not build OTA in this case.

Test: lunch hikey && m dist
Fixes: 194018054
Bug: 193588301
Change-Id: I8d09ad5c62d44699eb910ff62d32044bd97e8e44
Merged-In: I8d09ad5c62d44699eb910ff62d32044bd97e8e44
2021-07-19 10:46:19 -07:00
Android Build Coastguard Worker 0a1a74f3ea Make change and version bump to SD2A.210719.001
Change-Id: I0c4c341bade47532d5f250981b966c3da09cfc3a
2021-07-18 23:18:19 +00:00
Android Build Coastguard Worker 05828f0c18 Make change and version bump to SD2A.210718.001
Change-Id: I4abf670b5f868aef1fa24a5caeeed9c1b38128e7
2021-07-17 23:18:17 +00:00
Android Build Coastguard Worker 9f4edc2998 Make change and version bump to SD2A.210717.001
Change-Id: I32f59ee0d4d3300c107cdbcd6743a39a3c4b5533
2021-07-17 01:17:48 +00:00
TreeHugger Robot e77d5844d1 Merge changes from topic "ota_for_generic_boot_image" into sc-dev am: 9bbb60e141
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15289192

Change-Id: I9dfa4e8c6215752ceddd9322149f3a4db7150632
2021-07-16 21:58:38 +00:00
Yifan Hong 0e9e4d758c Build OTA when boot image exists even without kernel or recovery fstab am: 73f01711f2
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15289191

Change-Id: I6bf373c5196abcc15186b66032cb383e1e0693b1
2021-07-16 21:58:37 +00:00
TreeHugger Robot 9bbb60e141 Merge changes from topic "ota_for_generic_boot_image" into sc-dev
* changes:
  Also extract kernel configs from boot image.
  Build OTA when boot image exists even without kernel or recovery fstab
2021-07-16 20:23:47 +00:00
Yifan Hong 73f01711f2 Build OTA when boot image exists even without kernel or recovery fstab
On devices with a prebuilt boot image, TARGET_NO_KERNEL
may be set to enable signing, etc. In this case we still
want to build the OTA package.

Test: m otapackage on a device with generic boot image
      (where TARGET_NO_KERNEL is set)
Bug: 193588301
Change-Id: I4e5adc3f42a516ac0e2f66c313dbe34a469ebe05
Merged-In: I4e5adc3f42a516ac0e2f66c313dbe34a469ebe05
2021-07-16 09:52:42 -07:00
Yifan Hong cb21f9edc8 Also extract kernel configs from boot image.
On devices with prebuilt generic boot image:
  TARGET_NO_KERNEL := true
  BOARD_PREBUILT_BOOTIMAGE is set
In this case, the process for extracting the kernel
config and version must also try extracting from the
prebuilt boot image.

Test: build on device with prebuilt boot image
Fixes: 193588301
Change-Id: I43dd8e206bcd1c9f3f5f51869f126791c50af01a
Merged-In: I43dd8e206bcd1c9f3f5f51869f126791c50af01a
2021-07-16 09:52:42 -07:00
Android Build Coastguard Worker 8a6cf9ce6a Make change and version bump to SD2A.210716.001
Change-Id: Iee05e2a47c31e6e573ae9d55ad296b344560da7c
2021-07-16 01:18:44 +00:00
Android Build Coastguard Worker 973369c546 Version bump to SD2A.210715.002 [core/build_id.mk]
Change-Id: I550473e9cae21d44ba0271626725dceab359d8c7
2021-07-15 21:34:51 +00:00
TreeHugger Robot 0fa0c84834 Merge "Fix typo in MODULE_BUILD_FROM_SOURCE variable." into sc-dev am: 6f0062ede9
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15300830

Change-Id: Ib8d7b74b7083d63dcfa4045967ce8038ab4add0c
2021-07-15 19:02:15 +00:00
Martin Stjernholm 2d6bfdb30c Fix typo in MODULE_BUILD_FROM_SOURCE variable.
Test: env MODULE_BUILD_FROM_SOURCE=true \
        TARGET_PRODUCT=cf_x86_64_phone build/soong/soong_ui.bash \
        --dumpvar-mode SOONG_CONFIG_art_module_source_build
  returns true
Test: env TARGET_PRODUCT=cf_x86_64_phone build/soong/soong_ui.bash \
        --dumpvar-mode SOONG_CONFIG_art_module_source_build
  returns false
Bug: 191978129
Change-Id: I2056b198bc0b944a6736ff21077b902df13c1479
2021-07-15 16:15:04 +01:00
Android Build Coastguard Worker fe87b54a73 Make change and version bump to SD2A.210715.001
Change-Id: Ia8c12764aea019e6794dfe01a21f177789ab2c8d
2021-07-15 01:18:21 +00:00
Martin Stjernholm 3673e6dcf1 Build the ART module from source if other Mainline modules are. am: 06a7034659
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15277370

Change-Id: Ie0da83bf73591b9c01a621dc7be8a2b9d68bc649
2021-07-14 18:48:50 +00:00
Android Build Coastguard Worker 971679a497 Make change and version bump to SD2A.210714.001
Change-Id: Ib33a35402c7b1c74bc75ac4a0629babda70f6fb7
2021-07-14 01:19:10 +00:00
Martin Stjernholm 06a7034659 Build the ART module from source if other Mainline modules are.
Test: env MODULES_BUILD_FROM_SOURCE=true \
        TARGET_PRODUCT=cf_x86_64_phone build/soong/soong_ui.bash \
        --dumpvar-mode SOONG_CONFIG_art_module_source_build
  returns true
Test: env TARGET_PRODUCT=cf_x86_64_phone build/soong/soong_ui.bash \
        --dumpvar-mode SOONG_CONFIG_art_module_source_build
  returns false
Bug: 191978129
Change-Id: I718d3878e9d5f5e710fa3d835a209184b633af48
2021-07-13 23:56:55 +01:00
Android Build Coastguard Worker 8fab827fa1 Make change and version bump to SD2A.210713.001
Change-Id: I7c5ffd10227bc8d64f9e03cdedde18b5e19fcc18
2021-07-13 01:19:12 +00:00
Android Build Coastguard Worker 27c32bdefa Version bump to SD2A.210712.002 [core/build_id.mk]
Change-Id: I3ed3f1c618a52dfff9a272a23ce8644c9bed914e
2021-07-12 17:40:06 +00:00
Android Build Coastguard Worker f443f1d1fa Make change and version bump to SD2A.210712.001
Change-Id: I5507066af13d053f78e03fcc20e818f509303c52
2021-07-11 23:22:28 +00:00
Android Build Coastguard Worker e325b88c2d Make change and version bump to SD2A.210711.001
Change-Id: Iec88521e497d34559600bcf9f6f09ee851b970c4
2021-07-10 23:18:09 +00:00
Android Build Coastguard Worker 7c5bfd693a Make change and version bump to SD2A.210710.001
Change-Id: Ide1b2854753bb504809cc8c030ad914fa11ba289
2021-07-10 01:23:28 +00:00
Martin Stjernholm df1a364796 Add special cases for builds that cannot switch to ART prebuilts. am: fa089f76e6
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15234811

Change-Id: If0772963b01d55fd5d636271e6a95776c5bd67e0
2021-07-09 12:07:15 +00:00
Android Build Coastguard Worker 517976109f Make change and version bump to SD2A.210709.001
Change-Id: I3a33fb15665e6469726234848769bc520f6be5d4
2021-07-09 01:23:41 +00:00
Android Build Coastguard Worker d695ee7b30 Version bump to SD2A.210708.002 [core/build_id.mk]
Change-Id: I6c6f3f8649b7e76d89415899201195740ab402ae
2021-07-08 21:10:17 +00:00
Martin Stjernholm f68bd2db71 DO NOT MERGE: Use prebuilts of the ART Module by default (reland 2).
This means prebuilts located in
/vendor/unbundled_google/modules/ArtGooglePrebuilt and
/prebuilts/module_sdk/art are used instead of sources in /art,
/libcore, and /libnativehelper.

Sanitizer and coverage builds builds are excluded, as are builds using
the products art_module_*, armv8, arm_krait, and others in
device/generic/art.

To keep using ART and libcore sources in local builds, set
SOONG_CONFIG_art_module_source_build=true. See art/build/README.md for
further info.

This http://ag/15200786 after fixing various build issues (see tests).
Using DO NOT MERGE to limit presubmit use to the branches for which
prebuilts were updated in http://ag/15189174 and http://ag/15200785.

Test: Heavy presubmits on build_test{,2,3,4} and flame-userdebug
Test: Heavy presubmit on mainline_modules-userdebug on sc-mainline-prod
Bug: 192542393
Change-Id: Id6800fe3564149e6c555b5f68a41b01e9c7dff3f
2021-07-08 16:16:33 +01:00
Martin Stjernholm fa089f76e6 Add special cases for builds that cannot switch to ART prebuilts.
Test: env TARGET_PRODUCT=mainline_modules_x86_64 \
        build/soong/soong_ui.bash \
        --dumpvar-mode SOONG_CONFIG_art_module_source_build
  returns true with http://ag/15234812
Test: env TARGET_PRODUCT=module_arm build/soong/soong_ui.bash \
        --dumpvar-mode SOONG_CONFIG_art_module_source_build
  returns true with http://ag/15234812
Test: env TARGET_PRODUCT=cf_arm64_phone build/soong/soong_ui.bash \
        --dumpvar-mode SOONG_CONFIG_art_module_source_build
  returns true with http://ag/15234812
Test: env TARGET_PRODUCT=sdk_g3titan_x86_64 build/soong/soong_ui.bash \
        --dumpvar-mode SOONG_CONFIG_art_module_source_build
  returns true with http://ag/15234812
Test: env TARGET_PRODUCT=cf_x86_64_phone build/soong/soong_ui.bash \
        --dumpvar-mode SOONG_CONFIG_art_module_source_build
  returns false with http://ag/15234812
Test: env TARGET_PRODUCT=cf_x86_phone build/soong/soong_ui.bash \
        --dumpvar-mode SOONG_CONFIG_art_module_source_build
  returns false with http://ag/15234812
Test: env TARGET_PRODUCT=bonito build/soong/soong_ui.bash \
        --dumpvar-mode SOONG_CONFIG_art_module_source_build
  returns false with http://ag/15234812
Test: env TARGET_PRODUCT=aosp_flame build/soong/soong_ui.bash \
        --dumpvar-mode SOONG_CONFIG_art_module_source_build
  returns true with http://ag/15234812
Bug: 192542393
Change-Id: I544a0cfc9dfe6d738f75e60b7fec6d57f2b51d22
2021-07-08 16:16:14 +01:00
Android Build Coastguard Worker 2fae25e523 Make change and version bump to SD2A.210708.001
Change-Id: Ibafc90a4b8b5b22f2985fcec9e599378ac3edb20
2021-07-08 01:27:03 +00:00
Mohammad Samiul Islam ddfa249778 Merge "Revert "DO NOT MERGE: Use prebuilts of the ART Module by default (reland)."" into sc-dev 2021-07-07 14:36:20 +00:00
Mohammad Samiul Islam 5031d7f844 Revert "DO NOT MERGE: Use prebuilts of the ART Module by default (reland)."
This reverts commit 6a3fd20b35.

Reason for revert: DroidMonitor-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?branch=git_sc-mainline-prod&target=mainline_modules-userdebug&lkgb=7528055&lkbb=7528146&fkbb=7528146, bug b/193013377

Change-Id: I896884acbb1dae20019eefeedf13494c4235a1b3
2021-07-07 13:19:08 +00:00
Martin Stjernholm c9a802862f Merge "DO NOT MERGE: Use prebuilts of the ART Module by default (reland)." into sc-dev 2021-07-07 12:12:33 +00:00
TreeHugger Robot bc78c05c44 Merge changes from topic "revert-15071196-init_first_stage_soong-GBJXQRPEKC" into sc-dev am: 7e2e4be86c
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15167736

Change-Id: Ief116239222f89dbbe6694128ce2b6287a48d335
2021-07-07 03:24:15 +00:00
Inseob Kim b41ad31607 Revert "Directly create ramdisk dirs in ramdisk image rule" am: ef49dc6daa
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15167735

Change-Id: I69b885d12e9ee3cbd9879e7c7b2319252cef443b
2021-07-07 03:24:08 +00:00
Inseob Kim f64b4d23e6 Revert "Add BUILD_USES_RECOVERY_AS_BOOT to soong config" am: e683a5fcea
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15167734

Change-Id: Ib1db1b0db76e73b1f98471a8219a402d7d7d2bf7
2021-07-07 03:24:01 +00:00
TreeHugger Robot 7e2e4be86c Merge changes from topic "revert-15071196-init_first_stage_soong-GBJXQRPEKC" into sc-dev
* changes:
  Revert "Add BOARD_BUILD_SYSTEM_ROOT_IMAGE to config vars"
  Revert "Directly create ramdisk dirs in ramdisk image rule"
  Revert "Add BUILD_USES_RECOVERY_AS_BOOT to soong config"
2021-07-07 03:02:00 +00:00
Android Build Coastguard Worker 3a8efbb7f4 Make change and version bump to SD2A.210707.001
Change-Id: I0cba3d24b658b6c1d3199817832dad7cb0c71f92
2021-07-07 01:18:22 +00:00
Android Build Coastguard Worker 51561d679d Make change and version bump to SD2A.210706.001
Change-Id: Ie33714a076703e5bf80b1b5baab2f080e8eae1e3
2021-07-06 01:20:44 +00:00
Martin Stjernholm 6a3fd20b35 DO NOT MERGE: Use prebuilts of the ART Module by default (reland).
This means prebuilts located in
/vendor/unbundled_google/modules/ArtGooglePrebuilt and
/prebuilts/module_sdk/art are used instead of sources in /art,
/libcore, and /libnativehelper.

Sanitizer and coverage builds builds are excluded, as are builds using
the products art_module_*, armv8, arm_krait, and others in
device/generic/art.

To keep using ART and libcore sources in local builds, set
SOONG_CONFIG_art_module_source_build=true. See art/build/README.md for
further info.

This relands http://ag/13552665 after updating ART prebuilts
(ag/15189174, ag/15200785). Using DO NOT MERGE to have the same scope
as they do.

Test: presubmits
Test: vendor/google/build/build_mainline_modules.sh
  with a line
    build/soong/soong_ui.bash --dumpvar-mode \
      SOONG_CONFIG_art_module_source_build
  directly before the module build commands in
  build_unbundled_mainline_module.sh and check that it's still true.
Bug: 192542393
Change-Id: I6281ef27bf9cdcb2ad5112b8a0932e4201d69dc2
2021-07-05 01:21:54 +01:00
Android Build Coastguard Worker 2de76d449b Make change and version bump to SD2A.210705.001
Change-Id: Ifaa7159c1c6000742e085f0ab17ea342c4a9d787
2021-07-04 23:18:33 +00:00
Android Build Coastguard Worker 34c24f98c3 Make change and version bump to SD2A.210704.001
Change-Id: I2d59934c6f5f972efe76a2e0dbe557f6af2e2b50
2021-07-03 23:23:36 +00:00
Android Build Coastguard Worker 0abde3c0b9 Make change and version bump to SD2A.210703.001
Change-Id: I3998b5c4de0c234756e128ee62882280e01a2e2d
2021-07-03 01:18:08 +00:00
Android Build Coastguard Worker 60478ba91f Make change and version bump to SD2A.210702.001
Change-Id: Ic1c9ecee2c5e5fdd58abf41a6a276110992690e4
2021-07-02 01:23:01 +00:00
Android Build Coastguard Worker 6f06fefcf3 Version bump to SD2A.210701.002 [core/build_id.mk]
Change-Id: I2caff0967685823f224ad25c46a461e620ab5b74
2021-07-01 17:42:05 +00:00
Martin Stjernholm 3d8c30792b Merge "Revert "Use prebuilts of the ART Module by default."" into sc-dev 2021-07-01 16:14:49 +00:00
Martin Stjernholm 751f1ddbef Revert "Use prebuilts of the ART Module by default."
This reverts commit efab03ff61.

Reason for revert: Breaks sc-dev builds.

Merged-In set to http://ag/15107826 to avoid merging downstream.

Bug: 192558747
Change-Id: Id17caafee41b5aed65b5b294c729a548379aa41a
Merged-In: I8990b726affeb08eabf130d20be45129a7c1c58d
2021-07-01 16:12:43 +00:00
Martin Stjernholm b832fba84c Merge "Use prebuilts of the ART Module by default." into sc-dev 2021-07-01 14:57:38 +00:00
Martin Stjernholm efab03ff61 Use prebuilts of the ART Module by default.
This means prebuilts located in
/vendor/unbundled_google/modules/ArtGooglePrebuilt and
/prebuilts/module_sdk/art are used instead of sources in /art,
/libcore, and /libnativehelper.

Sanitizer and coverage builds builds are excluded, as are builds using
the products art_module_*, armv8, arm_krait, and others in
device/generic/art.

To keep using ART and libcore sources in local builds, set
SOONG_CONFIG_art_module_source_build=true. See art/build/README.md for
further info.

Merged-In set to http://ag/15107826 to avoid merging downstream.

Test: presubmits
Test: vendor/google/build/build_mainline_modules.sh
  with a line
    build/soong/soong_ui.bash --dumpvar-mode \
      SOONG_CONFIG_art_module_source_build
  directly before the module build commands in
  build_unbundled_mainline_module.sh and check that it's still true.
Bug: 192542393
Merged-In: I8990b726affeb08eabf130d20be45129a7c1c58d
Change-Id: Id719640d17effca107af82de69e45514bf3bd234
2021-07-01 14:20:21 +01:00
Inseob Kim ef49dc6daa Revert "Directly create ramdisk dirs in ramdisk image rule"
Revert "Add install_in_root to cc_binary"

Revert "Add ramdisk_available to init_first_stage's deps"

Revert submission 15071196-init_first_stage_soong

Reason for revert: fixes b/192248690
Reverted Changes:
I23cf4f975:Add ramdisk_available to init_first_stage's deps
Icd98c7e24:Add ramdisk_available to init_first_stage's deps
If9da9ba16:Add ramdisk_available to init_first_stage's deps
Ibc8668029:Add ramdisk_available to init_first_stage's deps
I3b4b8c475:Add ramdisk_available to init_first_stage's deps
I59cd149e0:Completely migrate init first stage to Soong
I36d789578:Add ramdisk_available to init_first_stage's deps
I2a0daa612:Add BUILD_USES_RECOVERY_AS_BOOT to soong config
Ic76c325ce:Directly create ramdisk dirs in ramdisk image rule...
I4c5374deb:Add BOARD_BUILD_SYSTEM_ROOT_IMAGE to config vars
I8aab5faf3:Add ramdisk_available to init_first_stage's deps
I9d5a10661:Add ramdisk_available to init_first_stage's deps
Iaa2edeb4a:Add ramdisk_available to init_first_stage's deps
I7cb582ca0:Update init_first_stage
I06091d15e:Add ramdisk_available to init_first_stage's deps
I8bdb8dda3:Add ramdisk_available to init_first_stage's deps
I7436b8dd1:Add ramdisk_available to init_first_stage's deps
I39693fd86:Add ramdisk_available to init_first_stage's deps
I0a9ba90f0:Add ramdisk_available to init_first_stage's deps
Ib66b4c4ea:Add ramdisk_available to init_first_stage's deps
I31ce63d23:Add ramdisk_available to init_first_stage's deps
Icb580f97c:Add ramdisk_available to init_first_stage's deps
I044a075b7:Add ramdisk_available to init_first_stage's deps
I33164a7e7:Fix ndk and aml arch order
Ib8d92904a:Add ramdisk_available to sysprop_library
Ibc3516453:Add install_in_root to cc_binary

Change-Id: Ic72702cf9d48367b3de30cf29f68a7e8fb0040ce
2021-07-01 06:50:40 +00:00
Inseob Kim e683a5fcea Revert "Add BUILD_USES_RECOVERY_AS_BOOT to soong config"
Revert "Add install_in_root to cc_binary"

Revert "Add ramdisk_available to init_first_stage's deps"

Revert submission 15071196-init_first_stage_soong

Reason for revert: fixes b/192248690
Reverted Changes:
I23cf4f975:Add ramdisk_available to init_first_stage's deps
Icd98c7e24:Add ramdisk_available to init_first_stage's deps
If9da9ba16:Add ramdisk_available to init_first_stage's deps
Ibc8668029:Add ramdisk_available to init_first_stage's deps
I3b4b8c475:Add ramdisk_available to init_first_stage's deps
I59cd149e0:Completely migrate init first stage to Soong
I36d789578:Add ramdisk_available to init_first_stage's deps
I2a0daa612:Add BUILD_USES_RECOVERY_AS_BOOT to soong config
Ic76c325ce:Directly create ramdisk dirs in ramdisk image rule...
I4c5374deb:Add BOARD_BUILD_SYSTEM_ROOT_IMAGE to config vars
I8aab5faf3:Add ramdisk_available to init_first_stage's deps
I9d5a10661:Add ramdisk_available to init_first_stage's deps
Iaa2edeb4a:Add ramdisk_available to init_first_stage's deps
I7cb582ca0:Update init_first_stage
I06091d15e:Add ramdisk_available to init_first_stage's deps
I8bdb8dda3:Add ramdisk_available to init_first_stage's deps
I7436b8dd1:Add ramdisk_available to init_first_stage's deps
I39693fd86:Add ramdisk_available to init_first_stage's deps
I0a9ba90f0:Add ramdisk_available to init_first_stage's deps
Ib66b4c4ea:Add ramdisk_available to init_first_stage's deps
I31ce63d23:Add ramdisk_available to init_first_stage's deps
Icb580f97c:Add ramdisk_available to init_first_stage's deps
I044a075b7:Add ramdisk_available to init_first_stage's deps
I33164a7e7:Fix ndk and aml arch order
Ib8d92904a:Add ramdisk_available to sysprop_library
Ibc3516453:Add install_in_root to cc_binary

Change-Id: I2fe09d7a44567f5f3cfd08c89a60e9e94e8fe0e3
2021-07-01 06:50:40 +00:00
Inseob Kim 69389a1c3a Revert "Add BOARD_BUILD_SYSTEM_ROOT_IMAGE to config vars"
Revert "Add install_in_root to cc_binary"

Revert "Add ramdisk_available to init_first_stage's deps"

Revert submission 15071196-init_first_stage_soong

Reason for revert: fixes b/192248690
Reverted Changes:
I23cf4f975:Add ramdisk_available to init_first_stage's deps
Icd98c7e24:Add ramdisk_available to init_first_stage's deps
If9da9ba16:Add ramdisk_available to init_first_stage's deps
Ibc8668029:Add ramdisk_available to init_first_stage's deps
I3b4b8c475:Add ramdisk_available to init_first_stage's deps
I59cd149e0:Completely migrate init first stage to Soong
I36d789578:Add ramdisk_available to init_first_stage's deps
I2a0daa612:Add BUILD_USES_RECOVERY_AS_BOOT to soong config
Ic76c325ce:Directly create ramdisk dirs in ramdisk image rule...
I4c5374deb:Add BOARD_BUILD_SYSTEM_ROOT_IMAGE to config vars
I8aab5faf3:Add ramdisk_available to init_first_stage's deps
I9d5a10661:Add ramdisk_available to init_first_stage's deps
Iaa2edeb4a:Add ramdisk_available to init_first_stage's deps
I7cb582ca0:Update init_first_stage
I06091d15e:Add ramdisk_available to init_first_stage's deps
I8bdb8dda3:Add ramdisk_available to init_first_stage's deps
I7436b8dd1:Add ramdisk_available to init_first_stage's deps
I39693fd86:Add ramdisk_available to init_first_stage's deps
I0a9ba90f0:Add ramdisk_available to init_first_stage's deps
Ib66b4c4ea:Add ramdisk_available to init_first_stage's deps
I31ce63d23:Add ramdisk_available to init_first_stage's deps
Icb580f97c:Add ramdisk_available to init_first_stage's deps
I044a075b7:Add ramdisk_available to init_first_stage's deps
I33164a7e7:Fix ndk and aml arch order
Ib8d92904a:Add ramdisk_available to sysprop_library
Ibc3516453:Add install_in_root to cc_binary

Change-Id: I5e1d58bdb3ebff7125b64a8f2e940f7d203dac74
2021-07-01 06:50:40 +00:00
Android Build Coastguard Worker 0708aa2da2 Make change and version bump to SD2A.210701.001
Change-Id: I87daa3cc0f98a312d3a4b8b6d8f3360f796b92d3
2021-07-01 01:32:28 +00:00
Paul Scovanner 32a8473026 Update Security String to 2021-09-05 am: cfd4896dc2 am: e88ac64d3d am: 7df23ee7aa
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15123744

Change-Id: I4f45e7bc32b914285c02f939872efcf77c53f1da
2021-06-30 23:05:32 +00:00
Paul Scovanner 7df23ee7aa Update Security String to 2021-09-05 am: cfd4896dc2 am: e88ac64d3d
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15123744

Change-Id: I223dd4c0495601db35c400fdac944713b1d809a3
2021-06-30 22:52:04 +00:00
Paul Scovanner e88ac64d3d Update Security String to 2021-09-05 am: cfd4896dc2
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15123744

Change-Id: Ic0a375700bd7dc707449ced79e0efe893cc43a25
2021-06-30 22:37:02 +00:00
Android Build Coastguard Worker a2e8a11c25 Version bump to SD2A.210630.003 [core/build_id.mk]
Change-Id: I0ed503604837c3316c3ab3e6a25f1aec57b0efd9
2021-06-30 22:35:38 +00:00
Android Build Coastguard Worker 0da583c30e Version bump to SD2A.210630.002 [core/build_id.mk]
Change-Id: Id1ad2bd6a9ec5af21d5548d2451d6105a7c4a06f
2021-06-30 16:09:36 +00:00
Martin Stjernholm c19612b8a3 Merge "Force building ART from source for AOSP products." into sc-dev am: a18d4d84db
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15107826

Change-Id: I45e67ad86dc0397ab3a123c01a9c7cfeb83717ff
2021-06-30 15:09:56 +00:00
Android Build Coastguard Worker e4234dfc48 Make change and version bump to SD2A.210630.001
Change-Id: If8922e4bf64fa8503223b5ab141a43a9015500db
2021-06-30 01:19:05 +00:00
Paul Scovanner cfd4896dc2 Update Security String to 2021-09-05
Bug: 192405736
Change-Id: Icea699ec7f82744ff0a6dca90068b2737129778a
2021-06-30 00:36:24 +00:00
Martin Stjernholm 43747aafb1 Force building ART from source for AOSP products.
This is a workaround for the problem that we cannot control from make
which APEX gets picked for deapexing.

Test: env TARGET_PRODUCT=aosp_cf_x86_64_phone \
          SOONG_CONFIG_art_module_source_build=false \
        build/soong/soong_ui.bash \
        --dumpvar-mode SOONG_CONFIG_art_module_source_build
  This shows true
Test: env TARGET_PRODUCT=cf_x86_64_phone \
          SOONG_CONFIG_art_module_source_build=false \
        build/soong/soong_ui.bash \
        --dumpvar-mode SOONG_CONFIG_art_module_source_build
  This shows false
Bug: 192006406
Bug: 172480615
Change-Id: I8990b726affeb08eabf130d20be45129a7c1c58d
2021-06-29 19:26:31 +01:00
Android Build Coastguard Worker 809641fed2 Make change and version bump to SD2A.210629.001
Change-Id: I9cbbeb44da06a30e4057cd7da7803cef2838e93e
2021-06-29 01:29:11 +00:00
Android Build Coastguard Worker 7aafb8e593 Make change and version bump to SD2A.210628.002
Change-Id: I8710167070bab2acaff6462420ac81b3c10db63a
2021-06-28 04:44:22 +00:00
Android Build Coastguard Worker 9c18d3eed1 Make change and version bump to SD2A.210628.001
Change-Id: Ic0358fbff82312283c2847495cd71d52b4f6b932
2021-06-27 23:18:36 +00:00
Android Build Coastguard Worker 583e05d816 Make change and version bump to SD2A.210627.001
Change-Id: If08286a8cc4a724d84fb90af1d4a8db40d739ee2
2021-06-26 23:18:01 +00:00
Android Build Coastguard Worker f7dd326022 Make change and version bump to SD2A.210626.001
Change-Id: I2126458fc2d28ecebbb592726d81ec8635fc410f
2021-06-26 01:18:18 +00:00
Dario Freni 5301b846f3 Merge "Add MODULE_BUILD_FROM_SOURCE env variable." into sc-dev am: 14abe199e2
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15090043

Change-Id: Iaf388de4a3c5da83a60f5a71cee5d39d18f6f3fa
2021-06-25 14:13:05 +00:00
Dario Freni 14abe199e2 Merge "Add MODULE_BUILD_FROM_SOURCE env variable." into sc-dev 2021-06-25 13:53:41 +00:00
Android Build Coastguard Worker bf45daf01d Make change and version bump to SD2A.210625.002
Change-Id: I70f812b240659bf6dd473c52e82b3cfce1eaaa39
2021-06-25 03:35:44 +00:00
Android Build Coastguard Worker 4396eb8011 Make change and version bump to SD2A.210625.001
Change-Id: I301fbc9761be8ced47ffc7f572da468227f29d11
2021-06-25 01:18:54 +00:00
TreeHugger Robot abeb9ec656 Merge "Emit DexPreoptImageLocationsOnDevice as well" into sc-dev am: 1e6044e5da
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15088021

Change-Id: I4724183a24345603449a84d7d29797b3b71cd059
2021-06-25 00:14:37 +00:00
TreeHugger Robot 1e6044e5da Merge "Emit DexPreoptImageLocationsOnDevice as well" into sc-dev 2021-06-24 23:59:05 +00:00
Android Build Coastguard Worker 05c8704d96 Version bump to SD2A.210624.002 [core/build_id.mk]
Change-Id: I0e79d8f74deadeb89658f20f27510d70dd6930c5
2021-06-24 23:53:46 +00:00
Inseob Kim 6bcad4a519 Add BUILD_USES_RECOVERY_AS_BOOT to soong config am: 94b0556c4e
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15070334

Change-Id: Iaae16de89c09cb7b99e5b0addf540860d64fb452
2021-06-24 23:44:14 +00:00
Inseob Kim 3798b390aa Directly create ramdisk dirs in ramdisk image rule am: f3897b668d
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15070333

Change-Id: Ideb92d32cb70502b1e917dd8521db2f25fa8ca63
2021-06-24 23:44:07 +00:00
Inseob Kim 69326d77ab Add BOARD_BUILD_SYSTEM_ROOT_IMAGE to config vars am: a9af042d58
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15070332

Change-Id: I1160df4e119644d2022eeca3879e25487c2c30df
2021-06-24 23:44:00 +00:00
Dario Freni 84d3bf7a2f Add MODULE_BUILD_FROM_SOURCE env variable.
When set, module builds will prefer source where applicable.

Bug: 191978129
Test: m; MODULE_BUILD_FROM_SOURCE=true m
Change-Id: Ie7f928674a511a98f17653fa814a42194ee0e9f9
Merged-In: Ie7f928674a511a98f17653fa814a42194ee0e9f9
2021-06-24 17:37:50 +00:00
Jeongik Cha 5612cff4b4 Emit DexPreoptImageLocationsOnDevice as well
Bug: 158843648
Test: check if dexpreopt config for the module defined in mk has
DexPreoptImageLocationsOnDevice field.

Change-Id: Ie8c7b1c8c5a6797f71920d9ce671dde0e1f489a3
Merged-In: Ie8c7b1c8c5a6797f71920d9ce671dde0e1f489a3
(cherry picked from commit 242c4362428a6e0e0093cc739c7f730e73f87af1)
2021-06-24 13:14:29 +00:00
Android Build Coastguard Worker 0f39d37017 Make change and version bump to SD2A.210624.001
Change-Id: Idd3181c4f719ddf4dfffe07164e344236d5287e7
2021-06-24 01:24:39 +00:00
Inseob Kim 94b0556c4e Add BUILD_USES_RECOVERY_AS_BOOT to soong config
Bug: 190974433
Test: build
Change-Id: I2a0daa6127e94366b7b6cfa5cec0080169a469e3
Merged-In: I2a0daa6127e94366b7b6cfa5cec0080169a469e3
2021-06-23 04:39:04 +00:00
Inseob Kim f3897b668d Directly create ramdisk dirs in ramdisk image rule
These directories have been created with post install cmds of
init_first_stage. To migrate init_first_stage to Soong, the directory
rules are now written directly in ramdisk image rule.

Bug: 187196593
Test: "m installclean; m" and see ramdisk output
Change-Id: Ic76c325ce102347f20b282572e3edbb5b4359aaf
Merged-In: Ic76c325ce102347f20b282572e3edbb5b4359aaf
2021-06-23 04:38:55 +00:00
Inseob Kim a9af042d58 Add BOARD_BUILD_SYSTEM_ROOT_IMAGE to config vars
It'll be used from init_first_stage.

Bug: 187196593
Test: build
Change-Id: I4c5374debd56fbf9d11b456498835a9c411d01d6
Merged-In: I4c5374debd56fbf9d11b456498835a9c411d01d6
2021-06-23 04:33:18 +00:00
Android Build Coastguard Worker b7920d3f6b Make change and version bump to SD2A.210623.001
Change-Id: I28e476a484539515aacd53362969f3fd389eae2a
2021-06-23 01:20:28 +00:00
Devin Moore 0fae78cd7a Revert "Throw an error if androidboot.hardware is used for bootconfig" am: 36b659550e
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15054410

Change-Id: I53c39254879e4485eaad229bf05ed3844b231cf3
2021-06-22 18:08:43 +00:00
android-build-team Robot 56c3919880 Version bump to SD2A.210622.002 [core/build_id.mk]
Change-Id: I5085deb5bdf1696effa23ab776a5b145f714a1a1
2021-06-22 15:58:00 +00:00
android-build-team Robot 66282d8c77 Make change and version bump to SD2A.210622.001
Change-Id: I57a158e48b752ddf1a608d63466f53406dda0cb1
2021-06-22 01:19:42 +00:00
Devin Moore 36b659550e Revert "Throw an error if androidboot.hardware is used for bootconfig"
This reverts commit 2e43e34d53.

The kernel bootconfig feature has been updated to handle mixed subkeys
and values, so androidboot.hardware is ok to use now.

Test: build and boot cuttlefish with 'hardware=cutf_vm'
Test: build and boot cuttlefish with 'androidboot.hardware=cutf_vm'
Bug: 191502832
Merged-In: I7c3f330a73abe6cf1fb7d14aaaa6cbc3e874a4aa
Change-Id: I7c3f330a73abe6cf1fb7d14aaaa6cbc3e874a4aa
2021-06-21 12:48:24 -07:00
android-build-team Robot c021a60ee1 Make change and version bump to SD2A.210621.001
Change-Id: Id3bef4f90b5694d76ad7bf8b5ca57e4ba61ec738
2021-06-20 23:18:36 +00:00
android-build-team Robot 9dbfb86edf Make change and version bump to SD2A.210620.001
Change-Id: I7ef18cdf64a216ceaf567f6bc0cd31f6c56a6f47
2021-06-19 23:18:07 +00:00
android-build-team Robot ab77fd9880 Make change and version bump to SD2A.210619.001
Change-Id: I7cfa38b88a8faa33c722158e2c84a51cb8768a13
2021-06-19 01:18:01 +00:00
android-build-team Robot 1633d0a1d9 Version bump to SD2A.210618.002 [core/build_id.mk]
Change-Id: I46b73d73652c5676e2fb8434b14dbeac53f44be1
2021-06-18 16:57:15 +00:00
android-build-team Robot de2eb1efb6 Make change and version bump to SD2A.210618.001
Change-Id: I8cb8f1d75980f6f926a6c083c27f0f594b443a0f
2021-06-18 01:25:11 +00:00
TreeHugger Robot ce53a0ff9e Merge changes Ie63d08ac,Ia7f8200c into sc-dev am: c66099dcc6
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/15008279

Change-Id: I260893b558d643c29983d3c5f217c0b136237714
2021-06-17 15:19:19 +00:00
TreeHugger Robot c66099dcc6 Merge changes Ie63d08ac,Ia7f8200c into sc-dev
* changes:
  Fix typo in droidcore-unbundled.
  Introduce droidcore-unbundled target
2021-06-17 15:01:07 +00:00
android-build-team Robot dd162fcc77 Version bump to SD2A.210617.002 [core/build_id.mk]
Change-Id: Ic2d1d23f9133d9549e8278fb1516a65d1c8d3a2b
2021-06-17 14:59:40 +00:00
Bill Peckham 184524a915 Fix typo in droidcore-unbundled.
Test: manual inspection.
Bug: 191304308
Change-Id: Ie63d08acff0b9accfafd906a43bd18cbef5471a3
2021-06-17 03:33:09 +00:00
android-build-team Robot ee238c4f0c Make change and version bump to SD2A.210617.001
Change-Id: I78e8c85fadad306585bdef4645b388ab5f228a93
2021-06-17 01:26:27 +00:00
TreeHugger Robot 6aacf83adf Merge "Add ro.vendor.build.dont_use_vabc to disable VABC OTA" into sc-dev am: 6e2acf1c60
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/14970372

Change-Id: I758ee84f90e237eb4f4617b72a0345a6b06f06eb
2021-06-16 21:08:02 +00:00
TreeHugger Robot 6e2acf1c60 Merge "Add ro.vendor.build.dont_use_vabc to disable VABC OTA" into sc-dev 2021-06-16 20:48:16 +00:00
Bill Peckham 315b98a73a Introduce droidcore-unbundled target
The droidcore-unbundled target replaces the droidcore
target when TARGET_BUILD_UNBUNDLED_IMAGE=true. This
target is similar to droidcore in terms of dependencies,
but it has a smaller set of dist files. The intention is
to use TARGET_BUILD_UNBUNDLED_IMAGE=true with a
VSDK-using vendor build to supply Java dependencies from
prebuilts to avoid building (or needing) Java framework
sources.

Test: build with and without TARGET_BUILD_UNBUNDLED_IMAGE=true
Test: m nothing dist (before patch)
Test: m nothing dist (after patch)
Test: m nothing dist TARGET_BUILD_UNBUNDLED_IMAGE=true (after patch)
Test: examine ninja build graph for previous 3 tests
Bug: 188176942
Bug: 187064252
Change-Id: Ia7f8200c1bb1aaaa57c177d1698a114efe26bec7
(cherry picked from commit 0a30cc41bc8acd25058d9751a75184cb9504b93b)
2021-06-16 19:54:07 +00:00
android-build-team Robot b55d6a9330 Version bump to SD2A.210616.003 [core/build_id.mk]
Change-Id: Ie88d6aa8d64b476dc44253633a41742cf0f256dd
2021-06-16 18:03:43 +00:00
android-build-team Robot eb4b55f5de Version bump to SD2A.210616.002 [core/build_id.mk]
Change-Id: Ibdf0935441d4d1f18c3a7b0d5333c651ea64daa1
2021-06-16 03:23:08 +00:00
android-build-team Robot d1d161aa33 Make change and version bump to SD2A.210616.001
Change-Id: I8cb76918c14b7bec6e6a6f004afaf213a3207ddf
2021-06-16 01:18:13 +00:00
android-build-team Robot bdfacdccd0 Version bump to SD2A.210615.002 [core/build_id.mk]
Change-Id: I8632d71d0eb9e1e4ec88123317bee32c8948c557
2021-06-16 00:37:55 +00:00
Jeff Sharkey 4ef2e34cb5 Merge "[DO NOT MERGE] platform/build/make - S is now REL" into sc-dev 2021-06-15 03:51:43 +00:00
android-build-team Robot 19d5ea59b6 Make change and version bump to SD2A.210615.001
Change-Id: Ia8123a5f9cdebea57961ab00e8aa2c180e6138e6
2021-06-15 01:24:45 +00:00
Kelvin Zhang 9b55885314 Add ro.vendor.build.dont_use_vabc to disable VABC OTA
This prop is owned by OEM, OEM can set this if they want to disable
VABC.

Test: m dist, make sure generated OTA has VABC disabled
Bug: 185400304

Change-Id: Iceb2fb1f399d38a51722352a86ddf68af05fa24e
Merged-In: Iceb2fb1f399d38a51722352a86ddf68af05fa24e
2021-06-14 15:38:37 -07:00
Paul Scovanner 073480991e Update Security String to 2021-08-05 am: f5139e3087 am: 7e1e5ad8ff
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/14966269

Change-Id: Ifcfa2fd56abfd942b4af0a9a95e0150b95a0263f
2021-06-14 21:56:38 +00:00
Paul Scovanner 7e1e5ad8ff Update Security String to 2021-08-05 am: f5139e3087
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/14966269

Change-Id: Icbeccbd10e0496e7a38720f165b0868954939a51
2021-06-14 21:39:09 +00:00
Paul Scovanner f5139e3087 Update Security String to 2021-08-05
Bug: 191053489
Change-Id: Ieba9625ca0ccedf285209954f1e766b20455c32f
2021-06-14 18:53:26 +00:00
android-build-team Robot 8fe56593b1 Make change and version bump to SD2A.210614.001
Change-Id: I7403ff01984ddb99c3f2dd1258680cd642d0f5ec
2021-06-13 23:18:17 +00:00
android-build-team Robot 8bf90863f0 Make change and version bump to SD2A.210613.001
Change-Id: I01bedca685acde6a9e4be7991aa6325fe8738919
2021-06-12 23:18:22 +00:00
android-build-team Robot acc538eaa2 Make change and version bump to SD2A.210612.001
Change-Id: I48187d5fea5d79b08aead26b94758b805a0b75b1
2021-06-12 01:17:58 +00:00
android-build-team Robot 66a6332b3d Make change and version bump to SD2A.210611.003
Change-Id: If365e8882f498f6cdcec7647b4d49336196b16bf
2021-06-11 06:55:17 +00:00
android-build-team Robot 0d5f923c6c Make change and version bump to SD2A.210611.002
Change-Id: I7446c29ab0c25d66aa264d74872ed6afa334e97d
2021-06-11 04:15:34 +00:00
android-build-team Robot e4b0337858 Make change and version bump to SD2A.210611.001
Change-Id: I277b1c9606ead3b045f8ee4fb9d2a0501c4d2d22
2021-06-11 01:35:18 +00:00
Jeff Sharkey 25d421446d [DO NOT MERGE] platform/build/make - S is now REL
Bug: 171506470
Test: Build
Change-Id: I98536ff83aab23cfaf5553a57a8a3b8264878847
2021-06-10 15:05:11 -06:00
android-build-team Robot b914490463 Make change and version bump to SD2A.210610.002
Change-Id: Ib7646a59ccd02113c59284c40769a9e4b5235f7d
2021-06-10 08:43:27 +00:00
android-build-team Robot 51c289065d Make change and version bump to SD2A.210610.001
Change-Id: I5ea79da9ca925e2dc3e5c311765aae3cbcfa06aa
2021-06-10 01:26:46 +00:00
android-build-team Robot b71a6fa1bc Version bump to SD2A.210609.002 [core/build_id.mk]
Change-Id: Ic2869dc9bfdc66a78dcd96752432007a72faaaca
2021-06-09 17:11:39 +00:00
Jaegeuk Kim 6279b6c511 Merge "Missing required packages for f2fs when building ota package" into sc-dev 2021-06-09 16:50:29 +00:00
Jaegeuk Kim 01da65f93a Missing required packages for f2fs when building ota package
Bug: 171942852
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: Ib2ecc0cf88d71f358bd04e6c4ac129607fe4054c
Merged-In: Ib2ecc0cf88d71f358bd04e6c4ac129607fe4054c
2021-06-09 02:11:23 +00:00
android-build-team Robot 11d3e40c03 Make change and version bump to SD2A.210609.001
Change-Id: Ib411c51b74c81fdea9c6ccdf362e93ff73e7e5b1
2021-06-09 01:18:31 +00:00
android-build-team Robot 196d3599a9 Make change and version bump to SD2A.210608.001
Change-Id: I0505fe6f3168daed43020c6bec38c2a9e6e4ec0c
2021-06-08 01:18:32 +00:00
android-build-team Robot 26ae7a8c22 Version bump to SD2A.210607.002 [core/build_id.mk]
Change-Id: Ie82ba02bb0f80868251f946b1a325c9ba6b99105
2021-06-07 19:59:24 +00:00
TreeHugger Robot 1efb38582a Merge "RRO shouldn't depend on frameworks or system(_ext) app when TARGET_BUILD_UNBUNDLED" into sc-dev 2021-06-07 00:57:19 +00:00
android-build-team Robot 7fdfbcd411 Make change and version bump to SD2A.210607.001
Change-Id: I559acd0ef453cd1f438f250305827d4ce99949ff
2021-06-06 23:21:03 +00:00
android-build-team Robot 2bb3979306 Make change and version bump to SD2A.210606.001
Change-Id: I044c4950ec341f6a42d0f7876c2495c4bbaedd7d
2021-06-05 23:20:44 +00:00
android-build-team Robot ca0703cb8e Make change and version bump to SD2A.210605.001
Change-Id: Ib78ff07b06462e35b67f4ccbc8c9cdb256c50ce7
2021-06-05 01:18:18 +00:00
android-build-team Robot de63eb0c63 Version bump to SD2A.210604.002 [core/build_id.mk]
Change-Id: I73e1877a9afd2a084411acab1200f773156e4fb8
2021-06-04 21:29:26 +00:00
android-build-team Robot 9dc49e2a00 Make change and version bump to SD2A.210604.001
Change-Id: I65b12f5f4474b4247e629ab5ced43ba2f33124a2
2021-06-04 01:18:36 +00:00
Jeongik Cha 5b1d149586 RRO shouldn't depend on frameworks or system(_ext) app when TARGET_BUILD_UNBUNDLED
In the case of unbundled build, the module in vendor should use
system(_ext) module by prebuilt one. But RRO depends on system module
directly depending on some conditions(packages exporting resources)

In this change,
 1. Temporarily make LOCAL_RES_LIBRARIES empty(For now, auto generated
 RRO doesn't use overlaid package's resources), enable it when prebuilts
 are ready.
 2. According to (1), its SDK_VERSION can be current)

Bug: 187404676
Test: TARGET_BUILD_UNBUNDLED_IMAGE m vendorimage, and check if there is
no build error regarding RRO.

Change-Id: I94e3122372dd20c942b2c858070a6ca797312792
Merged-In: I94e3122372dd20c942b2c858070a6ca797312792
(cherry picked from commit f93c13d51bff2478d4bcf48c808bc78a5ce0b989)
2021-06-04 00:05:55 +00:00
android-build-team Robot a8aad862e2 Version bump to SD2A.210603.002 [core/build_id.mk]
Change-Id: Ie97db9b0e0edd9bf16367aec168a2dc940cccaa1
2021-06-03 17:35:13 +00:00
Yuntao Xu ee58bb67a5 add LOCAL_DISABLE_TEST_CONFIG logic
Disable the generation of .config file when the variable
LOCAL_DISABLE_TEST_CONFIG is true.

Bug: 188927912
Test: rum 'm module-name' (`android_test_helper_app` type module)
Test: TreeHugger
Change-Id: I64372b4ba84fcf1af937abdee345ceb1d3c2f6c5
Merged-In: I64372b4ba84fcf1af937abdee345ceb1d3c2f6c5
2021-06-03 10:22:53 -07:00
android-build-team Robot a1f5dee750 Make change and version bump to SD2A.210603.001
Change-Id: I490a7f8d462fa2046eaabab4fe3c6e85f00284a5
2021-06-03 01:20:17 +00:00
Tianjie Xu b195f48ce9 Merge "Check super size for factory OTA at build time" into sc-dev 2021-06-02 21:53:36 +00:00
Jeff Sharkey 83ecfb5073 Merge "platform/build/make - S is now 31" into sc-dev 2021-06-02 20:11:14 +00:00
android-build-team Robot 5f268be353 Version bump to SD2A.210602.003 [core/build_id.mk]
Change-Id: I156694de334a2b9be9df32efe3fcf1a38646c519
2021-06-02 18:53:48 +00:00
Jeff Sharkey fcc2b97e54 platform/build/make - S is now 31
Bug: 171506470
Test: Build
Change-Id: I1f3475479659855c0185236f88bc388a61844968
2021-06-02 10:19:19 -06:00
android-build-team Robot 1f67262dc9 Version bump to SD2A.210602.002 [core/build_id.mk]
Change-Id: Id63e1e5510d667de38758e9bb357604d92d154b5
2021-06-02 01:33:02 +00:00
android-build-team Robot d44ffd9cfc Make change and version bump to SD2A.210602.001
Change-Id: Ia623ba98c87c1a6d5754859d4b8be2be2c1753ed
2021-06-02 01:19:54 +00:00
Jaegeuk Kim bce364b9ce Merge changes from topic "f2fs-system" into sc-dev
* changes:
  Enable f2fs compression for other partitions
  Enable --readonly for system compression
2021-06-01 18:09:07 +00:00
android-build-team Robot 73d4090a12 Make change and version bump to SD2A.210601.001
Change-Id: I5e06745d9793778e586b4c4dd46474e246ae14d6
2021-06-01 01:18:23 +00:00
android-build-team Robot 759eeeeb51 Make change and version bump to SD2A.210531.001
Change-Id: I4253aadd796519858cb83d900b7f7b01668468e4
2021-05-30 23:19:07 +00:00
android-build-team Robot c3e15bf08d Make change and version bump to SD2A.210530.001
Change-Id: I6c5e896b7065bb3fd938f50fdb9aa12ae8497999
2021-05-29 23:19:03 +00:00
android-build-team Robot 571b1d3eec Make change and version bump to SD2A.210529.001
Change-Id: I98881b86a14e5b1ceb17540b7de7d2d2561ef709
2021-05-29 01:20:21 +00:00
android-build-team Robot 638666c5d5 Make change and version bump to SD2A.210528.001
Change-Id: Ife2dc304e170e1efdf687ace663e28b326a11e19
2021-05-28 01:19:31 +00:00
Bowgo Tsai 22fb8a4709 Merge "Support AVB signing for BOARD_PREBUILT_BOOTIMAGE" into sc-dev 2021-05-28 00:35:40 +00:00
android-build-team Robot 1dea90c0af Make change and version bump to SD2A.210527.002
Change-Id: Ibb566f70ca72d9f69ab47c4a692aedeadde4d77a
2021-05-27 11:39:20 +00:00
android-build-team Robot f91d9c12c5 Make change and version bump to SD2A.210527.001
Change-Id: Icf04f4b923932aa4f94037ed74da855c9826a59c
2021-05-27 01:18:55 +00:00
android-build-team Robot 90e8c41d28 Version bump to SD2A.210526.003 [core/build_id.mk]
Change-Id: I4ea804c22d05fba9bdee2aeb8459d22973bd8614
2021-05-27 00:27:27 +00:00
android-build-team Robot 0f6679bb81 Version bump to SD2A.210526.002 [core/build_id.mk]
Change-Id: I0a4da25168acd4b043b1f7b369d1a4da8155277d
2021-05-26 23:19:40 +00:00
Tianjie 16bcac122f Check super size for factory OTA at build time
For VAB launched device, factory OTA will write system_other
partition to the super image. So we want to check that
sum(dynamic partitions) + system_other + overhead <= super at
build time.

Since we don't know the overhead at build time, we might instead
check sum(all partitions) < super.

Bug: 185809374
Test: m check-all-partition-sizes, unittests
Change-Id: Ia7ba5999d23924a1927e9a9463856a4d0ea90c20
Merged-In: Ia7ba5999d23924a1927e9a9463856a4d0ea90c20
(cherry-picked from commit 294ec7d9e5298d91768e0f2e9abe4cc7de180fe1)

Change-Id: I479d1b399a1639b595ae5d7f1481c771a3439e51
2021-05-26 14:43:35 -07:00
Jaegeuk Kim 91869cafe6 Enable f2fs compression for other partitions
Bug: 171942852
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I231f7a2b808cc792fd582cd444825e4a47722984
2021-05-26 13:11:28 -07:00
TreeHugger Robot e9e08e9e91 Merge "[memtag] Disable memtag for AndroidMk host modules." into sc-dev 2021-05-26 17:27:49 +00:00
Mitch Phillips fe35441af5 [memtag] Disable memtag for AndroidMk host modules.
BUILD_HOST_EXECUTABLE modules are substantially deprecated, but some
partners are still using them for their bits with the workaround
provided in the product definition. This fixes a build error where
the host module doesn't have a linkable ELF note archive.

MTE is not intended for host modules, and it's fine for us to say
"host module using AndroidMk - no MTE for you" if this changes.

Bug: 189330992
Test: Manually tested using a BUILD_HOST_EXECUTABLE module.
Change-Id: Ifedff39f2f03c08bfb644221d2ab1b88e635c8a3
Merged-In: Ifedff39f2f03c08bfb644221d2ab1b88e635c8a3
2021-05-26 17:07:27 +00:00
android-build-team Robot 76fd9eb0b1 Make change and version bump to SD2A.210526.001
Change-Id: I8d0070bb7f14910806709554bca760a4afcb3bf1
2021-05-26 01:18:45 +00:00
Bowgo Tsai b23656df31 Support AVB signing for BOARD_PREBUILT_BOOTIMAGE
Devices using GKI architecture will use a prebuilt boot.img.
However, we should still sign this prebuilt boot.img with
device-specific AVB keys.

Steps to test the CL.
1. In a device BoardConfig.mk:

   # Uses a prebuilt boot.img
   TARGET_NO_KERNEL := true
   BOARD_PREBUILT_BOOTIMAGE := device/google/redbull/boot.img

   # Enable chained vbmeta for the boot image.
   # The following can be absent, where the hash descriptor of the
   # 'boot' partition will be stored then signed in vbmeta.img instead.
   BOARD_AVB_BOOT_KEY_PATH := external/avb/test/data/testkey_rsa4096.pem
   BOARD_AVB_BOOT_ALGORITHM := SHA256_RSA4096
   BOARD_AVB_BOOT_ROLLBACK_INDEX := $(PLATFORM_SECURITY_PATCH_TIMESTAMP)
   BOARD_AVB_BOOT_ROLLBACK_INDEX_LOCATION := 2

2. `make bootimage`, then `avbtool info_image --image $OUT/boot.img`,
    checks the image is re-signed with a device-specific key

3. `make dist` to generate out/dist/TF.zip

4. `unzip out/dist/TF.zip IMAGES/boot.img`

5. `avbtool info_image --image out/dist/IMAGES/boot.img`,
    checks the image is re-signed with a device-specific key

6. `sign_target_files_apks \
      --avb_boot_key=external/avb/test/data/testkey_rsa8192.pem \
      --avb_boot_algorithm=SHA256_RSA8192 \
      --avb_boot_extra_args="--prop test:sign" \
      ./out/dist/*-target_files-eng.*.zip signed.zip`, resign the TF.zip

7. `unzip signed.zip IMAGES/boot.img`, then use `avbtool info_image` to
   check the boot.img is re-signed with the --avb_boot_key in step 6.

Bug: 188485657
Test: above steps
Change-Id: I7ee8b3ffe6a86aaca34bbb7a8898a97b3f8bd801
Merged-In: I7ee8b3ffe6a86aaca34bbb7a8898a97b3f8bd801
(cherry picked from commit cf9ead8972dd2b7c90772b6a1fd26bd4311a7c74)
2021-05-26 09:11:00 +08:00
android-build-team Robot d684d9b85e Make change and version bump to SD2A.210525.001
Change-Id: Ia6612fd3e099bb6fc08899bea24ed8296b700057
2021-05-25 01:18:48 +00:00
Ulya Trafimovich da5c795604 Disable <uses-library> checks for more tests (to fix MTS builds).
Bug: 132357300
Bug: 188648210
Fixes: 188907662
Test: lunch aosp_cf_x86_64_phone-userdebug && m mts && m gts
Change-Id: Iae0ecac076b351b2da929bb455f00f03ece130bd
(cherry picked from commit d5e6a7c6200c0bafad3ea5d1f6c62f37420b86db)
2021-05-24 06:23:47 -07:00
android-build-team Robot 76af51130a Make change and version bump to SD2A.210524.001
Change-Id: I3ba98408a5f64af2dfa41851c8c08d0f3c3fe437
2021-05-23 23:18:22 +00:00
android-build-team Robot 25195538e1 Make change and version bump to SD2A.210523.001
Change-Id: I10962fd278a5f45c836e928ef61abe75d7a42323
2021-05-22 23:18:01 +00:00
android-build-team Robot 80b5ca15ac Make change and version bump to SD2A.210522.001
Change-Id: I555e50f7bdd810a1aee54f55a03d055d1397fcd5
2021-05-22 01:17:26 +00:00
android-build-team Robot f24561952b Version bump to SD2A.210521.002 [core/build_id.mk]
Change-Id: I86e8367792ffdd5ef407ac0eef7b0f01f33b29c8
2021-05-21 21:20:37 +00:00
android-build-team Robot f2038e6d3b Make change and version bump to SD2A.210521.001
Change-Id: I701770a3a5a08dc536ad7190b55ae5c629edfb6f
2021-05-21 01:20:23 +00:00
android-build-team Robot ae789ffed5 Make change and version bump to SD2A.210520.001
Change-Id: If36d219f6d0b621fff792ea05b64c30c25442f73
2021-05-20 01:18:08 +00:00
Paul Scovanner b8ae2c21e1 Update Security String to 2021-07-05 am: 64b00db8f4 am: e580c75611
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/14605426

Change-Id: Ie542698aef33599bf1e0d5315b58d2fcffada1d4
2021-05-19 22:42:09 +00:00
Paul Scovanner e580c75611 Update Security String to 2021-07-05 am: 64b00db8f4
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/14605426

Change-Id: I89b530d9df421db3da5e3da15a38036255cda4bb
2021-05-19 22:25:31 +00:00
android-build-team Robot 54f1768d1e Make change and version bump to SD2A.210519.001
Change-Id: Ic2b311eece0649c26143297a27899d2a77846206
2021-05-19 01:18:02 +00:00
Ulyana Trafimovich 235f1507e9 Merge "Revert^6 "Enforce <uses-library> check for Android.mk modules."" into sc-dev 2021-05-18 12:57:38 +00:00
Paul Scovanner 64b00db8f4 Update Security String to 2021-07-05
Bug: 188458861
Change-Id: Icdc728241b1bfe2428d1e6536a1a3b51f7a4a708
2021-05-17 21:54:30 +00:00
Ulyana Trafimovich d1d8c7133c Revert^6 "Enforce <uses-library> check for Android.mk modules."
This reverts commit 80e99d8851.

Reason for revert: relanding CL after fixing barbet-userdebug build.

Bug: 132357300
Change-Id: I4b8e22847215b349393f01f6c0a90dd03b6073cd
Test: on branch sc-dev: lunch barbet-userdebug && m
2021-05-17 09:36:52 +00:00
Bowgo Tsai b9af035ee7 BOARD_PREBUILT_BOOTIMAGE: removes the restriction of non system-as-root
Starting from Android 10, the system.img layout consists of
$TARGET_SYSTEM_OUT and $TARGET_ROOT_OUT, and is mounted by the
init as root. That is, system.img is always created as if
BOARD_BUILD_SYSTEM_ROOT_IMAGE was set.

  https://source.android.com/devices/bootloader/partitions/system-as-root

The previous concern is that there might be compatibility issues between
the ramdisk contained in boot.img with a newer system.img. But this is
no longer an issue after we always mount the system.img as root.

Bug: 187157581
Test: Tree Hugger
Change-Id: I4537e6ce6fb39b4b86caac82a13716abf515ffd6
Merged-In: I4537e6ce6fb39b4b86caac82a13716abf515ffd6
(cherry picked from commit 640544bd96946b5a512c59d42e3f3c24682697fe)
2021-05-17 14:51:16 +08:00
Ulyana Trafimovich 6eac4c2236 Merge "Revert^5 "Enforce <uses-library> check for Android.mk modules."" into sc-dev 2021-05-14 17:44:21 +00:00
Ulyana Trafimovich 80e99d8851 Revert^5 "Enforce <uses-library> check for Android.mk modules."
This reverts commit d6057adc0b.

Reason for revert: broken build git_master/barbet-userdebug @ 7362593

Change-Id: I5549aa949ccbead2c7fa3e933db50b6d74f5990e
2021-05-14 17:34:09 +00:00
Ulyana Trafimovich 67fac6584e Merge "Revert^4 "Enforce <uses-library> check for Android.mk modules."" into sc-dev 2021-05-14 16:28:55 +00:00
Ulyana Trafimovich d6057adc0b Revert^4 "Enforce <uses-library> check for Android.mk modules."
This reverts commit ad645285a6.

Reason for revert: relanding CL after fixing git_sc-car-dev builds and
  other build failures.

Bug: 132357300
Test: on branch sc-dev: lunch seahawk-userdebug && m
Test: on branch sc-dev: lunch osprey-userdebug && m
Test: on branch sc-dev: lunch factory_pipit-userdebug && m
Test: on sc-dev: lunch cf_x86_phone-userdebug && m droid dist tests
Test: forrest build partner-s-d1-fs-dev-slider/aosp_slider-userdebug:
  https://android-build.googleplex.com/builds/forrest/run/L22600000889121228
Change-Id: I74789903bd91d3bb45c69031fcbaf3556cb29408
2021-05-14 16:25:34 +00:00
Jaewoong Jung c3eb4ba8b1 Merge "Do not alter presigned prebuilt apks for SDK > 29." am: 3218d79aa7 am: ff4544ceb4 am: b8781f9670
Original change: https://android-review.googlesource.com/c/platform/build/+/1705710

Change-Id: I303106c1dd2da73789e08be3b6170b09066a74c9
2021-05-14 15:58:08 +00:00
Jaewoong Jung b8781f9670 Merge "Do not alter presigned prebuilt apks for SDK > 29." am: 3218d79aa7 am: ff4544ceb4
Original change: https://android-review.googlesource.com/c/platform/build/+/1705710

Change-Id: I2ee3b84f4edf4af08821c8feece944cc84c62fb1
2021-05-14 15:18:26 +00:00
Jaewoong Jung ff4544ceb4 Merge "Do not alter presigned prebuilt apks for SDK > 29." am: 3218d79aa7
Original change: https://android-review.googlesource.com/c/platform/build/+/1705710

Change-Id: Ibb6585eca9474b783762343f0ab9f9302a7becb0
2021-05-14 14:31:22 +00:00
Jaewoong Jung 3218d79aa7 Merge "Do not alter presigned prebuilt apks for SDK > 29." 2021-05-14 14:07:17 +00:00
Anthony Hugh b961222c08 Merge "Revert "Revert^2 "Enforce <uses-library> check for Android.mk modules.""" into sc-dev 2021-05-14 04:40:15 +00:00
Treehugger Robot c79de76e3e Merge "Don't make dexpreopt_tools.zip when dex2oat isn't avilable" am: bf5d6238fe am: e9b9f7f0f7 am: 9fda600aa3
Original change: https://android-review.googlesource.com/c/platform/build/+/1705507

Change-Id: If5d80fcf192bace7c400bec76e77d55e2ea92af9
2021-05-14 03:02:57 +00:00
Treehugger Robot 9fda600aa3 Merge "Don't make dexpreopt_tools.zip when dex2oat isn't avilable" am: bf5d6238fe am: e9b9f7f0f7
Original change: https://android-review.googlesource.com/c/platform/build/+/1705507

Change-Id: Id7de61da766da6e0a6ee39e3ee54d0ca902de25f
2021-05-14 02:39:04 +00:00
Treehugger Robot e9b9f7f0f7 Merge "Don't make dexpreopt_tools.zip when dex2oat isn't avilable" am: bf5d6238fe
Original change: https://android-review.googlesource.com/c/platform/build/+/1705507

Change-Id: I35bbe366e804b38aafb37a85f41bc71d0afb17ee
2021-05-14 01:53:24 +00:00
Anthony Hugh ad645285a6 Revert "Revert^2 "Enforce <uses-library> check for Android.mk modules.""
This reverts commit b6d1b48f9f.

Reason for revert: This change is breaking seahawk-userdebug

BUG: 188108611

Change-Id: I15b737e2778d437ecbef6ab9f43345da407f2205
2021-05-14 01:52:06 +00:00
Treehugger Robot bf5d6238fe Merge "Don't make dexpreopt_tools.zip when dex2oat isn't avilable" 2021-05-14 01:21:41 +00:00
Jaewoong Jung b34f64fc7a Do not alter presigned prebuilt apks for SDK > 29.
Bug: 185811447
Test: Manual
Change-Id: I5ea143331e1bd1885dde4e46b086f4ce811f4981
2021-05-13 16:16:19 -07:00
android-build-team Robot e081eef93d Make change and version bump to SD2A.210513.001
Change-Id: I9456b1508b0601017c845f0271693f3b626045fe
2021-05-13 21:24:51 +00:00
Ulyana Trafimovich aeb62e4cbd Merge "Revert^2 "Enforce <uses-library> check for Android.mk modules."" into sc-dev 2021-05-13 16:23:31 +00:00
Treehugger Robot ae6bdc0c74 Merge "Revert^2 "Enforce <uses-library> check for Android.mk modules."" 2021-05-13 12:31:44 +00:00
Ulyana Trafimovich b6d1b48f9f Revert^2 "Enforce <uses-library> check for Android.mk modules."
This reverts commit 4caef2b8c8.

Reason for revert: relanding original CL after fixing r11-userdebug.
Bug: 132357300
Test: forrest build for git_master/r11-userdebug

Change-Id: I62268f331c76f31a80b610754c53543b9b59a1c6
2021-05-13 11:59:52 +00:00
Ulyana Trafimovich 7ceafdaf34 Revert^2 "Enforce <uses-library> check for Android.mk modules."
This reverts commit a700ad4651.

Reason for revert: relanding original CL with correct Merged-In tag.

Use "Merged-In" tag from CL ag/14062434 to prevent merging in the
stage-aosp-master branch. That CL is unrelated to the current CL,
but related to <uses-library> checks in general.

Bug: 132357300
Change-Id: I10de5b56c51a0407bf027e0be5ac3b0b307cf100
Test: treehugger
Merged-In: I21712e5197b3cb06e82e476f4c2f7277142034e9
2021-05-13 09:52:38 +00:00
Jeongik Cha 62519def7b Don't make dexpreopt_tools.zip when dex2oat isn't avilable
Test: m
Bug: 158843648
Change-Id: Iae90ea60fc73f1a6202499528277fce7c950d9d3
2021-05-13 13:29:39 +09:00