forked from google-deepmind/lab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD
41 lines (37 loc) · 845 Bytes
/
BUILD
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
39
40
41
# Description:
# DeepMind reinforcement learning APIs.
licenses(["notice"]) # Apache 2.0 (Google-authored)
cc_library(
name = "env_c_api",
hdrs = ["env_c_api.h"],
visibility = ["//visibility:public"],
)
cc_binary(
name = "libenv_c_api_example.so",
testonly = 1,
srcs = ["env_c_api_example.cc"],
linkopts = [
"-Wl,--version-script",
":env_c_api_example.lds",
],
linkshared = 1,
linkstatic = 1,
visibility = ["//visibility:public"],
deps = [
":env_c_api",
":env_c_api_example.lds",
],
)
cc_test(
name = "env_c_api_example_test",
size = "small",
srcs = [
"env_c_api_example.h",
"env_c_api_example_test.cc",
"libenv_c_api_example.so",
],
deps = [
":env_c_api",
"@googletest//:gtest_main",
],
)