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

Side by Side Diff: samples/BUILD.gn

Issue 1520443002: Fix BUILD.gn to load the correct V8 snapshot configuration (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 years 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 | « BUILD.gn ('k') | no next file » | 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 import("//build/config/sanitizers/sanitizers.gni") 5 import("//build/config/sanitizers/sanitizers.gni")
6 import("//build_overrides/v8.gni")
6 import("../pdfium.gni") 7 import("../pdfium.gni")
7 8
8 group("samples") { 9 group("samples") {
9 testonly = true 10 testonly = true
10 deps = [ 11 deps = [
11 ":pdfium_test", 12 ":pdfium_test",
12 ":pdfium_diff", 13 ":pdfium_diff",
13 ] 14 ]
14 } 15 }
15 16
(...skipping 25 matching lines...) Expand all
41 # of results across platforms. 42 # of results across platforms.
42 "//third_party/pdfium/third_party:fx_freetype", 43 "//third_party/pdfium/third_party:fx_freetype",
43 ":fx_lpng", 44 ":fx_lpng",
44 ] 45 ]
45 if (pdf_enable_v8) { 46 if (pdf_enable_v8) {
46 deps += [ "//v8:v8_libplatform" ] 47 deps += [ "//v8:v8_libplatform" ]
47 include_dirs = [ 48 include_dirs = [
48 "//v8", 49 "//v8",
49 "//v8/include", 50 "//v8/include",
50 ] 51 ]
52 configs += [ "//v8:external_startup_data" ]
51 } 53 }
52 configs += [ ":pdfium_samples_config" ] 54 configs += [ ":pdfium_samples_config" ]
53 } 55 }
54 56
55 executable("pdfium_diff") { 57 executable("pdfium_diff") {
56 testonly = true 58 testonly = true
57 sources = [ 59 sources = [
58 "image_diff.cc", 60 "image_diff.cc",
59 "image_diff_png.cc", 61 "image_diff_png.cc",
60 "image_diff_png.h", 62 "image_diff_png.h",
(...skipping 26 matching lines...) Expand all
87 "fx_lpng/src/fx_pngset.c", 89 "fx_lpng/src/fx_pngset.c",
88 "fx_lpng/src/fx_pngtrans.c", 90 "fx_lpng/src/fx_pngtrans.c",
89 "fx_lpng/src/fx_pngwio.c", 91 "fx_lpng/src/fx_pngwio.c",
90 "fx_lpng/src/fx_pngwrite.c", 92 "fx_lpng/src/fx_pngwrite.c",
91 "fx_lpng/src/fx_pngwtran.c", 93 "fx_lpng/src/fx_pngwtran.c",
92 "fx_lpng/src/fx_pngwutil.c", 94 "fx_lpng/src/fx_pngwutil.c",
93 ] 95 ]
94 include_dirs = [ "../core/src/fxcodec/fx_zlib/include/" ] 96 include_dirs = [ "../core/src/fxcodec/fx_zlib/include/" ]
95 configs += [ ":pdfium_samples_config" ] 97 configs += [ ":pdfium_samples_config" ]
96 } 98 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698