aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/ngraph/nlohmann_json.BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/ngraph/nlohmann_json.BUILD')
-rw-r--r--third_party/ngraph/nlohmann_json.BUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/third_party/ngraph/nlohmann_json.BUILD b/third_party/ngraph/nlohmann_json.BUILD
new file mode 100644
index 0000000000..396e158535
--- /dev/null
+++ b/third_party/ngraph/nlohmann_json.BUILD
@@ -0,0 +1,23 @@
+licenses(["notice"]) # 3-Clause BSD
+
+exports_files(["license.txt"])
+
+filegroup(
+ name = "LICENSE",
+ srcs = [
+ "license.txt",
+ ],
+ visibility = ["//visibility:public"],
+)
+
+cc_library(
+ name = "nlohmann_json_lib",
+ hdrs = glob([
+ "include/nlohmann/**/*.hpp",
+ ]),
+ copts = [
+ "-I external/nlohmann_json_lib",
+ ],
+ visibility = ["//visibility:public"],
+ alwayslink=1
+)