Annotate paths and deprecate ExtractSource(s)Deps
Add `android:"path"` to all properties that take paths to source files, and remove the calls to ExtractSource(s)Deps, the pathsDepsMutator will add the necessary SourceDepTag dependency. Test: All soong tests Change-Id: I488ba1a5d680aaa50b04fc38acf693e23c6d4d6d
This commit is contained in:
@@ -459,9 +459,6 @@ func (a *AndroidTest) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
||||
}
|
||||
|
||||
func (a *AndroidTest) DepsMutator(ctx android.BottomUpMutatorContext) {
|
||||
android.ExtractSourceDeps(ctx, a.testProperties.Test_config)
|
||||
android.ExtractSourceDeps(ctx, a.testProperties.Test_config_template)
|
||||
android.ExtractSourcesDeps(ctx, a.testProperties.Data)
|
||||
a.AndroidApp.DepsMutator(ctx)
|
||||
if a.appTestProperties.Instrumentation_for != nil {
|
||||
// The android_app dependency listed in instrumentation_for needs to be added to the classpath for javac,
|
||||
|
Reference in New Issue
Block a user