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("//build_overrides/pdfium.gni") |
6 | 6 |
7 config("libfuzzer_config") { | 7 config("libfuzzer_config") { |
8 defines = [ | 8 defines = [ |
9 "PNG_PREFIX", | 9 "PNG_PREFIX", |
10 "PNG_USE_READ_MACROS", | 10 "PNG_USE_READ_MACROS", |
11 ] | 11 ] |
12 include_dirs = [ "../.." ] | 12 include_dirs = [ "../.." ] |
13 if (pdf_enable_v8) { | 13 if (pdf_enable_v8) { |
14 defines += [ "PDF_ENABLE_V8" ] | 14 defines += [ "PDF_ENABLE_V8" ] |
15 } | 15 } |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 ] | 56 ] |
57 deps = [ | 57 deps = [ |
58 "//third_party/pdfium:pdfium", | 58 "//third_party/pdfium:pdfium", |
59 ] | 59 ] |
60 configs -= [ "//build/config/compiler:chromium_code" ] | 60 configs -= [ "//build/config/compiler:chromium_code" ] |
61 configs += [ | 61 configs += [ |
62 "//build/config/compiler:no_chromium_code", | 62 "//build/config/compiler:no_chromium_code", |
63 ":libfuzzer_config", | 63 ":libfuzzer_config", |
64 ] | 64 ] |
65 } | 65 } |
OLD | NEW |