platform_build_soong/android
Colin Cross 8a49795df1 Replace ctx.ExpandSources with android.PathsForModuleSrc
Move the logic from ctx.ExpandSources into android.PathsForModuleSrc
and ctx.ExpandSource into android.PathForModuleSrc, and deprecate
them.  When combined with the pathDepsMutator this will let all
properties that take source paths also take filegroups or genrule
outputs, as long as they are tagged with `android:"path"`.

Test: All soong tests
Change-Id: I01625e76b5da19240e9649bf26a014eeeafcab8f
2019-03-20 19:36:13 +00:00
..
androidmk.go Fix androidmk module ordering 2019-01-14 12:47:35 -08:00
apex.go Prepare for a type-safe OnceKey 2019-02-06 01:52:41 +00:00
api_levels.go Prepare for a type-safe OnceKey 2019-02-06 01:52:41 +00:00
arch.go Add stoney ridge x86 variant 2019-03-15 11:04:48 -06:00
arch_test.go Optimize filterArchStruct when nothing is filtered 2019-01-25 21:26:53 +00:00
config.go Remove ModuleSrcPath 2019-03-20 19:36:03 +00:00
config_test.go Fix go vet issues 2018-07-22 21:18:45 -07:00
defaults.go Update soong for blueprint change to allow multiple deps 2018-06-20 22:56:36 +00: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 Replace ctx.ExpandSources with android.PathsForModuleSrc 2019-03-20 19:36:13 +00:00
hooks.go Create sysprop_library soong module 2019-02-13 23:32:51 +00:00
makevars.go Allow Singletons to export Make variables 2019-02-19 12:45:14 -08:00
module.go Replace ctx.ExpandSources with android.PathsForModuleSrc 2019-03-20 19:36:13 +00:00
mutator.go Annotate paths and deprecate ExtractSource(s)Deps 2019-03-07 18:36:35 +00:00
namespace.go Remove empty DepsMutator methods 2019-02-01 17:17:58 -08:00
namespace_test.go Fix module rename inside namespace 2018-04-16 16:06:53 -07:00
neverallow.go Add neverallow rules for java_device_for_host 2019-03-07 15:23:21 +00:00
neverallow_test.go Add neverallow rules for java_device_for_host 2019-03-07 15:23:21 +00:00
onceper.go Fix a bug in OncePer.Get that could return a waiter 2019-02-19 11:19:09 -08:00
onceper_test.go Fix a bug in OncePer.Get that could return a waiter 2019-02-19 11:19:09 -08:00
package_ctx.go Allow '$' in some paths 2018-09-13 18:27:50 +00:00
path_properties.go Don't add dependencies on modules referenced in unused arch variants 2019-03-18 12:49:14 -07:00
path_properties_test.go Don't add dependencies on modules referenced in unused arch variants 2019-03-18 12:49:14 -07:00
paths.go Replace ctx.ExpandSources with android.PathsForModuleSrc 2019-03-20 19:36:13 +00:00
paths_test.go Replace ctx.ExpandSources with android.PathsForModuleSrc 2019-03-20 19:36:13 +00:00
prebuilt.go Replace ctx.ExpandSources with android.PathsForModuleSrc 2019-03-20 19:36:13 +00:00
prebuilt_etc.go Replace ctx.ExpandSources with android.PathsForModuleSrc 2019-03-20 19:36:13 +00:00
prebuilt_etc_test.go Add a host prebuilt module type for usr/share. 2019-02-26 09:18:35 -08:00
prebuilt_test.go Annotate paths and deprecate ExtractSource(s)Deps 2019-03-07 18:36:35 +00:00
proto.go Add proto.canonical_path_from_root 2018-02-22 16:48:35 -08:00
register.go Support testing Rules in Modules and Rules and Builds in Singletons 2019-03-05 03:17:26 +00:00
rule_builder.go Fix RuleBuilder.Restat 2019-03-05 03:17:33 +00:00
rule_builder_test.go Fix RuleBuilder.Restat 2019-03-05 03:17:33 +00:00
sh_binary.go Replace ctx.ExpandSources with android.PathsForModuleSrc 2019-03-20 19:36:13 +00:00
singleton.go Support testing Rules in Modules and Rules and Builds in Singletons 2019-03-05 03:17:26 +00:00
testing.go Add path properties mutator 2019-03-07 18:36:24 +00:00
util.go Support go 1.12 2019-03-19 23:47:22 +00:00
util_test.go Add CopyOf utility method 2019-02-19 11:19:09 -08:00
variable.go Add required: to debuggable 2019-03-01 15:14:52 -08:00
variable_test.go Support %s in product variable properties 2017-05-05 18:22:30 -07:00
vts_config.go Soong: update the synopsis of vts_config module. 2019-03-14 12:05:02 -07:00
vts_config_test.go Implement vts_config module 2019-02-19 16:58:43 -08:00
writedocs.go Split up Soong build doc. 2019-02-20 15:43:06 -08:00