diff options
| author | 2020-03-20 04:29:24 +0900 | |
|---|---|---|
| committer | 2020-04-02 03:34:30 +0000 | |
| commit | 7556839772c7796ff4466ee5dd1168884d1240e7 (patch) | |
| tree | 6f8fd129c6add04597510cae380b219cb4663693 /rust/coverage.go | |
| parent | 4ac530d4c7b73b01549cf17d0bb81fdf2fb2b1b1 (diff) | |
Enforce apex.min_sdk_version for bundled builds
Previously, when Q-targeting apexes are bundled-built, they are built
against the latest stubs.
It was because unwinder is linked dynamically in R and APIs are provided
by libc while Q apexes should run on Q where libc doesn't provide those
APIs. To make Q apexes run on Q device, libc++ should be linked with
static unwinder. But, because libc++ with static unwinder may cause problem
on HWASAN build, Q apexes were built against the latest stubs for bundled
build.
However, Q apexes should be built against Q stubs.
Now, only for HWASAN builds, Q apexes are built against the latest stubs
(and native modules are not linked with static unwinder).
Bug: 151912436
Test: TARGET_SANITIZE=hwaddress m
=> Q apexes(media, resolv, ..) are linked with the latest stubs
m
=> Q apexes are linked with Q stubs,
and Q apexes' libc++ is linked with static unwinder
Merged-In: If32f1b547e6d93e3955c7521eec8aef5851f908c
Change-Id: If32f1b547e6d93e3955c7521eec8aef5851f908c
(cherry picked from commit 7406660685a9a085c433ba7081cc6984f66fa732)
Exempt-From-Owner-Approval: cp from internal
Change-Id: If32f1b547e6d93e3955c7521eec8aef5851f908c
Diffstat (limited to 'rust/coverage.go')
0 files changed, 0 insertions, 0 deletions