Commit Graph

25714 Commits

Author SHA1 Message Date
android-build-team Robot
df7acd18c1 Make change and version bump to RQ1A.200830.001
Change-Id: Iaab3b8f27ad9615ea3ea540ca8e4a49335df2e0c
2020-08-29 21:15:49 +00:00
Xin Li
c2fd58fe67 Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)
Bug: 166295507
Merged-In: Ie00dbea32e074838466eeed00f316250c2b4f3c2
Change-Id: I9ee3441fd4d063b9dd489cb1b01d3dbc11332457
2020-08-29 01:19:44 -07:00
android-build-team Robot
b13bb9e89c Make change and version bump to RQ1A.200829.001
Change-Id: I026144ef33a88568b4d0a45338345312626fe5c6
2020-08-28 23:19:47 +00:00
Colin Cross
b0f3a4d04c Delay platform availability error for ALLOW_MISSING_DEPENDENCIES=true
The platform availability check was erroring incorrectly for the
libstatssocket module in master-art-host builds.  Nothing being
built depended on libstatssocket, but the check would still
error because libstatspull_test was defined in the branch but
unused in the build.

When ALLOW_MISSING_DEPENDENCIES=true is set and a module fails
the check add an additional dependency on a rule that prints
the error message.  This will show the error and fail the build
if an unavailable module is requested to be installed, while
allowing the build to proceed if there are no unavailable
modules in the dependency graph.

Fixes: 154888298
Test: m build-art-host TARGET_BUILD_UNBUNDLED=true ALLOW_MISSING_DEPENDENCIES=true libstatspull_test -k
Test: m build-art-host TARGET_BUILD_UNBUNDLED=true ALLOW_MISSING_DEPENDENCIES=true
Change-Id: I1d57afe60a75d65128e59f794243a0414cbc82f6
2020-08-28 13:32:20 -07:00
Treehugger Robot
0855f31d2e Merge "Introduce BOARD_CURRENT_API_LEVEL_FOR_VENDOR_MODULES" am: 947cb0fd87 am: 589439eadf
Original change: https://android-review.googlesource.com/c/platform/build/+/1404655

Change-Id: Idb5959bdcdaba51e84a8da7f23e32c33d0c7070f
2020-08-28 04:59:26 +00:00
Ram Muthiah
fc453ed5a0 Merge "Revert "Revert "Add prebuilt bootloader var and add bootloader t..."" am: 2ad69ab090 am: fe24aafffe
Original change: https://android-review.googlesource.com/c/platform/build/+/1412074

Change-Id: I8bca48049df321a87d3312b2d925293618c5cb35
2020-08-28 04:59:17 +00:00
Treehugger Robot
947cb0fd87 Merge "Introduce BOARD_CURRENT_API_LEVEL_FOR_VENDOR_MODULES" 2020-08-28 04:26:49 +00:00
Ram Muthiah
2ad69ab090 Merge "Revert "Revert "Add prebuilt bootloader var and add bootloader t..."" 2020-08-28 04:04:24 +00:00
Treehugger Robot
cc208c63b4 Merge "Fix HOST_CROSS_OUT" am: bcb644ee3f am: 696a64b2ab
Original change: https://android-review.googlesource.com/c/platform/build/+/1409827

Change-Id: I596c91f652e72b0b2b2bda5e0c9eb2f3491e1702
2020-08-28 00:13:25 +00:00
Jaewoong Jung
fb91011ba2 Merge "Deduplicate my_compat_dist entries globally." am: 3a4307d237 am: 1d5f659946
Original change: https://android-review.googlesource.com/c/platform/build/+/1413709

Change-Id: If99a733134a2cc9b1180306a143245df7f465dcd
2020-08-27 23:52:27 +00:00
Treehugger Robot
bcb644ee3f Merge "Fix HOST_CROSS_OUT" 2020-08-27 23:50:55 +00:00
android-build-team Robot
b504d3e5bb Make change and version bump to RQ1A.200828.001
Change-Id: I89d673891d6f6132a0cb1801931b2a74a0831291
2020-08-27 23:16:13 +00:00
Colin Cross
bd3821451a Use rules to create partition compatibility symlinks
Creating the symlinks between partitions (e.g /system/vendor to /vendor)
inside the packaging rules requires duplicating the creation in the
system.img rule as well as in the the target-files.zip rule, which can
cause the target-files.zip rule to fail in soong_zip when the symlink
is removed and recreated by the system.img rule.

Now that our Ninja fork supports symlinks in the build graph, move
the symlink creating to their own rules and add them to the list
of files that the image creation and packaging rules depend on.

Fixes: 161280160
Test: m nothing
Test: treehugger
Change-Id: I0f4d16b57b3052efb12a1f086506f1298c22ec84
2020-08-27 15:06:23 -07:00
Ram Muthiah
0c4a352409 Revert "Revert "Add prebuilt bootloader var and add bootloader t..."
Revert submission 1411608-revert-1402265-cf-x86-bootloader-XGKLNEQAPF

Reason for revert: Breakage originally caused by change was fixed. Refer to tracking bug for details.
Reverted Changes:
I89e95d4a6:Revert "Add prebuilt bootloader var and add bootlo...
I8fe199351:Revert "Added bootloader binary to cf x86 based ta...

Bug: 166380489
Bug: 164917252
Test: local build and Treehugger build
Change-Id: Ia895aedd77f2ec825aefecaf74c6dfc1ce631c93
2020-08-27 13:18:24 -07:00
Jaewoong Jung
046702a6ef Deduplicate my_compat_dist entries globally.
Fixes: 164319611
Test: m TARGET_PRODUCT=aosp_x86_64 mts dist
Change-Id: Ie47e355ded0ce0221988a405fc77546a4a752c38
2020-08-27 13:10:40 -07:00
android-build-team Robot
42cb96b2d5 Make change and version bump to RQ1A.200827.001
Change-Id: I4677c11117651fdeeedb5c97cd4c560e16559b8a
2020-08-26 23:16:18 +00:00
Ankit Goyal
1811209e66 Merge "Revert "Add prebuilt bootloader var and add bootloader to img zip"" am: 3c94b2710a am: 5b26b37ab1
Original change: https://android-review.googlesource.com/c/platform/build/+/1411607

Change-Id: Ic7a5682ed5f49dfe5f27e44e2db7796f49cbc203
2020-08-26 07:24:47 +00:00
Ankit Goyal
3c94b2710a Merge "Revert "Add prebuilt bootloader var and add bootloader to img zip"" 2020-08-26 06:54:34 +00:00
Ankit Goyal
6805873751 Revert "Add prebuilt bootloader var and add bootloader to img zip"
Revert submission 1402265-cf-x86-bootloader

Reason for revert: Droidcop-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?branch=git_master&target=adt3-userdebug&lkgb=6791187&lkbb=6791249&fkbb=6791216, bug 166380489
Reverted Changes:
Id67b7bddd:Add prebuilt bootloader var and add bootloader to ...
Id713eaf20:Added bootloader binary to cf x86 based targets

Change-Id: I89e95d4a6a0534c8217785be9b90632fa110bc41
2020-08-26 06:40:59 +00:00
Ram Muthiah
cdb993b2d4 Merge "Add prebuilt bootloader var and add bootloader to img zip" am: 861f05fb83 am: fd32381b72
Original change: https://android-review.googlesource.com/c/platform/build/+/1406247

Change-Id: Iaa6f1480377de84a42d1cdf5e41cc64982d26718
2020-08-26 04:06:21 +00:00
Ram Muthiah
861f05fb83 Merge "Add prebuilt bootloader var and add bootloader to img zip" 2020-08-26 02:59:22 +00:00
android-build-team Robot
25a7d8975f Make change and version bump to RQ1A.200826.001
Change-Id: Ia55c0bb38bd0dc02733cfacc6593f30081f30816
2020-08-25 23:16:42 +00:00
Ram Muthiah
41a03d3aee Add prebuilt bootloader var and add bootloader to img zip
Needed to enable a prebuilt bootloader to make it to the dist and img
directories.

Added a flag to ensure only devices that request will have the update
package populated with a bootloader

Bug: 164917252
Test: local build and Treehugger build
Change-Id: Id67b7bddda14b51a523f794976591c6de04d71ca
2020-08-25 22:12:27 +00:00
Ramy Medhat
8f8d1126aa Set RBE_DIR default value to point to prebuilts in tree.
The new default points to prebuilts/remoteexecution-client/live.

Also sets the default exec strategy of Javac/R8/D8 to remote local
fallback.

Test: simple one action build
Bug: b/166273085
Change-Id: I3392a0f7ac6de818d0c5ba2e113fcb035c6fa0ae
Merged-In: I3392a0f7ac6de818d0c5ba2e113fcb035c6fa0ae
2020-08-25 16:31:40 +00:00
Jiyong Park
eccc461d00 Fix HOST_CROSS_OUT
Previously, HOST_CROSS_OUT was defined with the assumption that
windows_x86 is the only supported OS/Arch. In preparatio for Linux/ARM
support, HOST_CROSS_OUT is now defined using HOST_CROSS_OS and
HOST_CROSS_ARCH.

Bug: 159685774
Test: m

Change-Id: I0831c2885db37c44af4fd47bab8481bc885b4b7e
2020-08-25 11:01:11 +09:00
android-build-team Robot
1ce5d32dd9 Make change and version bump to RQ1A.200825.001
Change-Id: I53b0b3a391bab06fca6325546376a8d595c1c2bf
2020-08-24 23:16:29 +00:00
android-build-team Robot
41baedd211 Version bump to RP1A.201005.005 [core/build_id.mk]
Change-Id: I8493094fd6de2110bcf78c61db2d74f361e9cd03
2020-08-24 21:17:34 +00:00
Jeongik Cha
0d1d98157a Introduce BOARD_CURRENT_API_LEVEL_FOR_VENDOR_MODULES
If BOARD_CURRENT_API_LEVEL_FOR_VENDOR_MODULES has a numeric value,
it replaces "current" or "system_current" with the version which
the flag indicates.

Bug: 163009188
Test: BOARD_CURRENT_API_LEVEL_FOR_VENDOR_MODULES=29 m, and then check if every vendor
java module's sdk_version is 29 if its sdk_version was current.

Change-Id: I8c7cf21563b984b8e9ef398192031b1f66d96494
2020-08-24 23:16:19 +09:00
android-build-team Robot
b5d6f9e831 Make change and version bump to RQ1A.200824.001
Change-Id: Ibb7d14d42abb2fb4a1b5e8abdfae7844e0383575
2020-08-23 21:16:03 +00:00
android-build-team Robot
7814ff3af3 Make change and version bump to RQ1A.200823.001
Change-Id: I8644296be11978088cb13fe77707c49c1e452c62
2020-08-22 21:16:17 +00:00
Treehugger Robot
efb94aa8eb Merge "Remove name appendix of .TEST_CONFIG" am: a8c96bfffe am: dae288e41a
Original change: https://android-review.googlesource.com/c/platform/build/+/1406416

Change-Id: Ia0276806d9fbe3124d2e5002b6e79d8bf66d1ac6
2020-08-22 10:05:09 +00:00
Dan Shi
cb49d9986b Remove name appendix of .TEST_CONFIG
aosp/1401989 has a bug to add .TEST_CONFIG after the config file path.
It should be removed.

Bug: 163344047
Test: build and check module-info.json
Change-Id: I5c60250ce26204acf98b79084c5c2839b2adcb56
2020-08-21 17:15:14 -07:00
android-build-team Robot
5c4da3eaf3 Make change and version bump to RQ1A.200822.001
Change-Id: I6976be6b4d23dbadb8c952650e742fe46bd74bf5
2020-08-21 23:16:43 +00:00
android-build-team Robot
aa462ee010 Version bump to RP1A.201005.004 [core/build_id.mk]
Change-Id: I3eb7863f2e30910df11b91665df339ff8d684f2b
2020-08-21 19:07:11 +00:00
android-build-team Robot
9a6afb121f Version bump to RP1A.201005.003 [core/build_id.mk]
Change-Id: I22d4e7b149c3188a117bc3ba1184afa3041efc35
2020-08-21 18:45:38 +00:00
Treehugger Robot
759d98d55f Merge "Add extra_test_configs option support in mk" am: 67c930a320 am: e783a473e9
Original change: https://android-review.googlesource.com/c/platform/build/+/1401989

Change-Id: I5bd82edf598a4665e9ab93bec7d9a1798a91a685
2020-08-21 17:26:05 +00:00
Treehugger Robot
67c930a320 Merge "Add extra_test_configs option support in mk" 2020-08-21 16:22:42 +00:00
Treehugger Robot
3285c5ae14 Merge "Merged and dist lists of unused methods from R8" am: 09a0958457 am: a1275d0d37
Original change: https://android-review.googlesource.com/c/platform/build/+/1401832

Change-Id: I3556843e4c2a48abcacfa91caa6795747cba3e22
2020-08-21 00:49:14 +00:00
Treehugger Robot
09a0958457 Merge "Merged and dist lists of unused methods from R8" 2020-08-21 00:28:24 +00:00
android-build-team Robot
db1b186a5b Make change and version bump to RQ1A.200821.001
Change-Id: Idfadf77f697f3180a2e855883a23d389e29a4983
2020-08-20 23:16:33 +00:00
Treehugger Robot
b0875556a7 Merge changes I03bb00b0,I1cf9a0ef,I1c1b7d25 am: 68ec133934 am: a92044b46e
Original change: https://android-review.googlesource.com/c/platform/build/+/1394339

Change-Id: I4c54966cb63eeb0c4c7e84addafb5ab356b86fe3
2020-08-20 22:55:41 +00:00
Treehugger Robot
68ec133934 Merge changes I03bb00b0,I1cf9a0ef,I1c1b7d25
* changes:
  add support to non-A/B for multiple kernels, boot images
  add BOARD_GKI_NONAB_COMPAT for non-A/B compatability with GKI
  fix recoveryimage-nodeps
2020-08-20 22:21:45 +00:00
Dan Shi
0c9a525b98 Add extra_test_configs option support in mk
Bug: 163344047
Test: m -j HelloWorldHostTest hello_world_test HelloWorldTests
Change-Id: Ie63c2a80e01984ac9941d0bad4ad7948e0bb8ac0
2020-08-19 21:22:50 -07:00
android-build-team Robot
d91042b953 Make change and version bump to RQ1A.200820.001
Change-Id: I844f76c862ae1e2d6635aa9bf2fa4e3ee21df3a2
2020-08-19 23:21:11 +00:00
android-build-team Robot
8b316d4870 Version bump to RP1A.201005.002 [core/build_id.mk]
Change-Id: I6ad01ccb62f30d41bd08a7096f985bc9aac1c814
2020-08-19 02:22:05 +00:00
android-build-team Robot
ceddac3068 Make change and version bump to RQ1A.200819.001
Change-Id: Ia59070f9fa3cf4b69cbf592a9ac9a86eae3bc1ff
2020-08-18 23:17:13 +00:00
Treehugger Robot
2a982e5b0d Merge "Bypass missing required module check on ASAN SANITIZE_TARGET build" am: 15c2fbfc18 am: 81dddafd1e
Original change: https://android-review.googlesource.com/c/platform/build/+/1398272

Change-Id: Id5de7d1e96942cc24d2556bfb90b35ac818720b1
2020-08-18 08:18:44 +00:00
Treehugger Robot
15c2fbfc18 Merge "Bypass missing required module check on ASAN SANITIZE_TARGET build" 2020-08-18 07:41:01 +00:00
android-build-team Robot
03dfcd7e99 Make change and version bump to RQ1A.200818.001
Change-Id: I864bad9c8080d01819fae5df6923890a1829951e
2020-08-17 23:16:53 +00:00
Colin Cross
a9b9e6e5ff Merged and dist lists of unused methods from R8
Merge all the proguard_usage.zip files produced by the R8 rules and
dist the result.

Bug: 151857441
Test: m TARGET_BUILD_APPS=DocumentsUI dist
Change-Id: I7e6d73241478016093a203dc7bd86407ab86a4ac
2020-08-17 19:31:22 +00:00