BUILD.gn 734 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Copyright 2016 The Chromium Authors. All rights reserved.
  2. # Use of this source code is governed by a BSD-style license that can be
  3. # found in the LICENSE file.
  4. import("//testing/libfuzzer/fuzzer_test.gni")
  5. static_library("link_header_util") {
  6. sources = [
  7. "link_header_util.cc",
  8. "link_header_util.h",
  9. ]
  10. deps = [
  11. "//base",
  12. "//net",
  13. ]
  14. }
  15. source_set("unit_tests") {
  16. testonly = true
  17. sources = [ "link_header_util_unittest.cc" ]
  18. deps = [
  19. ":link_header_util",
  20. "//base",
  21. "//net",
  22. "//testing/gtest",
  23. ]
  24. }
  25. fuzzer_test("link_header_util_fuzzer") {
  26. sources = [ "link_header_util_fuzzer.cc" ]
  27. deps = [
  28. ":link_header_util",
  29. "//base",
  30. ]
  31. libfuzzer_options = [ "max_len=65535" ]
  32. }