Commit Graph

58043 Commits

Author SHA1 Message Date
Inseob Kim
c465e20400 Implement vendor snapshot
Vendor snapshot can be captured with "m dist vendor-snapshot". With
vendor snapshot and vndk snapshot, older version of /vendor and newer
version of /system will be able to be built together by setting
BOARD_VNDK_VERSION to past vendor's version.

Only vendor modules under AOSP are to be captured. In detail, modules
under following directories are ignored:
- cts/
- device/
- external/clang/
- external/llvm/
- hardware/, except for:
    - interfaces/, libhardware/, libhardware_legacy/, ril/
- vendor/

Bug: 65377115
Test: m dist vendor-snapshot
Change-Id: Ib5859e409f8ab281ca137cae21e9ea08abd8a0b1
2020-01-23 21:51:08 +09:00
Jiyong Park
d918cadcc0 libprotobuf-cpp-lite is removed from VNDK.
It is demoted to vendor_available library. Therefore it will be
installed to /vendor/lib[64] instead of /system/lib[64]/vndk.

Bug: 147780271
Test: m
Merged-In: I40a94a3ecf55592b8e2f83f43070fa958c532cef
Change-Id: I40a94a3ecf55592b8e2f83f43070fa958c532cef
(cherry picked from commit 87889b0d4d)
2020-01-23 13:11:09 +09:00
Jack Yu
d33e74f9e5 Merge "Add android.hardware.secure_element@1.2"
am: 4b26ce076a

Change-Id: Ia20f33520e6b5af467caf4a5f318269afcc42c0c
2020-01-22 19:21:48 -08:00
Treehugger Robot
4b26ce076a Merge "Add android.hardware.secure_element@1.2" 2020-01-23 02:00:02 +00:00
Hunter Knepshield
0096fece8b Update VNDK library list for IDumpstateDevice 1.1.
Bug: 143183758
Bug: 143184495
Test: make
Change-Id: I5a89afc0be91c1874ae38b6e00f8239c2cec71ab
Merged-In: I5a89afc0be91c1874ae38b6e00f8239c2cec71ab
(cherry picked from commit c6cd7f43d1)
2020-01-22 17:44:25 -08:00
Yifan Hong
f243891f3f Merge "Do not check VINTF if no files"
am: 84c1309730

Change-Id: I10c47483413fc62f57671a5a2a81bea11258d0c2
2020-01-22 14:59:08 -08:00
Yifan Hong
84c1309730 Merge "Do not check VINTF if no files" 2020-01-22 22:51:04 +00:00
Oliver Nguyen
d4692b03ea Merge "Add CLANG_COVERAGE build flag to soong config."
am: 125f7dc84d

Change-Id: I00230a947695715157425999cd2f90173d6e3098
2020-01-22 14:41:31 -08:00
Oliver Nguyen
125f7dc84d Merge "Add CLANG_COVERAGE build flag to soong config." 2020-01-22 22:34:35 +00:00
Jeongik Cha
a7f1ee1ac8 Merge "Turn on PRODUCT_ENFORCE_PRODUCT_PARTITION_INTERFACE if PRODUCT_SHIPPING_API_LEVEL > 29"
am: 02b1498d5a

Change-Id: Idd23b218bc9c6203865f642d78dfa4c3bafdbdc6
2020-01-21 16:45:00 -08:00
Treehugger Robot
02b1498d5a Merge "Turn on PRODUCT_ENFORCE_PRODUCT_PARTITION_INTERFACE if PRODUCT_SHIPPING_API_LEVEL > 29" 2020-01-22 00:36:40 +00:00
Justin Yun
24102883f3 Merge "Restore "Linktype check for native:product""
am: 839eb98241

Change-Id: I9a48eb53227819ecd6d0a29f561f189130991e48
2020-01-21 16:24:56 -08:00
Treehugger Robot
839eb98241 Merge "Restore "Linktype check for native:product"" 2020-01-22 00:16:50 +00:00
Justin Yun
2bfe0a1a25 Restore "Linktype check for native:product"
Similar to native:vendor, native:product can use VNDK libs but not
vndk_private.
It is activated when PRODUCT_PRODUCT_VNDK_VERSION is set.

This restores the reverted commit
4e7e76fe5a (aosp/1197274).
The problem of the original CL was assuming no modules have both
LOCAL_PRODUCT_MODULE and LOCAL_USE_VNDK in the old implementations.
But many vendor modules in the targets without setting
PRODUCT_PRODUCT_VNDK_VERSION in old branches had both flags that
caused link failures.
To make it no-op without PRODUCT_PRODUCT_VNDK_VERSION, I defined
LOCAL_USE_VNDK_PRODUCT that is set to true if
PRODUCT_PRODUCT_VNDK_VERSION is defined and LOCAL_PRODUCT_MODULE is
true.

Bug: 146620523
Test: build with PRODUCT_PRODUCT_VNDK_VERSION := current
Change-Id: I344c7dc1c47f08706c101e486ff07c3f10aff8ac
2020-01-22 00:16:25 +00:00
Yifan Hong
031ba1bd6b Merge "Remove BUILT_VENDOR_MANIFEST variable."
am: 4de0c0906d

Change-Id: I8fc4de1e1291c54e892cd8afbd4a8ca3a943661e
2020-01-21 14:17:47 -08:00
Peter Collingbourne
99c9c3bb81 Merge "Update make build system for dynamic unwinder."
am: b1d7545e1b

Change-Id: I140b18fe5c4d498f773ab0c60c473a66c87b0b11
2020-01-21 14:10:22 -08:00
Yifan Hong
4de0c0906d Merge "Remove BUILT_VENDOR_MANIFEST variable." 2020-01-21 21:33:18 +00:00
Peter Collingbourne
b1d7545e1b Merge "Update make build system for dynamic unwinder." 2020-01-21 21:28:44 +00:00
Yifan Hong
af9b0701e3 Do not check VINTF if no files
Do not check VINTF integrity / compatibility if
no files are built to /system/etc/vintf/* or /vendor/etc/vintf/*.

Test: m check-vintf-all on gsi_gms_arm64
Test: m check-vintf-all on coral

Fixes: 147749718
Fixes: 148007775

Change-Id: I874d1558e0b891b9d307eec536b1071d382a43f5
2020-01-21 13:21:52 -08:00
SzuWei Lin
283dc8ced5 Add Legacy GSI R
Legacy GSIs named with the suffix _ab, ex. aosp_arm64_ab.
It contain some backward-compatible configurations for
devices upgraded from O/O-MR1.

The patch also addes legacy_gsi_release.mk for the special
configuretions of Legacy GSI.

Bug: 144742991
Test: boot aosp_arm64_ab-userdebug on a walleye P (with SPL)
Test: boot aosp_arm64_ab-userdebug on a walleye Q (with SPL)
Change-Id: I61c9e74abcc921ab2cb50bf6f6dce1097a8d6c77
2020-01-20 17:49:45 +08:00
Justin Yun
b94f1cdabd Merge "Revert "Linktype check for native:product""
am: d7466880dc

Change-Id: If472ddb76883fc1c5217117dfa23e575bfec6b94
2020-01-19 23:48:40 -08:00
Justin Yun
d7466880dc Merge "Revert "Linktype check for native:product"" 2020-01-20 07:42:33 +00:00
Justin Yun
dd5401713c Revert "Linktype check for native:product"
This reverts commit 4e7e76fe5a.

Reason for revert: build breaks (bid: 6147225) and postsubmit test fails.
There are some modules that have both "product_specific: true" and "vendor_available: true", which tags the module as "native:product" unintentionally.
We need to clean up these cases first and revisit this CL.

Bug: 146620523
Bug: 147987741
Change-Id: Ib07543235d72a135b6b732aaa909c147d2df832b
2020-01-20 07:39:41 +00:00
Jiyong Park
930eb7458d Merge "libprotobuf-cpp-full is removed from VNDK."
am: 3cff56942a

Change-Id: Ib9dabfdd95b996c53d1dfc6bc64bf410c9ac0357
2020-01-19 23:37:09 -08:00
Treehugger Robot
3cff56942a Merge "libprotobuf-cpp-full is removed from VNDK." 2020-01-20 07:32:36 +00:00
Justin Yun
f39eb0fadb Merge "Linktype check for native:product"
am: 2e7a67bde7

Change-Id: I53e993ada82e7daec20fe74a0a624536a8848966
2020-01-19 17:28:42 -08:00
Treehugger Robot
2e7a67bde7 Merge "Linktype check for native:product" 2020-01-20 01:23:00 +00:00
Justin Yun
4e7e76fe5a Linktype check for native:product
Similar to native:vendor, native:product can use VNDK libs but not
vndk_private.
It is activated when PRODUCT_PRODUCT_VNDK_VERSION is set.

Bug: 146620523
Test: build with PRODUCT_PRODUCT_VNDK_VERSION := current
Change-Id: Icfd94dfc30e77581991799d9e2f408f57da22cea
2020-01-19 23:46:47 +00:00
Vic Yang
f659596d8d Merge "Don't check VNDK variants when asan is used"
am: 7c42c3f55e

Change-Id: Ia43fd791c5c486adff06d888a67f5925d8b4e6c8
2020-01-17 20:52:41 -08:00
Vic Yang
7c42c3f55e Merge "Don't check VNDK variants when asan is used" 2020-01-18 04:45:49 +00:00
Vic Yang
90c3aca9bf Don't check VNDK variants when asan is used
Bug: 147911208
Test: Build with SANITIZE_TARGET=address
Change-Id: I161da92d2ed5c59ccf404cf93e04734cc85c2df9
2020-01-17 15:30:44 -08:00
Vic Yang
5465af32d2 Merge "Always check VNDK variant identicalness"
am: 5023711e9d

Change-Id: I24e041f3b64d6ee9f1c64c78a7995cf96e3a16bb
2020-01-17 12:29:39 -08:00
Yifan Hong
05c7ecaa00 Merge changes from topic "build_time_vintf"
am: 0188eb5d25

Change-Id: I0145144d40b539ee85f27a6fa1fadd230596b40a
2020-01-17 12:28:52 -08:00
Tobias Thierer
664375d166 Merge "Track addition of internal classes derived from OpenJDK 9+181."
am: 48b67473c6

Change-Id: I5b25f744a04e12bba0e6c28e8489d210a53a5b2d
2020-01-17 12:23:41 -08:00
Treehugger Robot
5023711e9d Merge "Always check VNDK variant identicalness" 2020-01-17 18:45:41 +00:00
Yifan Hong
0188eb5d25 Merge changes from topic "build_time_vintf"
* changes:
  Reland "Improve BUILT_ASSEMBLED_*_MANIFEST checks"
  Reland "Add check-vintf-all target."
2020-01-17 18:37:37 +00:00
Treehugger Robot
48b67473c6 Merge "Track addition of internal classes derived from OpenJDK 9+181." 2020-01-17 16:41:48 +00:00
Tobias Thierer
c6cb1c3815 Track addition of internal classes derived from OpenJDK 9+181.
Bug: 147483640
Test: Treehugger

Change-Id: Ib934f0fe4e2aeadcc83bbae3c2efaf45a38081d4
2020-01-17 14:40:22 +00:00
Automerger Merge Worker
a9eb75db71 Merge "Allow codename.fingerprint format for minSdkVersion" am: 345dad3c36
Change-Id: I10e17129aa1b98296139a757d7936282958cb9f2
2020-01-17 07:55:18 +00:00
Treehugger Robot
345dad3c36 Merge "Allow codename.fingerprint format for minSdkVersion" 2020-01-17 07:43:31 +00:00
Automerger Merge Worker
dfb5e28588 Merge "Compare existing ABI dump list with LSDUMP_PATHS" am: 4367e6cc51
Change-Id: I3765bce4715449a9b7fc99e06275340c04ae0058
2020-01-17 03:23:04 +00:00
Hsin-Yi Chen
4367e6cc51 Merge "Compare existing ABI dump list with LSDUMP_PATHS" 2020-01-17 02:09:39 +00:00
Dan Willemsen
a9d2208cb1 Merge "Add strict module check to package-modules.mk"
am: 951ae30d56

Change-Id: I05619d5bcf0eede440a591a75ad5c9ac21a07467
2020-01-16 16:07:49 -08:00
Treehugger Robot
951ae30d56 Merge "Add strict module check to package-modules.mk" 2020-01-17 00:03:07 +00:00
Wei Wang
91e8905596 Merge "Add stable aidl power HAL"
am: add214cdee

Change-Id: I3d5351c0ef408b87f0a14d2cb989e40d97e5e2d5
2020-01-16 14:40:00 -08:00
Wei Wang
add214cdee Merge "Add stable aidl power HAL" 2020-01-16 22:35:42 +00:00
TreeHugger Robot
2f0743483b Merge "DO NOT MERGE - Merge qt-qpr1-dev-plus-aosp-without-vendor (6129114) into stage-aosp-master" into stage-aosp-master 2020-01-16 18:29:25 +00:00
Baligh Uddin
7ce531de8e Allow codename.fingerprint format for minSdkVersion
Use codename.fingerprint format for minSdkVersion if it is unset
in the manifest and
UNBUNDLED_BUILD_TARGET_SDK_WITH_API_FINGERPRINT=true.

BUG: 130541924
2020-01-16 10:04:55 -08:00
Jiyong Park
8da1b9add3 libprotobuf-cpp-full is removed from VNDK.
It is demoted to vendor_avaialble library. Therefore it will be
installed to /vendor/lib[64] instead of /system/lib[64]/vndk.

Bug: 147780271
Test: m
Change-Id: I9db6147d6e6005177660e56e3ee42475c103d198
2020-01-17 00:55:52 +09:00
Dan Willemsen
09c11073ac Add strict module check to package-modules.mk
The test lists keep getting out of date. Add a per-caller option so that
once they're clean on all builds we can stop them from regressing.

Test: add my_modules_strict := {true,false,,foo} to user
Change-Id: I3e09a8cbe5a07bbbff042b26cea7041c331dde96
2020-01-15 20:54:13 -08:00