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("crt") { 11 sources = [ 12 "cfgas_decimal.cpp", 13 "cfgas_decimal.h", 14 "cfgas_stringformatter.cpp", 15 "cfgas_stringformatter.h", 16 "locale_iface.h", 17 "locale_mgr_iface.h", 18 ] 19 configs += [ 20 "../../../:pdfium_strict_config", 21 "../../../:pdfium_noshorten_config", 22 "../../:xfa_warnings", 23 ] 24 deps = [ 25 "../../../core/fpdfapi/page", 26 "../../../core/fxcrt", 27 ] 28 visibility = [ "../../../*" ] 29} 30 31pdfium_unittest_source_set("unittests") { 32 sources = [ 33 "cfgas_decimal_unittest.cpp", 34 "cfgas_stringformatter_unittest.cpp", 35 ] 36 deps = [ 37 ":crt", 38 "../../../core/fpdfapi/page", 39 "../../../fxjs:gc", 40 "../../fxfa/parser:parser", 41 ] 42 pdfium_root_dir = "../../../" 43} 44