blob: 264095ad11aedb6152482e8cd4d6fa394f7e0d10 [file] [log] [blame]
load("//bazel/go:go_test.bzl", "go_test")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "exec",
srcs = [
"context.go",
"exec.go",
"exec_linux.go",
"exec_testutil.go",
"exec_windows.go",
],
importpath = "go.skia.org/infra/go/exec",
visibility = ["//visibility:public"],
deps = [
"//go/sklog",
"//go/util",
],
)
go_test(
name = "exec_test",
srcs = ["exec_test.go"],
embed = [":exec"],
deps = [
"//bazel/external/rules_python",
"//go/sklog",
"//go/testutils/unittest",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
],
)