2020-01-17 21:05:03 +08:00
|
|
|
# Copyright 2019 Google LLC
|
2019-03-19 00:21:48 +08:00
|
|
|
#
|
|
|
|
# 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
|
|
|
|
#
|
2022-01-28 17:38:27 +08:00
|
|
|
# https://www.apache.org/licenses/LICENSE-2.0
|
2019-03-19 00:21:48 +08:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2020-08-06 21:53:17 +08:00
|
|
|
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
|
|
|
|
|
2019-09-25 22:13:33 +08:00
|
|
|
licenses(["notice"])
|
2019-03-19 00:21:48 +08:00
|
|
|
|
|
|
|
exports_files([
|
|
|
|
"proto.bzl",
|
|
|
|
"embed_data.bzl",
|
|
|
|
"sapi.bzl",
|
|
|
|
])
|
2020-08-06 21:53:17 +08:00
|
|
|
|
|
|
|
bzl_library(
|
|
|
|
name = "build_defs_bzl",
|
|
|
|
srcs = ["build_defs.bzl"],
|
|
|
|
visibility = ["//visibility:private"],
|
|
|
|
)
|
|
|
|
|
|
|
|
bzl_library(
|
|
|
|
name = "embed_data_bzl",
|
|
|
|
srcs = ["embed_data.bzl"],
|
|
|
|
visibility = ["//visibility:private"],
|
|
|
|
)
|
|
|
|
|
|
|
|
bzl_library(
|
|
|
|
name = "proto_bzl",
|
|
|
|
srcs = ["proto.bzl"],
|
|
|
|
visibility = ["//visibility:private"],
|
2023-08-24 22:08:37 +08:00
|
|
|
deps = [
|
|
|
|
"@rules_proto//proto:defs",
|
|
|
|
],
|
2020-08-06 21:53:17 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
bzl_library(
|
|
|
|
name = "repositories_bzl",
|
|
|
|
srcs = ["repositories.bzl"],
|
|
|
|
visibility = ["//visibility:private"],
|
|
|
|
)
|
|
|
|
|
|
|
|
bzl_library(
|
|
|
|
name = "sapi_deps_bzl",
|
|
|
|
srcs = ["sapi_deps.bzl"],
|
|
|
|
visibility = ["//visibility:private"],
|
|
|
|
)
|
2021-04-13 16:57:50 +08:00
|
|
|
|
|
|
|
bzl_library(
|
|
|
|
name = "sapi",
|
|
|
|
srcs = ["sapi.bzl"],
|
|
|
|
visibility = ["//visibility:private"],
|
2023-08-24 22:08:37 +08:00
|
|
|
deps = [
|
|
|
|
":build_defs_bzl",
|
|
|
|
":embed_data_bzl",
|
|
|
|
":proto_bzl",
|
|
|
|
"@bazel_tools//tools/cpp:toolchain_utils.bzl",
|
|
|
|
],
|
2021-04-13 16:57:50 +08:00
|
|
|
)
|
2023-08-24 21:23:03 +08:00
|
|
|
|
|
|
|
bzl_library(
|
|
|
|
name = "llvm_config_bzl",
|
|
|
|
srcs = ["llvm_config.bzl"],
|
|
|
|
visibility = ["//visibility:private"],
|
|
|
|
)
|