BUILD.txt 786 B

1234567891011121314151617181920212223242526
  1. # Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. # Exceptions. See /LICENSE for license information.
  3. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. # libprotobuf_mutator uses cmake and doesn't provide a bazel BUILD file.
  5. # See https://github.com/google/libprotobuf-mutator/issues/91.
  6. load("@rules_cc//cc:defs.bzl", "cc_library")
  7. exports_files(["LICENSE"])
  8. cc_library(
  9. name = "libprotobuf_mutator",
  10. srcs = glob(
  11. [
  12. "src/**/*.cc",
  13. "src/**/*.h",
  14. "port/protobuf.h",
  15. ],
  16. exclude = ["**/*_test.cc"],
  17. ),
  18. hdrs = ["src/libfuzzer/libfuzzer_macro.h"],
  19. strip_include_prefix = "src",
  20. visibility = ["//visibility:public"],
  21. deps = ["@com_google_protobuf//:protobuf"],
  22. )