1# Copyright 2019 The PDFium Authors. All rights reserved. 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 deps = [ 27 "../../../core/fxcrt", 28 "../../../fxjs", 29 "../parser", 30 ] 31 allow_circular_includes_from = [ "../../../fxjs" ] 32 configs += [ 33 "../../../:pdfium_core_config", 34 "../../:xfa_warnings", 35 ] 36 visibility = [ "../../../*" ] 37} 38 39pdfium_embeddertest_source_set("embeddertests") { 40 sources = [ "cxfa_layoutitem_embeddertest.cpp" ] 41 pdfium_root_dir = "../../../" 42} 43