OSDN Git Service

Add :sphal, :vndksp for apex configuration
authorJooyung Han <jooyung@google.com>
Tue, 28 Jul 2020 01:26:41 +0000 (10:26 +0900)
committerJooyung Han <jooyung@google.com>
Wed, 29 Jul 2020 05:58:41 +0000 (14:58 +0900)
commite70d72dda438ab1629e6df42cda917a8b69cbb01
treef7c12f05abbca18e85f8a3987231c6b40493e9b6
parent466bcee6046bb51b465e7982befdec3b5232f16b
Add :sphal, :vndksp for apex configuration

This removes hard-coded special-casing of com.android.media.swcodec
APEX.

swcodec APEX declares "requireNativeLibs" with ":sphal" so that
linkerconfig can add "sphal" and "vndk" namespaces for it. Note that
a link from sphal to vndk with shared_libs(VNDK-SP) is derived by
":vndksp" from "sphal" namespace.

Bug: n/a
Test: ./rundiff.sh
   => no significant changes
Test: build & device boots
Change-Id: Ib2c78cde05b745d6b1e2b06b88e40446c0ddd4f0
contents/namespace/sphal.cc
contents/section/apexdefault.cc
modules/include/linkerconfig/link.h
modules/namespace.cc
modules/tests/namespace_test.cc
testdata/golden_output/product-enabled/com.android.media.swcodec/ld.config.txt
testdata/golden_output/stage2/com.android.media.swcodec/ld.config.txt
testdata/root/system/apex/com.android.media.swcodec/apex_manifest.json