forked from Green-Sky/tomato
Green Sky
227425b90e
git-subtree-dir: external/toxcore/c-toxcore git-subtree-split: 67badf69416a74e74f6d7eb51dd96f37282b8455
18 lines
471 B
Python
18 lines
471 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
|
|
|
|
package(features = ["layering_check"])
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["proxy_server.go"],
|
|
importpath = "github.com/TokTok/c-toxcore/other/proxy",
|
|
visibility = ["//visibility:private"],
|
|
deps = ["@com_github_things_go_go_socks5//:go_default_library"],
|
|
)
|
|
|
|
go_binary(
|
|
name = "proxy",
|
|
embed = [":go_default_library"],
|
|
visibility = ["//visibility:public"],
|
|
)
|