29 lines · plain
1# This file is licensed under the Apache License v2.0 with LLVM Exceptions.2# See https://llvm.org/LICENSE.txt for license information.3# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception4 5load("@rules_cc//cc:defs.bzl", "cc_library")6 7package(8 default_visibility = ["//visibility:public"],9 features = ["layering_check"],10)11 12licenses(["notice"])13 14cc_library(15 name = "lib",16 srcs = glob(["*.cpp"]),17 hdrs = glob(["*.h"]),18 deps = [19 "//clang:ast",20 "//clang:ast_matchers",21 "//clang:ast_matchers_dynamic",22 "//clang:basic",23 "//clang:frontend",24 "//clang:serialization",25 "//llvm:LineEditor",26 "//llvm:Support",27 ],28)29