resource_strip_prefix support for kotlin srcs am: 4d56abf937
am: 9ba68b0ba3
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2470480 Change-Id: Iec7cf154c3e48a5bd5a23528045fbaee97d66166 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -2838,7 +2838,7 @@ func javaLibraryBp2Build(ctx android.TopDownMutatorContext, m *Library) {
|
|||||||
|
|
||||||
props = bazel.BazelTargetModuleProperties{
|
props = bazel.BazelTargetModuleProperties{
|
||||||
Rule_class: "kt_jvm_library",
|
Rule_class: "kt_jvm_library",
|
||||||
Bzl_load_location: "@rules_kotlin//kotlin:jvm_library.bzl",
|
Bzl_load_location: "//build/bazel/rules/kotlin:kt_jvm_library.bzl",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2933,7 +2933,7 @@ func javaBinaryHostBp2Build(ctx android.TopDownMutatorContext, m *Binary) {
|
|||||||
ktName := m.Name() + "_kt"
|
ktName := m.Name() + "_kt"
|
||||||
ktProps := bazel.BazelTargetModuleProperties{
|
ktProps := bazel.BazelTargetModuleProperties{
|
||||||
Rule_class: "kt_jvm_library",
|
Rule_class: "kt_jvm_library",
|
||||||
Bzl_load_location: "@rules_kotlin//kotlin:jvm_library.bzl",
|
Bzl_load_location: "//build/bazel/rules/kotlin:kt_jvm_library.bzl",
|
||||||
}
|
}
|
||||||
ktAttrs := &javaLibraryAttributes{
|
ktAttrs := &javaLibraryAttributes{
|
||||||
Deps: deps,
|
Deps: deps,
|
||||||
|
Reference in New Issue
Block a user