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

Side by Side Diff: samples/BUILD.gn

Issue 1395733006: Allow compiling PDFium without V8. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Renamed stub file. 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 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 "PDF_ENABLE_V8",
14 "PNG_PREFIX", 15 "PNG_PREFIX",
15 "PNGPREFIX_H", 16 "PNGPREFIX_H",
16 "PNG_USE_READ_MACROS", 17 "PNG_USE_READ_MACROS",
17 ] 18 ]
18 } 19 }
19 20
20 executable("pdfium_test") { 21 executable("pdfium_test") {
21 sources = [ 22 sources = [
22 "image_diff_png.cc", 23 "image_diff_png.cc",
23 "pdfium_test.cc", 24 "pdfium_test.cc",
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 "fx_lpng/src/fx_pngwio.c", 73 "fx_lpng/src/fx_pngwio.c",
73 "fx_lpng/src/fx_pngwrite.c", 74 "fx_lpng/src/fx_pngwrite.c",
74 "fx_lpng/src/fx_pngwtran.c", 75 "fx_lpng/src/fx_pngwtran.c",
75 "fx_lpng/src/fx_pngwutil.c", 76 "fx_lpng/src/fx_pngwutil.c",
76 ] 77 ]
77 include_dirs = [ 78 include_dirs = [
78 "../core/src/fxcodec/fx_zlib/include/", 79 "../core/src/fxcodec/fx_zlib/include/",
79 ] 80 ]
80 configs += [ ":pdfium_samples_config" ] 81 configs += [ ":pdfium_samples_config" ]
81 } 82 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698