1# Copyright 2019 Google LLC 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# https://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15load("@bazel_skylib//:bzl_library.bzl", "bzl_library") 16 17licenses(["notice"]) 18 19exports_files([ 20 "proto.bzl", 21 "embed_data.bzl", 22 "sapi.bzl", 23]) 24 25bzl_library( 26 name = "build_defs_bzl", 27 srcs = ["build_defs.bzl"], 28 visibility = ["//visibility:private"], 29) 30 31bzl_library( 32 name = "embed_data_bzl", 33 srcs = ["embed_data.bzl"], 34 visibility = ["//visibility:private"], 35) 36 37bzl_library( 38 name = "proto_bzl", 39 srcs = ["proto.bzl"], 40 visibility = ["//visibility:private"], 41 deps = [ 42 "@rules_proto//proto:defs", 43 ], 44) 45 46bzl_library( 47 name = "repositories_bzl", 48 srcs = ["repositories.bzl"], 49 visibility = ["//visibility:private"], 50) 51 52bzl_library( 53 name = "sapi_deps_bzl", 54 srcs = ["sapi_deps.bzl"], 55 visibility = ["//visibility:private"], 56) 57 58bzl_library( 59 name = "sapi", 60 srcs = ["sapi.bzl"], 61 visibility = ["//visibility:private"], 62 deps = [ 63 ":build_defs_bzl", 64 ":embed_data_bzl", 65 ":proto_bzl", 66 "@bazel_tools//tools/cpp:toolchain_utils.bzl", 67 ], 68) 69 70bzl_library( 71 name = "llvm_config_bzl", 72 srcs = ["llvm_config.bzl"], 73 visibility = ["//visibility:private"], 74) 75