Merge "Handle the version_script property." am: dac1db044b
am: 8e9c7d9212
am: 30b77b329e
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1690878 Change-Id: Ie1f640f7e1be2f99bdd9b1a7ae9aa6c472e16559
This commit is contained in:
@@ -100,6 +100,10 @@ func BazelLabelForModuleDeps(ctx BazelConversionPathContext, modules []string) b
|
||||
return labels
|
||||
}
|
||||
|
||||
func BazelLabelForModuleSrcSingle(ctx BazelConversionPathContext, path string) bazel.Label {
|
||||
return BazelLabelForModuleSrcExcludes(ctx, []string{path}, []string(nil)).Includes[0]
|
||||
}
|
||||
|
||||
// BazelLabelForModuleSrc expects a list of path (relative to local module directory) and module
|
||||
// references (":<module>") and returns a bazel.LabelList{} containing the resolved references in
|
||||
// paths, relative to the local module, or Bazel-labels (absolute if in a different package or
|
||||
|
Reference in New Issue
Block a user