| OLD | NEW | 
|---|
| 1 # Copyright 2016 The PDFium Authors. All rights reserved. | 1 # Copyright 2016 The PDFium Authors. All rights reserved. | 
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be | 
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. | 
| 4 | 4 | 
| 5 import("../../pdfium.gni") | 5 import("../../pdfium.gni") | 
| 6 | 6 | 
| 7 config("libfuzzer_config") { | 7 config("libfuzzer_config") { | 
| 8   configs = [ "//third_party/pdfium:pdfium_core_config" ] | 8   configs = [ "//third_party/pdfium:pdfium_core_config" ] | 
| 9 | 9 | 
| 10   defines = [ | 10   defines = [ | 
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 176   ] | 176   ] | 
| 177   deps = [ | 177   deps = [ | 
| 178     "//third_party/pdfium:pdfium", | 178     "//third_party/pdfium:pdfium", | 
| 179   ] | 179   ] | 
| 180   configs -= [ "//build/config/compiler:chromium_code" ] | 180   configs -= [ "//build/config/compiler:chromium_code" ] | 
| 181   configs += [ | 181   configs += [ | 
| 182     "//build/config/compiler:no_chromium_code", | 182     "//build/config/compiler:no_chromium_code", | 
| 183     ":libfuzzer_config", | 183     ":libfuzzer_config", | 
| 184   ] | 184   ] | 
| 185 } | 185 } | 
|  | 186 | 
|  | 187 source_set("pdf_streamparser_fuzzer") { | 
|  | 188   testonly = true | 
|  | 189   sources = [ | 
|  | 190     "pdf_streamparser_fuzzer.cc", | 
|  | 191   ] | 
|  | 192   deps = [ | 
|  | 193     "//third_party/pdfium:pdfium", | 
|  | 194   ] | 
|  | 195   configs -= [ "//build/config/compiler:chromium_code" ] | 
|  | 196   configs += [ | 
|  | 197     "//build/config/compiler:no_chromium_code", | 
|  | 198     ":libfuzzer_config", | 
|  | 199   ] | 
|  | 200 } | 
| OLD | NEW | 
|---|