diff options
author | dsinclair <dsinclair@chromium.org> | 2016-06-09 13:24:34 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-09 13:24:34 -0700 |
commit | 8bd9ce00a0755d72c9b5b8ad43d8f50c2f51e5c5 (patch) | |
tree | 9dd3a72354f353694cc52747acabf297a10251a3 /BUILD.gn | |
parent | 3cace320e07bb954710c50fc7634ca3a8f3eda38 (diff) | |
download | pdfium-8bd9ce00a0755d72c9b5b8ad43d8f50c2f51e5c5.tar.xz |
Move xfa/fxjse/ to fxjse/
This makes it clear that fxjse/ is a standalone component and should not be
entangled with other xfa/ components.
BUG=pdfium:506
Review-Url: https://codereview.chromium.org/2056663004
Diffstat (limited to 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 54 |
1 files changed, 25 insertions, 29 deletions
@@ -34,8 +34,8 @@ config("pdfium_common_config") { config("pdfium_core_config") { cflags = [] - configs = [":pdfium_common_config"] - defines = ["V8_DEPRECATION_WARNINGS"] + configs = [ ":pdfium_common_config" ] + defines = [ "V8_DEPRECATION_WARNINGS" ] if (is_linux) { if (current_cpu == "x64") { defines += [ "_FX_CPU_=_FX_X64_" ] @@ -893,6 +893,18 @@ if (pdf_enable_xfa) { static_library("xfa") { sources = [ + "fxjse/class.cpp", + "fxjse/context.cpp", + "fxjse/context.h", + "fxjse/dynprop.cpp", + "fxjse/include/cfxjse_arguments.h", + "fxjse/include/cfxjse_class.h", + "fxjse/include/cfxjse_value.h", + "fxjse/include/fxjse.h", + "fxjse/runtime.cpp", + "fxjse/runtime.h", + "fxjse/scope_inline.h", + "fxjse/value.cpp", "xfa/fde/cfde_path.cpp", "xfa/fde/cfde_path.h", "xfa/fde/cfde_txtedtbuf.cpp", @@ -1560,34 +1572,18 @@ if (pdf_enable_xfa) { "xfa/fxgraphics/cfx_shading.cpp", "xfa/fxgraphics/cfx_shading.h", "xfa/fxgraphics/include/cfx_graphics.h", - "xfa/fxjse/include/fxjse.h", ] - include_dirs = [ "." ] - if (pdf_enable_v8) { - sources += [ - "xfa/fxjse/cfxjse_arguments.h", - "xfa/fxjse/class.cpp", - "xfa/fxjse/class.h", - "xfa/fxjse/context.cpp", - "xfa/fxjse/context.h", - "xfa/fxjse/dynprop.cpp", - "xfa/fxjse/runtime.cpp", - "xfa/fxjse/runtime.h", - "xfa/fxjse/scope_inline.h", - "xfa/fxjse/value.cpp", - "xfa/fxjse/value.h", - ] - include_dirs += [ - "//v8", - "//v8/include", - ] - public_deps = [ - "//v8", - ] - deps = [ - "//v8:v8_libplatform", - ] - } + include_dirs = [ + ".", + "//v8", + "//v8/include", + ] + public_deps = [ + "//v8", + ] + deps = [ + "//v8:v8_libplatform", + ] configs += [ ":pdfium_core_config", ":xfa_warnings", |