Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Side by Side Diff: testing/libfuzzer/BUILD.gn

Issue 1763493002: Rename png_ functions conflicting with chrome. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Fix pngprefix.h comment Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « samples/samples.gyp ('k') | testing/libfuzzer/fuzzers.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 defines = [ 8 defines = [
9 "PNG_PREFIX", 9 "PNG_PREFIX",
10 "PNGPREFIX_H",
11 "PNG_USE_READ_MACROS", 10 "PNG_USE_READ_MACROS",
12 ] 11 ]
13 include_dirs = [ "../.." ] 12 include_dirs = [ "../.." ]
14 if (pdf_enable_v8) { 13 if (pdf_enable_v8) {
15 defines += [ "PDF_ENABLE_V8" ] 14 defines += [ "PDF_ENABLE_V8" ]
16 } 15 }
17 if (pdf_enable_xfa) { 16 if (pdf_enable_xfa) {
18 defines += [ "PDF_ENABLE_XFA" ] 17 defines += [ "PDF_ENABLE_XFA" ]
19 } 18 }
20 } 19 }
(...skipping 21 matching lines...) Expand all
42 deps = [ 41 deps = [
43 "//third_party/pdfium:pdfium", 42 "//third_party/pdfium:pdfium",
44 ] 43 ]
45 configs -= [ "//build/config/compiler:chromium_code" ] 44 configs -= [ "//build/config/compiler:chromium_code" ]
46 configs += [ 45 configs += [
47 "//build/config/compiler:no_chromium_code", 46 "//build/config/compiler:no_chromium_code",
48 ":libfuzzer_config", 47 ":libfuzzer_config",
49 ] 48 ]
50 } 49 }
51 } 50 }
OLDNEW
« no previous file with comments | « samples/samples.gyp ('k') | testing/libfuzzer/fuzzers.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698