1# Copyright 2018 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("font") { 11 sources = [ 12 "cfgas_defaultfontmanager.cpp", 13 "cfgas_defaultfontmanager.h", 14 "cfgas_fontmgr.cpp", 15 "cfgas_fontmgr.h", 16 "cfgas_gefont.cpp", 17 "cfgas_gefont.h", 18 "cfgas_gemodule.cpp", 19 "cfgas_gemodule.h", 20 "cfgas_pdffontmgr.cpp", 21 "cfgas_pdffontmgr.h", 22 "fgas_fontutils.cpp", 23 "fgas_fontutils.h", 24 ] 25 configs += [ 26 "../../../:pdfium_strict_config", 27 "../../../:pdfium_noshorten_config", 28 "../../:xfa_warnings", 29 ] 30 deps = [ 31 "../../../core/fpdfapi/font", 32 "../../../core/fpdfapi/page", 33 "../../../core/fpdfapi/parser", 34 "../../../core/fxcrt", 35 "../../../core/fxge", 36 ] 37 visibility = [ "../../../*" ] 38} 39 40pdfium_unittest_source_set("unittests") { 41 sources = [ "fgas_fontutils_unittest.cpp" ] 42 deps = [ 43 ":font", 44 "../../../core/fxcrt", 45 ] 46 pdfium_root_dir = "../../../" 47} 48