| # Copyright 2016 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//testing/libfuzzer/fuzzer_test.gni") |
| |
| static_library("link_header_util") { |
| sources = [ |
| "link_header_util.cc", |
| "link_header_util.h", |
| ] |
| |
| deps = [ |
| "//base", |
| "//net", |
| ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| sources = [ "link_header_util_unittest.cc" ] |
| |
| deps = [ |
| ":link_header_util", |
| "//base", |
| "//net", |
| "//testing/gtest", |
| ] |
| } |
| |
| fuzzer_test("link_header_util_fuzzer") { |
| sources = [ "link_header_util_fuzzer.cc" ] |
| deps = [ |
| ":link_header_util", |
| "//base", |
| ] |
| libfuzzer_options = [ "max_len=65535" ] |
| } |