Merge changes from topic "code_metadata" into main am: 4c3e2df157
am: d798f5c879
am: 519452c5ad
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2852607 Change-Id: I43080cae5ee6eea4c71d309e6778552543950f89 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -93,7 +93,6 @@ bootstrap_go_package {
|
||||
"singleton.go",
|
||||
"singleton_module.go",
|
||||
"soong_config_modules.go",
|
||||
"source_file_provider.go",
|
||||
"test_asserts.go",
|
||||
"test_suites.go",
|
||||
"testing.go",
|
||||
|
@@ -290,6 +290,7 @@ func (fg *fileGroup) GenerateAndroidBuildActions(ctx ModuleContext) {
|
||||
if fg.properties.Path != nil {
|
||||
fg.srcs = PathsWithModuleSrcSubDir(ctx, fg.srcs, String(fg.properties.Path))
|
||||
}
|
||||
ctx.SetProvider(blueprint.SrcsFileProviderKey, blueprint.SrcsFileProviderData{SrcPaths: fg.srcs.Strings()})
|
||||
}
|
||||
|
||||
func (fg *fileGroup) Srcs() Paths {
|
||||
|
@@ -1,11 +0,0 @@
|
||||
package android
|
||||
|
||||
import (
|
||||
"github.com/google/blueprint"
|
||||
)
|
||||
|
||||
type SrcsFileProviderData struct {
|
||||
SrcPaths Paths
|
||||
}
|
||||
|
||||
var SrcsFileProviderKey = blueprint.NewProvider(SrcsFileProviderData{})
|
Reference in New Issue
Block a user