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

Side by Side Diff: samples/BUILD.gn

Issue 1267493005: Use bundled freetype for tests. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: DEPS picks up corresponding expected results. Created 5 years, 4 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 | « pdfium.gyp ('k') | samples/samples.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 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 group("samples") { 5 group("samples") {
6 deps = [ 6 deps = [
7 ":pdfium_test", 7 ":pdfium_test",
8 ":pdfium_diff", 8 ":pdfium_diff",
9 ] 9 ]
10 } 10 }
11 11
12 config("pdfium_samples_config") { 12 config("pdfium_samples_config") {
13 defines = [ 13 defines = [
14 "PNG_PREFIX", 14 "PNG_PREFIX",
15 "PNGPREFIX_H", 15 "PNGPREFIX_H",
16 "PNG_USE_READ_MACROS", 16 "PNG_USE_READ_MACROS",
17 ] 17 ]
18 } 18 }
19 19
20 executable("pdfium_test") { 20 executable("pdfium_test") {
21 sources = [ 21 sources = [
22 "image_diff_png.cc", 22 "image_diff_png.cc",
23 "pdfium_test.cc", 23 "pdfium_test.cc",
24 ] 24 ]
25 deps = [ 25 deps = [
26 "//third_party/pdfium", 26 "//third_party/pdfium",
27 # Regardless of whether the library ships against system freetype,
28 # always link this binary against the bundled one for consistency
29 # of results across platforms.
30 "//third_party/pdfium/third_party:fx_freetype",
27 "//v8:v8_libplatform", 31 "//v8:v8_libplatform",
28 ":fx_lpng", 32 ":fx_lpng",
29 ] 33 ]
30 include_dirs = [ 34 include_dirs = [
31 "//v8", 35 "//v8",
32 "//v8/include", 36 "//v8/include",
33 ] 37 ]
34 configs += [ ":pdfium_samples_config" ] 38 configs += [ ":pdfium_samples_config" ]
35 } 39 }
36 40
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 "fx_lpng/src/fx_pngwio.c", 72 "fx_lpng/src/fx_pngwio.c",
69 "fx_lpng/src/fx_pngwrite.c", 73 "fx_lpng/src/fx_pngwrite.c",
70 "fx_lpng/src/fx_pngwtran.c", 74 "fx_lpng/src/fx_pngwtran.c",
71 "fx_lpng/src/fx_pngwutil.c", 75 "fx_lpng/src/fx_pngwutil.c",
72 ] 76 ]
73 include_dirs = [ 77 include_dirs = [
74 "../core/src/fxcodec/fx_zlib/include/", 78 "../core/src/fxcodec/fx_zlib/include/",
75 ] 79 ]
76 configs += [ ":pdfium_samples_config" ] 80 configs += [ ":pdfium_samples_config" ]
77 } 81 }
OLDNEW
« no previous file with comments | « pdfium.gyp ('k') | samples/samples.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698