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

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

Issue 1814223003: Add an openjpeg libfuzzer. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: iwyu 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
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 "PNG_USE_READ_MACROS", 10 "PNG_USE_READ_MACROS",
(...skipping 29 matching lines...) Expand all
40 ] 40 ]
41 deps = [ 41 deps = [
42 "//third_party/pdfium:pdfium", 42 "//third_party/pdfium:pdfium",
43 ] 43 ]
44 configs -= [ "//build/config/compiler:chromium_code" ] 44 configs -= [ "//build/config/compiler:chromium_code" ]
45 configs += [ 45 configs += [
46 "//build/config/compiler:no_chromium_code", 46 "//build/config/compiler:no_chromium_code",
47 ":libfuzzer_config", 47 ":libfuzzer_config",
48 ] 48 ]
49 } 49 }
50 source_set("pdf_jpx_fuzzer") {
Tom Sepez 2016/03/18 20:33:40 Need to make this linux only?
Oliver Chang 2016/03/18 20:50:26 Chromium's GN configs should handle this.
51 testonly = true
52 sources = [
53 "pdf_jpx_fuzzer.cc",
54 ]
55 deps = [
56 "//third_party/pdfium:pdfium",
57 ]
58 configs -= [ "//build/config/compiler:chromium_code" ]
59 configs += [
60 "//build/config/compiler:no_chromium_code",
61 ":libfuzzer_config",
62 ]
63 }
50 } 64 }
OLDNEW
« no previous file with comments | « testing/DEPS ('k') | testing/libfuzzer/fuzzers.gyp » ('j') | testing/libfuzzer/fuzzers.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698