-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWORKSPACE
More file actions
38 lines (28 loc) · 835 Bytes
/
WORKSPACE
File metadata and controls
38 lines (28 loc) · 835 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
SDL2_LOCAL_PATH = "path_to_local_sdl2"
SDL2_LOCAL_BUILD_PATH = SDL2_LOCAL_PATH + "/BUILD.bazel"
workspace(name = "com_gbuzogany_dash")
load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository")
load("//:bazel/repositories.bzl", "dash_repositories")
dash_repositories()
# grpc deps
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
grpc_deps()
load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
grpc_extra_deps()
# end grpc deps
new_local_repository(
name = "sdl2_local",
path = SDL2_LOCAL_PATH,
build_file = SDL2_LOCAL_BUILD_PATH
)
new_local_repository(
name = "pi_deps",
path = "/opt/vc/include",
build_file_content = """
package(default_visibility = ["//visibility:public"])
cc_library(
name = "headers",
hdrs = glob(["**/*.h"])
)
"""
)