Split java_binary modules into common and binary variants
Add a common_first multilib type and use it for java.Binary so that the java part is compiled as a "common" arch type but the wrapper script is installed as a "linux_glibc" arch type. This allows java_binary to be used as a tool dependency for a genrule. Bug: 68397812 Test: TestJavaBinary Change-Id: I809060839ce8878300da3fb76426ceb1ea6b0e8e
This commit is contained in:
@@ -248,10 +248,11 @@ type hostAndDeviceProperties struct {
|
||||
type Multilib string
|
||||
|
||||
const (
|
||||
MultilibBoth Multilib = "both"
|
||||
MultilibFirst Multilib = "first"
|
||||
MultilibCommon Multilib = "common"
|
||||
MultilibDefault Multilib = ""
|
||||
MultilibBoth Multilib = "both"
|
||||
MultilibFirst Multilib = "first"
|
||||
MultilibCommon Multilib = "common"
|
||||
MultilibCommonFirst Multilib = "common_first"
|
||||
MultilibDefault Multilib = ""
|
||||
)
|
||||
|
||||
type HostOrDeviceSupported int
|
||||
|
Reference in New Issue
Block a user