platform_build_soong/cc
Colin Cross 0875c52de7 Wrap PackageContext and SingletonContext
Wrap blueprint.PackageContext so that the *Func methods can provide
an android.Config instead of an interface{}.  The modified signatures
means that every method in ModuleContext and SingletonContext
that takes a blueprint.PackageContext now needs to be wrapped to
take an android.PackageContext.

SingletonContext wasn't previously wrapped at all, but as long
as it is, wrap everything like ModuleContext does.  This requires
updating every Singleton to use the android-specific methods.

Test: builds, all Soong tests pass
Change-Id: I4f22085ebca7def6c5cde49e8210b59d994ba625
2017-11-29 05:04:30 +00:00
..
config Wrap PackageContext and SingletonContext 2017-11-29 05:04:30 +00:00
androidmk.go Wrap PackageContext and SingletonContext 2017-11-29 05:04:30 +00:00
binary.go Change bool, and string properties to *bool, and *string for cc 2017-11-07 15:57:16 -08:00
builder.go Copy abidiffs into /abidiffs on abi breakages. 2017-11-27 17:16:29 -08:00
cc.go Have Soong cc static linker dep order account for shared deps too 2017-11-27 17:14:06 -08: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 Wrap PackageContext and SingletonContext 2017-11-29 05:04:30 +00:00
compiler.go Add default -Wall -Werror or -Wall. 2017-11-20 18:28: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 Add default -Wall -Werror or -Wall. 2017-11-20 18:28:26 -08:00
ndk_headers.go Wrap PackageContext and SingletonContext 2017-11-29 05:04:30 +00:00
ndk_library.go Wrap PackageContext and SingletonContext 2017-11-29 05:04:30 +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 Add enable_profile_use property 2017-10-16 13:36:29 -07: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 Move ModuleContext.ModuleBuild to ModuleContext.Build 2017-10-24 10:59:00 -07:00
rs.go Change bool, and string properties to *bool, and *string for cc 2017-11-07 15:57:16 -08:00
sabi.go Convert Visit*Deps from blueprint.Module to android.Module 2017-10-24 13:01:03 -07:00
sanitize.go Reduce how often both mutated variants are needed. 2017-11-21 14:09:09 -08:00
stl.go Some clarifications in preparation to automatically order linker dependencies 2017-10-18 18:06:02 +00:00
strip.go Change bool, and string properties to *bool, and *string for cc 2017-11-07 15:57:16 -08: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 soong: add __clang_analyzer__ to clang-tidy 2017-05-04 01:19:02 +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 Change bool, and string properties to *bool, and *string for cc 2017-11-07 15:57:16 -08:00