1# Copyright 2019 The PDFium Authors 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5import("../../../pdfium.gni") 6import("../../../testing/test.gni") 7 8assert(pdf_enable_xfa) 9 10source_set("layout") { 11 sources = [ 12 "cxfa_contentlayoutitem.cpp", 13 "cxfa_contentlayoutitem.h", 14 "cxfa_contentlayoutprocessor.cpp", 15 "cxfa_contentlayoutprocessor.h", 16 "cxfa_layoutitem.cpp", 17 "cxfa_layoutitem.h", 18 "cxfa_layoutprocessor.cpp", 19 "cxfa_layoutprocessor.h", 20 "cxfa_traversestrategy_layoutitem.h", 21 "cxfa_viewlayoutitem.cpp", 22 "cxfa_viewlayoutitem.h", 23 "cxfa_viewlayoutprocessor.cpp", 24 "cxfa_viewlayoutprocessor.h", 25 ] 26 allow_circular_includes_from = [ "../../../fxjs" ] 27 configs += [ 28 "../../../:pdfium_strict_config", 29 "../../../:pdfium_noshorten_config", 30 "../../:xfa_warnings", 31 ] 32 deps = [ 33 "../../../core/fxcrt", 34 "../../../fxjs", 35 "../../../fxjs:gc", 36 "../parser", 37 ] 38 visibility = [ "../../../*" ] 39} 40 41pdfium_embeddertest_source_set("embeddertests") { 42 sources = [ "cxfa_layoutitem_embeddertest.cpp" ] 43 deps = [ "../../../fxjs:gc" ] 44 pdfium_root_dir = "../../../" 45} 46