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 /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 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1695,7 +1695,7 @@ test("pdfium_embeddertests") { "//testing/gmock", "//testing/gtest", ] - include_dirs = [] + include_dirs = [ "testing/gmock/include" ] if (pdf_enable_v8) { sources += [ "fpdfsdk/javascript/public_methods_embeddertest.cpp", @@ -1715,3 +1715,12 @@ test("pdfium_embeddertests") { } configs += [ ":pdfium_config" ] } + +if (pdf_is_standalone) { + source_set("samples") { + testonly = true + deps = [ + "//samples", + ] + } +} |