blob: 50c20941847ca0007771bd40ae503ed0701b9e68 [file] [log] [blame]
load("//bazel/go:go_test.bzl", "go_test")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "crossplatform",
srcs = ["crossplatform.go"],
importpath = "go.skia.org/infra/machine/go/test_machine_monitor/standalone/crossplatform",
visibility = ["//visibility:public"],
deps = [
"//go/exec",
"//go/skerr",
"@com_github_shirou_gopsutil//host",
"@com_google_cloud_go_compute//metadata",
],
)
go_test(
name = "crossplatform_test",
srcs = ["crossplatform_test.go"],
embed = [":crossplatform"],
deps = [
"//go/exec",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
],
)