Depending on a blueprint_go_binary from a Soong module requires hacks that allow Soong to support both blueprint.Module and android.Module. Wrap the blueprint Go module types with ones that implement android.Module, and delete all the related hacks. Bug: 319288033 Test: m checkbuild Flag: EXEMPT refactor Change-Id: I9b62b450de09bd10288333fbc66aa71c867ae0b3
23 lines
423 B
Plaintext
23 lines
423 B
Plaintext
package {
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
bootstrap_go_package {
|
|
name: "soong-golang",
|
|
pkgPath: "android/soong/golang",
|
|
deps: [
|
|
"blueprint",
|
|
"blueprint-pathtools",
|
|
"blueprint-bootstrap",
|
|
"soong",
|
|
"soong-android",
|
|
],
|
|
srcs: [
|
|
"golang.go",
|
|
],
|
|
testSrcs: [
|
|
"golang_test.go",
|
|
],
|
|
pluginFor: ["soong_build"],
|
|
}
|