1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
# Copyright 2018 The PDFium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/jumbo.gni")
import("../../pdfium.gni")
import("../../testing/test.gni")
assert(pdf_enable_xfa)
jumbo_source_set("fgas") {
sources = [
"crt/cfgas_formatstring.cpp",
"crt/cfgas_formatstring.h",
"font/cfgas_defaultfontmanager.cpp",
"font/cfgas_defaultfontmanager.h",
"font/cfgas_fontmgr.cpp",
"font/cfgas_fontmgr.h",
"font/cfgas_gefont.cpp",
"font/cfgas_gefont.h",
"font/cfgas_pdffontmgr.cpp",
"font/cfgas_pdffontmgr.h",
"font/fgas_fontutils.cpp",
"font/fgas_fontutils.h",
"layout/cfx_break.cpp",
"layout/cfx_break.h",
"layout/cfx_breakline.cpp",
"layout/cfx_breakline.h",
"layout/cfx_breakpiece.cpp",
"layout/cfx_breakpiece.h",
"layout/cfx_linebreak.cpp",
"layout/cfx_linebreak.h",
"layout/cfx_rtfbreak.cpp",
"layout/cfx_rtfbreak.h",
"layout/cfx_txtbreak.cpp",
"layout/cfx_txtbreak.h",
]
deps = [
"../../core/fpdfapi/font",
"../../core/fpdfapi/parser",
"../../core/fxcrt",
"../../core/fxge",
"../fde",
]
allow_circular_includes_from = [ "../fde" ]
configs += [
"../../:pdfium_core_config",
"../:xfa_warnings",
]
visibility = [ "../../*" ]
if (!is_win) {
sources += [
"font/cfx_fontsourceenum_file.cpp",
"font/cfx_fontsourceenum_file.h",
]
}
}
pdfium_unittest_source_set("unittests") {
sources = [
"crt/cfgas_formatstring_unittest.cpp",
"layout/cfx_rtfbreak_unittest.cpp",
"layout/cfx_txtbreak_unittest.cpp",
]
deps = [
":fgas",
"../../core/fpdfapi",
"../../core/fxge",
"../fxfa/parser",
]
pdfium_root_dir = "../../"
}
|