From 04d79d3ab13a8b2625e3c0d09b6d636f9abb277c Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Fri, 31 Jan 2025 19:09:26 -0800 Subject: [PATCH] progress --- tools/artifact_gen/inja.BUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 tools/artifact_gen/inja.BUILD diff --git a/tools/artifact_gen/inja.BUILD b/tools/artifact_gen/inja.BUILD new file mode 100644 index 0000000000000..c81d44fc4ce46 --- /dev/null +++ b/tools/artifact_gen/inja.BUILD @@ -0,0 +1,32 @@ +# Copyright 2025 gRPC authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +licenses(["notice"]) + +cc_library( + name = "inja", + hdrs = ["include/inja/inja.hpp"], + visibility = ["//visibility:public"], + deps = [":internal", "@nlohmann_json//:json"], +) + +cc_library( + name = "internal", + includes = ["include"], + textual_hdrs = glob( + ["include/inja/*.hpp"], + exclude = ["include/inja/inja.hpp"], + ), + deps = ["@nlohmann_json//:json"] +)