kythe.io@v0.0.68-0.20240422202219-7225dbc01741/third_party/llvm/src/BUILD (about) 1 licenses(["notice"]) 2 3 package(default_visibility = ["//visibility:public"]) 4 5 load("@io_kythe//tools:build_rules/cc_resources.bzl", "cc_resources") 6 7 cc_library( 8 name = "preprocessor_util_lib", 9 srcs = ["cxx_extractor_preprocessor_utils.cc"], 10 hdrs = ["cxx_extractor_preprocessor_utils.h"], 11 copts = [ 12 "-Wno-non-virtual-dtor", 13 "-Wno-unused-variable", 14 "-Wno-implicit-fallthrough", 15 ], 16 deps = ["@llvm-project//clang:lex"], 17 ) 18 19 cc_resources( 20 name = "clang_builtin_headers_resources", 21 data = ["@llvm-project//clang:builtin_headers_gen"], 22 strip = "staging/include/", 23 ) 24 25 cc_library( 26 name = "clang_builtin_headers", 27 srcs = ["clang_builtin_headers.cc"], 28 hdrs = ["clang_builtin_headers.h"], 29 copts = [ 30 "-Wno-non-virtual-dtor", 31 "-Wno-unused-variable", 32 "-Wno-implicit-fallthrough", 33 ], 34 deps = [":clang_builtin_headers_resources"], 35 )