diff options
author | dsinclair <dsinclair@chromium.org> | 2016-04-20 07:32:39 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-20 07:32:39 -0700 |
commit | 685bb88433b7520946e30a1e520d37bfc2288151 (patch) | |
tree | fbcb1fdc49cdc27d5bf064915513717cb8e11f14 /samples/BUILD.gn | |
parent | f5a1ee807d74b28917d5c2377c4ece611883bcd1 (diff) | |
download | pdfium-685bb88433b7520946e30a1e520d37bfc2288151.tar.xz |
Standalone GN build.
This CL setups up a standalone GN build. You'll need to set gn args similar to:
use_goma = true
clang_use_chrome_plugins = false
pdf_enable_xfa = true
pdf_enable_v8 = true
pdf_is_standalone = true
The third_party/pymock files are needed to make git cl upload work correctly.
BUG=pdfium:106
Review URL: https://codereview.chromium.org/1904563002
Diffstat (limited to 'samples/BUILD.gn')
-rw-r--r-- | samples/BUILD.gn | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/samples/BUILD.gn b/samples/BUILD.gn index 5e300158c9..83c510d7c8 100644 --- a/samples/BUILD.gn +++ b/samples/BUILD.gn @@ -39,14 +39,14 @@ executable("pdfium_test") { "pdfium_test.cc", ] deps = [ + "../:pdfium", + "../:test_support", "//build/config/sanitizers:deps", - "//third_party/pdfium:pdfium", - "//third_party/pdfium:test_support", # Regardless of whether the library ships against system freetype, # always link this binary against the bundled one for consistency # of results across platforms. - "//third_party/pdfium/third_party:fx_freetype", + "../third_party:fx_freetype", ] if (!pdf_enable_xfa) { deps += [ "../third_party:fx_lpng" ] @@ -73,8 +73,8 @@ executable("pdfium_diff") { "image_diff_png.h", ] deps = [ + "../:pdfium", "//build/config/sanitizers:deps", - "//third_party/pdfium", ] if (!pdf_enable_xfa) { deps += [ "../third_party:fx_lpng" ] |