blob: d5362ed8a6b1c2e8e4afa0ede8355f26669a4359 [file] [log] [blame]
load("//bazel/go:go_test.bzl", "go_test")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "baseapp",
srcs = ["baseapp.go"],
importpath = "go.skia.org/infra/go/baseapp",
visibility = ["//visibility:public"],
deps = [
"//go/common",
"//go/httputils",
"//go/sklog",
"@com_github_go_chi_chi_v5//:chi",
"@com_github_unrolled_secure//:secure",
],
)
go_test(
name = "baseapp_test",
srcs = ["baseapp_test.go"],
embed = [":baseapp"],
deps = [
"//go/metrics2",
"//go/sklog",
"@com_github_go_chi_chi_v5//:chi",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
],
)