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-exception
5 load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library")
8 default_visibility = ["//visibility:public"],
9 features = ["layering_check"],
15 name = "include_cleaner",
20 hdrs = glob(["include/clang-include-cleaner/*.h"]),
21 includes = ["include/"],
28 "//clang:tooling_core",
29 "//clang:tooling_inclusions",
35 name = "include_cleaner_internal",
36 hdrs = glob(["lib/*.h"]),
38 visibility = [":__subpackages__"],
45 "//clang:tooling_inclusions",
51 name = "clang-include-cleaner",
57 ":include_cleaner_internal",