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

Side by Side Diff: samples/BUILD.gn

Issue 1416713002: Consolidate test support code. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: IWYU Created 5 years, 2 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 2014 PDFium Authors. All rights reserved. 1 # Copyright 2014 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 group("samples") { 7 group("samples") {
8 deps = [ 8 deps = [
9 ":pdfium_test", 9 ":pdfium_test",
10 ":pdfium_diff", 10 ":pdfium_diff",
(...skipping 10 matching lines...) Expand all
21 defines += [ 21 defines += [
22 "PDF_ENABLE_V8", 22 "PDF_ENABLE_V8",
23 ] 23 ]
24 } 24 }
25 } 25 }
26 26
27 executable("pdfium_test") { 27 executable("pdfium_test") {
28 sources = [ 28 sources = [
29 "image_diff_png.cc", 29 "image_diff_png.cc",
30 "pdfium_test.cc", 30 "pdfium_test.cc",
31 "../testing/test_support.cpp",
32 "../testing/test_support.h",
31 ] 33 ]
32 deps = [ 34 deps = [
33 "//third_party/pdfium", 35 "//third_party/pdfium",
34 # Regardless of whether the library ships against system freetype, 36 # Regardless of whether the library ships against system freetype,
35 # always link this binary against the bundled one for consistency 37 # always link this binary against the bundled one for consistency
36 # of results across platforms. 38 # of results across platforms.
37 "//third_party/pdfium/third_party:fx_freetype", 39 "//third_party/pdfium/third_party:fx_freetype",
38 ":fx_lpng", 40 ":fx_lpng",
39 ] 41 ]
40 if (pdf_enable_v8) { 42 if (pdf_enable_v8) {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 "fx_lpng/src/fx_pngwio.c", 85 "fx_lpng/src/fx_pngwio.c",
84 "fx_lpng/src/fx_pngwrite.c", 86 "fx_lpng/src/fx_pngwrite.c",
85 "fx_lpng/src/fx_pngwtran.c", 87 "fx_lpng/src/fx_pngwtran.c",
86 "fx_lpng/src/fx_pngwutil.c", 88 "fx_lpng/src/fx_pngwutil.c",
87 ] 89 ]
88 include_dirs = [ 90 include_dirs = [
89 "../core/src/fxcodec/fx_zlib/include/", 91 "../core/src/fxcodec/fx_zlib/include/",
90 ] 92 ]
91 configs += [ ":pdfium_samples_config" ] 93 configs += [ ":pdfium_samples_config" ]
92 } 94 }
OLDNEW
« no previous file with comments | « pdfium.gyp ('k') | samples/pdfium_test.cc » ('j') | testing/test_support.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698