Commit Graph

25714 Commits

Author SHA1 Message Date
satayev
b7f74b89db Merge "Revert "Add a check for apex/allowed_deps.txt to droidcore."" 2020-07-23 15:20:18 +00:00
satayev
c42d9bfc27 Revert "Add a check for apex/allowed_deps.txt to droidcore."
Revert "Track allowed transitive deps in any updatable module."

Revert submission 1312796-apex-allowed-deps

Reason for revert: b/161974327
Reverted Changes:
I52a4be72e:Add a check for apex/allowed_deps.txt to droidcore...
I56771ba3f:Track allowed transitive deps in any updatable mod...

Change-Id: I20ad7bf2001e76b5e3ca4aaf3baa5318e270f3dc
2020-07-23 15:15:54 +00:00
satayev
e45dd7e1b3 Merge "Add a check for apex/allowed_deps.txt to droidcore." am: 38b739a640 am: 696c85820b
Original change: https://android-review.googlesource.com/c/platform/build/+/1319763

Change-Id: I705efe1dba2aa49db51c16baa9f4194f34bbf94d
2020-07-23 13:12:07 +00:00
satayev
38b739a640 Merge "Add a check for apex/allowed_deps.txt to droidcore." 2020-07-23 12:41:11 +00:00
Artur Satayev
12e2d0f7a2 Add a check for apex/allowed_deps.txt to droidcore.
The check ensures that build graph for updatable modules contains only
allowed dependencies at build time.

Bug: 149622332
Test: m
Change-Id: I52a4be72efaa523d53827dd11822a7802543dd10
Merged-In: I5695dd1003386191dbbe0ea511ef5b615d0d5e4e
Exempt-From-Owner-Approval: cp
2020-07-23 12:40:49 +00:00
wangzhou
a9445f457d Combine HOST/TARGET in Test Suite NOTICE. am: e73186d2ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/12204291

Change-Id: I1b77612ceb91478c59dd66df3e258c2906d66eb4
2020-07-23 04:29:31 +00:00
android-build-team Robot
902fd1441c Make change and version bump to RQ1A.200723.001
Change-Id: Ibb6f20f73dd62b4734a3ad57eedfa51bd6c188df
2020-07-22 23:36:58 +00:00
android-build-team Robot
fd90e527aa Version bump to RP1A.200720.004 [core/build_id.mk]
Change-Id: I974cce7fbc867668d619361cbe2c046773fd6f36
2020-07-22 22:13:05 +00:00
wangzhou
e73186d2ac Combine HOST/TARGET in Test Suite NOTICE.
This improved NOTICE bundling now includes TARGET_OUT deps that Android
Test Suites packages need, especially those for .apk files.

Bug: b/141258651
Test: $ make cts && \
        unzip -p out/host/linux-x86/cts/android-cts.zip \
        android-cts/NOTICE.txt \
        | less -N
Change-Id: I4c84d194ff5982fc57b6a8097602d4a9df68d61c
2020-07-22 14:09:43 -07:00
android-build-team Robot
d156fc0f96 Make change and version bump to RP1A.200720.003
Change-Id: Icc2e1a91d6d4d5cd637c509a4e3784344f000962
2020-07-22 00:22:25 +00:00
android-build-team Robot
f8a77738eb Make change and version bump to RQ1A.200722.001
Change-Id: Ic774690381d7a07f798062f08bd9ef800bdca899
2020-07-21 23:16:24 +00:00
Bob Badour
74a6a0a32a Add support for combining the notices from 2 roots.
Apparently needed for cts tests due to apks putting intermediate files under
TARGET_OUT even when going to HOST_OUT.

Test: m with and without change verified no differences in notice files
Bug: 141258651

Change-Id: Iea50b6bd9af9452a2600c97e2f7cb89218b9be7f
(cherry picked from commit 5e9e1fbe83)
Merged-In: Iea50b6bd9af9452a2600c97e2f7cb89218b9be7f
2020-07-21 22:47:29 +00:00
Joe Wang
2d94413d06 Merge "Build NOTICE txt file into TestSuite zip package." into rvc-dev am: 5486ee7365
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/12189353

Change-Id: I06ece34c580731d78b185c1ce8e0001ef00e28a2
2020-07-21 18:11:07 +00:00
Bob Badour
8a84fd5ef3 Merge "Add support for combining the notices from 2 roots." am: 2f3b200397 am: 02d3b73221
Original change: https://android-review.googlesource.com/c/platform/build/+/1366416

Change-Id: Iead7b8c1fedc7cfbd060b19448221366e9ab76e1
2020-07-21 17:35:39 +00:00
Bob Badour
2f3b200397 Merge "Add support for combining the notices from 2 roots." 2020-07-21 16:56:12 +00:00
Yo Chiang
dd8ad2c501 Merge "Auto-generate dexpreopt boot image module" am: 8bb1285f65 am: 4239ebfed1
Original change: https://android-review.googlesource.com/c/platform/build/+/1353440

Change-Id: I85e958671594655c429f4c9f72b37efe855c508a
2020-07-21 04:13:08 +00:00
Yo Chiang
8bb1285f65 Merge "Auto-generate dexpreopt boot image module" 2020-07-21 03:37:23 +00:00
Jaegeuk Kim
8ba4bab89f support make_f2fs with casefolding
Bug: 159672232
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I4ac22a989010c747502d97e76faabf6cfdd9bf04
2020-07-20 17:52:41 -07:00
wangzhou
93d2fbbcad Build NOTICE txt file into TestSuite zip package.
- the NOTICE file is only taken from out/host.
- currently only enabled from cts by setting flag "test_suite_notice"

Test: $ make cts && unzip -l \
        out/host/linux-x86/cts/android-cts.zip \
        | grep NOTICE
      $ make pts && \ unzip -l \
        out/host/linux-x86/cts/android-cts.zip \
        | grep NOTICE
Bug: b/141258651
Change-Id: I696b424e5f2b09d28d53ccbd9198e1f4f301ec01
2020-07-20 23:41:23 +00:00
android-build-team Robot
c920547601 Make change and version bump to RQ1A.200721.001
Change-Id: I9042dd552f43a2564bd36f5facb05cd131300dbc
2020-07-20 23:16:52 +00:00
android-build-team Robot
259b9f1c0d Version bump to RP1A.200720.002 [core/build_id.mk]
Change-Id: Id092a987d968d4d0b2ed53820d791c2e9b27c6f6
2020-07-20 23:03:34 +00:00
Colin Cross
d3b364efaa Merge "Provide a robolectric isolated test template" am: a903a5ec19 am: 1e921c7389
Original change: https://android-review.googlesource.com/c/platform/build/+/1235429

Change-Id: I4ce0bf8b5b71848438280463e75ca32e8cee923f
2020-07-20 19:05:00 +00:00
Colin Cross
a903a5ec19 Merge "Provide a robolectric isolated test template" 2020-07-20 18:27:17 +00:00
Bob Badour
5e9e1fbe83 Add support for combining the notices from 2 roots.
Apparently needed for cts tests due to apks putting intermediate files under
TARGET_OUT even when going to HOST_OUT.

Test: m with and without change verified no differences in notice files

Change-Id: Iea50b6bd9af9452a2600c97e2f7cb89218b9be7f
2020-07-20 17:32:14 +00:00
Christopher Parsons
c146ebe642 Merge "Add optional relative path to LOCAL_TEST_DATA processing" am: 86eabf86e2 am: f8a316ad96
Original change: https://android-review.googlesource.com/c/platform/build/+/1365263

Change-Id: I7b85c029c07cb9ba11b634d9cd30cd7abbe6110f
2020-07-20 16:15:44 +00:00
Christopher Parsons
86eabf86e2 Merge "Add optional relative path to LOCAL_TEST_DATA processing" 2020-07-20 15:46:38 +00:00
Kiyoung Kim
7ae3ce79aa Deprecate VNDK-Lite
Android S would not support upgrade from O-MR1 devices, so VNDK Lite
configuration is no more valid. This change removes all VNDK-Lite
related steps and makr BOARD_VNDK_RUNTIME_DISABLE as deprecated
variable.

Bug: 158719241
Test: m -j passed
Change-Id: Ifb355da936933843862426e7ddfce9c7f69cea61
Merged-In: Ifb355da936933843862426e7ddfce9c7f69cea61
2020-07-20 05:39:29 +00:00
android-build-team Robot
e501e0a787 Make change and version bump to RP1A.200720.001
Change-Id: I31d5d9cb3f1f4c0216d2dfeed2181e13cbac309c
2020-07-19 23:16:16 +00:00
android-build-team Robot
d12248ef90 Make change and version bump to RQ1A.200720.001
Change-Id: Ie1d6bd34406fe5154b81053749ab15bcf8fae021
2020-07-19 21:15:32 +00:00
android-build-team Robot
3289a6a90c Make change and version bump to RP1A.200719.001
Change-Id: I7355346010a696dd64e10fe7584ad64e2283fc78
2020-07-18 23:16:23 +00:00
android-build-team Robot
301fc9e9b7 Make change and version bump to RQ1A.200719.001
Change-Id: Ife8f3f7bc604352cab62734d1add7f698a5d1a14
2020-07-18 21:15:12 +00:00
Dan Willemsen
3e1c9115d1 Move some prebuilt build tool configs to Soong
Now that they're defined with prebuilt_build_tool, we don't need to set
them here.

In future changes we can replace more of these definitions with
prebuilt_build_tool, as it can centralize the selection of
build-from-source or prebuilt for Make, Soong, and user-defined
genrules.

Test: treehugger
Change-Id: I4bb526492ebc6270b6030913c1f5b3f49dc61284
2020-07-17 20:01:04 -07:00
android-build-team Robot
32ae2df421 Make change and version bump to RP1A.200718.001
Change-Id: I1d96991c3df53091ad128bdfa15cfa2d609af324
2020-07-18 01:16:23 +00:00
android-build-team Robot
9dfe2b5f23 Make change and version bump to RQ1A.200718.001
Change-Id: I3a0d08c1194b01d0ca4b9457d88472c1ad65b86a
2020-07-17 23:17:09 +00:00
Yifan Hong
7c970b4b4c Merge changes from topic "odm_dlkm" am: 997d227648 am: a3145919f0
Original change: https://android-review.googlesource.com/c/platform/build/+/1363863

Change-Id: I3d653c3ba350ca9d4b44ee0e5aa5e2bf69bb0241
2020-07-17 22:52:29 +00:00
Yifan Hong
3406d5c372 Add odm_dlkm/etc/build.prop am: 81a092ff88 am: 05bcc74c3f
Original change: https://android-review.googlesource.com/c/platform/build/+/1363862

Change-Id: I8c8f44a099dc3a571b00c8edbc4f84252cfbcea3
2020-07-17 22:52:26 +00:00
Yifan Hong
895e8bb1e9 Install ODM dlkm to appropriate place and symlink am: 3d5e2c210a am: 1ce4a837be
Original change: https://android-review.googlesource.com/c/platform/build/+/1363861

Change-Id: Ie4d1560d2b04fc647c5a784df1d8abe9012f4ab2
2020-07-17 22:52:23 +00:00
Yifan Hong
2b60d6ddbf Add notice files for odm_dlkm am: c83f9e922b am: 2c3f849f65
Original change: https://android-review.googlesource.com/c/platform/build/+/1363860

Change-Id: I913270bc0b5582d7222e07991e1992a2d964920c
2020-07-17 22:52:19 +00:00
Yifan Hong
76a337f65e Add odm_dlkm partition. am: f496f1b94f am: 4f2ea25d5f
Original change: https://android-review.googlesource.com/c/platform/build/+/1363859

Change-Id: I4aaa3967e889923f0958afaa3227474176e36ea9
2020-07-17 22:52:14 +00:00
Yifan Hong
05bcc74c3f Add odm_dlkm/etc/build.prop am: 81a092ff88
Original change: https://android-review.googlesource.com/c/platform/build/+/1363862

Change-Id: I61d24340aa6549105b771f710634dc80e3e4d3ca
2020-07-17 22:27:24 +00:00
Yifan Hong
1ce4a837be Install ODM dlkm to appropriate place and symlink am: 3d5e2c210a
Original change: https://android-review.googlesource.com/c/platform/build/+/1363861

Change-Id: Ibfad2e508fba2dbfa4bf6da0bd3e7392178cf59d
2020-07-17 22:27:21 +00:00
Yifan Hong
2c3f849f65 Add notice files for odm_dlkm am: c83f9e922b
Original change: https://android-review.googlesource.com/c/platform/build/+/1363860

Change-Id: I2e28658d235829c55e80edc93c3a4ec8ca0b9434
2020-07-17 22:27:18 +00:00
Yifan Hong
4f2ea25d5f Add odm_dlkm partition. am: f496f1b94f
Original change: https://android-review.googlesource.com/c/platform/build/+/1363859

Change-Id: I8c7af808f72de5611cb52f34c0138bc97ceb6254
2020-07-17 22:27:15 +00:00
Dan Albert
f9f035de19 Use the soong-built NDK CRT objects.
Test: treehugger
Bug: http://b/159925977
Change-Id: I9f0109ccd6c5ccd8c4ff0eaf6b34e5004db86161
2020-07-17 15:23:57 -07:00
Colin Cross
89cf3cf572 Merge "Install symbols for JNI libraries" into rvc-dev 2020-07-17 22:16:01 +00:00
Yifan Hong
997d227648 Merge changes from topic "odm_dlkm"
* changes:
  Create $OUT/{vendor,odm}/lib before symlink modules
  Add odm_dlkm/etc/build.prop
  Install ODM dlkm to appropriate place and symlink
  Add notice files for odm_dlkm
  Add odm_dlkm partition.
2020-07-17 22:05:26 +00:00
Chris Parsons
1abe7ef455 Add optional relative path to LOCAL_TEST_DATA processing
Test: Verified in conjunction with changes to soong (aosp/1359742)
Test: Treehugger to verify backwards compatibility
Change-Id: I39d2669ff74b4387606b6416e8afefc1f6507348
2020-07-17 17:09:21 -04:00
Colin Cross
8d2183f461 Install symbols for JNI libraries
When building an app in Soong with JNI libraries copy the unstripped
libraries to the symbols directory in directory that matches the
installed path of the APK.

Bug: 159726429
Test: forrest
Change-Id: If8e423c7cdf3afd518761b5ab6bc857321acda46
Merged-In: If8e423c7cdf3afd518761b5ab6bc857321acda46
(cherry picked from commit e926cab372)
2020-07-17 19:10:46 +00:00
Treehugger Robot
902286139d Merge "Adding vbmeta_system.img and vbmeta_vendor.img to droidcore" am: 9aa278a124 am: f80a0ad1a9
Original change: https://android-review.googlesource.com/c/platform/build/+/1364522

Change-Id: I47de417538cda11749dcf07e85c259a4f32104b3
2020-07-17 10:41:15 +00:00
Treehugger Robot
9aa278a124 Merge "Adding vbmeta_system.img and vbmeta_vendor.img to droidcore" 2020-07-17 10:07:05 +00:00