mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
7cfe35dff2
It's default in .bazelrc now.
16 lines
431 B
Python
16 lines
431 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
|
|
|
|
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"],
|
|
)
|