platform_build_soong/multitree
Kiyoung Kim 76b06f3973 Implement API surface import with APEX stub
Implement APEX stub of API surface so any stub can be replaced with API
surface when APEX stub interface is required.

Unlike other stub interface, APEX stub can be decided if it should be
used after APEX postdeps mutator analyzes which modules should be
included in which APEX. To cover this, APEX stub is being added to the
dependency if the dependency should not be covered with LLNDK or NDK
stub, and APEX stub exists. From depsToPaths, if dependency to both
original module and API library exists, then it choose one of the
dependency and ignore the other.

To cover this logic, a new property is added to the api_surface :
apex_libs. This is introduced as it is difficult to
gather all api library with apex stub before DepsMutator.

Bug: 264963986
Test: cf_x86_64_phone_vendor build succeeded
Change-Id: I9f0b1f70968e32eba94d3e0d7bb1f4bb29ff2438
2023-02-27 12:57:30 +09:00
..
Android.bp Introduce cc_api_library 2022-08-10 10:12:18 +09:00
api_imports.go Implement API surface import with APEX stub 2023-02-27 12:57:30 +09:00
api_surface.go Prototype changes for multitree 2022-04-28 08:20:10 +00:00
export.go Prototype changes for multitree 2022-04-28 08:20:10 +00:00
import.go Prototype changes for multitree 2022-04-28 08:20:10 +00:00
metadata.go Prototype changes for multitree 2022-04-28 08:20:10 +00:00