platform_build_soong/android
Logan Chien 43d34c38d8 Introduce runtime_libs to cc_binary and cc_library
This commit adds `runtime_libs` to cc_binary and cc_library.

Similar to the `required` property, if a module specifies the
`runtime_libs` properties and it is installed, then the modules
specified in `runtime_libs` will be installed as well.

Differnt from the `required` property, if a module is using VNDK and the
module names specified in `runtime_libs` are resolved to the modules
with both core and vendor variants, then '.vendor' will be appended to
those module names.

For example, if `libb` is vendor_available and `libd` is a vendor lib,
then LOCAL_REQUIRED_MODULES will contain `libb.vendor` (instead of
`libb`).

Bug: 72343507
Test: lunch aosp_arm64_ab-userdebug && make  # this runs the unit tests
Test: Create a vendor module with runtime_libs property to a
vendor_available shared library and check the generated Android.mk.

Change-Id: I9e245d80004dab597a5d3db5acd8a09117118db7
2018-04-25 14:47:50 +08:00
..
androidmk.go Introduce runtime_libs to cc_binary and cc_library 2018-04-25 14:47:50 +08:00
api_levels.go Make *Context.Config return a Config instead of a interface{} 2017-11-30 00:44:11 +00:00
arch.go Consistently use Bool instead of proptools.Bool 2018-04-10 22:50:34 -07:00
config.go Fix aapt2 --min-sdk-version after finalized SDK 2018-04-18 12:39:25 -07:00
config_test.go Add VendorConfig for board-level Soong plugin configuration 2018-04-11 01:45:37 +00:00
defaults.go Convert Visit*Deps from blueprint.Module to android.Module 2017-10-24 13:01:03 -07:00
defs.go Make binaries executable 2017-08-31 13:48:52 -07:00
env.go Make *Context.Config return a Config instead of a interface{} 2017-11-30 00:44:11 +00:00
expand.go genrule: expand $$ to $$ 2016-11-22 15:41:08 -08:00
expand_test.go genrule: expand $$ to $$ 2016-11-22 15:41:08 -08:00
filegroup.go Fix few issues with filegroups 2018-04-18 18:56:33 +00:00
hooks.go Replace ModuleContext.AConfig() with Config() 2017-11-30 00:44:18 +00:00
makevars.go Make Config.ProductVariables private 2018-04-11 01:45:29 +00:00
module.go Adding java_sdk_library 2018-04-19 08:57:30 +09:00
mutator.go Move namespace mutator earlier to support defaults 2018-01-26 20:21:18 -08:00
namespace.go Fix module rename inside namespace 2018-04-16 21:38:15 +00:00
namespace_test.go Fix module rename inside namespace 2018-04-16 21:38:15 +00:00
neverallow.go Allow VNDK extensions under vendor or device 2018-03-15 11:02:38 +08:00
neverallow_test.go Allow VNDK extensions under vendor or device 2018-03-15 11:02:38 +08:00
onceper.go Add OncePer.Get() 2017-11-07 13:36:44 -08:00
package_ctx.go Switch PackageContext functions to take a ctx 2018-03-12 15:48:26 -07:00
paths.go Reverse RRO dir paths when passing to Make 2018-04-17 10:53:54 -07:00
paths_test.go Reverse RRO dir paths when passing to Make 2018-04-17 10:53:54 -07:00
prebuilt.go Fix few issues with filegroups 2018-04-18 18:56:33 +00:00
prebuilt_etc.go Adding java_sdk_library 2018-04-19 08:57:30 +09:00
prebuilt_test.go Fix few issues with filegroups 2018-04-18 18:56:33 +00:00
proto.go Add proto.canonical_path_from_root 2018-02-22 16:48:35 -08:00
register.go Convert a missed Singleton 2017-11-30 00:42:49 +00:00
singleton.go Make SingletonContext.Rule take a blueprint.RuleParams 2017-12-12 11:12:32 -08:00
testing.go Add unit tests for android/neverallow.go 2018-03-15 11:02:38 +08:00
util.go RemoveFromList() should remove all matches 2018-03-09 13:41:56 +08:00
util_test.go RemoveFromList() should remove all matches 2018-03-09 13:41:56 +08:00
variable.go Fix aapt2 --min-sdk-version after finalized SDK 2018-04-18 12:39:25 -07:00
variable_test.go Support %s in product variable properties 2017-05-05 18:22:30 -07:00
writedocs.go Allow Soong to generate its own build documentation 2017-12-12 11:12:32 -08:00