diff options
author | Jiyong Park | 2018-10-02 10:38:19 -0500 |
---|---|---|
committer | Jiyong Park | 2018-10-10 21:19:07 -0500 |
commit | 9d45299ba450cf36575dcdeeb9b76b8ca2d3099d (patch) | |
tree | f8e74749644247aaa60d12797b8c2e13c72a0ddb /Android.bp | |
parent | 2c188bea78419b387da0b3f1fdaa9434e434c7c7 (diff) | |
download | platform-build-soong-9d45299ba450cf36575dcdeeb9b76b8ca2d3099d.tar.gz platform-build-soong-9d45299ba450cf36575dcdeeb9b76b8ca2d3099d.tar.xz platform-build-soong-9d45299ba450cf36575dcdeeb9b76b8ca2d3099d.zip |
Add ApexModule interface for APEX-aware modules
ApexModule is the interface for APEX-aware modules. The module type apex
uses the interface to get APEX-specific information from other modules,
such as the list of APEXs that a module should be built for.
A module that is included in an APEX will be built specificaly for the
APEX. This is especially required for shared libraries; we shouldn't
just copy the artifacts built for platform, because they may be linking
against private (=unstable) symbols that are not available to APEXs
which are basically unbundled.
This CL, as a first step, makes cc.Module an APEX-aware module type.
Bug: 112672359
Test: m apex.test; the built apex has all the direct and transitive
shared lib dependencies of the libs and executables listed in Android.bp
Change-Id: I21f6a586654779984f0f5154b2a08b2adbf2168b
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -40,6 +40,7 @@ bootstrap_go_package { | |||
40 | ], | 40 | ], |
41 | srcs: [ | 41 | srcs: [ |
42 | "android/androidmk.go", | 42 | "android/androidmk.go", |
43 | "android/apex.go", | ||
43 | "android/api_levels.go", | 44 | "android/api_levels.go", |
44 | "android/arch.go", | 45 | "android/arch.go", |
45 | "android/config.go", | 46 | "android/config.go", |