platform_build_soong/cc
Justin Yun 7154928c93 Install VNDK snapshot libraries for system build
When BOARD_VNDK_VERSION := <VNDK version>, or
PRODUCT_EXTRA_VNDK_VERSIONS includes the needed <VNDK version> list,
the prebuilt VNDK libs in prebuilts/vndk/ directory will be
installed.

Each prebuilt VNDK module uses "vndk_prebuilt_shared" for shared
VNDK/VNDK-SP libs.

Following is the sample configuration of a vndk snapshot module:
vndk_prebuilt_shared {
    name: "libfoo",
    version: "27",
    vendor_available: true,
    vndk: {
        enabled: true,
    },
    arch: {
        arm64: {
            srcs: ["arm/lib64/libfoo.so"],
        },
        arm: {
            srcs: ["arm/lib/libfoo.so"],
        },
    },
}

The Android.bp for the snapshot modules will be auto-generated by a
script.

Bug: 38304393
Bug: 65377115
Bug: 68123344
Test: set BOARD_VNDK_VERSION := 27
      copy a snapshot for v27
      build with make command

Change-Id: Ib93107530dbabb4a24583f4d6e4f0c513c9adfec
2017-12-05 10:19:43 +09:00
..
config Add base variables for windows clang 2017-11-30 15:42:53 -08:00
androidmk.go Install VNDK snapshot libraries for system build 2017-12-05 10:19:43 +09:00
binary.go Replace ModuleContext.AConfig() with Config() 2017-11-30 00:44:18 +00:00
builder.go Copy abidiffs into /abidiffs on abi breakages. 2017-11-27 17:16:29 -08:00
cc.go Install VNDK snapshot libraries for system build 2017-12-05 10:19:43 +09:00
cc_test.go Have Soong cc static linker dep order account for shared deps too 2017-11-27 17:14:06 -08:00
check.go Allow macro definition with space 2017-10-19 22:39:32 +09:00
cmakelists.go Make *Context.Config return a Config instead of a interface{} 2017-11-30 00:44:11 +00:00
compiler.go No need to dump modules added -Werror. 2017-12-04 15:30:26 -08:00
coverage.go Convert Visit*Deps from blueprint.Module to android.Module 2017-10-24 13:01:03 -07:00
gen.go Move ModuleContext.ModuleBuild to ModuleContext.Build 2017-10-24 10:59:00 -07:00
gen_stub_libs.py Add support for weak symbols in the NDK stubs. 2017-07-28 11:00:22 -07:00
gen_test.go Fix using aidl files from filegroups 2017-11-17 11:22:08 -08:00
genrule.go Add cc_genrule 2017-09-18 23:33:25 -07:00
installer.go Change bool, and string properties to *bool, and *string for cc 2017-11-07 15:57:16 -08:00
kernel_headers.go Fix kernel_headers module registration 2017-07-10 12:30:35 -07:00
library.go Wrap PackageContext and SingletonContext 2017-11-29 05:04:30 +00:00
library_test.go Add cc_library tests 2017-11-17 11:22:04 -08:00
linker.go Remove no_default_compiler_flags property 2017-11-03 22:28:57 -07:00
llndk_library.go Fix using aidl files from filegroups 2017-11-17 11:22:08 -08:00
lto.go Convert Visit*Deps from blueprint.Module to android.Module 2017-10-24 13:01:03 -07:00
makevars.go No need to dump modules added -Werror. 2017-12-04 15:30:26 -08:00
ndk_headers.go Wrap PackageContext and SingletonContext 2017-11-29 05:04:30 +00:00
ndk_library.go Replace ModuleContext.AConfig() with Config() 2017-11-30 00:44:18 +00:00
ndk_prebuilt.go Refactor factories 2017-06-30 21:08:36 +00:00
ndk_sysroot.go Wrap PackageContext and SingletonContext 2017-11-29 05:04:30 +00:00
object.go Change bool, and string properties to *bool, and *string for cc 2017-11-07 15:57:16 -08:00
pgo.go Replace ModuleContext.AConfig() with Config() 2017-11-30 00:44:18 +00:00
prebuilt.go Move ModuleContext.ModuleBuild to ModuleContext.Build 2017-10-24 10:59:00 -07:00
proto.go Change bool, and string properties to *bool, and *string for cc 2017-11-07 15:57:16 -08:00
pylintrc Don't warn for TODOish comments. 2016-08-01 14:36:22 -07:00
relocation_packer.go Replace ModuleContext.AConfig() with Config() 2017-11-30 00:44:18 +00:00
rs.go Add system_$(VER) 2017-12-01 00:41:59 +00:00
sabi.go Convert Visit*Deps from blueprint.Module to android.Module 2017-10-24 13:01:03 -07:00
sanitize.go Replace ModuleContext.AConfig() with Config() 2017-11-30 00:44:18 +00:00
stl.go Some clarifications in preparation to automatically order linker dependencies 2017-10-18 18:06:02 +00:00
strip.go Replace ModuleContext.AConfig() with Config() 2017-11-30 00:44:18 +00:00
test.go Change bool, and string properties to *bool, and *string for cc 2017-11-07 15:57:16 -08:00
test_data_test.go Let tests override environment 2017-10-10 23:28:43 -07:00
test_gen_stub_libs.py Add support for weak symbols in the NDK stubs. 2017-07-28 11:00:22 -07:00
tidy.go Replace ModuleContext.AConfig() with Config() 2017-11-30 00:44:18 +00:00
toolchain_library.go Change bool, and string properties to *bool, and *string for cc 2017-11-07 15:57:16 -08:00
util.go List of VNDK-related libs are exported to make 2017-08-10 14:15:39 +09:00
vndk.go Install VNDK snapshot libraries for system build 2017-12-05 10:19:43 +09:00
vndk_prebuilt.go Install VNDK snapshot libraries for system build 2017-12-05 10:19:43 +09:00