blob: 6eb8526bfce06dcca4cb53d5b2fdb5a33ac9e22d [file] [log] [blame] [edit]
# Copyright 2018 The PDFium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("../../../pdfium.gni")
import("../../../testing/test.gni")
assert(pdf_enable_xfa)
source_set("crt") {
sources = [
"cfgas_decimal.cpp",
"cfgas_decimal.h",
"cfgas_stringformatter.cpp",
"cfgas_stringformatter.h",
"locale_iface.h",
"locale_mgr_iface.h",
]
configs += [
"../../../:pdfium_strict_config",
"../../../:pdfium_noshorten_config",
"../../:xfa_warnings",
]
deps = [
"../../../core/fpdfapi/page",
"../../../core/fxcrt",
]
visibility = [ "../../../*" ]
}
pdfium_unittest_source_set("unittests") {
sources = [
"cfgas_decimal_unittest.cpp",
"cfgas_stringformatter_unittest.cpp",
]
deps = [
":crt",
"../../../core/fpdfapi/page",
"../../../fxjs:gc",
"../../fxfa/parser",
]
pdfium_root_dir = "../../../"
}