platform_build_soong/apex
Jooyung Han 7556839772 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 7406660685)

Exempt-From-Owner-Approval: cp from internal
Change-Id: If32f1b547e6d93e3955c7521eec8aef5851f908c
2020-04-02 03:34:30 +00:00
..
androidmk.go Add code coverage support to android_app JNI libs. 2020-03-27 01:39:54 +00:00
apex.go Merge "Allow walkPayloadDeps visitor to control walk flow" 2020-04-01 17:54:04 +00:00
apex_test.go Enforce apex.min_sdk_version for bundled builds 2020-04-02 03:34:30 +00:00
builder.go Allow walkPayloadDeps visitor to control walk flow 2020-04-01 09:30:31 +01:00
key.go Include partition tag in apexkeys.txt. 2020-03-30 22:33:50 +00:00
OWNERS Expand Jiyong's apex OWNERship 2019-01-31 18:57:00 +00:00
prebuilt.go Add compat symlinks for prebuilt_apex 2020-01-08 01:57:58 +09:00
TEST_MAPPING Add TEST_MAPPING for build/soong/apex 2019-08-07 17:33:24 +09:00
vndk.go Add compat symlinks for prebuilt_apex 2020-01-08 01:57:58 +09:00
vndk_test.go Make apex use cc.GatherRequiredDepsForTests 2020-02-19 19:07:11 -08:00