diff options
Diffstat (limited to 'fpdfsdk/fpdfxfa/BUILD.gn')
-rw-r--r-- | fpdfsdk/fpdfxfa/BUILD.gn | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/fpdfsdk/fpdfxfa/BUILD.gn b/fpdfsdk/fpdfxfa/BUILD.gn index 4e88c4cd2..b3d5fe0a1 100644 --- a/fpdfsdk/fpdfxfa/BUILD.gn +++ b/fpdfsdk/fpdfxfa/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright 2018 The PDFium Authors. All rights reserved. +# Copyright 2018 The PDFium Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. @@ -17,8 +17,10 @@ source_set("fpdfxfa") { "cpdfxfa_page.h", "cpdfxfa_widget.cpp", "cpdfxfa_widget.h", - "cpdfxfa_widgethandler.cpp", - "cpdfxfa_widgethandler.h", + ] + configs += [ + "../../:pdfium_strict_config", + "../../:pdfium_noshorten_config", ] deps = [ "../../:pdfium_public_headers", @@ -26,19 +28,28 @@ source_set("fpdfxfa") { "../../core/fpdfapi/parser", "../../core/fpdfapi/render", "../../core/fxcrt", + "../../fxbarcode", "../../fxjs", + "../../fxjs:gc", + "../../xfa/fgas/font", + "../../xfa/fgas/graphics", "../../xfa/fwl", "../../xfa/fxfa", "../../xfa/fxfa/parser", - "../../xfa/fxgraphics", ] - configs += [ "../../:pdfium_core_config" ] visibility = [ "../../*" ] } pdfium_embeddertest_source_set("embeddertests") { - sources = [ "cpdfxfa_docenvironment_embeddertest.cpp" ] + sources = [ + "cpdfxfa_context_embeddertest.cpp", + "cpdfxfa_docenvironment_embeddertest.cpp", + ] configs = [ "//v8:external_startup_data" ] - deps = [ "../../fxjs" ] + deps = [ + ":fpdfxfa", + "../:fpdfsdk", + "../../fxjs", + ] pdfium_root_dir = "../../" } |