blob: 527368030b5151729197955776d1cb4485fcf1ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# 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" ]
}
|