1# Copyright 2018 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("fde") { 11 sources = [ 12 "cfde_data.h", 13 "cfde_texteditengine.cpp", 14 "cfde_texteditengine.h", 15 "cfde_textout.cpp", 16 "cfde_textout.h", 17 "cfde_wordbreak_data.cpp", 18 "cfde_wordbreak_data.h", 19 ] 20 deps = [ 21 "../../core/fxcrt", 22 "../../core/fxge", 23 "../fgas", 24 "../fgas/layout", 25 ] 26 configs += [ 27 "../../:pdfium_core_config", 28 "../:xfa_warnings", 29 ] 30 visibility = [ "../../*" ] 31} 32 33pdfium_unittest_source_set("unittests") { 34 sources = [ "cfde_texteditengine_unittest.cpp" ] 35 deps = [ 36 ":fde", 37 "../../core/fxge", 38 "../../testing:unit_test_support", 39 "../fgas", 40 ] 41 pdfium_root_dir = "../../" 42} 43