Add some more properties to the bp2build APEX converter.
In particular: - AndroidManifest - file_contexts - key - certificate - min_sdk_version - updatable - installable - native_shared_libs - binaries Test: Updated unit test Change-Id: I9ea13f021d63ec0f75006b3b0b23ec8178c7e9da
This commit is contained in:
@@ -147,6 +147,10 @@ func BazelLabelForModuleSrcSingle(ctx BazelConversionPathContext, path string) b
|
||||
return BazelLabelForModuleSrcExcludes(ctx, []string{path}, []string(nil)).Includes[0]
|
||||
}
|
||||
|
||||
func BazelLabelForModuleDepSingle(ctx BazelConversionPathContext, path string) bazel.Label {
|
||||
return BazelLabelForModuleDepsExcludes(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