Tom Sepez | b545159 | 2016-02-22 16:48:02 -0800 | [diff] [blame] | 1 | # Copyright 2016 The Chromium Authors. All rights reserved. |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
Bruce Dawson | aeac951 | 2017-08-12 21:45:12 -0700 | [diff] [blame] | 5 | import("//build/config/freetype/freetype.gni") |
Tom Sepez | a32f760 | 2015-01-15 09:34:34 -0800 | [diff] [blame] | 6 | import("//testing/test.gni") |
dsinclair | 038bf0b | 2016-04-30 06:00:05 -0700 | [diff] [blame] | 7 | import("pdfium.gni") |
John Abd-El-Malek | ef4dce4 | 2015-02-02 16:52:07 -0800 | [diff] [blame] | 8 | |
Dominik Röttsches | 4b0671a | 2017-03-30 11:07:43 +0300 | [diff] [blame] | 9 | group("freetype_common") { |
| 10 | public_deps = [] |
| 11 | if (pdf_bundle_freetype) { |
| 12 | public_deps += [ "third_party:fx_freetype" ] |
| 13 | } else { |
| 14 | public_deps += [ "//build/config/freetype" ] |
| 15 | } |
| 16 | } |
| 17 | |
weili | 0abe652 | 2016-06-06 14:41:22 -0700 | [diff] [blame] | 18 | config("pdfium_common_config") { |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 19 | cflags = [] |
dsinclair | 6e162b5 | 2017-01-24 11:18:16 -0800 | [diff] [blame] | 20 | ldflags = [] |
Dominik Röttsches | 4b0671a | 2017-03-30 11:07:43 +0300 | [diff] [blame] | 21 | include_dirs = [ "." ] |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 22 | defines = [ |
John Abd-El-Malek | ef4dce4 | 2015-02-02 16:52:07 -0800 | [diff] [blame] | 23 | "OPJ_STATIC", |
John Abd-El-Malek | 385729b | 2015-02-06 15:51:11 -0800 | [diff] [blame] | 24 | "PNG_PREFIX", |
John Abd-El-Malek | 385729b | 2015-02-06 15:51:11 -0800 | [diff] [blame] | 25 | "PNG_USE_READ_MACROS", |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 26 | ] |
| 27 | |
| 28 | if (pdf_use_skia) { |
| 29 | defines += [ "_SKIA_SUPPORT_" ] |
| 30 | } |
| 31 | |
caryclark | af177fe | 2016-11-16 10:10:03 -0800 | [diff] [blame] | 32 | if (pdf_use_skia_paths) { |
| 33 | defines += [ "_SKIA_SUPPORT_PATHS_" ] |
| 34 | } |
| 35 | |
Tom Sepez | 452b4f3 | 2015-10-13 09:27:27 -0700 | [diff] [blame] | 36 | if (pdf_enable_v8) { |
| 37 | defines += [ "PDF_ENABLE_V8" ] |
| 38 | } |
| 39 | |
Tom Sepez | a8a39e2 | 2015-10-12 15:47:07 -0700 | [diff] [blame] | 40 | if (pdf_enable_xfa) { |
| 41 | defines += [ "PDF_ENABLE_XFA" ] |
Tom Sepez | 73c9f3b | 2017-02-27 10:12:59 -0800 | [diff] [blame] | 42 | if (pdf_enable_xfa_bmp) { |
| 43 | defines += [ "PDF_ENABLE_XFA_BMP" ] |
| 44 | } |
| 45 | if (pdf_enable_xfa_gif) { |
| 46 | defines += [ "PDF_ENABLE_XFA_GIF" ] |
| 47 | } |
| 48 | if (pdf_enable_xfa_png) { |
| 49 | defines += [ "PDF_ENABLE_XFA_PNG" ] |
| 50 | } |
| 51 | if (pdf_enable_xfa_tiff) { |
| 52 | defines += [ "PDF_ENABLE_XFA_TIFF" ] |
| 53 | } |
Tom Sepez | a8a39e2 | 2015-10-12 15:47:07 -0700 | [diff] [blame] | 54 | } |
thestig | 3e454bf | 2016-07-29 16:29:04 -0700 | [diff] [blame] | 55 | |
| 56 | if (pdf_use_win32_gdi) { |
| 57 | defines += [ "PDFIUM_PRINT_TEXT_WITH_GDI" ] |
| 58 | } |
dsinclair | 6e162b5 | 2017-01-24 11:18:16 -0800 | [diff] [blame] | 59 | |
| 60 | if (use_coverage && is_clang) { |
| 61 | cflags += [ |
| 62 | "--coverage", |
| 63 | "-g", |
| 64 | "-O0", |
| 65 | ] |
| 66 | ldflags += [ "--coverage" ] |
| 67 | } |
Dan Sinclair | 77e2a6c | 2017-03-13 09:35:12 -0400 | [diff] [blame] | 68 | |
| 69 | if (is_win) { |
| 70 | # Assume UTF-8 by default to avoid code page dependencies. |
| 71 | cflags += [ "/utf-8" ] |
| 72 | } |
weili | 0abe652 | 2016-06-06 14:41:22 -0700 | [diff] [blame] | 73 | } |
Tom Sepez | a8a39e2 | 2015-10-12 15:47:07 -0700 | [diff] [blame] | 74 | |
weili | 0abe652 | 2016-06-06 14:41:22 -0700 | [diff] [blame] | 75 | config("pdfium_core_config") { |
| 76 | cflags = [] |
dsinclair | 8bd9ce0 | 2016-06-09 13:24:34 -0700 | [diff] [blame] | 77 | configs = [ ":pdfium_common_config" ] |
| 78 | defines = [ "V8_DEPRECATION_WARNINGS" ] |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 79 | if (is_linux) { |
Tom Sepez | 25d5be6 | 2015-06-18 17:44:29 -0700 | [diff] [blame] | 80 | if (current_cpu == "x64") { |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 81 | defines += [ "_FX_CPU_=_FX_X64_" ] |
| 82 | cflags += [ "-fPIC" ] |
Tom Sepez | 25d5be6 | 2015-06-18 17:44:29 -0700 | [diff] [blame] | 83 | } else if (current_cpu == "x86") { |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 84 | defines += [ "_FX_CPU_=_FX_X86_" ] |
| 85 | } |
| 86 | } |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 87 | if (is_win) { |
Tom Sepez | 3bb5751 | 2017-03-28 14:09:43 -0700 | [diff] [blame] | 88 | cflags += [ |
| 89 | "/wd4267", |
Tom Sepez | 5171a27 | 2017-06-01 12:29:09 -0700 | [diff] [blame] | 90 | "/wd4324", |
Tom Sepez | 3bb5751 | 2017-03-28 14:09:43 -0700 | [diff] [blame] | 91 | "/wd4577", |
| 92 | ] |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 93 | } |
weili | dcc29b1 | 2016-05-27 17:58:23 -0700 | [diff] [blame] | 94 | } |
Lei Zhang | 476ac13 | 2015-11-05 20:07:27 -0800 | [diff] [blame] | 95 | |
weili | dcc29b1 | 2016-05-27 17:58:23 -0700 | [diff] [blame] | 96 | config("xfa_warnings") { |
| 97 | visibility = [ ":*" ] |
Tom Sepez | 3420909 | 2016-03-18 09:00:33 -0700 | [diff] [blame] | 98 | if (is_posix && !is_clang) { # When GCC. |
weili | dcc29b1 | 2016-05-27 17:58:23 -0700 | [diff] [blame] | 99 | cflags = [ "-Wno-strict-overflow" ] |
Tom Sepez | 3420909 | 2016-03-18 09:00:33 -0700 | [diff] [blame] | 100 | } |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 101 | } |
| 102 | |
Henrique Nakashima | 7e805d1 | 2017-08-10 15:13:19 +0000 | [diff] [blame] | 103 | static_library("pdfium") { |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 104 | sources = [ |
jaepark | 611adb8 | 2016-08-17 11:34:36 -0700 | [diff] [blame] | 105 | "fpdfsdk/cba_annotiterator.cpp", |
dsinclair | 114e46a | 2016-09-29 17:18:21 -0700 | [diff] [blame] | 106 | "fpdfsdk/cba_annotiterator.h", |
dsinclair | b959010 | 2016-04-27 06:38:59 -0700 | [diff] [blame] | 107 | "fpdfsdk/cfx_systemhandler.cpp", |
| 108 | "fpdfsdk/cfx_systemhandler.h", |
jaepark | 2736276 | 2016-08-11 13:10:39 -0700 | [diff] [blame] | 109 | "fpdfsdk/cpdfsdk_annot.cpp", |
dsinclair | 114e46a | 2016-09-29 17:18:21 -0700 | [diff] [blame] | 110 | "fpdfsdk/cpdfsdk_annot.h", |
jaepark | 98e1019 | 2016-08-15 10:51:11 -0700 | [diff] [blame] | 111 | "fpdfsdk/cpdfsdk_annothandlermgr.cpp", |
dsinclair | 114e46a | 2016-09-29 17:18:21 -0700 | [diff] [blame] | 112 | "fpdfsdk/cpdfsdk_annothandlermgr.h", |
tsepez | d805eec | 2017-01-11 14:03:54 -0800 | [diff] [blame] | 113 | "fpdfsdk/cpdfsdk_annotiteration.cpp", |
| 114 | "fpdfsdk/cpdfsdk_annotiteration.h", |
jaepark | 2736276 | 2016-08-11 13:10:39 -0700 | [diff] [blame] | 115 | "fpdfsdk/cpdfsdk_baannot.cpp", |
dsinclair | 114e46a | 2016-09-29 17:18:21 -0700 | [diff] [blame] | 116 | "fpdfsdk/cpdfsdk_baannot.h", |
jaepark | 35512aa | 2016-08-29 17:15:08 -0700 | [diff] [blame] | 117 | "fpdfsdk/cpdfsdk_baannothandler.cpp", |
dsinclair | 114e46a | 2016-09-29 17:18:21 -0700 | [diff] [blame] | 118 | "fpdfsdk/cpdfsdk_baannothandler.h", |
jaepark | 2736276 | 2016-08-11 13:10:39 -0700 | [diff] [blame] | 119 | "fpdfsdk/cpdfsdk_datetime.cpp", |
dsinclair | 114e46a | 2016-09-29 17:18:21 -0700 | [diff] [blame] | 120 | "fpdfsdk/cpdfsdk_datetime.h", |
dsinclair | 735606d | 2016-10-05 15:47:02 -0700 | [diff] [blame] | 121 | "fpdfsdk/cpdfsdk_formfillenvironment.cpp", |
| 122 | "fpdfsdk/cpdfsdk_formfillenvironment.h", |
jaepark | 611adb8 | 2016-08-17 11:34:36 -0700 | [diff] [blame] | 123 | "fpdfsdk/cpdfsdk_interform.cpp", |
dsinclair | 114e46a | 2016-09-29 17:18:21 -0700 | [diff] [blame] | 124 | "fpdfsdk/cpdfsdk_interform.h", |
dsinclair | f34518b | 2016-09-13 12:03:48 -0700 | [diff] [blame] | 125 | "fpdfsdk/cpdfsdk_pageview.cpp", |
dsinclair | 114e46a | 2016-09-29 17:18:21 -0700 | [diff] [blame] | 126 | "fpdfsdk/cpdfsdk_pageview.h", |
jaepark | 611adb8 | 2016-08-17 11:34:36 -0700 | [diff] [blame] | 127 | "fpdfsdk/cpdfsdk_widget.cpp", |
dsinclair | 114e46a | 2016-09-29 17:18:21 -0700 | [diff] [blame] | 128 | "fpdfsdk/cpdfsdk_widget.h", |
jaepark | 8c54182 | 2016-08-30 13:43:05 -0700 | [diff] [blame] | 129 | "fpdfsdk/cpdfsdk_widgethandler.cpp", |
dsinclair | 114e46a | 2016-09-29 17:18:21 -0700 | [diff] [blame] | 130 | "fpdfsdk/cpdfsdk_widgethandler.h", |
Dan Sinclair | f766ad2 | 2016-03-14 13:51:24 -0400 | [diff] [blame] | 131 | "fpdfsdk/fpdf_dataavail.cpp", |
| 132 | "fpdfsdk/fpdf_ext.cpp", |
| 133 | "fpdfsdk/fpdf_flatten.cpp", |
| 134 | "fpdfsdk/fpdf_progressive.cpp", |
| 135 | "fpdfsdk/fpdf_searchex.cpp", |
thestig | 9067fd6 | 2016-11-23 14:10:06 -0800 | [diff] [blame] | 136 | "fpdfsdk/fpdf_structtree.cpp", |
Dan Sinclair | f766ad2 | 2016-03-14 13:51:24 -0400 | [diff] [blame] | 137 | "fpdfsdk/fpdf_sysfontinfo.cpp", |
| 138 | "fpdfsdk/fpdf_transformpage.cpp", |
Jane Liu | 4fd9a47 | 2017-06-01 18:56:09 -0400 | [diff] [blame] | 139 | "fpdfsdk/fpdfannot.cpp", |
Jane Liu | 53aafa9 | 2017-07-12 19:55:02 -0400 | [diff] [blame] | 140 | "fpdfsdk/fpdfattachment.cpp", |
Henrique Nakashima | 077f643 | 2017-10-16 13:32:01 -0400 | [diff] [blame] | 141 | "fpdfsdk/fpdfcatalog.cpp", |
Dan Sinclair | f766ad2 | 2016-03-14 13:51:24 -0400 | [diff] [blame] | 142 | "fpdfsdk/fpdfdoc.cpp", |
| 143 | "fpdfsdk/fpdfeditimg.cpp", |
| 144 | "fpdfsdk/fpdfeditpage.cpp", |
Nicolas Pena | 55e026b | 2017-02-07 14:59:23 -0500 | [diff] [blame] | 145 | "fpdfsdk/fpdfeditpath.cpp", |
Nicolas Pena | 4905840 | 2017-02-14 18:26:20 -0500 | [diff] [blame] | 146 | "fpdfsdk/fpdfedittext.cpp", |
Dan Sinclair | f766ad2 | 2016-03-14 13:51:24 -0400 | [diff] [blame] | 147 | "fpdfsdk/fpdfformfill.cpp", |
| 148 | "fpdfsdk/fpdfppo.cpp", |
| 149 | "fpdfsdk/fpdfsave.cpp", |
| 150 | "fpdfsdk/fpdftext.cpp", |
| 151 | "fpdfsdk/fpdfview.cpp", |
| 152 | "fpdfsdk/fsdk_actionhandler.cpp", |
dsinclair | 114e46a | 2016-09-29 17:18:21 -0700 | [diff] [blame] | 153 | "fpdfsdk/fsdk_actionhandler.h", |
Dan Sinclair | ae4656e | 2017-05-09 12:36:41 -0400 | [diff] [blame] | 154 | "fpdfsdk/fsdk_filewriteadapter.cpp", |
| 155 | "fpdfsdk/fsdk_filewriteadapter.h", |
weili | 9f515bc | 2016-07-24 08:08:24 -0700 | [diff] [blame] | 156 | "fpdfsdk/fsdk_pauseadapter.cpp", |
dsinclair | 114e46a | 2016-09-29 17:18:21 -0700 | [diff] [blame] | 157 | "fpdfsdk/fsdk_pauseadapter.h", |
jaepark | 611adb8 | 2016-08-17 11:34:36 -0700 | [diff] [blame] | 158 | "fpdfsdk/pdfsdk_fieldaction.cpp", |
dsinclair | 114e46a | 2016-09-29 17:18:21 -0700 | [diff] [blame] | 159 | "fpdfsdk/pdfsdk_fieldaction.h", |
Tom Sepez | 1d17a04 | 2017-03-16 13:22:47 -0700 | [diff] [blame] | 160 | "public/cpp/fpdf_deleters.h", |
Jane Liu | 4fd9a47 | 2017-06-01 18:56:09 -0400 | [diff] [blame] | 161 | "public/fpdf_annot.h", |
Jane Liu | 53aafa9 | 2017-07-12 19:55:02 -0400 | [diff] [blame] | 162 | "public/fpdf_attachment.h", |
Henrique Nakashima | 077f643 | 2017-10-16 13:32:01 -0400 | [diff] [blame] | 163 | "public/fpdf_catalog.h", |
Tom Sepez | 1ed8a21 | 2015-05-11 15:25:39 -0700 | [diff] [blame] | 164 | "public/fpdf_dataavail.h", |
| 165 | "public/fpdf_doc.h", |
| 166 | "public/fpdf_edit.h", |
| 167 | "public/fpdf_ext.h", |
| 168 | "public/fpdf_flatten.h", |
| 169 | "public/fpdf_formfill.h", |
| 170 | "public/fpdf_fwlevent.h", |
| 171 | "public/fpdf_ppo.h", |
| 172 | "public/fpdf_progressive.h", |
| 173 | "public/fpdf_save.h", |
| 174 | "public/fpdf_searchex.h", |
thestig | 9067fd6 | 2016-11-23 14:10:06 -0800 | [diff] [blame] | 175 | "public/fpdf_structtree.h", |
Tom Sepez | 1ed8a21 | 2015-05-11 15:25:39 -0700 | [diff] [blame] | 176 | "public/fpdf_sysfontinfo.h", |
| 177 | "public/fpdf_text.h", |
| 178 | "public/fpdf_transformpage.h", |
| 179 | "public/fpdfview.h", |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 180 | ] |
| 181 | |
| 182 | libs = [] |
weili | 0abe652 | 2016-06-06 14:41:22 -0700 | [diff] [blame] | 183 | configs += [ ":pdfium_core_config" ] |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 184 | |
| 185 | deps = [ |
| 186 | ":fdrm", |
| 187 | ":formfiller", |
| 188 | ":fpdfapi", |
| 189 | ":fpdfdoc", |
| 190 | ":fpdftext", |
| 191 | ":fxcodec", |
| 192 | ":fxcrt", |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 193 | ":fxge", |
| 194 | ":javascript", |
Dan Sinclair | c411eb9 | 2017-07-25 09:39:30 -0400 | [diff] [blame] | 195 | ":pwl", |
Dan Sinclair | fffc963 | 2016-03-08 08:57:05 -0500 | [diff] [blame] | 196 | "third_party:bigint", |
| 197 | "third_party:pdfium_base", |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 198 | ] |
| 199 | |
thestig | 73c4856 | 2016-09-06 14:07:17 -0700 | [diff] [blame] | 200 | public_deps = [ |
| 201 | ":fxcrt", |
| 202 | ] |
Tom Sepez | a8a39e2 | 2015-10-12 15:47:07 -0700 | [diff] [blame] | 203 | if (pdf_enable_xfa) { |
jaepark | 611adb8 | 2016-08-17 11:34:36 -0700 | [diff] [blame] | 204 | sources += [ |
| 205 | "fpdfsdk/cpdfsdk_xfawidget.cpp", |
dsinclair | 114e46a | 2016-09-29 17:18:21 -0700 | [diff] [blame] | 206 | "fpdfsdk/cpdfsdk_xfawidget.h", |
jaepark | 8c54182 | 2016-08-30 13:43:05 -0700 | [diff] [blame] | 207 | "fpdfsdk/cpdfsdk_xfawidgethandler.cpp", |
dsinclair | 114e46a | 2016-09-29 17:18:21 -0700 | [diff] [blame] | 208 | "fpdfsdk/cpdfsdk_xfawidgethandler.h", |
jaepark | 611adb8 | 2016-08-17 11:34:36 -0700 | [diff] [blame] | 209 | ] |
| 210 | |
Tom Sepez | b545159 | 2016-02-22 16:48:02 -0800 | [diff] [blame] | 211 | deps += [ ":fpdfxfa" ] |
Tom Sepez | a8a39e2 | 2015-10-12 15:47:07 -0700 | [diff] [blame] | 212 | } |
| 213 | |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 214 | if (is_win) { |
Dan Sinclair | bc6c672 | 2015-10-22 14:58:54 -0400 | [diff] [blame] | 215 | libs += [ |
| 216 | "advapi32.lib", |
| 217 | "gdi32.lib", |
| 218 | "user32.lib", |
| 219 | ] |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 220 | } |
| 221 | |
| 222 | if (is_mac) { |
Dan Sinclair | bc6c672 | 2015-10-22 14:58:54 -0400 | [diff] [blame] | 223 | libs += [ |
| 224 | "AppKit.framework", |
| 225 | "CoreFoundation.framework", |
| 226 | ] |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 227 | } |
John Abd-El-Malek | ef4dce4 | 2015-02-02 16:52:07 -0800 | [diff] [blame] | 228 | |
dan sinclair | fa171d2 | 2017-03-26 22:38:17 -0400 | [diff] [blame] | 229 | if (pdf_is_complete_lib) { |
| 230 | complete_static_lib = true |
| 231 | } |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 232 | } |
| 233 | |
Henrique Nakashima | 7e805d1 | 2017-08-10 15:13:19 +0000 | [diff] [blame] | 234 | static_library("test_support") { |
Tom Sepez | d831dc7 | 2015-10-19 16:04:22 -0700 | [diff] [blame] | 235 | testonly = true |
| 236 | sources = [ |
Henrique Nakashima | b9776c7 | 2017-06-23 15:03:50 -0400 | [diff] [blame] | 237 | "testing/fx_string_testhelpers.cpp", |
| 238 | "testing/fx_string_testhelpers.h", |
Tom Sepez | d831dc7 | 2015-10-19 16:04:22 -0700 | [diff] [blame] | 239 | "testing/test_support.cpp", |
| 240 | "testing/test_support.h", |
Oliver Chang | d46f1c8 | 2015-11-12 22:03:10 -0800 | [diff] [blame] | 241 | "testing/utils/path_service.cpp", |
thestig | bcd3e53 | 2016-11-21 13:37:28 -0800 | [diff] [blame] | 242 | "testing/utils/path_service.h", |
Tom Sepez | d831dc7 | 2015-10-19 16:04:22 -0700 | [diff] [blame] | 243 | ] |
jbudorick | f6ee820 | 2016-12-05 06:50:50 -0800 | [diff] [blame] | 244 | data = [ |
| 245 | "testing/resources/", |
| 246 | ] |
Tom Sepez | d831dc7 | 2015-10-19 16:04:22 -0700 | [diff] [blame] | 247 | deps = [ |
Dan Sinclair | fffc963 | 2016-03-08 08:57:05 -0500 | [diff] [blame] | 248 | ":pdfium", |
Tom Sepez | d831dc7 | 2015-10-19 16:04:22 -0700 | [diff] [blame] | 249 | "//testing/gmock", |
| 250 | "//testing/gtest", |
Tom Sepez | d831dc7 | 2015-10-19 16:04:22 -0700 | [diff] [blame] | 251 | ] |
Lei Zhang | 8241df7 | 2015-11-06 14:38:48 -0800 | [diff] [blame] | 252 | include_dirs = [] |
Tom Sepez | d831dc7 | 2015-10-19 16:04:22 -0700 | [diff] [blame] | 253 | if (pdf_enable_v8) { |
| 254 | deps += [ |
| 255 | "//v8", |
| 256 | "//v8:v8_libplatform", |
| 257 | ] |
| 258 | include_dirs += [ |
| 259 | "//v8", |
| 260 | "//v8/include", |
| 261 | ] |
Jochen Eisinger | 7ed503d | 2015-12-10 14:38:06 +0100 | [diff] [blame] | 262 | configs += [ "//v8:external_startup_data" ] |
Tom Sepez | d831dc7 | 2015-10-19 16:04:22 -0700 | [diff] [blame] | 263 | } |
weili | 0abe652 | 2016-06-06 14:41:22 -0700 | [diff] [blame] | 264 | configs += [ ":pdfium_core_config" ] |
Tom Sepez | d831dc7 | 2015-10-19 16:04:22 -0700 | [diff] [blame] | 265 | } |
| 266 | |
Henrique Nakashima | 7e805d1 | 2017-08-10 15:13:19 +0000 | [diff] [blame] | 267 | static_library("image_diff") { |
Lei Zhang | 143959d | 2017-06-22 12:20:58 -0700 | [diff] [blame] | 268 | testonly = true |
| 269 | sources = [ |
| 270 | "testing/image_diff/image_diff_png.cpp", |
| 271 | "testing/image_diff/image_diff_png.h", |
| 272 | ] |
Lei Zhang | ba57b6c | 2017-06-26 11:50:54 -0700 | [diff] [blame] | 273 | configs += [ ":pdfium_core_config" ] |
Lei Zhang | 143959d | 2017-06-22 12:20:58 -0700 | [diff] [blame] | 274 | deps = [] |
| 275 | if (!pdf_enable_xfa) { |
| 276 | deps += [ "third_party:fx_lpng" ] |
| 277 | } |
| 278 | } |
| 279 | |
Tom Sepez | d831dc7 | 2015-10-19 16:04:22 -0700 | [diff] [blame] | 280 | # Targets below this are only visible within this file (and to the |
| 281 | # top-level gn_visibility target used to help gn_all build everything). |
| 282 | visibility = [ |
| 283 | ":*", |
| 284 | "//:gn_visibility", |
| 285 | ] |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 286 | |
Henrique Nakashima | 7e805d1 | 2017-08-10 15:13:19 +0000 | [diff] [blame] | 287 | static_library("fdrm") { |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 288 | sources = [ |
Dan Sinclair | 764ec51 | 2016-03-14 13:35:12 -0400 | [diff] [blame] | 289 | "core/fdrm/crypto/fx_crypt.cpp", |
dsinclair | b1469a2 | 2016-09-29 10:00:05 -0700 | [diff] [blame] | 290 | "core/fdrm/crypto/fx_crypt.h", |
Dan Sinclair | 764ec51 | 2016-03-14 13:35:12 -0400 | [diff] [blame] | 291 | "core/fdrm/crypto/fx_crypt_aes.cpp", |
| 292 | "core/fdrm/crypto/fx_crypt_sha.cpp", |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 293 | ] |
weili | 0abe652 | 2016-06-06 14:41:22 -0700 | [diff] [blame] | 294 | configs += [ ":pdfium_core_config" ] |
thestig | 73c4856 | 2016-09-06 14:07:17 -0700 | [diff] [blame] | 295 | deps = [ |
| 296 | ":fxcrt", |
| 297 | ] |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 298 | } |
| 299 | |
Henrique Nakashima | 7e805d1 | 2017-08-10 15:13:19 +0000 | [diff] [blame] | 300 | static_library("fpdfdoc") { |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 301 | sources = [ |
dsinclair | 448c433 | 2016-08-02 12:07:35 -0700 | [diff] [blame] | 302 | "core/fpdfdoc/cline.cpp", |
| 303 | "core/fpdfdoc/cline.h", |
dsinclair | 02e6f59 | 2016-08-02 11:25:48 -0700 | [diff] [blame] | 304 | "core/fpdfdoc/cpdf_aaction.cpp", |
dsinclair | 1727aee | 2016-09-29 13:12:56 -0700 | [diff] [blame] | 305 | "core/fpdfdoc/cpdf_aaction.h", |
dsinclair | 02e6f59 | 2016-08-02 11:25:48 -0700 | [diff] [blame] | 306 | "core/fpdfdoc/cpdf_action.cpp", |
dsinclair | 1727aee | 2016-09-29 13:12:56 -0700 | [diff] [blame] | 307 | "core/fpdfdoc/cpdf_action.h", |
dsinclair | 02e6f59 | 2016-08-02 11:25:48 -0700 | [diff] [blame] | 308 | "core/fpdfdoc/cpdf_actionfields.cpp", |
dsinclair | 1727aee | 2016-09-29 13:12:56 -0700 | [diff] [blame] | 309 | "core/fpdfdoc/cpdf_actionfields.h", |
jaepark | 3b6c7e9 | 2016-07-20 14:18:04 -0700 | [diff] [blame] | 310 | "core/fpdfdoc/cpdf_annot.cpp", |
dsinclair | 1727aee | 2016-09-29 13:12:56 -0700 | [diff] [blame] | 311 | "core/fpdfdoc/cpdf_annot.h", |
jaepark | 3b6c7e9 | 2016-07-20 14:18:04 -0700 | [diff] [blame] | 312 | "core/fpdfdoc/cpdf_annotlist.cpp", |
dsinclair | 1727aee | 2016-09-29 13:12:56 -0700 | [diff] [blame] | 313 | "core/fpdfdoc/cpdf_annotlist.h", |
dsinclair | 27053d8 | 2016-08-02 15:43:46 -0700 | [diff] [blame] | 314 | "core/fpdfdoc/cpdf_apsettings.cpp", |
dsinclair | cac704d | 2016-07-28 12:59:09 -0700 | [diff] [blame] | 315 | "core/fpdfdoc/cpdf_apsettings.h", |
dsinclair | 02e6f59 | 2016-08-02 11:25:48 -0700 | [diff] [blame] | 316 | "core/fpdfdoc/cpdf_bookmark.cpp", |
dsinclair | 1727aee | 2016-09-29 13:12:56 -0700 | [diff] [blame] | 317 | "core/fpdfdoc/cpdf_bookmark.h", |
dsinclair | 02e6f59 | 2016-08-02 11:25:48 -0700 | [diff] [blame] | 318 | "core/fpdfdoc/cpdf_bookmarktree.cpp", |
dsinclair | 1727aee | 2016-09-29 13:12:56 -0700 | [diff] [blame] | 319 | "core/fpdfdoc/cpdf_bookmarktree.h", |
dsinclair | 27053d8 | 2016-08-02 15:43:46 -0700 | [diff] [blame] | 320 | "core/fpdfdoc/cpdf_defaultappearance.cpp", |
dsinclair | 1727aee | 2016-09-29 13:12:56 -0700 | [diff] [blame] | 321 | "core/fpdfdoc/cpdf_defaultappearance.h", |
dsinclair | 448c433 | 2016-08-02 12:07:35 -0700 | [diff] [blame] | 322 | "core/fpdfdoc/cpdf_dest.cpp", |
dsinclair | 1727aee | 2016-09-29 13:12:56 -0700 | [diff] [blame] | 323 | "core/fpdfdoc/cpdf_dest.h", |
dsinclair | 02e6f59 | 2016-08-02 11:25:48 -0700 | [diff] [blame] | 324 | "core/fpdfdoc/cpdf_docjsactions.cpp", |
dsinclair | 1727aee | 2016-09-29 13:12:56 -0700 | [diff] [blame] | 325 | "core/fpdfdoc/cpdf_docjsactions.h", |
dsinclair | 448c433 | 2016-08-02 12:07:35 -0700 | [diff] [blame] | 326 | "core/fpdfdoc/cpdf_filespec.cpp", |
dsinclair | 1727aee | 2016-09-29 13:12:56 -0700 | [diff] [blame] | 327 | "core/fpdfdoc/cpdf_filespec.h", |
dsinclair | 27053d8 | 2016-08-02 15:43:46 -0700 | [diff] [blame] | 328 | "core/fpdfdoc/cpdf_formcontrol.cpp", |
dsinclair | 1727aee | 2016-09-29 13:12:56 -0700 | [diff] [blame] | 329 | "core/fpdfdoc/cpdf_formcontrol.h", |
dsinclair | 27053d8 | 2016-08-02 15:43:46 -0700 | [diff] [blame] | 330 | "core/fpdfdoc/cpdf_formfield.cpp", |
dsinclair | 1727aee | 2016-09-29 13:12:56 -0700 | [diff] [blame] | 331 | "core/fpdfdoc/cpdf_formfield.h", |
dsinclair | 27053d8 | 2016-08-02 15:43:46 -0700 | [diff] [blame] | 332 | "core/fpdfdoc/cpdf_iconfit.cpp", |
dsinclair | 1727aee | 2016-09-29 13:12:56 -0700 | [diff] [blame] | 333 | "core/fpdfdoc/cpdf_iconfit.h", |
dsinclair | 27053d8 | 2016-08-02 15:43:46 -0700 | [diff] [blame] | 334 | "core/fpdfdoc/cpdf_interform.cpp", |
dsinclair | 1727aee | 2016-09-29 13:12:56 -0700 | [diff] [blame] | 335 | "core/fpdfdoc/cpdf_interform.h", |
dsinclair | 02e6f59 | 2016-08-02 11:25:48 -0700 | [diff] [blame] | 336 | "core/fpdfdoc/cpdf_link.cpp", |
dsinclair | 1727aee | 2016-09-29 13:12:56 -0700 | [diff] [blame] | 337 | "core/fpdfdoc/cpdf_link.h", |
dsinclair | 02e6f59 | 2016-08-02 11:25:48 -0700 | [diff] [blame] | 338 | "core/fpdfdoc/cpdf_linklist.cpp", |
dsinclair | 1727aee | 2016-09-29 13:12:56 -0700 | [diff] [blame] | 339 | "core/fpdfdoc/cpdf_linklist.h", |
dsinclair | 02e6f59 | 2016-08-02 11:25:48 -0700 | [diff] [blame] | 340 | "core/fpdfdoc/cpdf_metadata.cpp", |
dsinclair | 1727aee | 2016-09-29 13:12:56 -0700 | [diff] [blame] | 341 | "core/fpdfdoc/cpdf_metadata.h", |
dsinclair | 448c433 | 2016-08-02 12:07:35 -0700 | [diff] [blame] | 342 | "core/fpdfdoc/cpdf_nametree.cpp", |
dsinclair | 1727aee | 2016-09-29 13:12:56 -0700 | [diff] [blame] | 343 | "core/fpdfdoc/cpdf_nametree.h", |
dsinclair | 27053d8 | 2016-08-02 15:43:46 -0700 | [diff] [blame] | 344 | "core/fpdfdoc/cpdf_numbertree.cpp", |
| 345 | "core/fpdfdoc/cpdf_numbertree.h", |
dsinclair | 448c433 | 2016-08-02 12:07:35 -0700 | [diff] [blame] | 346 | "core/fpdfdoc/cpdf_occontext.cpp", |
dsinclair | 1727aee | 2016-09-29 13:12:56 -0700 | [diff] [blame] | 347 | "core/fpdfdoc/cpdf_occontext.h", |
dsinclair | 448c433 | 2016-08-02 12:07:35 -0700 | [diff] [blame] | 348 | "core/fpdfdoc/cpdf_pagelabel.cpp", |
dsinclair | cac704d | 2016-07-28 12:59:09 -0700 | [diff] [blame] | 349 | "core/fpdfdoc/cpdf_pagelabel.h", |
dan sinclair | 7f38961 | 2017-04-06 13:38:54 -0400 | [diff] [blame] | 350 | "core/fpdfdoc/cpdf_structelement.cpp", |
| 351 | "core/fpdfdoc/cpdf_structelement.h", |
| 352 | "core/fpdfdoc/cpdf_structtree.cpp", |
| 353 | "core/fpdfdoc/cpdf_structtree.h", |
dsinclair | c7a7349 | 2016-04-05 12:01:42 -0700 | [diff] [blame] | 354 | "core/fpdfdoc/cpdf_variabletext.cpp", |
dsinclair | 1727aee | 2016-09-29 13:12:56 -0700 | [diff] [blame] | 355 | "core/fpdfdoc/cpdf_variabletext.h", |
dsinclair | 02e6f59 | 2016-08-02 11:25:48 -0700 | [diff] [blame] | 356 | "core/fpdfdoc/cpdf_viewerpreferences.cpp", |
dsinclair | 1727aee | 2016-09-29 13:12:56 -0700 | [diff] [blame] | 357 | "core/fpdfdoc/cpdf_viewerpreferences.h", |
dsinclair | c7a7349 | 2016-04-05 12:01:42 -0700 | [diff] [blame] | 358 | "core/fpdfdoc/cpvt_floatrect.h", |
dsinclair | 777b333 | 2016-03-31 20:03:08 -0700 | [diff] [blame] | 359 | "core/fpdfdoc/cpvt_fontmap.cpp", |
| 360 | "core/fpdfdoc/cpvt_fontmap.h", |
| 361 | "core/fpdfdoc/cpvt_generateap.cpp", |
| 362 | "core/fpdfdoc/cpvt_generateap.h", |
dsinclair | 1727aee | 2016-09-29 13:12:56 -0700 | [diff] [blame] | 363 | "core/fpdfdoc/cpvt_line.h", |
dsinclair | c7a7349 | 2016-04-05 12:01:42 -0700 | [diff] [blame] | 364 | "core/fpdfdoc/cpvt_lineinfo.h", |
dsinclair | 1727aee | 2016-09-29 13:12:56 -0700 | [diff] [blame] | 365 | "core/fpdfdoc/cpvt_word.h", |
weili | 5a6c139 | 2016-07-11 14:43:40 -0700 | [diff] [blame] | 366 | "core/fpdfdoc/cpvt_wordinfo.cpp", |
dsinclair | c7a7349 | 2016-04-05 12:01:42 -0700 | [diff] [blame] | 367 | "core/fpdfdoc/cpvt_wordinfo.h", |
dsinclair | 1727aee | 2016-09-29 13:12:56 -0700 | [diff] [blame] | 368 | "core/fpdfdoc/cpvt_wordplace.h", |
dsinclair | 1727aee | 2016-09-29 13:12:56 -0700 | [diff] [blame] | 369 | "core/fpdfdoc/cpvt_wordrange.h", |
thestig | 9c845c3 | 2016-05-13 11:08:41 -0700 | [diff] [blame] | 370 | "core/fpdfdoc/csection.cpp", |
dsinclair | c7a7349 | 2016-04-05 12:01:42 -0700 | [diff] [blame] | 371 | "core/fpdfdoc/csection.h", |
thestig | 9c845c3 | 2016-05-13 11:08:41 -0700 | [diff] [blame] | 372 | "core/fpdfdoc/ctypeset.cpp", |
dsinclair | c7a7349 | 2016-04-05 12:01:42 -0700 | [diff] [blame] | 373 | "core/fpdfdoc/ctypeset.h", |
dsinclair | 1727aee | 2016-09-29 13:12:56 -0700 | [diff] [blame] | 374 | "core/fpdfdoc/ipdf_formnotify.h", |
| 375 | "core/fpdfdoc/ipvt_fontmap.h", |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 376 | ] |
weili | 0abe652 | 2016-06-06 14:41:22 -0700 | [diff] [blame] | 377 | configs += [ ":pdfium_core_config" ] |
thestig | 73c4856 | 2016-09-06 14:07:17 -0700 | [diff] [blame] | 378 | deps = [ |
| 379 | ":fxcrt", |
| 380 | ] |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 381 | } |
| 382 | |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 383 | static_library("fpdfapi") { |
| 384 | sources = [ |
dsinclair | a6c9215 | 2016-10-04 10:58:54 -0700 | [diff] [blame] | 385 | "core/fpdfapi/cmaps/CNS1/Adobe-CNS1-UCS2_5.cpp", |
| 386 | "core/fpdfapi/cmaps/CNS1/B5pc-H_0.cpp", |
| 387 | "core/fpdfapi/cmaps/CNS1/B5pc-V_0.cpp", |
| 388 | "core/fpdfapi/cmaps/CNS1/CNS-EUC-H_0.cpp", |
| 389 | "core/fpdfapi/cmaps/CNS1/CNS-EUC-V_0.cpp", |
| 390 | "core/fpdfapi/cmaps/CNS1/ETen-B5-H_0.cpp", |
| 391 | "core/fpdfapi/cmaps/CNS1/ETen-B5-V_0.cpp", |
| 392 | "core/fpdfapi/cmaps/CNS1/ETenms-B5-H_0.cpp", |
| 393 | "core/fpdfapi/cmaps/CNS1/ETenms-B5-V_0.cpp", |
| 394 | "core/fpdfapi/cmaps/CNS1/HKscs-B5-H_5.cpp", |
| 395 | "core/fpdfapi/cmaps/CNS1/HKscs-B5-V_5.cpp", |
| 396 | "core/fpdfapi/cmaps/CNS1/UniCNS-UCS2-H_3.cpp", |
| 397 | "core/fpdfapi/cmaps/CNS1/UniCNS-UCS2-V_3.cpp", |
| 398 | "core/fpdfapi/cmaps/CNS1/UniCNS-UTF16-H_0.cpp", |
| 399 | "core/fpdfapi/cmaps/CNS1/cmaps_cns1.cpp", |
| 400 | "core/fpdfapi/cmaps/GB1/Adobe-GB1-UCS2_5.cpp", |
| 401 | "core/fpdfapi/cmaps/GB1/GB-EUC-H_0.cpp", |
| 402 | "core/fpdfapi/cmaps/GB1/GB-EUC-V_0.cpp", |
| 403 | "core/fpdfapi/cmaps/GB1/GBK-EUC-H_2.cpp", |
| 404 | "core/fpdfapi/cmaps/GB1/GBK-EUC-V_2.cpp", |
| 405 | "core/fpdfapi/cmaps/GB1/GBK2K-H_5.cpp", |
| 406 | "core/fpdfapi/cmaps/GB1/GBK2K-V_5.cpp", |
| 407 | "core/fpdfapi/cmaps/GB1/GBKp-EUC-H_2.cpp", |
| 408 | "core/fpdfapi/cmaps/GB1/GBKp-EUC-V_2.cpp", |
| 409 | "core/fpdfapi/cmaps/GB1/GBpc-EUC-H_0.cpp", |
| 410 | "core/fpdfapi/cmaps/GB1/GBpc-EUC-V_0.cpp", |
| 411 | "core/fpdfapi/cmaps/GB1/UniGB-UCS2-H_4.cpp", |
| 412 | "core/fpdfapi/cmaps/GB1/UniGB-UCS2-V_4.cpp", |
| 413 | "core/fpdfapi/cmaps/GB1/cmaps_gb1.cpp", |
| 414 | "core/fpdfapi/cmaps/Japan1/83pv-RKSJ-H_1.cpp", |
| 415 | "core/fpdfapi/cmaps/Japan1/90ms-RKSJ-H_2.cpp", |
| 416 | "core/fpdfapi/cmaps/Japan1/90ms-RKSJ-V_2.cpp", |
| 417 | "core/fpdfapi/cmaps/Japan1/90msp-RKSJ-H_2.cpp", |
| 418 | "core/fpdfapi/cmaps/Japan1/90msp-RKSJ-V_2.cpp", |
| 419 | "core/fpdfapi/cmaps/Japan1/90pv-RKSJ-H_1.cpp", |
| 420 | "core/fpdfapi/cmaps/Japan1/Add-RKSJ-H_1.cpp", |
| 421 | "core/fpdfapi/cmaps/Japan1/Add-RKSJ-V_1.cpp", |
| 422 | "core/fpdfapi/cmaps/Japan1/Adobe-Japan1-UCS2_4.cpp", |
| 423 | "core/fpdfapi/cmaps/Japan1/EUC-H_1.cpp", |
| 424 | "core/fpdfapi/cmaps/Japan1/EUC-V_1.cpp", |
| 425 | "core/fpdfapi/cmaps/Japan1/Ext-RKSJ-H_2.cpp", |
| 426 | "core/fpdfapi/cmaps/Japan1/Ext-RKSJ-V_2.cpp", |
| 427 | "core/fpdfapi/cmaps/Japan1/H_1.cpp", |
| 428 | "core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-HW-H_4.cpp", |
| 429 | "core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-HW-V_4.cpp", |
| 430 | "core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-H_4.cpp", |
| 431 | "core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-V_4.cpp", |
| 432 | "core/fpdfapi/cmaps/Japan1/V_1.cpp", |
| 433 | "core/fpdfapi/cmaps/Japan1/cmaps_japan1.cpp", |
| 434 | "core/fpdfapi/cmaps/Korea1/Adobe-Korea1-UCS2_2.cpp", |
| 435 | "core/fpdfapi/cmaps/Korea1/KSC-EUC-H_0.cpp", |
| 436 | "core/fpdfapi/cmaps/Korea1/KSC-EUC-V_0.cpp", |
| 437 | "core/fpdfapi/cmaps/Korea1/KSCms-UHC-HW-H_1.cpp", |
| 438 | "core/fpdfapi/cmaps/Korea1/KSCms-UHC-HW-V_1.cpp", |
| 439 | "core/fpdfapi/cmaps/Korea1/KSCms-UHC-H_1.cpp", |
| 440 | "core/fpdfapi/cmaps/Korea1/KSCms-UHC-V_1.cpp", |
| 441 | "core/fpdfapi/cmaps/Korea1/KSCpc-EUC-H_0.cpp", |
| 442 | "core/fpdfapi/cmaps/Korea1/UniKS-UCS2-H_1.cpp", |
| 443 | "core/fpdfapi/cmaps/Korea1/UniKS-UCS2-V_1.cpp", |
| 444 | "core/fpdfapi/cmaps/Korea1/UniKS-UTF16-H_0.cpp", |
| 445 | "core/fpdfapi/cmaps/Korea1/cmaps_korea1.cpp", |
| 446 | "core/fpdfapi/cmaps/cmap_int.h", |
| 447 | "core/fpdfapi/cmaps/fpdf_cmaps.cpp", |
tsepez | ddffb57 | 2016-05-24 16:20:29 -0700 | [diff] [blame] | 448 | "core/fpdfapi/cpdf_modulemgr.cpp", |
dsinclair | 39c62fd | 2016-09-29 12:49:17 -0700 | [diff] [blame] | 449 | "core/fpdfapi/cpdf_modulemgr.h", |
weili | 9f515bc | 2016-07-24 08:08:24 -0700 | [diff] [blame] | 450 | "core/fpdfapi/cpdf_pagerendercontext.cpp", |
dsinclair | 39c62fd | 2016-09-29 12:49:17 -0700 | [diff] [blame] | 451 | "core/fpdfapi/cpdf_pagerendercontext.h", |
Dan Sinclair | a0b1954 | 2017-05-09 12:36:08 -0400 | [diff] [blame] | 452 | "core/fpdfapi/edit/cpdf_creator.cpp", |
dsinclair | 2415435 | 2016-10-04 11:01:48 -0700 | [diff] [blame] | 453 | "core/fpdfapi/edit/cpdf_creator.h", |
Dan Sinclair | a0b1954 | 2017-05-09 12:36:08 -0400 | [diff] [blame] | 454 | "core/fpdfapi/edit/cpdf_encryptor.cpp", |
| 455 | "core/fpdfapi/edit/cpdf_encryptor.h", |
| 456 | "core/fpdfapi/edit/cpdf_flateencoder.cpp", |
| 457 | "core/fpdfapi/edit/cpdf_flateencoder.h", |
dsinclair | 2415435 | 2016-10-04 11:01:48 -0700 | [diff] [blame] | 458 | "core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp", |
| 459 | "core/fpdfapi/edit/cpdf_pagecontentgenerator.h", |
Nicolas Pena | 169b301 | 2017-05-26 14:38:03 -0400 | [diff] [blame] | 460 | "core/fpdfapi/font/cfx_cttgsubtable.cpp", |
| 461 | "core/fpdfapi/font/cfx_cttgsubtable.h", |
| 462 | "core/fpdfapi/font/cfx_stockfontarray.cpp", |
| 463 | "core/fpdfapi/font/cfx_stockfontarray.h", |
| 464 | "core/fpdfapi/font/cpdf_cid2unicodemap.cpp", |
| 465 | "core/fpdfapi/font/cpdf_cid2unicodemap.h", |
dsinclair | bc5e6d2 | 2016-10-04 11:08:49 -0700 | [diff] [blame] | 466 | "core/fpdfapi/font/cpdf_cidfont.cpp", |
| 467 | "core/fpdfapi/font/cpdf_cidfont.h", |
Nicolas Pena | 169b301 | 2017-05-26 14:38:03 -0400 | [diff] [blame] | 468 | "core/fpdfapi/font/cpdf_cmap.cpp", |
| 469 | "core/fpdfapi/font/cpdf_cmap.h", |
| 470 | "core/fpdfapi/font/cpdf_cmapmanager.cpp", |
| 471 | "core/fpdfapi/font/cpdf_cmapmanager.h", |
| 472 | "core/fpdfapi/font/cpdf_cmapparser.cpp", |
| 473 | "core/fpdfapi/font/cpdf_cmapparser.h", |
dsinclair | bc5e6d2 | 2016-10-04 11:08:49 -0700 | [diff] [blame] | 474 | "core/fpdfapi/font/cpdf_font.cpp", |
| 475 | "core/fpdfapi/font/cpdf_font.h", |
| 476 | "core/fpdfapi/font/cpdf_fontencoding.cpp", |
| 477 | "core/fpdfapi/font/cpdf_fontencoding.h", |
Nicolas Pena | 169b301 | 2017-05-26 14:38:03 -0400 | [diff] [blame] | 478 | "core/fpdfapi/font/cpdf_fontglobals.cpp", |
| 479 | "core/fpdfapi/font/cpdf_fontglobals.h", |
dsinclair | bc5e6d2 | 2016-10-04 11:08:49 -0700 | [diff] [blame] | 480 | "core/fpdfapi/font/cpdf_simplefont.cpp", |
| 481 | "core/fpdfapi/font/cpdf_simplefont.h", |
Nicolas Pena | 169b301 | 2017-05-26 14:38:03 -0400 | [diff] [blame] | 482 | "core/fpdfapi/font/cpdf_tounicodemap.cpp", |
| 483 | "core/fpdfapi/font/cpdf_tounicodemap.h", |
dsinclair | bc5e6d2 | 2016-10-04 11:08:49 -0700 | [diff] [blame] | 484 | "core/fpdfapi/font/cpdf_truetypefont.cpp", |
| 485 | "core/fpdfapi/font/cpdf_truetypefont.h", |
| 486 | "core/fpdfapi/font/cpdf_type1font.cpp", |
| 487 | "core/fpdfapi/font/cpdf_type1font.h", |
| 488 | "core/fpdfapi/font/cpdf_type3char.cpp", |
| 489 | "core/fpdfapi/font/cpdf_type3char.h", |
| 490 | "core/fpdfapi/font/cpdf_type3font.cpp", |
| 491 | "core/fpdfapi/font/cpdf_type3font.h", |
dsinclair | 41872fa | 2016-10-04 11:29:35 -0700 | [diff] [blame] | 492 | "core/fpdfapi/page/cpdf_allstates.cpp", |
| 493 | "core/fpdfapi/page/cpdf_allstates.h", |
| 494 | "core/fpdfapi/page/cpdf_clippath.cpp", |
| 495 | "core/fpdfapi/page/cpdf_clippath.h", |
| 496 | "core/fpdfapi/page/cpdf_color.cpp", |
| 497 | "core/fpdfapi/page/cpdf_color.h", |
| 498 | "core/fpdfapi/page/cpdf_colorspace.cpp", |
| 499 | "core/fpdfapi/page/cpdf_colorspace.h", |
| 500 | "core/fpdfapi/page/cpdf_colorstate.cpp", |
| 501 | "core/fpdfapi/page/cpdf_colorstate.h", |
| 502 | "core/fpdfapi/page/cpdf_contentmark.cpp", |
| 503 | "core/fpdfapi/page/cpdf_contentmark.h", |
| 504 | "core/fpdfapi/page/cpdf_contentmarkitem.cpp", |
| 505 | "core/fpdfapi/page/cpdf_contentmarkitem.h", |
npm | 014b012 | 2016-11-07 08:42:11 -0800 | [diff] [blame] | 506 | "core/fpdfapi/page/cpdf_contentparser.cpp", |
tsepez | 1aff265 | 2016-11-22 10:45:59 -0800 | [diff] [blame] | 507 | "core/fpdfapi/page/cpdf_contentparser.h", |
dsinclair | 41872fa | 2016-10-04 11:29:35 -0700 | [diff] [blame] | 508 | "core/fpdfapi/page/cpdf_countedobject.h", |
Dan Sinclair | 5acacd3 | 2017-05-25 14:04:59 -0400 | [diff] [blame] | 509 | "core/fpdfapi/page/cpdf_devicecs.cpp", |
| 510 | "core/fpdfapi/page/cpdf_devicecs.h", |
tsepez | 9fa95ef | 2016-10-11 12:29:38 -0700 | [diff] [blame] | 511 | "core/fpdfapi/page/cpdf_docpagedata.cpp", |
| 512 | "core/fpdfapi/page/cpdf_docpagedata.h", |
Dan Sinclair | 5acacd3 | 2017-05-25 14:04:59 -0400 | [diff] [blame] | 513 | "core/fpdfapi/page/cpdf_expintfunc.cpp", |
| 514 | "core/fpdfapi/page/cpdf_expintfunc.h", |
dsinclair | 41872fa | 2016-10-04 11:29:35 -0700 | [diff] [blame] | 515 | "core/fpdfapi/page/cpdf_form.cpp", |
| 516 | "core/fpdfapi/page/cpdf_form.h", |
| 517 | "core/fpdfapi/page/cpdf_formobject.cpp", |
| 518 | "core/fpdfapi/page/cpdf_formobject.h", |
Dan Sinclair | 5acacd3 | 2017-05-25 14:04:59 -0400 | [diff] [blame] | 519 | "core/fpdfapi/page/cpdf_function.cpp", |
| 520 | "core/fpdfapi/page/cpdf_function.h", |
dsinclair | 41872fa | 2016-10-04 11:29:35 -0700 | [diff] [blame] | 521 | "core/fpdfapi/page/cpdf_generalstate.cpp", |
| 522 | "core/fpdfapi/page/cpdf_generalstate.h", |
| 523 | "core/fpdfapi/page/cpdf_graphicstates.cpp", |
| 524 | "core/fpdfapi/page/cpdf_graphicstates.h", |
Dan Sinclair | 5acacd3 | 2017-05-25 14:04:59 -0400 | [diff] [blame] | 525 | "core/fpdfapi/page/cpdf_iccprofile.cpp", |
| 526 | "core/fpdfapi/page/cpdf_iccprofile.h", |
dsinclair | 41872fa | 2016-10-04 11:29:35 -0700 | [diff] [blame] | 527 | "core/fpdfapi/page/cpdf_image.cpp", |
| 528 | "core/fpdfapi/page/cpdf_image.h", |
| 529 | "core/fpdfapi/page/cpdf_imageobject.cpp", |
| 530 | "core/fpdfapi/page/cpdf_imageobject.h", |
| 531 | "core/fpdfapi/page/cpdf_meshstream.cpp", |
| 532 | "core/fpdfapi/page/cpdf_meshstream.h", |
| 533 | "core/fpdfapi/page/cpdf_page.cpp", |
| 534 | "core/fpdfapi/page/cpdf_page.h", |
| 535 | "core/fpdfapi/page/cpdf_pagemodule.cpp", |
| 536 | "core/fpdfapi/page/cpdf_pagemodule.h", |
| 537 | "core/fpdfapi/page/cpdf_pageobject.cpp", |
| 538 | "core/fpdfapi/page/cpdf_pageobject.h", |
| 539 | "core/fpdfapi/page/cpdf_pageobjectholder.cpp", |
| 540 | "core/fpdfapi/page/cpdf_pageobjectholder.h", |
| 541 | "core/fpdfapi/page/cpdf_pageobjectlist.cpp", |
| 542 | "core/fpdfapi/page/cpdf_pageobjectlist.h", |
| 543 | "core/fpdfapi/page/cpdf_path.cpp", |
| 544 | "core/fpdfapi/page/cpdf_path.h", |
| 545 | "core/fpdfapi/page/cpdf_pathobject.cpp", |
| 546 | "core/fpdfapi/page/cpdf_pathobject.h", |
| 547 | "core/fpdfapi/page/cpdf_pattern.cpp", |
| 548 | "core/fpdfapi/page/cpdf_pattern.h", |
Dan Sinclair | 5acacd3 | 2017-05-25 14:04:59 -0400 | [diff] [blame] | 549 | "core/fpdfapi/page/cpdf_patterncs.cpp", |
| 550 | "core/fpdfapi/page/cpdf_patterncs.h", |
| 551 | "core/fpdfapi/page/cpdf_psengine.cpp", |
| 552 | "core/fpdfapi/page/cpdf_psengine.h", |
| 553 | "core/fpdfapi/page/cpdf_psfunc.cpp", |
| 554 | "core/fpdfapi/page/cpdf_psfunc.h", |
| 555 | "core/fpdfapi/page/cpdf_sampledfunc.cpp", |
| 556 | "core/fpdfapi/page/cpdf_sampledfunc.h", |
dsinclair | 41872fa | 2016-10-04 11:29:35 -0700 | [diff] [blame] | 557 | "core/fpdfapi/page/cpdf_shadingobject.cpp", |
| 558 | "core/fpdfapi/page/cpdf_shadingobject.h", |
| 559 | "core/fpdfapi/page/cpdf_shadingpattern.cpp", |
| 560 | "core/fpdfapi/page/cpdf_shadingpattern.h", |
Dan Sinclair | 5acacd3 | 2017-05-25 14:04:59 -0400 | [diff] [blame] | 561 | "core/fpdfapi/page/cpdf_stitchfunc.cpp", |
| 562 | "core/fpdfapi/page/cpdf_stitchfunc.h", |
tsepez | 271d9c0 | 2016-10-13 11:29:04 -0700 | [diff] [blame] | 563 | "core/fpdfapi/page/cpdf_streamcontentparser.cpp", |
| 564 | "core/fpdfapi/page/cpdf_streamcontentparser.h", |
npm | 014b012 | 2016-11-07 08:42:11 -0800 | [diff] [blame] | 565 | "core/fpdfapi/page/cpdf_streamparser.cpp", |
tsepez | 1aff265 | 2016-11-22 10:45:59 -0800 | [diff] [blame] | 566 | "core/fpdfapi/page/cpdf_streamparser.h", |
dsinclair | 41872fa | 2016-10-04 11:29:35 -0700 | [diff] [blame] | 567 | "core/fpdfapi/page/cpdf_textobject.cpp", |
| 568 | "core/fpdfapi/page/cpdf_textobject.h", |
| 569 | "core/fpdfapi/page/cpdf_textstate.cpp", |
| 570 | "core/fpdfapi/page/cpdf_textstate.h", |
| 571 | "core/fpdfapi/page/cpdf_tilingpattern.cpp", |
| 572 | "core/fpdfapi/page/cpdf_tilingpattern.h", |
dsinclair | 488b7ad | 2016-10-04 11:55:50 -0700 | [diff] [blame] | 573 | "core/fpdfapi/parser/cfdf_document.cpp", |
| 574 | "core/fpdfapi/parser/cfdf_document.h", |
| 575 | "core/fpdfapi/parser/cpdf_array.cpp", |
| 576 | "core/fpdfapi/parser/cpdf_array.h", |
| 577 | "core/fpdfapi/parser/cpdf_boolean.cpp", |
| 578 | "core/fpdfapi/parser/cpdf_boolean.h", |
| 579 | "core/fpdfapi/parser/cpdf_crypto_handler.cpp", |
| 580 | "core/fpdfapi/parser/cpdf_crypto_handler.h", |
| 581 | "core/fpdfapi/parser/cpdf_data_avail.cpp", |
| 582 | "core/fpdfapi/parser/cpdf_data_avail.h", |
| 583 | "core/fpdfapi/parser/cpdf_dictionary.cpp", |
| 584 | "core/fpdfapi/parser/cpdf_dictionary.h", |
| 585 | "core/fpdfapi/parser/cpdf_document.cpp", |
| 586 | "core/fpdfapi/parser/cpdf_document.h", |
| 587 | "core/fpdfapi/parser/cpdf_hint_tables.cpp", |
| 588 | "core/fpdfapi/parser/cpdf_hint_tables.h", |
| 589 | "core/fpdfapi/parser/cpdf_indirect_object_holder.cpp", |
| 590 | "core/fpdfapi/parser/cpdf_indirect_object_holder.h", |
tsepez | c09625c | 2016-11-07 11:46:09 -0800 | [diff] [blame] | 591 | "core/fpdfapi/parser/cpdf_linearized_header.cpp", |
| 592 | "core/fpdfapi/parser/cpdf_linearized_header.h", |
dsinclair | 488b7ad | 2016-10-04 11:55:50 -0700 | [diff] [blame] | 593 | "core/fpdfapi/parser/cpdf_name.cpp", |
| 594 | "core/fpdfapi/parser/cpdf_name.h", |
| 595 | "core/fpdfapi/parser/cpdf_null.cpp", |
| 596 | "core/fpdfapi/parser/cpdf_null.h", |
| 597 | "core/fpdfapi/parser/cpdf_number.cpp", |
| 598 | "core/fpdfapi/parser/cpdf_number.h", |
| 599 | "core/fpdfapi/parser/cpdf_object.cpp", |
| 600 | "core/fpdfapi/parser/cpdf_object.h", |
Artem Strygin | 304eefb | 2017-08-29 00:26:42 +0300 | [diff] [blame] | 601 | "core/fpdfapi/parser/cpdf_object_avail.cpp", |
| 602 | "core/fpdfapi/parser/cpdf_object_avail.h", |
Artem Strygin | f57cad4 | 2017-08-14 23:35:52 +0300 | [diff] [blame] | 603 | "core/fpdfapi/parser/cpdf_object_walker.cpp", |
| 604 | "core/fpdfapi/parser/cpdf_object_walker.h", |
Artem Strygin | 304eefb | 2017-08-29 00:26:42 +0300 | [diff] [blame] | 605 | "core/fpdfapi/parser/cpdf_page_object_avail.cpp", |
| 606 | "core/fpdfapi/parser/cpdf_page_object_avail.h", |
dsinclair | 488b7ad | 2016-10-04 11:55:50 -0700 | [diff] [blame] | 607 | "core/fpdfapi/parser/cpdf_parser.cpp", |
| 608 | "core/fpdfapi/parser/cpdf_parser.h", |
Artem Strygin | 834ebec | 2017-07-27 14:01:32 +0300 | [diff] [blame] | 609 | "core/fpdfapi/parser/cpdf_read_validator.cpp", |
| 610 | "core/fpdfapi/parser/cpdf_read_validator.h", |
dsinclair | 488b7ad | 2016-10-04 11:55:50 -0700 | [diff] [blame] | 611 | "core/fpdfapi/parser/cpdf_reference.cpp", |
| 612 | "core/fpdfapi/parser/cpdf_reference.h", |
| 613 | "core/fpdfapi/parser/cpdf_security_handler.cpp", |
| 614 | "core/fpdfapi/parser/cpdf_security_handler.h", |
| 615 | "core/fpdfapi/parser/cpdf_simple_parser.cpp", |
| 616 | "core/fpdfapi/parser/cpdf_simple_parser.h", |
| 617 | "core/fpdfapi/parser/cpdf_stream.cpp", |
| 618 | "core/fpdfapi/parser/cpdf_stream.h", |
| 619 | "core/fpdfapi/parser/cpdf_stream_acc.cpp", |
| 620 | "core/fpdfapi/parser/cpdf_stream_acc.h", |
| 621 | "core/fpdfapi/parser/cpdf_string.cpp", |
| 622 | "core/fpdfapi/parser/cpdf_string.h", |
| 623 | "core/fpdfapi/parser/cpdf_syntax_parser.cpp", |
| 624 | "core/fpdfapi/parser/cpdf_syntax_parser.h", |
| 625 | "core/fpdfapi/parser/fpdf_parser_decode.cpp", |
| 626 | "core/fpdfapi/parser/fpdf_parser_decode.h", |
| 627 | "core/fpdfapi/parser/fpdf_parser_utility.cpp", |
| 628 | "core/fpdfapi/parser/fpdf_parser_utility.h", |
npm | 483f3c4 | 2016-11-17 13:50:44 -0800 | [diff] [blame] | 629 | "core/fpdfapi/render/cpdf_charposlist.cpp", |
| 630 | "core/fpdfapi/render/cpdf_charposlist.h", |
Nicolas Pena | 8a463c5 | 2016-11-30 14:56:27 -0500 | [diff] [blame] | 631 | "core/fpdfapi/render/cpdf_devicebuffer.cpp", |
| 632 | "core/fpdfapi/render/cpdf_devicebuffer.h", |
Nicolas Pena | 0ef7ba0 | 2017-01-04 16:18:57 -0500 | [diff] [blame] | 633 | "core/fpdfapi/render/cpdf_dibsource.cpp", |
| 634 | "core/fpdfapi/render/cpdf_dibsource.h", |
npm | 4bed2af | 2016-12-02 14:01:36 -0800 | [diff] [blame] | 635 | "core/fpdfapi/render/cpdf_dibtransferfunc.cpp", |
| 636 | "core/fpdfapi/render/cpdf_dibtransferfunc.h", |
npm | 935c631 | 2016-11-17 10:47:43 -0800 | [diff] [blame] | 637 | "core/fpdfapi/render/cpdf_docrenderdata.cpp", |
| 638 | "core/fpdfapi/render/cpdf_docrenderdata.h", |
npm | d7ecb5f | 2016-12-01 15:37:42 -0800 | [diff] [blame] | 639 | "core/fpdfapi/render/cpdf_imagecacheentry.cpp", |
| 640 | "core/fpdfapi/render/cpdf_imagecacheentry.h", |
npm | ca5300a | 2016-11-21 07:28:42 -0800 | [diff] [blame] | 641 | "core/fpdfapi/render/cpdf_imageloader.cpp", |
| 642 | "core/fpdfapi/render/cpdf_imageloader.h", |
npm | 43f382c | 2016-11-23 07:35:23 -0800 | [diff] [blame] | 643 | "core/fpdfapi/render/cpdf_imagerenderer.cpp", |
| 644 | "core/fpdfapi/render/cpdf_imagerenderer.h", |
npm | d7ecb5f | 2016-12-01 15:37:42 -0800 | [diff] [blame] | 645 | "core/fpdfapi/render/cpdf_pagerendercache.cpp", |
dsinclair | 69d9c68 | 2016-10-04 12:18:35 -0700 | [diff] [blame] | 646 | "core/fpdfapi/render/cpdf_pagerendercache.h", |
Nicolas Pena | 8a463c5 | 2016-11-30 14:56:27 -0500 | [diff] [blame] | 647 | "core/fpdfapi/render/cpdf_progressiverenderer.cpp", |
dsinclair | 69d9c68 | 2016-10-04 12:18:35 -0700 | [diff] [blame] | 648 | "core/fpdfapi/render/cpdf_progressiverenderer.h", |
Nicolas Pena | 8a463c5 | 2016-11-30 14:56:27 -0500 | [diff] [blame] | 649 | "core/fpdfapi/render/cpdf_rendercontext.cpp", |
dsinclair | 69d9c68 | 2016-10-04 12:18:35 -0700 | [diff] [blame] | 650 | "core/fpdfapi/render/cpdf_rendercontext.h", |
Nicolas Pena | 8a463c5 | 2016-11-30 14:56:27 -0500 | [diff] [blame] | 651 | "core/fpdfapi/render/cpdf_renderoptions.cpp", |
dsinclair | 69d9c68 | 2016-10-04 12:18:35 -0700 | [diff] [blame] | 652 | "core/fpdfapi/render/cpdf_renderoptions.h", |
npm | 483f3c4 | 2016-11-17 13:50:44 -0800 | [diff] [blame] | 653 | "core/fpdfapi/render/cpdf_renderstatus.cpp", |
| 654 | "core/fpdfapi/render/cpdf_renderstatus.h", |
Nicolas Pena | 8a463c5 | 2016-11-30 14:56:27 -0500 | [diff] [blame] | 655 | "core/fpdfapi/render/cpdf_scaledrenderbuffer.cpp", |
| 656 | "core/fpdfapi/render/cpdf_scaledrenderbuffer.h", |
npm | 4bed2af | 2016-12-02 14:01:36 -0800 | [diff] [blame] | 657 | "core/fpdfapi/render/cpdf_textrenderer.cpp", |
dsinclair | 69d9c68 | 2016-10-04 12:18:35 -0700 | [diff] [blame] | 658 | "core/fpdfapi/render/cpdf_textrenderer.h", |
npm | ca5300a | 2016-11-21 07:28:42 -0800 | [diff] [blame] | 659 | "core/fpdfapi/render/cpdf_transferfunc.cpp", |
| 660 | "core/fpdfapi/render/cpdf_transferfunc.h", |
dsinclair | 69d9c68 | 2016-10-04 12:18:35 -0700 | [diff] [blame] | 661 | "core/fpdfapi/render/cpdf_type3cache.cpp", |
| 662 | "core/fpdfapi/render/cpdf_type3cache.h", |
| 663 | "core/fpdfapi/render/cpdf_type3glyphs.cpp", |
| 664 | "core/fpdfapi/render/cpdf_type3glyphs.h", |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 665 | ] |
weili | 0abe652 | 2016-06-06 14:41:22 -0700 | [diff] [blame] | 666 | configs += [ ":pdfium_core_config" ] |
thestig | 73c4856 | 2016-09-06 14:07:17 -0700 | [diff] [blame] | 667 | deps = [ |
| 668 | ":fxcrt", |
Lei Zhang | 61f2f48 | 2017-09-19 15:03:15 -0700 | [diff] [blame] | 669 | "third_party:lcms2", |
thestig | 73c4856 | 2016-09-06 14:07:17 -0700 | [diff] [blame] | 670 | ] |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 671 | } |
| 672 | |
| 673 | static_library("fpdftext") { |
| 674 | sources = [ |
npm | 2d396ac | 2016-08-26 10:00:25 -0700 | [diff] [blame] | 675 | "core/fpdftext/cpdf_linkextract.cpp", |
dsinclair | e030786 | 2016-09-29 13:25:38 -0700 | [diff] [blame] | 676 | "core/fpdftext/cpdf_linkextract.h", |
npm | 2d396ac | 2016-08-26 10:00:25 -0700 | [diff] [blame] | 677 | "core/fpdftext/cpdf_textpage.cpp", |
dsinclair | e030786 | 2016-09-29 13:25:38 -0700 | [diff] [blame] | 678 | "core/fpdftext/cpdf_textpage.h", |
npm | 2d396ac | 2016-08-26 10:00:25 -0700 | [diff] [blame] | 679 | "core/fpdftext/cpdf_textpagefind.cpp", |
dsinclair | e030786 | 2016-09-29 13:25:38 -0700 | [diff] [blame] | 680 | "core/fpdftext/cpdf_textpagefind.h", |
Dan Sinclair | 764ec51 | 2016-03-14 13:35:12 -0400 | [diff] [blame] | 681 | "core/fpdftext/unicodenormalizationdata.cpp", |
| 682 | "core/fpdftext/unicodenormalizationdata.h", |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 683 | ] |
weili | 0abe652 | 2016-06-06 14:41:22 -0700 | [diff] [blame] | 684 | configs += [ ":pdfium_core_config" ] |
thestig | 73c4856 | 2016-09-06 14:07:17 -0700 | [diff] [blame] | 685 | deps = [ |
| 686 | ":fxcrt", |
| 687 | ] |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 688 | } |
| 689 | |
| 690 | static_library("fxcodec") { |
| 691 | sources = [ |
dsinclair | 8a4e286 | 2016-09-29 13:43:30 -0700 | [diff] [blame] | 692 | "core/fxcodec/JBig2_DocumentContext.h", |
dsinclair | d55e11e | 2016-04-12 11:21:22 -0700 | [diff] [blame] | 693 | "core/fxcodec/codec/ccodec_basicmodule.h", |
| 694 | "core/fxcodec/codec/ccodec_faxmodule.h", |
| 695 | "core/fxcodec/codec/ccodec_flatemodule.h", |
| 696 | "core/fxcodec/codec/ccodec_iccmodule.h", |
| 697 | "core/fxcodec/codec/ccodec_jbig2module.h", |
| 698 | "core/fxcodec/codec/ccodec_jpegmodule.h", |
| 699 | "core/fxcodec/codec/ccodec_jpxmodule.h", |
Lei Zhang | 4b8d363 | 2017-09-19 14:18:48 -0700 | [diff] [blame] | 700 | "core/fxcodec/codec/ccodec_scanlinedecoder.cpp", |
dsinclair | d55e11e | 2016-04-12 11:21:22 -0700 | [diff] [blame] | 701 | "core/fxcodec/codec/ccodec_scanlinedecoder.h", |
Dan Sinclair | 0bb1333 | 2017-03-30 16:12:02 -0400 | [diff] [blame] | 702 | "core/fxcodec/codec/cjpx_decoder.h", |
Dan Sinclair | 764ec51 | 2016-03-14 13:35:12 -0400 | [diff] [blame] | 703 | "core/fxcodec/codec/codec_int.h", |
| 704 | "core/fxcodec/codec/fx_codec.cpp", |
| 705 | "core/fxcodec/codec/fx_codec_fax.cpp", |
| 706 | "core/fxcodec/codec/fx_codec_flate.cpp", |
| 707 | "core/fxcodec/codec/fx_codec_icc.cpp", |
| 708 | "core/fxcodec/codec/fx_codec_jbig.cpp", |
| 709 | "core/fxcodec/codec/fx_codec_jpeg.cpp", |
| 710 | "core/fxcodec/codec/fx_codec_jpx_opj.cpp", |
dsinclair | 8a4e286 | 2016-09-29 13:43:30 -0700 | [diff] [blame] | 711 | "core/fxcodec/fx_codec.h", |
| 712 | "core/fxcodec/fx_codec_def.h", |
Dan Sinclair | 764ec51 | 2016-03-14 13:35:12 -0400 | [diff] [blame] | 713 | "core/fxcodec/jbig2/JBig2_ArithDecoder.cpp", |
| 714 | "core/fxcodec/jbig2/JBig2_ArithDecoder.h", |
| 715 | "core/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp", |
| 716 | "core/fxcodec/jbig2/JBig2_ArithIntDecoder.h", |
| 717 | "core/fxcodec/jbig2/JBig2_BitStream.cpp", |
| 718 | "core/fxcodec/jbig2/JBig2_BitStream.h", |
| 719 | "core/fxcodec/jbig2/JBig2_Context.cpp", |
| 720 | "core/fxcodec/jbig2/JBig2_Context.h", |
| 721 | "core/fxcodec/jbig2/JBig2_Define.h", |
| 722 | "core/fxcodec/jbig2/JBig2_GrdProc.cpp", |
| 723 | "core/fxcodec/jbig2/JBig2_GrdProc.h", |
| 724 | "core/fxcodec/jbig2/JBig2_GrrdProc.cpp", |
| 725 | "core/fxcodec/jbig2/JBig2_GrrdProc.h", |
Dan Sinclair | 764ec51 | 2016-03-14 13:35:12 -0400 | [diff] [blame] | 726 | "core/fxcodec/jbig2/JBig2_HtrdProc.cpp", |
| 727 | "core/fxcodec/jbig2/JBig2_HtrdProc.h", |
| 728 | "core/fxcodec/jbig2/JBig2_HuffmanDecoder.cpp", |
| 729 | "core/fxcodec/jbig2/JBig2_HuffmanDecoder.h", |
| 730 | "core/fxcodec/jbig2/JBig2_HuffmanTable.cpp", |
| 731 | "core/fxcodec/jbig2/JBig2_HuffmanTable.h", |
Tom Sepez | 4161c5c | 2016-03-21 12:26:54 -0700 | [diff] [blame] | 732 | "core/fxcodec/jbig2/JBig2_HuffmanTable_Standard.cpp", |
Dan Sinclair | 764ec51 | 2016-03-14 13:35:12 -0400 | [diff] [blame] | 733 | "core/fxcodec/jbig2/JBig2_HuffmanTable_Standard.h", |
| 734 | "core/fxcodec/jbig2/JBig2_Image.cpp", |
| 735 | "core/fxcodec/jbig2/JBig2_Image.h", |
Dan Sinclair | 764ec51 | 2016-03-14 13:35:12 -0400 | [diff] [blame] | 736 | "core/fxcodec/jbig2/JBig2_Page.h", |
| 737 | "core/fxcodec/jbig2/JBig2_PatternDict.cpp", |
| 738 | "core/fxcodec/jbig2/JBig2_PatternDict.h", |
| 739 | "core/fxcodec/jbig2/JBig2_PddProc.cpp", |
| 740 | "core/fxcodec/jbig2/JBig2_PddProc.h", |
| 741 | "core/fxcodec/jbig2/JBig2_SddProc.cpp", |
| 742 | "core/fxcodec/jbig2/JBig2_SddProc.h", |
| 743 | "core/fxcodec/jbig2/JBig2_Segment.cpp", |
| 744 | "core/fxcodec/jbig2/JBig2_Segment.h", |
| 745 | "core/fxcodec/jbig2/JBig2_SymbolDict.cpp", |
| 746 | "core/fxcodec/jbig2/JBig2_SymbolDict.h", |
| 747 | "core/fxcodec/jbig2/JBig2_TrdProc.cpp", |
| 748 | "core/fxcodec/jbig2/JBig2_TrdProc.h", |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 749 | ] |
thestig | 73c4856 | 2016-09-06 14:07:17 -0700 | [diff] [blame] | 750 | configs += [ ":pdfium_core_config" ] |
Lei Zhang | 8241df7 | 2015-11-06 14:38:48 -0800 | [diff] [blame] | 751 | include_dirs = [] |
thestig | 73c4856 | 2016-09-06 14:07:17 -0700 | [diff] [blame] | 752 | deps = [ |
| 753 | ":fxcrt", |
thestig | 73c4856 | 2016-09-06 14:07:17 -0700 | [diff] [blame] | 754 | "third_party:fx_libopenjpeg", |
Miklos Vajna | 0fafb4f | 2017-05-24 08:40:49 +0200 | [diff] [blame] | 755 | "third_party:lcms2", |
Miklos Vajna | 2df760f | 2017-05-06 01:54:54 +0200 | [diff] [blame] | 756 | "third_party:zlib", |
thestig | 73c4856 | 2016-09-06 14:07:17 -0700 | [diff] [blame] | 757 | "//third_party:jpeg", |
| 758 | ] |
| 759 | |
Tom Sepez | d2e023b | 2015-12-08 14:36:16 -0800 | [diff] [blame] | 760 | if (pdf_enable_xfa) { |
| 761 | sources += [ |
Tom Sepez | 73c9f3b | 2017-02-27 10:12:59 -0800 | [diff] [blame] | 762 | "core/fxcodec/codec/ccodec_bmpmodule.cpp", |
dsinclair | d55e11e | 2016-04-12 11:21:22 -0700 | [diff] [blame] | 763 | "core/fxcodec/codec/ccodec_bmpmodule.h", |
Tom Sepez | 73c9f3b | 2017-02-27 10:12:59 -0800 | [diff] [blame] | 764 | "core/fxcodec/codec/ccodec_gifmodule.cpp", |
dsinclair | d55e11e | 2016-04-12 11:21:22 -0700 | [diff] [blame] | 765 | "core/fxcodec/codec/ccodec_gifmodule.h", |
Tom Sepez | 73c9f3b | 2017-02-27 10:12:59 -0800 | [diff] [blame] | 766 | "core/fxcodec/codec/ccodec_pngmodule.cpp", |
dsinclair | d55e11e | 2016-04-12 11:21:22 -0700 | [diff] [blame] | 767 | "core/fxcodec/codec/ccodec_pngmodule.h", |
dsinclair | 8a4e286 | 2016-09-29 13:43:30 -0700 | [diff] [blame] | 768 | "core/fxcodec/codec/ccodec_progressivedecoder.h", |
Tom Sepez | 73c9f3b | 2017-02-27 10:12:59 -0800 | [diff] [blame] | 769 | "core/fxcodec/codec/ccodec_tiffmodule.cpp", |
dsinclair | d55e11e | 2016-04-12 11:21:22 -0700 | [diff] [blame] | 770 | "core/fxcodec/codec/ccodec_tiffmodule.h", |
Dan Sinclair | 764ec51 | 2016-03-14 13:35:12 -0400 | [diff] [blame] | 771 | "core/fxcodec/codec/fx_codec_progress.cpp", |
Ryan Harrison | 36a155d | 2017-09-27 15:39:26 -0400 | [diff] [blame] | 772 | "core/fxcodec/gif/cfx_gif.cpp", |
| 773 | "core/fxcodec/gif/cfx_gif.h", |
| 774 | "core/fxcodec/gif/cfx_gifcontext.cpp", |
| 775 | "core/fxcodec/gif/cfx_gifcontext.h", |
| 776 | "core/fxcodec/gif/cfx_lzwdecompressor.cpp", |
| 777 | "core/fxcodec/gif/cfx_lzwdecompressor.h", |
Dan Sinclair | 764ec51 | 2016-03-14 13:35:12 -0400 | [diff] [blame] | 778 | "core/fxcodec/lbmp/fx_bmp.cpp", |
| 779 | "core/fxcodec/lbmp/fx_bmp.h", |
Tom Sepez | d2e023b | 2015-12-08 14:36:16 -0800 | [diff] [blame] | 780 | ] |
| 781 | deps += [ |
| 782 | "third_party:fx_lpng", |
| 783 | "third_party:fx_tiff", |
| 784 | ] |
| 785 | } |
John Abd-El-Malek | def5c7d | 2014-06-09 16:07:18 -0700 | [diff] [blame] | 786 | if (is_posix) { |
Dan Sinclair | 764ec51 | 2016-03-14 13:35:12 -0400 | [diff] [blame] | 787 | # core/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int |
John Abd-El-Malek | def5c7d | 2014-06-09 16:07:18 -0700 | [diff] [blame] | 788 | # conversion to check that an address is 16-bit aligned (benign). |
| 789 | cflags_c = [ "-Wno-pointer-to-int-cast" ] |
| 790 | } |
Dan Sinclair | bc6c672 | 2015-10-22 14:58:54 -0400 | [diff] [blame] | 791 | } |
| 792 | |
| 793 | config("fxge_warnings") { |
| 794 | if (is_clang) { |
| 795 | cflags = [ |
| 796 | # http://code.google.com/p/pdfium/issues/detail?id=188 |
| 797 | "-Wno-switch", |
| 798 | ] |
| 799 | } |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 800 | } |
| 801 | |
Henrique Nakashima | 7e805d1 | 2017-08-10 15:13:19 +0000 | [diff] [blame] | 802 | static_library("fxcrt") { |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 803 | sources = [ |
Dan Sinclair | b896699 | 2017-09-21 14:51:57 -0400 | [diff] [blame] | 804 | "core/fxcrt/autorestorer.h", |
Ryan Harrison | 275e260 | 2017-09-18 14:23:18 -0400 | [diff] [blame] | 805 | "core/fxcrt/bytestring.cpp", |
| 806 | "core/fxcrt/bytestring.h", |
Dan Sinclair | cd07123 | 2017-08-30 16:21:36 -0400 | [diff] [blame] | 807 | "core/fxcrt/cfx_binarybuf.cpp", |
| 808 | "core/fxcrt/cfx_binarybuf.h", |
Dan Sinclair | ccd5be0 | 2017-08-30 13:23:44 -0400 | [diff] [blame] | 809 | "core/fxcrt/cfx_bitstream.cpp", |
| 810 | "core/fxcrt/cfx_bitstream.h", |
Jane Liu | 54a4214 | 2017-07-24 16:40:54 -0400 | [diff] [blame] | 811 | "core/fxcrt/cfx_datetime.cpp", |
| 812 | "core/fxcrt/cfx_datetime.h", |
Dan Sinclair | 1e8dd54 | 2017-08-31 16:31:47 -0400 | [diff] [blame] | 813 | "core/fxcrt/cfx_fileaccess_posix.cpp", |
| 814 | "core/fxcrt/cfx_fileaccess_posix.h", |
| 815 | "core/fxcrt/cfx_fileaccess_windows.cpp", |
| 816 | "core/fxcrt/cfx_fileaccess_windows.h", |
Dan Sinclair | 4793f34 | 2017-08-30 16:44:57 -0400 | [diff] [blame] | 817 | "core/fxcrt/cfx_fixedbufgrow.h", |
Dan Sinclair | 283a043 | 2017-04-20 14:11:21 -0400 | [diff] [blame] | 818 | "core/fxcrt/cfx_memorystream.cpp", |
| 819 | "core/fxcrt/cfx_memorystream.h", |
Dan Sinclair | 5624fe3 | 2017-08-30 16:13:01 -0400 | [diff] [blame] | 820 | "core/fxcrt/cfx_utf8decoder.cpp", |
| 821 | "core/fxcrt/cfx_utf8decoder.h", |
Dan Sinclair | a94566f | 2017-08-30 16:36:53 -0400 | [diff] [blame] | 822 | "core/fxcrt/cfx_widetextbuf.cpp", |
| 823 | "core/fxcrt/cfx_widetextbuf.h", |
Dan Sinclair | 764ec51 | 2016-03-14 13:35:12 -0400 | [diff] [blame] | 824 | "core/fxcrt/fx_bidi.cpp", |
Dan Sinclair | a8a28e0 | 2016-03-23 15:41:39 -0400 | [diff] [blame] | 825 | "core/fxcrt/fx_bidi.h", |
Dan Sinclair | f51a02a | 2017-04-19 12:46:53 -0400 | [diff] [blame] | 826 | "core/fxcrt/fx_codepage.h", |
Tom Sepez | 6302288 | 2017-04-25 10:29:58 -0700 | [diff] [blame] | 827 | "core/fxcrt/fx_coordinates.cpp", |
dsinclair | a52ab74 | 2016-09-29 13:59:29 -0700 | [diff] [blame] | 828 | "core/fxcrt/fx_coordinates.h", |
Dan Sinclair | 764ec51 | 2016-03-14 13:35:12 -0400 | [diff] [blame] | 829 | "core/fxcrt/fx_extension.cpp", |
Dan Sinclair | cfb1944 | 2017-04-20 13:13:04 -0400 | [diff] [blame] | 830 | "core/fxcrt/fx_extension.h", |
Tom Sepez | a9deea9 | 2017-04-25 10:37:47 -0700 | [diff] [blame] | 831 | "core/fxcrt/fx_memory.cpp", |
dsinclair | a52ab74 | 2016-09-29 13:59:29 -0700 | [diff] [blame] | 832 | "core/fxcrt/fx_memory.h", |
Dan Sinclair | 6c902e6 | 2017-09-05 13:22:36 -0400 | [diff] [blame] | 833 | "core/fxcrt/fx_random.cpp", |
| 834 | "core/fxcrt/fx_random.h", |
dsinclair | a52ab74 | 2016-09-29 13:59:29 -0700 | [diff] [blame] | 835 | "core/fxcrt/fx_safe_types.h", |
Dan Sinclair | cfb1944 | 2017-04-20 13:13:04 -0400 | [diff] [blame] | 836 | "core/fxcrt/fx_stream.cpp", |
dsinclair | a52ab74 | 2016-09-29 13:59:29 -0700 | [diff] [blame] | 837 | "core/fxcrt/fx_stream.h", |
Dan Sinclair | 0872b04 | 2017-08-31 15:50:25 -0400 | [diff] [blame] | 838 | "core/fxcrt/fx_string.cpp", |
dsinclair | a52ab74 | 2016-09-29 13:59:29 -0700 | [diff] [blame] | 839 | "core/fxcrt/fx_string.h", |
Tom Sepez | 9ff306d | 2017-04-24 15:55:11 -0700 | [diff] [blame] | 840 | "core/fxcrt/fx_system.cpp", |
dsinclair | a52ab74 | 2016-09-29 13:59:29 -0700 | [diff] [blame] | 841 | "core/fxcrt/fx_system.h", |
Dan Sinclair | 764ec51 | 2016-03-14 13:35:12 -0400 | [diff] [blame] | 842 | "core/fxcrt/fx_ucddata.cpp", |
Tom Sepez | 740bcd8 | 2017-09-01 12:40:05 -0700 | [diff] [blame] | 843 | "core/fxcrt/fx_ucddata.h", |
Dan Sinclair | 764ec51 | 2016-03-14 13:35:12 -0400 | [diff] [blame] | 844 | "core/fxcrt/fx_unicode.cpp", |
Tom Sepez | 740bcd8 | 2017-09-01 12:40:05 -0700 | [diff] [blame] | 845 | "core/fxcrt/fx_unicode.h", |
Dan Sinclair | 1e8dd54 | 2017-08-31 16:31:47 -0400 | [diff] [blame] | 846 | "core/fxcrt/ifx_fileaccess.h", |
Dan Sinclair | cc2b38d | 2017-08-30 17:11:19 -0400 | [diff] [blame] | 847 | "core/fxcrt/ifx_pauseindicator.h", |
Dan Sinclair | de44d15 | 2017-09-21 14:52:41 -0400 | [diff] [blame] | 848 | "core/fxcrt/maybe_owned.h", |
Dan Sinclair | 65ecca4 | 2017-09-21 15:25:32 -0400 | [diff] [blame] | 849 | "core/fxcrt/observable.h", |
Dan Sinclair | 0b95042 | 2017-09-21 15:49:49 -0400 | [diff] [blame] | 850 | "core/fxcrt/retain_ptr.h", |
Dan Sinclair | 9317f8f | 2017-09-21 16:19:19 -0400 | [diff] [blame] | 851 | "core/fxcrt/shared_copy_on_write.h", |
Dan Sinclair | 20a1755 | 2017-09-21 16:35:56 -0400 | [diff] [blame] | 852 | "core/fxcrt/string_data_template.h", |
Dan Sinclair | 8e9e3d8 | 2017-09-21 16:49:32 -0400 | [diff] [blame] | 853 | "core/fxcrt/string_pool_template.h", |
Ryan Harrison | 275e260 | 2017-09-18 14:23:18 -0400 | [diff] [blame] | 854 | "core/fxcrt/string_view_template.h", |
Dan Sinclair | aee0db0 | 2017-09-21 16:53:58 -0400 | [diff] [blame] | 855 | "core/fxcrt/unowned_ptr.h", |
Dan Sinclair | b872a93 | 2017-09-21 17:05:15 -0400 | [diff] [blame] | 856 | "core/fxcrt/weak_ptr.h", |
Ryan Harrison | 275e260 | 2017-09-18 14:23:18 -0400 | [diff] [blame] | 857 | "core/fxcrt/widestring.cpp", |
| 858 | "core/fxcrt/widestring.h", |
Dan Sinclair | 908c848 | 2017-03-30 14:33:28 -0400 | [diff] [blame] | 859 | "core/fxcrt/xml/cxml_attritem.cpp", |
| 860 | "core/fxcrt/xml/cxml_attritem.h", |
| 861 | "core/fxcrt/xml/cxml_attrmap.cpp", |
| 862 | "core/fxcrt/xml/cxml_attrmap.h", |
Tom Sepez | 8a6fdad | 2017-05-09 15:03:33 -0700 | [diff] [blame] | 863 | "core/fxcrt/xml/cxml_content.cpp", |
Dan Sinclair | 908c848 | 2017-03-30 14:33:28 -0400 | [diff] [blame] | 864 | "core/fxcrt/xml/cxml_content.h", |
Dan Sinclair | eccf405 | 2017-04-18 12:19:34 -0400 | [diff] [blame] | 865 | "core/fxcrt/xml/cxml_databufacc.cpp", |
| 866 | "core/fxcrt/xml/cxml_databufacc.h", |
Dan Sinclair | 908c848 | 2017-03-30 14:33:28 -0400 | [diff] [blame] | 867 | "core/fxcrt/xml/cxml_element.cpp", |
| 868 | "core/fxcrt/xml/cxml_element.h", |
Tom Sepez | 8a6fdad | 2017-05-09 15:03:33 -0700 | [diff] [blame] | 869 | "core/fxcrt/xml/cxml_object.cpp", |
| 870 | "core/fxcrt/xml/cxml_object.h", |
Dan Sinclair | 908c848 | 2017-03-30 14:33:28 -0400 | [diff] [blame] | 871 | "core/fxcrt/xml/cxml_parser.cpp", |
| 872 | "core/fxcrt/xml/cxml_parser.h", |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 873 | ] |
thestig | c65e11e | 2016-08-30 21:56:33 -0700 | [diff] [blame] | 874 | configs += [ ":pdfium_core_config" ] |
thestig | 73c4856 | 2016-09-06 14:07:17 -0700 | [diff] [blame] | 875 | visibility += [ "third_party:*" ] |
| 876 | deps = [ |
| 877 | "third_party:pdfium_base", |
| 878 | ] |
| 879 | public_deps = [ |
Dominik Röttsches | 4b0671a | 2017-03-30 11:07:43 +0300 | [diff] [blame] | 880 | ":freetype_common", |
thestig | 73c4856 | 2016-09-06 14:07:17 -0700 | [diff] [blame] | 881 | "third_party:pdfium_base", |
| 882 | ] |
thestig | c65e11e | 2016-08-30 21:56:33 -0700 | [diff] [blame] | 883 | |
Tom Sepez | d2e023b | 2015-12-08 14:36:16 -0800 | [diff] [blame] | 884 | if (pdf_enable_xfa) { |
| 885 | sources += [ |
Dan Sinclair | ac35589 | 2017-04-03 16:46:21 -0400 | [diff] [blame] | 886 | "core/fxcrt/cfx_blockbuffer.cpp", |
| 887 | "core/fxcrt/cfx_blockbuffer.h", |
Dan Sinclair | 893822a | 2017-03-13 15:32:07 -0400 | [diff] [blame] | 888 | "core/fxcrt/cfx_char.cpp", |
| 889 | "core/fxcrt/cfx_char.h", |
Dan Sinclair | ddb7016 | 2017-03-30 14:01:31 -0400 | [diff] [blame] | 890 | "core/fxcrt/cfx_checksumcontext.cpp", |
| 891 | "core/fxcrt/cfx_checksumcontext.h", |
Dan Sinclair | b929ab0 | 2017-03-29 15:18:16 -0400 | [diff] [blame] | 892 | "core/fxcrt/cfx_decimal.cpp", |
| 893 | "core/fxcrt/cfx_decimal.h", |
Dan Sinclair | 3b71d26 | 2017-04-19 08:58:54 -0400 | [diff] [blame] | 894 | "core/fxcrt/cfx_seekablestreamproxy.cpp", |
| 895 | "core/fxcrt/cfx_seekablestreamproxy.h", |
Dan Sinclair | 9f0e85a | 2017-08-08 13:23:24 -0400 | [diff] [blame] | 896 | "core/fxcrt/css/cfx_css.h", |
| 897 | "core/fxcrt/css/cfx_csscolorvalue.cpp", |
| 898 | "core/fxcrt/css/cfx_csscolorvalue.h", |
| 899 | "core/fxcrt/css/cfx_csscomputedstyle.cpp", |
| 900 | "core/fxcrt/css/cfx_csscomputedstyle.h", |
| 901 | "core/fxcrt/css/cfx_csscustomproperty.cpp", |
| 902 | "core/fxcrt/css/cfx_csscustomproperty.h", |
| 903 | "core/fxcrt/css/cfx_cssdatatable.cpp", |
| 904 | "core/fxcrt/css/cfx_cssdatatable.h", |
| 905 | "core/fxcrt/css/cfx_cssdeclaration.cpp", |
| 906 | "core/fxcrt/css/cfx_cssdeclaration.h", |
| 907 | "core/fxcrt/css/cfx_cssenumvalue.cpp", |
| 908 | "core/fxcrt/css/cfx_cssenumvalue.h", |
| 909 | "core/fxcrt/css/cfx_cssexttextbuf.cpp", |
| 910 | "core/fxcrt/css/cfx_cssexttextbuf.h", |
| 911 | "core/fxcrt/css/cfx_cssnumbervalue.cpp", |
| 912 | "core/fxcrt/css/cfx_cssnumbervalue.h", |
| 913 | "core/fxcrt/css/cfx_csspropertyholder.cpp", |
| 914 | "core/fxcrt/css/cfx_csspropertyholder.h", |
| 915 | "core/fxcrt/css/cfx_cssrulecollection.cpp", |
| 916 | "core/fxcrt/css/cfx_cssrulecollection.h", |
| 917 | "core/fxcrt/css/cfx_cssselector.cpp", |
| 918 | "core/fxcrt/css/cfx_cssselector.h", |
| 919 | "core/fxcrt/css/cfx_cssstringvalue.cpp", |
| 920 | "core/fxcrt/css/cfx_cssstringvalue.h", |
| 921 | "core/fxcrt/css/cfx_cssstylerule.cpp", |
| 922 | "core/fxcrt/css/cfx_cssstylerule.h", |
| 923 | "core/fxcrt/css/cfx_cssstyleselector.cpp", |
| 924 | "core/fxcrt/css/cfx_cssstyleselector.h", |
| 925 | "core/fxcrt/css/cfx_cssstylesheet.cpp", |
| 926 | "core/fxcrt/css/cfx_cssstylesheet.h", |
| 927 | "core/fxcrt/css/cfx_csssyntaxparser.cpp", |
| 928 | "core/fxcrt/css/cfx_csssyntaxparser.h", |
| 929 | "core/fxcrt/css/cfx_csstextbuf.cpp", |
| 930 | "core/fxcrt/css/cfx_csstextbuf.h", |
| 931 | "core/fxcrt/css/cfx_cssvalue.cpp", |
| 932 | "core/fxcrt/css/cfx_cssvalue.h", |
| 933 | "core/fxcrt/css/cfx_cssvaluelist.cpp", |
| 934 | "core/fxcrt/css/cfx_cssvaluelist.h", |
| 935 | "core/fxcrt/css/cfx_cssvaluelistparser.cpp", |
| 936 | "core/fxcrt/css/cfx_cssvaluelistparser.h", |
pcc | e3bbfa2 | 2016-04-19 12:40:07 -0700 | [diff] [blame] | 937 | "core/fxcrt/fx_arabic.cpp", |
dsinclair | a52ab74 | 2016-09-29 13:59:29 -0700 | [diff] [blame] | 938 | "core/fxcrt/fx_arabic.h", |
Dan Sinclair | b929ab0 | 2017-03-29 15:18:16 -0400 | [diff] [blame] | 939 | "core/fxcrt/ifx_locale.h", |
Henrique Nakashima | eed247e | 2017-07-19 14:12:03 -0400 | [diff] [blame] | 940 | "core/fxcrt/xml/cfx_saxcontext.cpp", |
Dan Sinclair | ddb7016 | 2017-03-30 14:01:31 -0400 | [diff] [blame] | 941 | "core/fxcrt/xml/cfx_saxcontext.h", |
| 942 | "core/fxcrt/xml/cfx_saxreader.cpp", |
| 943 | "core/fxcrt/xml/cfx_saxreader.h", |
| 944 | "core/fxcrt/xml/cfx_saxreaderhandler.cpp", |
| 945 | "core/fxcrt/xml/cfx_saxreaderhandler.h", |
Dan Sinclair | 0d86ecb | 2017-04-19 09:19:57 -0400 | [diff] [blame] | 946 | "core/fxcrt/xml/cfx_xmlattributenode.cpp", |
| 947 | "core/fxcrt/xml/cfx_xmlattributenode.h", |
| 948 | "core/fxcrt/xml/cfx_xmlchardata.cpp", |
| 949 | "core/fxcrt/xml/cfx_xmlchardata.h", |
| 950 | "core/fxcrt/xml/cfx_xmldoc.cpp", |
| 951 | "core/fxcrt/xml/cfx_xmldoc.h", |
| 952 | "core/fxcrt/xml/cfx_xmlelement.cpp", |
| 953 | "core/fxcrt/xml/cfx_xmlelement.h", |
| 954 | "core/fxcrt/xml/cfx_xmlinstruction.cpp", |
| 955 | "core/fxcrt/xml/cfx_xmlinstruction.h", |
| 956 | "core/fxcrt/xml/cfx_xmlnode.cpp", |
| 957 | "core/fxcrt/xml/cfx_xmlnode.h", |
| 958 | "core/fxcrt/xml/cfx_xmlparser.cpp", |
| 959 | "core/fxcrt/xml/cfx_xmlparser.h", |
| 960 | "core/fxcrt/xml/cfx_xmlsyntaxparser.cpp", |
| 961 | "core/fxcrt/xml/cfx_xmlsyntaxparser.h", |
| 962 | "core/fxcrt/xml/cfx_xmltext.cpp", |
| 963 | "core/fxcrt/xml/cfx_xmltext.h", |
Tom Sepez | d2e023b | 2015-12-08 14:36:16 -0800 | [diff] [blame] | 964 | ] |
| 965 | } |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 966 | } |
| 967 | |
| 968 | static_library("fxge") { |
| 969 | sources = [ |
Lei Zhang | 19319b7 | 2017-08-17 01:31:18 -0700 | [diff] [blame] | 970 | "core/fxge/android/cfpf_skiabufferfont.cpp", |
npm | cfcc11e | 2016-10-25 14:26:39 -0700 | [diff] [blame] | 971 | "core/fxge/android/cfpf_skiabufferfont.h", |
| 972 | "core/fxge/android/cfpf_skiadevicemodule.cpp", |
| 973 | "core/fxge/android/cfpf_skiadevicemodule.h", |
Lei Zhang | 19319b7 | 2017-08-17 01:31:18 -0700 | [diff] [blame] | 974 | "core/fxge/android/cfpf_skiafilefont.cpp", |
npm | cfcc11e | 2016-10-25 14:26:39 -0700 | [diff] [blame] | 975 | "core/fxge/android/cfpf_skiafilefont.h", |
| 976 | "core/fxge/android/cfpf_skiafont.cpp", |
| 977 | "core/fxge/android/cfpf_skiafont.h", |
Lei Zhang | 19319b7 | 2017-08-17 01:31:18 -0700 | [diff] [blame] | 978 | "core/fxge/android/cfpf_skiafontdescriptor.cpp", |
npm | cfcc11e | 2016-10-25 14:26:39 -0700 | [diff] [blame] | 979 | "core/fxge/android/cfpf_skiafontdescriptor.h", |
npm | 8382803 | 2016-10-21 11:56:53 -0700 | [diff] [blame] | 980 | "core/fxge/android/cfpf_skiafontmgr.cpp", |
npm | cfcc11e | 2016-10-25 14:26:39 -0700 | [diff] [blame] | 981 | "core/fxge/android/cfpf_skiafontmgr.h", |
Lei Zhang | 19319b7 | 2017-08-17 01:31:18 -0700 | [diff] [blame] | 982 | "core/fxge/android/cfpf_skiapathfont.cpp", |
npm | cfcc11e | 2016-10-25 14:26:39 -0700 | [diff] [blame] | 983 | "core/fxge/android/cfpf_skiapathfont.h", |
| 984 | "core/fxge/android/cfx_androidfontinfo.cpp", |
| 985 | "core/fxge/android/cfx_androidfontinfo.h", |
Dan Sinclair | 764ec51 | 2016-03-14 13:35:12 -0400 | [diff] [blame] | 986 | "core/fxge/android/fx_android_imp.cpp", |
Dan Sinclair | 92e2276 | 2017-07-10 15:14:26 -0400 | [diff] [blame] | 987 | "core/fxge/cfx_cliprgn.cpp", |
| 988 | "core/fxge/cfx_cliprgn.h", |
Dan Sinclair | 7f55a54 | 2017-07-13 14:17:10 -0400 | [diff] [blame] | 989 | "core/fxge/cfx_color.cpp", |
| 990 | "core/fxge/cfx_color.h", |
Dan Sinclair | a5085d4 | 2017-05-11 16:26:50 -0400 | [diff] [blame] | 991 | "core/fxge/cfx_defaultrenderdevice.h", |
Dan Sinclair | 92e2276 | 2017-07-10 15:14:26 -0400 | [diff] [blame] | 992 | "core/fxge/cfx_facecache.cpp", |
dsinclair | 74a34fc | 2016-09-29 16:41:42 -0700 | [diff] [blame] | 993 | "core/fxge/cfx_facecache.h", |
Dan Sinclair | 92e2276 | 2017-07-10 15:14:26 -0400 | [diff] [blame] | 994 | "core/fxge/cfx_folderfontinfo.cpp", |
| 995 | "core/fxge/cfx_folderfontinfo.h", |
| 996 | "core/fxge/cfx_font.cpp", |
| 997 | "core/fxge/cfx_fontcache.cpp", |
dsinclair | 74a34fc | 2016-09-29 16:41:42 -0700 | [diff] [blame] | 998 | "core/fxge/cfx_fontcache.h", |
Dan Sinclair | 92e2276 | 2017-07-10 15:14:26 -0400 | [diff] [blame] | 999 | "core/fxge/cfx_fontmapper.cpp", |
dsinclair | 74a34fc | 2016-09-29 16:41:42 -0700 | [diff] [blame] | 1000 | "core/fxge/cfx_fontmapper.h", |
Dan Sinclair | 92e2276 | 2017-07-10 15:14:26 -0400 | [diff] [blame] | 1001 | "core/fxge/cfx_fontmgr.cpp", |
dsinclair | 74a34fc | 2016-09-29 16:41:42 -0700 | [diff] [blame] | 1002 | "core/fxge/cfx_fontmgr.h", |
Dan Sinclair | 92e2276 | 2017-07-10 15:14:26 -0400 | [diff] [blame] | 1003 | "core/fxge/cfx_gemodule.cpp", |
dsinclair | 74a34fc | 2016-09-29 16:41:42 -0700 | [diff] [blame] | 1004 | "core/fxge/cfx_gemodule.h", |
Dan Sinclair | 92e2276 | 2017-07-10 15:14:26 -0400 | [diff] [blame] | 1005 | "core/fxge/cfx_graphstate.cpp", |
dsinclair | 74a34fc | 2016-09-29 16:41:42 -0700 | [diff] [blame] | 1006 | "core/fxge/cfx_graphstate.h", |
Dan Sinclair | 92e2276 | 2017-07-10 15:14:26 -0400 | [diff] [blame] | 1007 | "core/fxge/cfx_graphstatedata.cpp", |
dsinclair | 74a34fc | 2016-09-29 16:41:42 -0700 | [diff] [blame] | 1008 | "core/fxge/cfx_graphstatedata.h", |
Dan Sinclair | 92e2276 | 2017-07-10 15:14:26 -0400 | [diff] [blame] | 1009 | "core/fxge/cfx_pathdata.cpp", |
dsinclair | 74a34fc | 2016-09-29 16:41:42 -0700 | [diff] [blame] | 1010 | "core/fxge/cfx_pathdata.h", |
Dan Sinclair | 92e2276 | 2017-07-10 15:14:26 -0400 | [diff] [blame] | 1011 | "core/fxge/cfx_renderdevice.cpp", |
dsinclair | 74a34fc | 2016-09-29 16:41:42 -0700 | [diff] [blame] | 1012 | "core/fxge/cfx_renderdevice.h", |
Dan Sinclair | 92e2276 | 2017-07-10 15:14:26 -0400 | [diff] [blame] | 1013 | "core/fxge/cfx_substfont.cpp", |
dsinclair | 74a34fc | 2016-09-29 16:41:42 -0700 | [diff] [blame] | 1014 | "core/fxge/cfx_substfont.h", |
Dan Sinclair | 92e2276 | 2017-07-10 15:14:26 -0400 | [diff] [blame] | 1015 | "core/fxge/cfx_unicodeencoding.cpp", |
dsinclair | 74a34fc | 2016-09-29 16:41:42 -0700 | [diff] [blame] | 1016 | "core/fxge/cfx_unicodeencoding.h", |
Dan Sinclair | a5085d4 | 2017-05-11 16:26:50 -0400 | [diff] [blame] | 1017 | "core/fxge/cfx_windowsrenderdevice.h", |
Dan Sinclair | 92e2276 | 2017-07-10 15:14:26 -0400 | [diff] [blame] | 1018 | "core/fxge/cttfontdesc.cpp", |
| 1019 | "core/fxge/cttfontdesc.h", |
Nicolas Pena | 0c972eb | 2017-04-03 13:43:52 -0400 | [diff] [blame] | 1020 | "core/fxge/dib/cfx_bitmapcomposer.cpp", |
| 1021 | "core/fxge/dib/cfx_bitmapcomposer.h", |
| 1022 | "core/fxge/dib/cfx_bitmapstorer.cpp", |
| 1023 | "core/fxge/dib/cfx_bitmapstorer.h", |
Nicolas Pena | 192e4d9 | 2017-04-03 12:48:00 -0400 | [diff] [blame] | 1024 | "core/fxge/dib/cfx_dibextractor.cpp", |
| 1025 | "core/fxge/dib/cfx_dibextractor.h", |
| 1026 | "core/fxge/dib/cfx_dibitmap.cpp", |
Nicolas Pena | fc715c3 | 2017-03-31 10:22:11 -0400 | [diff] [blame] | 1027 | "core/fxge/dib/cfx_dibitmap.h", |
| 1028 | "core/fxge/dib/cfx_dibsource.cpp", |
| 1029 | "core/fxge/dib/cfx_dibsource.h", |
Nicolas Pena | ac66da2 | 2017-03-31 14:38:21 -0400 | [diff] [blame] | 1030 | "core/fxge/dib/cfx_filtereddib.cpp", |
Nicolas Pena | fc715c3 | 2017-03-31 10:22:11 -0400 | [diff] [blame] | 1031 | "core/fxge/dib/cfx_filtereddib.h", |
Nicolas Pena | bdbb0bd | 2017-03-31 15:39:44 -0400 | [diff] [blame] | 1032 | "core/fxge/dib/cfx_imagerenderer.cpp", |
| 1033 | "core/fxge/dib/cfx_imagerenderer.h", |
Nicolas Pena | 0c972eb | 2017-04-03 13:43:52 -0400 | [diff] [blame] | 1034 | "core/fxge/dib/cfx_imagestretcher.cpp", |
| 1035 | "core/fxge/dib/cfx_imagestretcher.h", |
Nicolas Pena | bdbb0bd | 2017-03-31 15:39:44 -0400 | [diff] [blame] | 1036 | "core/fxge/dib/cfx_imagetransformer.cpp", |
| 1037 | "core/fxge/dib/cfx_imagetransformer.h", |
Nicolas Pena | ac66da2 | 2017-03-31 14:38:21 -0400 | [diff] [blame] | 1038 | "core/fxge/dib/cfx_scanlinecompositor.cpp", |
| 1039 | "core/fxge/dib/cfx_scanlinecompositor.h", |
Nicolas Pena | 236ce3b | 2017-04-04 17:47:50 -0400 | [diff] [blame] | 1040 | "core/fxge/dib/cstretchengine.cpp", |
| 1041 | "core/fxge/dib/cstretchengine.h", |
Dan Sinclair | 764ec51 | 2016-03-14 13:35:12 -0400 | [diff] [blame] | 1042 | "core/fxge/dib/fx_dib_main.cpp", |
Nicolas Pena | 37cc5fb | 2017-04-04 12:12:49 -0400 | [diff] [blame] | 1043 | "core/fxge/dib/ifx_scanlinecomposer.h", |
Dan Sinclair | 764ec51 | 2016-03-14 13:35:12 -0400 | [diff] [blame] | 1044 | "core/fxge/fontdata/chromefontdata/FoxitDingbats.cpp", |
| 1045 | "core/fxge/fontdata/chromefontdata/FoxitFixed.cpp", |
| 1046 | "core/fxge/fontdata/chromefontdata/FoxitFixedBold.cpp", |
| 1047 | "core/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic.cpp", |
| 1048 | "core/fxge/fontdata/chromefontdata/FoxitFixedItalic.cpp", |
| 1049 | "core/fxge/fontdata/chromefontdata/FoxitSans.cpp", |
| 1050 | "core/fxge/fontdata/chromefontdata/FoxitSansBold.cpp", |
| 1051 | "core/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.cpp", |
| 1052 | "core/fxge/fontdata/chromefontdata/FoxitSansItalic.cpp", |
| 1053 | "core/fxge/fontdata/chromefontdata/FoxitSansMM.cpp", |
| 1054 | "core/fxge/fontdata/chromefontdata/FoxitSerif.cpp", |
| 1055 | "core/fxge/fontdata/chromefontdata/FoxitSerifBold.cpp", |
| 1056 | "core/fxge/fontdata/chromefontdata/FoxitSerifBoldItalic.cpp", |
| 1057 | "core/fxge/fontdata/chromefontdata/FoxitSerifItalic.cpp", |
| 1058 | "core/fxge/fontdata/chromefontdata/FoxitSerifMM.cpp", |
| 1059 | "core/fxge/fontdata/chromefontdata/FoxitSymbol.cpp", |
| 1060 | "core/fxge/fontdata/chromefontdata/chromefontdata.h", |
| 1061 | "core/fxge/freetype/fx_freetype.cpp", |
dsinclair | 74a34fc | 2016-09-29 16:41:42 -0700 | [diff] [blame] | 1062 | "core/fxge/fx_dib.h", |
| 1063 | "core/fxge/fx_font.h", |
| 1064 | "core/fxge/fx_freetype.h", |
Dan Sinclair | 92e2276 | 2017-07-10 15:14:26 -0400 | [diff] [blame] | 1065 | "core/fxge/fx_ge_fontmap.cpp", |
| 1066 | "core/fxge/fx_ge_linux.cpp", |
| 1067 | "core/fxge/fx_ge_text.cpp", |
weili | 095d346 | 2016-06-21 11:24:24 -0700 | [diff] [blame] | 1068 | "core/fxge/ifx_renderdevicedriver.cpp", |
dsinclair | 74a34fc | 2016-09-29 16:41:42 -0700 | [diff] [blame] | 1069 | "core/fxge/ifx_renderdevicedriver.h", |
| 1070 | "core/fxge/ifx_systemfontinfo.h", |
npm | 7484762 | 2016-07-29 15:20:25 -0700 | [diff] [blame] | 1071 | "core/fxge/win32/cfx_windowsdib.h", |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 1072 | ] |
| 1073 | |
Dan Sinclair | bc6c672 | 2015-10-22 14:58:54 -0400 | [diff] [blame] | 1074 | configs += [ |
Lei Zhang | 7b16ba5 | 2015-10-26 17:06:53 -0700 | [diff] [blame] | 1075 | ":fxge_warnings", |
weili | 0abe652 | 2016-06-06 14:41:22 -0700 | [diff] [blame] | 1076 | ":pdfium_core_config", |
Dan Sinclair | bc6c672 | 2015-10-22 14:58:54 -0400 | [diff] [blame] | 1077 | ] |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 1078 | |
thestig | 73c4856 | 2016-09-06 14:07:17 -0700 | [diff] [blame] | 1079 | deps = [ |
| 1080 | ":fxcrt", |
| 1081 | ] |
| 1082 | |
Lei Zhang | 3de5005 | 2017-03-29 21:02:13 -0700 | [diff] [blame] | 1083 | defines = [ "DEFINE_PS_TABLES" ] |
Bruce Dawson | aeac951 | 2017-08-12 21:45:12 -0700 | [diff] [blame] | 1084 | if (is_component_build || use_system_freetype) { |
Bruce Dawson | d27998f | 2017-08-10 16:07:07 -0700 | [diff] [blame] | 1085 | # ft_adobe_glyph_list is not exported from the Freetype shared library so we |
Bruce Dawson | aeac951 | 2017-08-12 21:45:12 -0700 | [diff] [blame] | 1086 | # need it defined in component builds and builds using system freetype. |
Bruce Dawson | d27998f | 2017-08-10 16:07:07 -0700 | [diff] [blame] | 1087 | defines += [ "DEFINE_PS_TABLES_DATA" ] |
| 1088 | } |
Lei Zhang | 3de5005 | 2017-03-29 21:02:13 -0700 | [diff] [blame] | 1089 | |
npm | 1a8946b | 2016-08-18 10:55:29 -0700 | [diff] [blame] | 1090 | if (pdf_enable_xfa) { |
| 1091 | sources += [ |
Dan Sinclair | 92e2276 | 2017-07-10 15:14:26 -0400 | [diff] [blame] | 1092 | "core/fxge/cfx_unicodeencodingex.cpp", |
dsinclair | 74a34fc | 2016-09-29 16:41:42 -0700 | [diff] [blame] | 1093 | "core/fxge/cfx_unicodeencodingex.h", |
npm | 1a8946b | 2016-08-18 10:55:29 -0700 | [diff] [blame] | 1094 | ] |
| 1095 | } |
| 1096 | |
caryclark | af177fe | 2016-11-16 10:10:03 -0800 | [diff] [blame] | 1097 | if (pdf_use_skia || pdf_use_skia_paths) { |
Cary Clark | 59b3a48 | 2016-03-17 12:00:39 -0400 | [diff] [blame] | 1098 | sources += [ "core/fxge/skia/fx_skia_device.cpp" ] |
thestig | 73c4856 | 2016-09-06 14:07:17 -0700 | [diff] [blame] | 1099 | deps += [ "//skia" ] |
caryclark | 749c14c | 2016-05-19 07:01:03 -0700 | [diff] [blame] | 1100 | } else { |
| 1101 | sources += [ |
| 1102 | "core/fxge/agg/fx_agg_driver.cpp", |
| 1103 | "core/fxge/agg/fx_agg_driver.h", |
| 1104 | ] |
thestig | 73c4856 | 2016-09-06 14:07:17 -0700 | [diff] [blame] | 1105 | deps += [ "third_party:fx_agg" ] |
Dan Sinclair | 72a39ce | 2017-03-21 16:44:03 -0400 | [diff] [blame] | 1106 | } |
npm | a97fc7c | 2016-11-07 08:50:04 -0800 | [diff] [blame] | 1107 | |
Dan Sinclair | 72a39ce | 2017-03-21 16:44:03 -0400 | [diff] [blame] | 1108 | if (is_mac) { |
| 1109 | sources += [ "core/fxge/apple/fx_apple_platform.cpp" ] |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 1110 | } |
| 1111 | |
| 1112 | if (is_win) { |
| 1113 | sources += [ |
rbpotter | 8d94b66 | 2017-01-06 08:10:18 -0800 | [diff] [blame] | 1114 | "core/fxge/win32/cfx_psrenderer.cpp", |
| 1115 | "core/fxge/win32/cfx_psrenderer.h", |
| 1116 | "core/fxge/win32/cpsoutput.cpp", |
| 1117 | "core/fxge/win32/cpsoutput.h", |
Dan Sinclair | 764ec51 | 2016-03-14 13:35:12 -0400 | [diff] [blame] | 1118 | "core/fxge/win32/dwrite_int.h", |
| 1119 | "core/fxge/win32/fx_win32_device.cpp", |
| 1120 | "core/fxge/win32/fx_win32_dib.cpp", |
| 1121 | "core/fxge/win32/fx_win32_dwrite.cpp", |
| 1122 | "core/fxge/win32/fx_win32_gdipext.cpp", |
| 1123 | "core/fxge/win32/fx_win32_print.cpp", |
| 1124 | "core/fxge/win32/win32_int.h", |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 1125 | ] |
Tom Sepez | 465ed87 | 2015-12-09 14:55:41 -0800 | [diff] [blame] | 1126 | configs -= [ "//build/config/win:lean_and_mean" ] |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 1127 | } |
npm | a97fc7c | 2016-11-07 08:50:04 -0800 | [diff] [blame] | 1128 | |
| 1129 | if (is_mac) { |
| 1130 | sources += [ |
| 1131 | "core/fxge/apple/apple_int.h", |
| 1132 | "core/fxge/apple/fx_mac_imp.cpp", |
| 1133 | "core/fxge/apple/fx_quartz_device.cpp", |
| 1134 | ] |
| 1135 | } |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 1136 | } |
| 1137 | |
Henrique Nakashima | 7e805d1 | 2017-08-10 15:13:19 +0000 | [diff] [blame] | 1138 | static_library("pwl") { |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 1139 | sources = [ |
Dan Sinclair | c411eb9 | 2017-07-25 09:39:30 -0400 | [diff] [blame] | 1140 | "fpdfsdk/pwl/cpwl_appstream.cpp", |
| 1141 | "fpdfsdk/pwl/cpwl_appstream.h", |
| 1142 | "fpdfsdk/pwl/cpwl_button.cpp", |
| 1143 | "fpdfsdk/pwl/cpwl_button.h", |
| 1144 | "fpdfsdk/pwl/cpwl_caret.cpp", |
| 1145 | "fpdfsdk/pwl/cpwl_caret.h", |
| 1146 | "fpdfsdk/pwl/cpwl_combo_box.cpp", |
| 1147 | "fpdfsdk/pwl/cpwl_combo_box.h", |
| 1148 | "fpdfsdk/pwl/cpwl_edit.cpp", |
| 1149 | "fpdfsdk/pwl/cpwl_edit.h", |
| 1150 | "fpdfsdk/pwl/cpwl_edit_ctrl.cpp", |
| 1151 | "fpdfsdk/pwl/cpwl_edit_ctrl.h", |
| 1152 | "fpdfsdk/pwl/cpwl_edit_impl.cpp", |
| 1153 | "fpdfsdk/pwl/cpwl_edit_impl.h", |
| 1154 | "fpdfsdk/pwl/cpwl_font_map.cpp", |
| 1155 | "fpdfsdk/pwl/cpwl_font_map.h", |
| 1156 | "fpdfsdk/pwl/cpwl_icon.cpp", |
| 1157 | "fpdfsdk/pwl/cpwl_icon.h", |
| 1158 | "fpdfsdk/pwl/cpwl_list_box.cpp", |
| 1159 | "fpdfsdk/pwl/cpwl_list_box.h", |
| 1160 | "fpdfsdk/pwl/cpwl_list_impl.cpp", |
| 1161 | "fpdfsdk/pwl/cpwl_list_impl.h", |
| 1162 | "fpdfsdk/pwl/cpwl_scroll_bar.cpp", |
| 1163 | "fpdfsdk/pwl/cpwl_scroll_bar.h", |
| 1164 | "fpdfsdk/pwl/cpwl_special_button.cpp", |
| 1165 | "fpdfsdk/pwl/cpwl_special_button.h", |
| 1166 | "fpdfsdk/pwl/cpwl_timer.cpp", |
| 1167 | "fpdfsdk/pwl/cpwl_timer.h", |
| 1168 | "fpdfsdk/pwl/cpwl_timer_handler.cpp", |
| 1169 | "fpdfsdk/pwl/cpwl_timer_handler.h", |
| 1170 | "fpdfsdk/pwl/cpwl_wnd.cpp", |
| 1171 | "fpdfsdk/pwl/cpwl_wnd.h", |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 1172 | ] |
weili | 0abe652 | 2016-06-06 14:41:22 -0700 | [diff] [blame] | 1173 | configs += [ ":pdfium_core_config" ] |
thestig | 73c4856 | 2016-09-06 14:07:17 -0700 | [diff] [blame] | 1174 | deps = [ |
| 1175 | ":fxcrt", |
| 1176 | ] |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 1177 | } |
| 1178 | |
Henrique Nakashima | 7e805d1 | 2017-08-10 15:13:19 +0000 | [diff] [blame] | 1179 | static_library("javascript") { |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 1180 | sources = [ |
Tom Sepez | d6ae2af | 2017-02-16 11:49:55 -0800 | [diff] [blame] | 1181 | "fpdfsdk/javascript/ijs_event_context.h", |
dsinclair | 64376be | 2016-03-31 20:03:24 -0700 | [diff] [blame] | 1182 | "fpdfsdk/javascript/ijs_runtime.h", |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 1183 | ] |
thestig | 73c4856 | 2016-09-06 14:07:17 -0700 | [diff] [blame] | 1184 | configs += [ ":pdfium_core_config" ] |
| 1185 | deps = [ |
| 1186 | ":fxcrt", |
| 1187 | ] |
| 1188 | |
Tom Sepez | 452b4f3 | 2015-10-13 09:27:27 -0700 | [diff] [blame] | 1189 | if (pdf_enable_v8) { |
| 1190 | sources += [ |
Dan Sinclair | f766ad2 | 2016-03-14 13:51:24 -0400 | [diff] [blame] | 1191 | "fpdfsdk/javascript/Document.cpp", |
| 1192 | "fpdfsdk/javascript/Document.h", |
| 1193 | "fpdfsdk/javascript/Field.cpp", |
| 1194 | "fpdfsdk/javascript/Field.h", |
| 1195 | "fpdfsdk/javascript/Icon.cpp", |
| 1196 | "fpdfsdk/javascript/Icon.h", |
Dan Sinclair | f766ad2 | 2016-03-14 13:51:24 -0400 | [diff] [blame] | 1197 | "fpdfsdk/javascript/JS_Define.h", |
| 1198 | "fpdfsdk/javascript/JS_EventHandler.cpp", |
| 1199 | "fpdfsdk/javascript/JS_EventHandler.h", |
| 1200 | "fpdfsdk/javascript/JS_GlobalData.cpp", |
| 1201 | "fpdfsdk/javascript/JS_GlobalData.h", |
weili | 47228ac | 2016-07-20 10:35:31 -0700 | [diff] [blame] | 1202 | "fpdfsdk/javascript/JS_KeyValue.cpp", |
| 1203 | "fpdfsdk/javascript/JS_KeyValue.h", |
Dan Sinclair | f766ad2 | 2016-03-14 13:51:24 -0400 | [diff] [blame] | 1204 | "fpdfsdk/javascript/JS_Object.cpp", |
| 1205 | "fpdfsdk/javascript/JS_Object.h", |
Dan Sinclair | f766ad2 | 2016-03-14 13:51:24 -0400 | [diff] [blame] | 1206 | "fpdfsdk/javascript/JS_Value.cpp", |
| 1207 | "fpdfsdk/javascript/JS_Value.h", |
| 1208 | "fpdfsdk/javascript/PublicMethods.cpp", |
| 1209 | "fpdfsdk/javascript/PublicMethods.h", |
| 1210 | "fpdfsdk/javascript/app.cpp", |
| 1211 | "fpdfsdk/javascript/app.h", |
dan sinclair | 95460d8 | 2017-10-25 20:25:04 -0400 | [diff] [blame] | 1212 | "fpdfsdk/javascript/cjs_annot.cpp", |
| 1213 | "fpdfsdk/javascript/cjs_annot.h", |
dan sinclair | 993a199 | 2017-10-25 20:21:09 -0400 | [diff] [blame] | 1214 | "fpdfsdk/javascript/cjs_border.cpp", |
| 1215 | "fpdfsdk/javascript/cjs_border.h", |
| 1216 | "fpdfsdk/javascript/cjs_display.cpp", |
| 1217 | "fpdfsdk/javascript/cjs_display.h", |
Tom Sepez | d6ae2af | 2017-02-16 11:49:55 -0800 | [diff] [blame] | 1218 | "fpdfsdk/javascript/cjs_event_context.cpp", |
| 1219 | "fpdfsdk/javascript/cjs_event_context.h", |
dan sinclair | 993a199 | 2017-10-25 20:21:09 -0400 | [diff] [blame] | 1220 | "fpdfsdk/javascript/cjs_font.cpp", |
| 1221 | "fpdfsdk/javascript/cjs_font.h", |
dan sinclair | d7ac26c | 2017-10-25 20:30:02 -0400 | [diff] [blame^] | 1222 | "fpdfsdk/javascript/cjs_global.cpp", |
| 1223 | "fpdfsdk/javascript/cjs_global.h", |
dan sinclair | 993a199 | 2017-10-25 20:21:09 -0400 | [diff] [blame] | 1224 | "fpdfsdk/javascript/cjs_globalarrays.cpp", |
| 1225 | "fpdfsdk/javascript/cjs_globalarrays.h", |
| 1226 | "fpdfsdk/javascript/cjs_globalconsts.cpp", |
| 1227 | "fpdfsdk/javascript/cjs_globalconsts.h", |
| 1228 | "fpdfsdk/javascript/cjs_highlight.cpp", |
| 1229 | "fpdfsdk/javascript/cjs_highlight.h", |
| 1230 | "fpdfsdk/javascript/cjs_position.cpp", |
| 1231 | "fpdfsdk/javascript/cjs_position.h", |
dsinclair | 64376be | 2016-03-31 20:03:24 -0700 | [diff] [blame] | 1232 | "fpdfsdk/javascript/cjs_runtime.cpp", |
| 1233 | "fpdfsdk/javascript/cjs_runtime.h", |
dan sinclair | 993a199 | 2017-10-25 20:21:09 -0400 | [diff] [blame] | 1234 | "fpdfsdk/javascript/cjs_scalehow.cpp", |
| 1235 | "fpdfsdk/javascript/cjs_scalehow.h", |
| 1236 | "fpdfsdk/javascript/cjs_scalewhen.cpp", |
| 1237 | "fpdfsdk/javascript/cjs_scalewhen.h", |
| 1238 | "fpdfsdk/javascript/cjs_style.cpp", |
| 1239 | "fpdfsdk/javascript/cjs_style.h", |
| 1240 | "fpdfsdk/javascript/cjs_zoomtype.cpp", |
| 1241 | "fpdfsdk/javascript/cjs_zoomtype.h", |
Dan Sinclair | f766ad2 | 2016-03-14 13:51:24 -0400 | [diff] [blame] | 1242 | "fpdfsdk/javascript/color.cpp", |
| 1243 | "fpdfsdk/javascript/color.h", |
| 1244 | "fpdfsdk/javascript/console.cpp", |
| 1245 | "fpdfsdk/javascript/console.h", |
| 1246 | "fpdfsdk/javascript/event.cpp", |
| 1247 | "fpdfsdk/javascript/event.h", |
Dan Sinclair | f766ad2 | 2016-03-14 13:51:24 -0400 | [diff] [blame] | 1248 | "fpdfsdk/javascript/report.cpp", |
| 1249 | "fpdfsdk/javascript/report.h", |
| 1250 | "fpdfsdk/javascript/resource.cpp", |
| 1251 | "fpdfsdk/javascript/resource.h", |
| 1252 | "fpdfsdk/javascript/util.cpp", |
| 1253 | "fpdfsdk/javascript/util.h", |
Tom Sepez | 452b4f3 | 2015-10-13 09:27:27 -0700 | [diff] [blame] | 1254 | ] |
thestig | 73c4856 | 2016-09-06 14:07:17 -0700 | [diff] [blame] | 1255 | deps += [ ":fxjs" ] |
Jochen Eisinger | 7ed503d | 2015-12-10 14:38:06 +0100 | [diff] [blame] | 1256 | configs += [ "//v8:external_startup_data" ] |
Tom Sepez | 452b4f3 | 2015-10-13 09:27:27 -0700 | [diff] [blame] | 1257 | } else { |
Dan Sinclair | f766ad2 | 2016-03-14 13:51:24 -0400 | [diff] [blame] | 1258 | sources += [ "fpdfsdk/javascript/JS_Runtime_Stub.cpp" ] |
Tom Sepez | 452b4f3 | 2015-10-13 09:27:27 -0700 | [diff] [blame] | 1259 | } |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 1260 | } |
| 1261 | |
Henrique Nakashima | 7e805d1 | 2017-08-10 15:13:19 +0000 | [diff] [blame] | 1262 | static_library("formfiller") { |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 1263 | sources = [ |
Dan Sinclair | edbb319 | 2016-03-21 09:08:24 -0400 | [diff] [blame] | 1264 | "fpdfsdk/formfiller/cba_fontmap.cpp", |
| 1265 | "fpdfsdk/formfiller/cba_fontmap.h", |
Dan Sinclair | b9eed2f | 2017-07-10 11:35:18 -0400 | [diff] [blame] | 1266 | "fpdfsdk/formfiller/cffl_button.cpp", |
| 1267 | "fpdfsdk/formfiller/cffl_button.h", |
Dan Sinclair | edbb319 | 2016-03-21 09:08:24 -0400 | [diff] [blame] | 1268 | "fpdfsdk/formfiller/cffl_checkbox.cpp", |
| 1269 | "fpdfsdk/formfiller/cffl_checkbox.h", |
| 1270 | "fpdfsdk/formfiller/cffl_combobox.cpp", |
| 1271 | "fpdfsdk/formfiller/cffl_combobox.h", |
| 1272 | "fpdfsdk/formfiller/cffl_formfiller.cpp", |
| 1273 | "fpdfsdk/formfiller/cffl_formfiller.h", |
dsinclair | b94d7c9 | 2016-09-21 12:07:00 -0700 | [diff] [blame] | 1274 | "fpdfsdk/formfiller/cffl_interactiveformfiller.cpp", |
| 1275 | "fpdfsdk/formfiller/cffl_interactiveformfiller.h", |
Dan Sinclair | edbb319 | 2016-03-21 09:08:24 -0400 | [diff] [blame] | 1276 | "fpdfsdk/formfiller/cffl_listbox.cpp", |
| 1277 | "fpdfsdk/formfiller/cffl_listbox.h", |
| 1278 | "fpdfsdk/formfiller/cffl_pushbutton.cpp", |
| 1279 | "fpdfsdk/formfiller/cffl_pushbutton.h", |
| 1280 | "fpdfsdk/formfiller/cffl_radiobutton.cpp", |
| 1281 | "fpdfsdk/formfiller/cffl_radiobutton.h", |
| 1282 | "fpdfsdk/formfiller/cffl_textfield.cpp", |
| 1283 | "fpdfsdk/formfiller/cffl_textfield.h", |
Lei Zhang | b4fee4d | 2017-08-01 18:34:43 -0700 | [diff] [blame] | 1284 | "fpdfsdk/formfiller/cffl_textobject.cpp", |
| 1285 | "fpdfsdk/formfiller/cffl_textobject.h", |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 1286 | ] |
weili | 0abe652 | 2016-06-06 14:41:22 -0700 | [diff] [blame] | 1287 | configs += [ ":pdfium_core_config" ] |
thestig | 73c4856 | 2016-09-06 14:07:17 -0700 | [diff] [blame] | 1288 | deps = [ |
| 1289 | ":fxcrt", |
| 1290 | ] |
John Abd-El-Malek | d68f9a3 | 2014-06-05 12:45:33 -0700 | [diff] [blame] | 1291 | } |
Tom Sepez | c706fc0 | 2014-11-14 13:39:20 -0800 | [diff] [blame] | 1292 | |
dsinclair | b3f2467 | 2016-07-12 10:42:14 -0700 | [diff] [blame] | 1293 | if (pdf_enable_v8) { |
Henrique Nakashima | 7e805d1 | 2017-08-10 15:13:19 +0000 | [diff] [blame] | 1294 | static_library("fxjs") { |
dsinclair | 7f9c860 | 2016-07-12 10:41:43 -0700 | [diff] [blame] | 1295 | sources = [ |
dsinclair | b3f2467 | 2016-07-12 10:42:14 -0700 | [diff] [blame] | 1296 | "fxjs/fxjs_v8.cpp", |
dsinclair | 4355468 | 2016-09-29 17:29:48 -0700 | [diff] [blame] | 1297 | "fxjs/fxjs_v8.h", |
dsinclair | 7f9c860 | 2016-07-12 10:41:43 -0700 | [diff] [blame] | 1298 | ] |
thestig | 73c4856 | 2016-09-06 14:07:17 -0700 | [diff] [blame] | 1299 | configs += [ ":pdfium_core_config" ] |
| 1300 | deps = [ |
| 1301 | ":fxcrt", |
| 1302 | "//v8", |
| 1303 | "//v8:v8_libplatform", |
| 1304 | ] |
| 1305 | include_dirs = [ |
| 1306 | "//v8", |
| 1307 | "//v8/include", |
| 1308 | ] |
| 1309 | public_deps = [ |
| 1310 | "//v8", |
| 1311 | ] |
| 1312 | |
dsinclair | b3f2467 | 2016-07-12 10:42:14 -0700 | [diff] [blame] | 1313 | if (pdf_enable_xfa) { |
| 1314 | sources += [ |
| 1315 | "fxjs/cfxjse_arguments.cpp", |
dsinclair | 4355468 | 2016-09-29 17:29:48 -0700 | [diff] [blame] | 1316 | "fxjs/cfxjse_arguments.h", |
dsinclair | b3f2467 | 2016-07-12 10:42:14 -0700 | [diff] [blame] | 1317 | "fxjs/cfxjse_class.cpp", |
dsinclair | 4355468 | 2016-09-29 17:29:48 -0700 | [diff] [blame] | 1318 | "fxjs/cfxjse_class.h", |
dsinclair | b3f2467 | 2016-07-12 10:42:14 -0700 | [diff] [blame] | 1319 | "fxjs/cfxjse_context.cpp", |
dsinclair | 4355468 | 2016-09-29 17:29:48 -0700 | [diff] [blame] | 1320 | "fxjs/cfxjse_context.h", |
dsinclair | b3f2467 | 2016-07-12 10:42:14 -0700 | [diff] [blame] | 1321 | "fxjs/cfxjse_isolatetracker.cpp", |
| 1322 | "fxjs/cfxjse_isolatetracker.h", |
| 1323 | "fxjs/cfxjse_runtimedata.cpp", |
| 1324 | "fxjs/cfxjse_runtimedata.h", |
| 1325 | "fxjs/cfxjse_value.cpp", |
dsinclair | 4355468 | 2016-09-29 17:29:48 -0700 | [diff] [blame] | 1326 | "fxjs/cfxjse_value.h", |
| 1327 | "fxjs/fxjse.h", |
dsinclair | b3f2467 | 2016-07-12 10:42:14 -0700 | [diff] [blame] | 1328 | ] |
| 1329 | } |
dsinclair | 7f9c860 | 2016-07-12 10:41:43 -0700 | [diff] [blame] | 1330 | } |
dsinclair | b3f2467 | 2016-07-12 10:42:14 -0700 | [diff] [blame] | 1331 | } |
dsinclair | 7f9c860 | 2016-07-12 10:41:43 -0700 | [diff] [blame] | 1332 | |
dsinclair | b3f2467 | 2016-07-12 10:42:14 -0700 | [diff] [blame] | 1333 | if (pdf_enable_xfa) { |
Henrique Nakashima | 7e805d1 | 2017-08-10 15:13:19 +0000 | [diff] [blame] | 1334 | static_library("fpdfxfa") { |
Tom Sepez | b36747d | 2015-12-08 15:49:25 -0800 | [diff] [blame] | 1335 | sources = [ |
dsinclair | 521b750 | 2016-11-02 13:02:28 -0700 | [diff] [blame] | 1336 | "fpdfsdk/fpdfxfa/cpdfxfa_context.cpp", |
| 1337 | "fpdfsdk/fpdfxfa/cpdfxfa_context.h", |
dsinclair | a440bb3 | 2016-09-14 07:01:54 -0700 | [diff] [blame] | 1338 | "fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp", |
dsinclair | bec7692 | 2016-09-29 16:52:30 -0700 | [diff] [blame] | 1339 | "fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.h", |
dsinclair | 4d29e78 | 2016-10-04 14:02:47 -0700 | [diff] [blame] | 1340 | "fpdfsdk/fpdfxfa/cpdfxfa_page.cpp", |
| 1341 | "fpdfsdk/fpdfxfa/cpdfxfa_page.h", |
| 1342 | "fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.cpp", |
| 1343 | "fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.h", |
Tom Sepez | 452b4f3 | 2015-10-13 09:27:27 -0700 | [diff] [blame] | 1344 | ] |
| 1345 | deps = [ |
thestig | 73c4856 | 2016-09-06 14:07:17 -0700 | [diff] [blame] | 1346 | ":fxcrt", |
dsinclair | 8837c91 | 2016-11-01 11:22:37 -0700 | [diff] [blame] | 1347 | ":fxjs", |
Tom Sepez | b36747d | 2015-12-08 15:49:25 -0800 | [diff] [blame] | 1348 | ":xfa", |
| 1349 | ] |
weili | 0abe652 | 2016-06-06 14:41:22 -0700 | [diff] [blame] | 1350 | configs += [ ":pdfium_core_config" ] |
Tom Sepez | b36747d | 2015-12-08 15:49:25 -0800 | [diff] [blame] | 1351 | } |
| 1352 | |
Henrique Nakashima | 7e805d1 | 2017-08-10 15:13:19 +0000 | [diff] [blame] | 1353 | static_library("fxbarcode") { |
Dan Sinclair | e778668 | 2017-03-29 15:18:41 -0400 | [diff] [blame] | 1354 | sources = [ |
Dan Sinclair | e778668 | 2017-03-29 15:18:41 -0400 | [diff] [blame] | 1355 | "fxbarcode/BC_Library.cpp", |
| 1356 | "fxbarcode/BC_Library.h", |
| 1357 | "fxbarcode/BC_TwoDimWriter.cpp", |
| 1358 | "fxbarcode/BC_TwoDimWriter.h", |
| 1359 | "fxbarcode/BC_UtilCodingConvert.cpp", |
| 1360 | "fxbarcode/BC_UtilCodingConvert.h", |
| 1361 | "fxbarcode/BC_Utils.cpp", |
| 1362 | "fxbarcode/BC_Writer.cpp", |
| 1363 | "fxbarcode/BC_Writer.h", |
| 1364 | "fxbarcode/cbc_codabar.cpp", |
| 1365 | "fxbarcode/cbc_codabar.h", |
| 1366 | "fxbarcode/cbc_code128.cpp", |
| 1367 | "fxbarcode/cbc_code128.h", |
| 1368 | "fxbarcode/cbc_code39.cpp", |
| 1369 | "fxbarcode/cbc_code39.h", |
| 1370 | "fxbarcode/cbc_codebase.cpp", |
| 1371 | "fxbarcode/cbc_codebase.h", |
| 1372 | "fxbarcode/cbc_datamatrix.cpp", |
| 1373 | "fxbarcode/cbc_datamatrix.h", |
| 1374 | "fxbarcode/cbc_ean13.cpp", |
| 1375 | "fxbarcode/cbc_ean13.h", |
| 1376 | "fxbarcode/cbc_ean8.cpp", |
| 1377 | "fxbarcode/cbc_ean8.h", |
| 1378 | "fxbarcode/cbc_onecode.cpp", |
| 1379 | "fxbarcode/cbc_onecode.h", |
| 1380 | "fxbarcode/cbc_pdf417i.cpp", |
| 1381 | "fxbarcode/cbc_pdf417i.h", |
| 1382 | "fxbarcode/cbc_qrcode.cpp", |
| 1383 | "fxbarcode/cbc_qrcode.h", |
| 1384 | "fxbarcode/cbc_upca.cpp", |
| 1385 | "fxbarcode/cbc_upca.h", |
| 1386 | "fxbarcode/common/BC_CommonBitArray.cpp", |
| 1387 | "fxbarcode/common/BC_CommonBitArray.h", |
| 1388 | "fxbarcode/common/BC_CommonBitMatrix.cpp", |
| 1389 | "fxbarcode/common/BC_CommonBitMatrix.h", |
| 1390 | "fxbarcode/common/BC_CommonByteArray.cpp", |
| 1391 | "fxbarcode/common/BC_CommonByteArray.h", |
| 1392 | "fxbarcode/common/BC_CommonByteMatrix.cpp", |
| 1393 | "fxbarcode/common/BC_CommonByteMatrix.h", |
| 1394 | "fxbarcode/common/reedsolomon/BC_ReedSolomon.cpp", |
| 1395 | "fxbarcode/common/reedsolomon/BC_ReedSolomon.h", |
| 1396 | "fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.cpp", |
| 1397 | "fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.h", |
| 1398 | "fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.cpp", |
| 1399 | "fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h", |
| 1400 | "fxbarcode/datamatrix/BC_ASCIIEncoder.cpp", |
| 1401 | "fxbarcode/datamatrix/BC_ASCIIEncoder.h", |
| 1402 | "fxbarcode/datamatrix/BC_Base256Encoder.cpp", |
| 1403 | "fxbarcode/datamatrix/BC_Base256Encoder.h", |
| 1404 | "fxbarcode/datamatrix/BC_C40Encoder.cpp", |
| 1405 | "fxbarcode/datamatrix/BC_C40Encoder.h", |
| 1406 | "fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.cpp", |
| 1407 | "fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.h", |
| 1408 | "fxbarcode/datamatrix/BC_DataMatrixWriter.cpp", |
| 1409 | "fxbarcode/datamatrix/BC_DataMatrixWriter.h", |
| 1410 | "fxbarcode/datamatrix/BC_DefaultPlacement.cpp", |
| 1411 | "fxbarcode/datamatrix/BC_DefaultPlacement.h", |
| 1412 | "fxbarcode/datamatrix/BC_EdifactEncoder.cpp", |
| 1413 | "fxbarcode/datamatrix/BC_EdifactEncoder.h", |
| 1414 | "fxbarcode/datamatrix/BC_Encoder.cpp", |
| 1415 | "fxbarcode/datamatrix/BC_Encoder.h", |
| 1416 | "fxbarcode/datamatrix/BC_EncoderContext.cpp", |
| 1417 | "fxbarcode/datamatrix/BC_EncoderContext.h", |
| 1418 | "fxbarcode/datamatrix/BC_ErrorCorrection.cpp", |
| 1419 | "fxbarcode/datamatrix/BC_ErrorCorrection.h", |
| 1420 | "fxbarcode/datamatrix/BC_HighLevelEncoder.cpp", |
| 1421 | "fxbarcode/datamatrix/BC_HighLevelEncoder.h", |
| 1422 | "fxbarcode/datamatrix/BC_SymbolInfo.cpp", |
| 1423 | "fxbarcode/datamatrix/BC_SymbolInfo.h", |
Dan Sinclair | e778668 | 2017-03-29 15:18:41 -0400 | [diff] [blame] | 1424 | "fxbarcode/datamatrix/BC_TextEncoder.cpp", |
| 1425 | "fxbarcode/datamatrix/BC_TextEncoder.h", |
| 1426 | "fxbarcode/datamatrix/BC_X12Encoder.cpp", |
| 1427 | "fxbarcode/datamatrix/BC_X12Encoder.h", |
| 1428 | "fxbarcode/oned/BC_OneDimWriter.cpp", |
| 1429 | "fxbarcode/oned/BC_OneDimWriter.h", |
| 1430 | "fxbarcode/oned/BC_OnedCodaBarWriter.cpp", |
| 1431 | "fxbarcode/oned/BC_OnedCodaBarWriter.h", |
| 1432 | "fxbarcode/oned/BC_OnedCode128Writer.cpp", |
| 1433 | "fxbarcode/oned/BC_OnedCode128Writer.h", |
| 1434 | "fxbarcode/oned/BC_OnedCode39Writer.cpp", |
| 1435 | "fxbarcode/oned/BC_OnedCode39Writer.h", |
| 1436 | "fxbarcode/oned/BC_OnedEAN13Writer.cpp", |
| 1437 | "fxbarcode/oned/BC_OnedEAN13Writer.h", |
| 1438 | "fxbarcode/oned/BC_OnedEAN8Writer.cpp", |
| 1439 | "fxbarcode/oned/BC_OnedEAN8Writer.h", |
Henrique Nakashima | 7840dd6 | 2017-09-06 13:35:25 -0400 | [diff] [blame] | 1440 | "fxbarcode/oned/BC_OnedEANChecksum.cpp", |
| 1441 | "fxbarcode/oned/BC_OnedEANChecksum.h", |
Dan Sinclair | e778668 | 2017-03-29 15:18:41 -0400 | [diff] [blame] | 1442 | "fxbarcode/oned/BC_OnedUPCAWriter.cpp", |
| 1443 | "fxbarcode/oned/BC_OnedUPCAWriter.h", |
| 1444 | "fxbarcode/pdf417/BC_PDF417.cpp", |
| 1445 | "fxbarcode/pdf417/BC_PDF417.h", |
| 1446 | "fxbarcode/pdf417/BC_PDF417BarcodeMatrix.cpp", |
| 1447 | "fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h", |
| 1448 | "fxbarcode/pdf417/BC_PDF417BarcodeRow.cpp", |
| 1449 | "fxbarcode/pdf417/BC_PDF417BarcodeRow.h", |
| 1450 | "fxbarcode/pdf417/BC_PDF417Compaction.cpp", |
| 1451 | "fxbarcode/pdf417/BC_PDF417Compaction.h", |
| 1452 | "fxbarcode/pdf417/BC_PDF417ErrorCorrection.cpp", |
| 1453 | "fxbarcode/pdf417/BC_PDF417ErrorCorrection.h", |
| 1454 | "fxbarcode/pdf417/BC_PDF417HighLevelEncoder.cpp", |
| 1455 | "fxbarcode/pdf417/BC_PDF417HighLevelEncoder.h", |
| 1456 | "fxbarcode/pdf417/BC_PDF417Writer.cpp", |
| 1457 | "fxbarcode/pdf417/BC_PDF417Writer.h", |
| 1458 | "fxbarcode/qrcode/BC_QRCodeWriter.cpp", |
| 1459 | "fxbarcode/qrcode/BC_QRCodeWriter.h", |
| 1460 | "fxbarcode/qrcode/BC_QRCoder.cpp", |
| 1461 | "fxbarcode/qrcode/BC_QRCoder.h", |
| 1462 | "fxbarcode/qrcode/BC_QRCoderBitVector.cpp", |
| 1463 | "fxbarcode/qrcode/BC_QRCoderBitVector.h", |
| 1464 | "fxbarcode/qrcode/BC_QRCoderBlockPair.cpp", |
| 1465 | "fxbarcode/qrcode/BC_QRCoderBlockPair.h", |
Dan Sinclair | e778668 | 2017-03-29 15:18:41 -0400 | [diff] [blame] | 1466 | "fxbarcode/qrcode/BC_QRCoderECBlocks.cpp", |
| 1467 | "fxbarcode/qrcode/BC_QRCoderECBlocks.h", |
Lei Zhang | 8a24b25 | 2017-04-06 14:23:26 -0700 | [diff] [blame] | 1468 | "fxbarcode/qrcode/BC_QRCoderECBlocksData.cpp", |
| 1469 | "fxbarcode/qrcode/BC_QRCoderECBlocksData.h", |
Dan Sinclair | e778668 | 2017-03-29 15:18:41 -0400 | [diff] [blame] | 1470 | "fxbarcode/qrcode/BC_QRCoderEncoder.cpp", |
| 1471 | "fxbarcode/qrcode/BC_QRCoderEncoder.h", |
| 1472 | "fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.cpp", |
| 1473 | "fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.h", |
| 1474 | "fxbarcode/qrcode/BC_QRCoderMaskUtil.cpp", |
| 1475 | "fxbarcode/qrcode/BC_QRCoderMaskUtil.h", |
| 1476 | "fxbarcode/qrcode/BC_QRCoderMatrixUtil.cpp", |
| 1477 | "fxbarcode/qrcode/BC_QRCoderMatrixUtil.h", |
| 1478 | "fxbarcode/qrcode/BC_QRCoderMode.cpp", |
| 1479 | "fxbarcode/qrcode/BC_QRCoderMode.h", |
| 1480 | "fxbarcode/qrcode/BC_QRCoderVersion.cpp", |
| 1481 | "fxbarcode/qrcode/BC_QRCoderVersion.h", |
| 1482 | "fxbarcode/utils.h", |
| 1483 | ] |
| 1484 | deps = [ |
| 1485 | ":fxcrt", |
| 1486 | ] |
| 1487 | configs += [ ":pdfium_core_config" ] |
| 1488 | } |
| 1489 | |
Henrique Nakashima | 7e805d1 | 2017-08-10 15:13:19 +0000 | [diff] [blame] | 1490 | static_library("xfa") { |
Tom Sepez | b36747d | 2015-12-08 15:49:25 -0800 | [diff] [blame] | 1491 | sources = [ |
Dan Sinclair | 68eefa6 | 2017-08-30 12:16:16 -0400 | [diff] [blame] | 1492 | "xfa/fde/cfde_texteditengine.cpp", |
| 1493 | "xfa/fde/cfde_texteditengine.h", |
Dan Sinclair | bccf573 | 2017-03-30 14:10:32 -0400 | [diff] [blame] | 1494 | "xfa/fde/cfde_textout.cpp", |
| 1495 | "xfa/fde/cfde_textout.h", |
Dan Sinclair | 8f6084b | 2017-09-06 13:52:35 -0400 | [diff] [blame] | 1496 | "xfa/fde/cfde_wordbreak_data.cpp", |
| 1497 | "xfa/fde/cfde_wordbreak_data.h", |
Dan Sinclair | b929ab0 | 2017-03-29 15:18:16 -0400 | [diff] [blame] | 1498 | "xfa/fgas/crt/cfgas_formatstring.cpp", |
| 1499 | "xfa/fgas/crt/cfgas_formatstring.h", |
Dan Sinclair | 959c2be | 2017-09-21 10:13:40 -0400 | [diff] [blame] | 1500 | "xfa/fgas/font/cfgas_defaultfontmanager.cpp", |
| 1501 | "xfa/fgas/font/cfgas_defaultfontmanager.h", |
npm | 8f3eb60 | 2016-11-11 17:16:23 -0800 | [diff] [blame] | 1502 | "xfa/fgas/font/cfgas_fontmgr.cpp", |
| 1503 | "xfa/fgas/font/cfgas_fontmgr.h", |
npm | 4b91a2d | 2016-11-21 15:19:44 -0800 | [diff] [blame] | 1504 | "xfa/fgas/font/cfgas_gefont.cpp", |
| 1505 | "xfa/fgas/font/cfgas_gefont.h", |
Dan Sinclair | db0312e | 2017-09-21 09:46:03 -0400 | [diff] [blame] | 1506 | "xfa/fgas/font/cfgas_pdffontmgr.cpp", |
| 1507 | "xfa/fgas/font/cfgas_pdffontmgr.h", |
Dan Sinclair | 1770c02 | 2016-03-14 14:14:16 -0400 | [diff] [blame] | 1508 | "xfa/fgas/font/fgas_fontutils.cpp", |
| 1509 | "xfa/fgas/font/fgas_fontutils.h", |
Dan Sinclair | e533b93 | 2017-03-16 11:47:20 -0400 | [diff] [blame] | 1510 | "xfa/fgas/layout/cfx_break.cpp", |
| 1511 | "xfa/fgas/layout/cfx_break.h", |
Dan Sinclair | 893822a | 2017-03-13 15:32:07 -0400 | [diff] [blame] | 1512 | "xfa/fgas/layout/cfx_breakline.cpp", |
| 1513 | "xfa/fgas/layout/cfx_breakline.h", |
| 1514 | "xfa/fgas/layout/cfx_breakpiece.cpp", |
| 1515 | "xfa/fgas/layout/cfx_breakpiece.h", |
Dan Sinclair | 994acdc | 2017-04-18 13:56:39 -0400 | [diff] [blame] | 1516 | "xfa/fgas/layout/cfx_linebreak.cpp", |
| 1517 | "xfa/fgas/layout/cfx_linebreak.h", |
| 1518 | "xfa/fgas/layout/cfx_rtfbreak.cpp", |
| 1519 | "xfa/fgas/layout/cfx_rtfbreak.h", |
| 1520 | "xfa/fgas/layout/cfx_txtbreak.cpp", |
| 1521 | "xfa/fgas/layout/cfx_txtbreak.h", |
dsinclair | 447b1f3 | 2016-12-08 10:06:32 -0800 | [diff] [blame] | 1522 | "xfa/fwl/cfwl_app.cpp", |
| 1523 | "xfa/fwl/cfwl_app.h", |
| 1524 | "xfa/fwl/cfwl_barcode.cpp", |
| 1525 | "xfa/fwl/cfwl_barcode.h", |
| 1526 | "xfa/fwl/cfwl_caret.cpp", |
| 1527 | "xfa/fwl/cfwl_caret.h", |
| 1528 | "xfa/fwl/cfwl_checkbox.cpp", |
| 1529 | "xfa/fwl/cfwl_checkbox.h", |
| 1530 | "xfa/fwl/cfwl_combobox.cpp", |
| 1531 | "xfa/fwl/cfwl_combobox.h", |
| 1532 | "xfa/fwl/cfwl_comboboxproxy.cpp", |
| 1533 | "xfa/fwl/cfwl_comboboxproxy.h", |
| 1534 | "xfa/fwl/cfwl_comboedit.cpp", |
| 1535 | "xfa/fwl/cfwl_comboedit.h", |
| 1536 | "xfa/fwl/cfwl_combolist.cpp", |
| 1537 | "xfa/fwl/cfwl_combolist.h", |
| 1538 | "xfa/fwl/cfwl_datetimeedit.cpp", |
| 1539 | "xfa/fwl/cfwl_datetimeedit.h", |
| 1540 | "xfa/fwl/cfwl_datetimepicker.cpp", |
| 1541 | "xfa/fwl/cfwl_datetimepicker.h", |
| 1542 | "xfa/fwl/cfwl_edit.cpp", |
| 1543 | "xfa/fwl/cfwl_edit.h", |
| 1544 | "xfa/fwl/cfwl_event.cpp", |
| 1545 | "xfa/fwl/cfwl_event.h", |
| 1546 | "xfa/fwl/cfwl_eventcheckword.cpp", |
| 1547 | "xfa/fwl/cfwl_eventcheckword.h", |
| 1548 | "xfa/fwl/cfwl_eventmouse.cpp", |
| 1549 | "xfa/fwl/cfwl_eventmouse.h", |
| 1550 | "xfa/fwl/cfwl_eventscroll.cpp", |
| 1551 | "xfa/fwl/cfwl_eventscroll.h", |
| 1552 | "xfa/fwl/cfwl_eventselectchanged.cpp", |
| 1553 | "xfa/fwl/cfwl_eventselectchanged.h", |
| 1554 | "xfa/fwl/cfwl_eventtarget.cpp", |
| 1555 | "xfa/fwl/cfwl_eventtarget.h", |
| 1556 | "xfa/fwl/cfwl_eventtextchanged.cpp", |
| 1557 | "xfa/fwl/cfwl_eventtextchanged.h", |
| 1558 | "xfa/fwl/cfwl_eventvalidate.cpp", |
| 1559 | "xfa/fwl/cfwl_eventvalidate.h", |
| 1560 | "xfa/fwl/cfwl_form.cpp", |
| 1561 | "xfa/fwl/cfwl_form.h", |
| 1562 | "xfa/fwl/cfwl_formproxy.cpp", |
| 1563 | "xfa/fwl/cfwl_formproxy.h", |
| 1564 | "xfa/fwl/cfwl_listbox.cpp", |
| 1565 | "xfa/fwl/cfwl_listbox.h", |
| 1566 | "xfa/fwl/cfwl_listitem.cpp", |
| 1567 | "xfa/fwl/cfwl_listitem.h", |
| 1568 | "xfa/fwl/cfwl_message.cpp", |
| 1569 | "xfa/fwl/cfwl_message.h", |
| 1570 | "xfa/fwl/cfwl_messagekey.cpp", |
| 1571 | "xfa/fwl/cfwl_messagekey.h", |
| 1572 | "xfa/fwl/cfwl_messagekillfocus.cpp", |
| 1573 | "xfa/fwl/cfwl_messagekillfocus.h", |
| 1574 | "xfa/fwl/cfwl_messagemouse.cpp", |
| 1575 | "xfa/fwl/cfwl_messagemouse.h", |
| 1576 | "xfa/fwl/cfwl_messagemousewheel.cpp", |
| 1577 | "xfa/fwl/cfwl_messagemousewheel.h", |
| 1578 | "xfa/fwl/cfwl_messagesetfocus.cpp", |
| 1579 | "xfa/fwl/cfwl_messagesetfocus.h", |
| 1580 | "xfa/fwl/cfwl_monthcalendar.cpp", |
| 1581 | "xfa/fwl/cfwl_monthcalendar.h", |
| 1582 | "xfa/fwl/cfwl_notedriver.cpp", |
| 1583 | "xfa/fwl/cfwl_notedriver.h", |
| 1584 | "xfa/fwl/cfwl_noteloop.cpp", |
| 1585 | "xfa/fwl/cfwl_noteloop.h", |
| 1586 | "xfa/fwl/cfwl_picturebox.cpp", |
| 1587 | "xfa/fwl/cfwl_picturebox.h", |
| 1588 | "xfa/fwl/cfwl_pushbutton.cpp", |
| 1589 | "xfa/fwl/cfwl_pushbutton.h", |
| 1590 | "xfa/fwl/cfwl_scrollbar.cpp", |
| 1591 | "xfa/fwl/cfwl_scrollbar.h", |
dsinclair | 447b1f3 | 2016-12-08 10:06:32 -0800 | [diff] [blame] | 1592 | "xfa/fwl/cfwl_themebackground.h", |
| 1593 | "xfa/fwl/cfwl_themepart.cpp", |
| 1594 | "xfa/fwl/cfwl_themepart.h", |
| 1595 | "xfa/fwl/cfwl_themetext.h", |
| 1596 | "xfa/fwl/cfwl_timer.cpp", |
| 1597 | "xfa/fwl/cfwl_timer.h", |
| 1598 | "xfa/fwl/cfwl_timerinfo.cpp", |
| 1599 | "xfa/fwl/cfwl_timerinfo.h", |
| 1600 | "xfa/fwl/cfwl_widget.cpp", |
| 1601 | "xfa/fwl/cfwl_widget.h", |
| 1602 | "xfa/fwl/cfwl_widgetmgr.cpp", |
| 1603 | "xfa/fwl/cfwl_widgetmgr.h", |
| 1604 | "xfa/fwl/cfwl_widgetproperties.cpp", |
| 1605 | "xfa/fwl/cfwl_widgetproperties.h", |
| 1606 | "xfa/fwl/cfx_barcode.cpp", |
| 1607 | "xfa/fwl/cfx_barcode.h", |
dsinclair | 447b1f3 | 2016-12-08 10:06:32 -0800 | [diff] [blame] | 1608 | "xfa/fwl/fwl_widgetdef.h", |
| 1609 | "xfa/fwl/fwl_widgethit.h", |
| 1610 | "xfa/fwl/ifwl_adaptertimermgr.h", |
| 1611 | "xfa/fwl/ifwl_themeprovider.h", |
| 1612 | "xfa/fwl/ifwl_widgetdelegate.h", |
dsinclair | 7f432a1 | 2016-03-29 12:38:01 -0700 | [diff] [blame] | 1613 | "xfa/fwl/theme/cfwl_barcodetp.cpp", |
| 1614 | "xfa/fwl/theme/cfwl_barcodetp.h", |
| 1615 | "xfa/fwl/theme/cfwl_carettp.cpp", |
| 1616 | "xfa/fwl/theme/cfwl_carettp.h", |
| 1617 | "xfa/fwl/theme/cfwl_checkboxtp.cpp", |
| 1618 | "xfa/fwl/theme/cfwl_checkboxtp.h", |
| 1619 | "xfa/fwl/theme/cfwl_comboboxtp.cpp", |
| 1620 | "xfa/fwl/theme/cfwl_comboboxtp.h", |
weili | beecc34 | 2016-08-04 11:57:22 -0700 | [diff] [blame] | 1621 | "xfa/fwl/theme/cfwl_datetimepickertp.cpp", |
dsinclair | 7f432a1 | 2016-03-29 12:38:01 -0700 | [diff] [blame] | 1622 | "xfa/fwl/theme/cfwl_datetimepickertp.h", |
| 1623 | "xfa/fwl/theme/cfwl_edittp.cpp", |
| 1624 | "xfa/fwl/theme/cfwl_edittp.h", |
dsinclair | 7f432a1 | 2016-03-29 12:38:01 -0700 | [diff] [blame] | 1625 | "xfa/fwl/theme/cfwl_listboxtp.cpp", |
| 1626 | "xfa/fwl/theme/cfwl_listboxtp.h", |
| 1627 | "xfa/fwl/theme/cfwl_monthcalendartp.cpp", |
| 1628 | "xfa/fwl/theme/cfwl_monthcalendartp.h", |
| 1629 | "xfa/fwl/theme/cfwl_pictureboxtp.cpp", |
| 1630 | "xfa/fwl/theme/cfwl_pictureboxtp.h", |
| 1631 | "xfa/fwl/theme/cfwl_pushbuttontp.cpp", |
| 1632 | "xfa/fwl/theme/cfwl_pushbuttontp.h", |
| 1633 | "xfa/fwl/theme/cfwl_scrollbartp.cpp", |
| 1634 | "xfa/fwl/theme/cfwl_scrollbartp.h", |
| 1635 | "xfa/fwl/theme/cfwl_utils.h", |
| 1636 | "xfa/fwl/theme/cfwl_widgettp.cpp", |
| 1637 | "xfa/fwl/theme/cfwl_widgettp.h", |
Dan Sinclair | 80c4878 | 2017-03-23 12:11:20 -0400 | [diff] [blame] | 1638 | "xfa/fxfa/cxfa_eventparam.cpp", |
dsinclair | 5b49309 | 2016-09-29 20:20:24 -0700 | [diff] [blame] | 1639 | "xfa/fxfa/cxfa_eventparam.h", |
Dan Sinclair | 80c4878 | 2017-03-23 12:11:20 -0400 | [diff] [blame] | 1640 | "xfa/fxfa/cxfa_ffapp.cpp", |
| 1641 | "xfa/fxfa/cxfa_ffapp.h", |
Dan Sinclair | 24ef633 | 2017-07-24 10:52:57 -0400 | [diff] [blame] | 1642 | "xfa/fxfa/cxfa_ffarc.cpp", |
| 1643 | "xfa/fxfa/cxfa_ffarc.h", |
| 1644 | "xfa/fxfa/cxfa_ffbarcode.cpp", |
| 1645 | "xfa/fxfa/cxfa_ffbarcode.h", |
| 1646 | "xfa/fxfa/cxfa_ffcheckbutton.cpp", |
| 1647 | "xfa/fxfa/cxfa_ffcheckbutton.h", |
| 1648 | "xfa/fxfa/cxfa_ffcombobox.cpp", |
| 1649 | "xfa/fxfa/cxfa_ffcombobox.h", |
| 1650 | "xfa/fxfa/cxfa_ffdatetimeedit.cpp", |
| 1651 | "xfa/fxfa/cxfa_ffdatetimeedit.h", |
Dan Sinclair | 80c4878 | 2017-03-23 12:11:20 -0400 | [diff] [blame] | 1652 | "xfa/fxfa/cxfa_ffdoc.cpp", |
| 1653 | "xfa/fxfa/cxfa_ffdoc.h", |
| 1654 | "xfa/fxfa/cxfa_ffdochandler.cpp", |
| 1655 | "xfa/fxfa/cxfa_ffdochandler.h", |
| 1656 | "xfa/fxfa/cxfa_ffdocview.cpp", |
| 1657 | "xfa/fxfa/cxfa_ffdocview.h", |
Dan Sinclair | 24ef633 | 2017-07-24 10:52:57 -0400 | [diff] [blame] | 1658 | "xfa/fxfa/cxfa_ffdraw.cpp", |
| 1659 | "xfa/fxfa/cxfa_ffdraw.h", |
| 1660 | "xfa/fxfa/cxfa_ffexclgroup.cpp", |
| 1661 | "xfa/fxfa/cxfa_ffexclgroup.h", |
| 1662 | "xfa/fxfa/cxfa_fffield.cpp", |
| 1663 | "xfa/fxfa/cxfa_fffield.h", |
| 1664 | "xfa/fxfa/cxfa_ffimage.cpp", |
| 1665 | "xfa/fxfa/cxfa_ffimage.h", |
| 1666 | "xfa/fxfa/cxfa_ffimageedit.cpp", |
| 1667 | "xfa/fxfa/cxfa_ffimageedit.h", |
| 1668 | "xfa/fxfa/cxfa_ffline.cpp", |
| 1669 | "xfa/fxfa/cxfa_ffline.h", |
| 1670 | "xfa/fxfa/cxfa_fflistbox.cpp", |
| 1671 | "xfa/fxfa/cxfa_fflistbox.h", |
| 1672 | "xfa/fxfa/cxfa_ffnotify.cpp", |
| 1673 | "xfa/fxfa/cxfa_ffnotify.h", |
| 1674 | "xfa/fxfa/cxfa_ffnumericedit.cpp", |
| 1675 | "xfa/fxfa/cxfa_ffnumericedit.h", |
Dan Sinclair | 80c4878 | 2017-03-23 12:11:20 -0400 | [diff] [blame] | 1676 | "xfa/fxfa/cxfa_ffpageview.cpp", |
| 1677 | "xfa/fxfa/cxfa_ffpageview.h", |
Dan Sinclair | 24ef633 | 2017-07-24 10:52:57 -0400 | [diff] [blame] | 1678 | "xfa/fxfa/cxfa_ffpasswordedit.cpp", |
| 1679 | "xfa/fxfa/cxfa_ffpasswordedit.h", |
| 1680 | "xfa/fxfa/cxfa_ffpushbutton.cpp", |
| 1681 | "xfa/fxfa/cxfa_ffpushbutton.h", |
| 1682 | "xfa/fxfa/cxfa_ffrectangle.cpp", |
| 1683 | "xfa/fxfa/cxfa_ffrectangle.h", |
| 1684 | "xfa/fxfa/cxfa_ffsignature.cpp", |
| 1685 | "xfa/fxfa/cxfa_ffsignature.h", |
| 1686 | "xfa/fxfa/cxfa_ffsubform.cpp", |
| 1687 | "xfa/fxfa/cxfa_ffsubform.h", |
| 1688 | "xfa/fxfa/cxfa_fftext.cpp", |
| 1689 | "xfa/fxfa/cxfa_fftext.h", |
| 1690 | "xfa/fxfa/cxfa_fftextedit.cpp", |
| 1691 | "xfa/fxfa/cxfa_fftextedit.h", |
Dan Sinclair | 80c4878 | 2017-03-23 12:11:20 -0400 | [diff] [blame] | 1692 | "xfa/fxfa/cxfa_ffwidget.cpp", |
| 1693 | "xfa/fxfa/cxfa_ffwidget.h", |
| 1694 | "xfa/fxfa/cxfa_ffwidgethandler.cpp", |
| 1695 | "xfa/fxfa/cxfa_ffwidgethandler.h", |
Dan Sinclair | 9d6a208 | 2017-04-12 11:32:32 -0400 | [diff] [blame] | 1696 | "xfa/fxfa/cxfa_fileread.cpp", |
| 1697 | "xfa/fxfa/cxfa_fileread.h", |
Dan Sinclair | 80c4878 | 2017-03-23 12:11:20 -0400 | [diff] [blame] | 1698 | "xfa/fxfa/cxfa_fontmgr.cpp", |
| 1699 | "xfa/fxfa/cxfa_fontmgr.h", |
Dan Sinclair | 24ef633 | 2017-07-24 10:52:57 -0400 | [diff] [blame] | 1700 | "xfa/fxfa/cxfa_fwladapterwidgetmgr.cpp", |
| 1701 | "xfa/fxfa/cxfa_fwladapterwidgetmgr.h", |
| 1702 | "xfa/fxfa/cxfa_fwltheme.cpp", |
| 1703 | "xfa/fxfa/cxfa_fwltheme.h", |
| 1704 | "xfa/fxfa/cxfa_linkuserdata.cpp", |
| 1705 | "xfa/fxfa/cxfa_linkuserdata.h", |
| 1706 | "xfa/fxfa/cxfa_loadercontext.cpp", |
| 1707 | "xfa/fxfa/cxfa_loadercontext.h", |
Dan Sinclair | 24ef633 | 2017-07-24 10:52:57 -0400 | [diff] [blame] | 1708 | "xfa/fxfa/cxfa_pieceline.cpp", |
| 1709 | "xfa/fxfa/cxfa_pieceline.h", |
Dan Sinclair | 80c4878 | 2017-03-23 12:11:20 -0400 | [diff] [blame] | 1710 | "xfa/fxfa/cxfa_rendercontext.cpp", |
| 1711 | "xfa/fxfa/cxfa_rendercontext.h", |
Dan Sinclair | 24ef633 | 2017-07-24 10:52:57 -0400 | [diff] [blame] | 1712 | "xfa/fxfa/cxfa_textlayout.cpp", |
| 1713 | "xfa/fxfa/cxfa_textlayout.h", |
| 1714 | "xfa/fxfa/cxfa_textparsecontext.cpp", |
| 1715 | "xfa/fxfa/cxfa_textparsecontext.h", |
| 1716 | "xfa/fxfa/cxfa_textparser.cpp", |
| 1717 | "xfa/fxfa/cxfa_textparser.h", |
| 1718 | "xfa/fxfa/cxfa_textpiece.cpp", |
| 1719 | "xfa/fxfa/cxfa_textpiece.h", |
| 1720 | "xfa/fxfa/cxfa_textprovider.cpp", |
| 1721 | "xfa/fxfa/cxfa_textprovider.h", |
| 1722 | "xfa/fxfa/cxfa_texttabstopscontext.cpp", |
| 1723 | "xfa/fxfa/cxfa_texttabstopscontext.h", |
| 1724 | "xfa/fxfa/cxfa_textuserdata.cpp", |
| 1725 | "xfa/fxfa/cxfa_textuserdata.h", |
Dan Sinclair | 80c4878 | 2017-03-23 12:11:20 -0400 | [diff] [blame] | 1726 | "xfa/fxfa/cxfa_widgetacc.cpp", |
| 1727 | "xfa/fxfa/cxfa_widgetacc.h", |
| 1728 | "xfa/fxfa/cxfa_widgetacciterator.cpp", |
| 1729 | "xfa/fxfa/cxfa_widgetacciterator.h", |
Dan Sinclair | 2e9d47a | 2017-05-16 15:14:02 -0400 | [diff] [blame] | 1730 | "xfa/fxfa/fm2js/cxfa_fm2jscontext.cpp", |
| 1731 | "xfa/fxfa/fm2js/cxfa_fm2jscontext.h", |
Dan Sinclair | 2e9d47a | 2017-05-16 15:14:02 -0400 | [diff] [blame] | 1732 | "xfa/fxfa/fm2js/cxfa_fmexpression.cpp", |
| 1733 | "xfa/fxfa/fm2js/cxfa_fmexpression.h", |
| 1734 | "xfa/fxfa/fm2js/cxfa_fmlexer.cpp", |
| 1735 | "xfa/fxfa/fm2js/cxfa_fmlexer.h", |
Ryan Harrison | db1e8a5 | 2017-07-27 14:53:20 -0400 | [diff] [blame] | 1736 | "xfa/fxfa/fm2js/cxfa_fmparser.cpp", |
| 1737 | "xfa/fxfa/fm2js/cxfa_fmparser.h", |
Dan Sinclair | 2e9d47a | 2017-05-16 15:14:02 -0400 | [diff] [blame] | 1738 | "xfa/fxfa/fm2js/cxfa_fmsimpleexpression.cpp", |
| 1739 | "xfa/fxfa/fm2js/cxfa_fmsimpleexpression.h", |
Ryan Harrison | 1e19e25 | 2017-10-25 14:32:14 -0400 | [diff] [blame] | 1740 | "xfa/fxfa/fm2js/cxfa_fmtojavascriptdepth.cpp", |
| 1741 | "xfa/fxfa/fm2js/cxfa_fmtojavascriptdepth.h", |
dsinclair | 5b49309 | 2016-09-29 20:20:24 -0700 | [diff] [blame] | 1742 | "xfa/fxfa/fxfa.h", |
| 1743 | "xfa/fxfa/fxfa_basic.h", |
dsinclair | c1515ef | 2016-07-20 06:16:06 -0700 | [diff] [blame] | 1744 | "xfa/fxfa/parser/cscript_datawindow.cpp", |
| 1745 | "xfa/fxfa/parser/cscript_datawindow.h", |
| 1746 | "xfa/fxfa/parser/cscript_eventpseudomodel.cpp", |
| 1747 | "xfa/fxfa/parser/cscript_eventpseudomodel.h", |
| 1748 | "xfa/fxfa/parser/cscript_hostpseudomodel.cpp", |
| 1749 | "xfa/fxfa/parser/cscript_hostpseudomodel.h", |
| 1750 | "xfa/fxfa/parser/cscript_layoutpseudomodel.cpp", |
| 1751 | "xfa/fxfa/parser/cscript_layoutpseudomodel.h", |
| 1752 | "xfa/fxfa/parser/cscript_logpseudomodel.cpp", |
| 1753 | "xfa/fxfa/parser/cscript_logpseudomodel.h", |
| 1754 | "xfa/fxfa/parser/cscript_signaturepseudomodel.cpp", |
| 1755 | "xfa/fxfa/parser/cscript_signaturepseudomodel.h", |
dsinclair | 44d054c | 2016-04-06 10:23:46 -0700 | [diff] [blame] | 1756 | "xfa/fxfa/parser/cxfa_arc.h", |
dsinclair | 5b36f0a | 2016-07-19 10:56:23 -0700 | [diff] [blame] | 1757 | "xfa/fxfa/parser/cxfa_arraynodelist.cpp", |
Dan Sinclair | efcae5d | 2017-03-29 14:47:46 -0400 | [diff] [blame] | 1758 | "xfa/fxfa/parser/cxfa_arraynodelist.h", |
dsinclair | 44d054c | 2016-04-06 10:23:46 -0700 | [diff] [blame] | 1759 | "xfa/fxfa/parser/cxfa_assist.cpp", |
| 1760 | "xfa/fxfa/parser/cxfa_assist.h", |
dsinclair | 5b36f0a | 2016-07-19 10:56:23 -0700 | [diff] [blame] | 1761 | "xfa/fxfa/parser/cxfa_attachnodelist.cpp", |
Dan Sinclair | efcae5d | 2017-03-29 14:47:46 -0400 | [diff] [blame] | 1762 | "xfa/fxfa/parser/cxfa_attachnodelist.h", |
dsinclair | 44d054c | 2016-04-06 10:23:46 -0700 | [diff] [blame] | 1763 | "xfa/fxfa/parser/cxfa_bind.cpp", |
| 1764 | "xfa/fxfa/parser/cxfa_bind.h", |
| 1765 | "xfa/fxfa/parser/cxfa_binditems.cpp", |
| 1766 | "xfa/fxfa/parser/cxfa_binditems.h", |
| 1767 | "xfa/fxfa/parser/cxfa_border.h", |
| 1768 | "xfa/fxfa/parser/cxfa_box.cpp", |
| 1769 | "xfa/fxfa/parser/cxfa_box.h", |
| 1770 | "xfa/fxfa/parser/cxfa_calculate.cpp", |
| 1771 | "xfa/fxfa/parser/cxfa_calculate.h", |
| 1772 | "xfa/fxfa/parser/cxfa_caption.cpp", |
| 1773 | "xfa/fxfa/parser/cxfa_caption.h", |
dsinclair | 0b851ff | 2016-07-21 12:03:01 -0700 | [diff] [blame] | 1774 | "xfa/fxfa/parser/cxfa_containerlayoutitem.cpp", |
| 1775 | "xfa/fxfa/parser/cxfa_containerlayoutitem.h", |
| 1776 | "xfa/fxfa/parser/cxfa_contentlayoutitem.cpp", |
| 1777 | "xfa/fxfa/parser/cxfa_contentlayoutitem.h", |
dsinclair | 44d054c | 2016-04-06 10:23:46 -0700 | [diff] [blame] | 1778 | "xfa/fxfa/parser/cxfa_corner.h", |
| 1779 | "xfa/fxfa/parser/cxfa_data.cpp", |
| 1780 | "xfa/fxfa/parser/cxfa_data.h", |
dsinclair | 3a7cc73 | 2016-07-21 12:04:34 -0700 | [diff] [blame] | 1781 | "xfa/fxfa/parser/cxfa_dataexporter.cpp", |
| 1782 | "xfa/fxfa/parser/cxfa_dataexporter.h", |
| 1783 | "xfa/fxfa/parser/cxfa_dataimporter.cpp", |
| 1784 | "xfa/fxfa/parser/cxfa_dataimporter.h", |
dsinclair | 1628024 | 2016-07-21 12:03:47 -0700 | [diff] [blame] | 1785 | "xfa/fxfa/parser/cxfa_document.cpp", |
| 1786 | "xfa/fxfa/parser/cxfa_document.h", |
dsinclair | 34f86b0 | 2016-07-11 08:42:33 -0700 | [diff] [blame] | 1787 | "xfa/fxfa/parser/cxfa_document_parser.cpp", |
| 1788 | "xfa/fxfa/parser/cxfa_document_parser.h", |
dsinclair | 44d054c | 2016-04-06 10:23:46 -0700 | [diff] [blame] | 1789 | "xfa/fxfa/parser/cxfa_edge.h", |
| 1790 | "xfa/fxfa/parser/cxfa_event.cpp", |
| 1791 | "xfa/fxfa/parser/cxfa_event.h", |
| 1792 | "xfa/fxfa/parser/cxfa_exdata.cpp", |
| 1793 | "xfa/fxfa/parser/cxfa_exdata.h", |
| 1794 | "xfa/fxfa/parser/cxfa_fill.cpp", |
| 1795 | "xfa/fxfa/parser/cxfa_fill.h", |
| 1796 | "xfa/fxfa/parser/cxfa_font.cpp", |
| 1797 | "xfa/fxfa/parser/cxfa_font.h", |
| 1798 | "xfa/fxfa/parser/cxfa_image.cpp", |
| 1799 | "xfa/fxfa/parser/cxfa_image.h", |
Dan Sinclair | ec1843d | 2017-03-28 16:04:41 -0400 | [diff] [blame] | 1800 | "xfa/fxfa/parser/cxfa_itemlayoutprocessor.cpp", |
| 1801 | "xfa/fxfa/parser/cxfa_itemlayoutprocessor.h", |
| 1802 | "xfa/fxfa/parser/cxfa_layoutcontext.h", |
dsinclair | 0b851ff | 2016-07-21 12:03:01 -0700 | [diff] [blame] | 1803 | "xfa/fxfa/parser/cxfa_layoutitem.cpp", |
| 1804 | "xfa/fxfa/parser/cxfa_layoutitem.h", |
dsinclair | 8d0cc67 | 2016-08-03 12:58:53 -0700 | [diff] [blame] | 1805 | "xfa/fxfa/parser/cxfa_layoutpagemgr.cpp", |
| 1806 | "xfa/fxfa/parser/cxfa_layoutpagemgr.h", |
dsinclair | 0b851ff | 2016-07-21 12:03:01 -0700 | [diff] [blame] | 1807 | "xfa/fxfa/parser/cxfa_layoutprocessor.cpp", |
| 1808 | "xfa/fxfa/parser/cxfa_layoutprocessor.h", |
dsinclair | 44d054c | 2016-04-06 10:23:46 -0700 | [diff] [blame] | 1809 | "xfa/fxfa/parser/cxfa_line.cpp", |
| 1810 | "xfa/fxfa/parser/cxfa_line.h", |
Dan Sinclair | ec1843d | 2017-03-28 16:04:41 -0400 | [diff] [blame] | 1811 | "xfa/fxfa/parser/cxfa_localemgr.cpp", |
| 1812 | "xfa/fxfa/parser/cxfa_localemgr.h", |
| 1813 | "xfa/fxfa/parser/cxfa_localevalue.cpp", |
| 1814 | "xfa/fxfa/parser/cxfa_localevalue.h", |
dsinclair | 44d054c | 2016-04-06 10:23:46 -0700 | [diff] [blame] | 1815 | "xfa/fxfa/parser/cxfa_margin.cpp", |
| 1816 | "xfa/fxfa/parser/cxfa_margin.h", |
dsinclair | 9eb0db1 | 2016-07-21 12:01:39 -0700 | [diff] [blame] | 1817 | "xfa/fxfa/parser/cxfa_measurement.cpp", |
| 1818 | "xfa/fxfa/parser/cxfa_measurement.h", |
dsinclair | 5b36f0a | 2016-07-19 10:56:23 -0700 | [diff] [blame] | 1819 | "xfa/fxfa/parser/cxfa_node.cpp", |
Dan Sinclair | efcae5d | 2017-03-29 14:47:46 -0400 | [diff] [blame] | 1820 | "xfa/fxfa/parser/cxfa_node.h", |
dsinclair | 31f8740 | 2016-07-20 06:34:45 -0700 | [diff] [blame] | 1821 | "xfa/fxfa/parser/cxfa_nodehelper.cpp", |
| 1822 | "xfa/fxfa/parser/cxfa_nodehelper.h", |
dsinclair | 5b36f0a | 2016-07-19 10:56:23 -0700 | [diff] [blame] | 1823 | "xfa/fxfa/parser/cxfa_nodelist.cpp", |
Dan Sinclair | efcae5d | 2017-03-29 14:47:46 -0400 | [diff] [blame] | 1824 | "xfa/fxfa/parser/cxfa_nodelist.h", |
Dan Sinclair | ec1843d | 2017-03-28 16:04:41 -0400 | [diff] [blame] | 1825 | "xfa/fxfa/parser/cxfa_nodelocale.cpp", |
| 1826 | "xfa/fxfa/parser/cxfa_nodelocale.h", |
dsinclair | 5b36f0a | 2016-07-19 10:56:23 -0700 | [diff] [blame] | 1827 | "xfa/fxfa/parser/cxfa_object.cpp", |
Dan Sinclair | efcae5d | 2017-03-29 14:47:46 -0400 | [diff] [blame] | 1828 | "xfa/fxfa/parser/cxfa_object.h", |
dsinclair | 44d054c | 2016-04-06 10:23:46 -0700 | [diff] [blame] | 1829 | "xfa/fxfa/parser/cxfa_occur.cpp", |
| 1830 | "xfa/fxfa/parser/cxfa_occur.h", |
| 1831 | "xfa/fxfa/parser/cxfa_para.cpp", |
| 1832 | "xfa/fxfa/parser/cxfa_para.h", |
| 1833 | "xfa/fxfa/parser/cxfa_rectangle.h", |
dsinclair | 31f8740 | 2016-07-20 06:34:45 -0700 | [diff] [blame] | 1834 | "xfa/fxfa/parser/cxfa_resolveprocessor.cpp", |
| 1835 | "xfa/fxfa/parser/cxfa_resolveprocessor.h", |
dsinclair | 44d054c | 2016-04-06 10:23:46 -0700 | [diff] [blame] | 1836 | "xfa/fxfa/parser/cxfa_script.cpp", |
| 1837 | "xfa/fxfa/parser/cxfa_script.h", |
dsinclair | 31f8740 | 2016-07-20 06:34:45 -0700 | [diff] [blame] | 1838 | "xfa/fxfa/parser/cxfa_scriptcontext.cpp", |
| 1839 | "xfa/fxfa/parser/cxfa_scriptcontext.h", |
dsinclair | 34f86b0 | 2016-07-11 08:42:33 -0700 | [diff] [blame] | 1840 | "xfa/fxfa/parser/cxfa_simple_parser.cpp", |
| 1841 | "xfa/fxfa/parser/cxfa_simple_parser.h", |
dsinclair | 44d054c | 2016-04-06 10:23:46 -0700 | [diff] [blame] | 1842 | "xfa/fxfa/parser/cxfa_stroke.cpp", |
| 1843 | "xfa/fxfa/parser/cxfa_stroke.h", |
| 1844 | "xfa/fxfa/parser/cxfa_submit.cpp", |
| 1845 | "xfa/fxfa/parser/cxfa_submit.h", |
| 1846 | "xfa/fxfa/parser/cxfa_text.cpp", |
| 1847 | "xfa/fxfa/parser/cxfa_text.h", |
dsinclair | 5b36f0a | 2016-07-19 10:56:23 -0700 | [diff] [blame] | 1848 | "xfa/fxfa/parser/cxfa_thisproxy.cpp", |
Dan Sinclair | efcae5d | 2017-03-29 14:47:46 -0400 | [diff] [blame] | 1849 | "xfa/fxfa/parser/cxfa_thisproxy.h", |
Dan Sinclair | ec1843d | 2017-03-28 16:04:41 -0400 | [diff] [blame] | 1850 | "xfa/fxfa/parser/cxfa_timezoneprovider.cpp", |
| 1851 | "xfa/fxfa/parser/cxfa_timezoneprovider.h", |
dsinclair | 44d054c | 2016-04-06 10:23:46 -0700 | [diff] [blame] | 1852 | "xfa/fxfa/parser/cxfa_tooltip.cpp", |
| 1853 | "xfa/fxfa/parser/cxfa_tooltip.h", |
dsinclair | 6ea5ba0 | 2016-08-03 10:20:32 -0700 | [diff] [blame] | 1854 | "xfa/fxfa/parser/cxfa_traversestrategy_contentareacontainerlayoutitem.h", |
| 1855 | "xfa/fxfa/parser/cxfa_traversestrategy_contentlayoutitem.h", |
dsinclair | 0b851ff | 2016-07-21 12:03:01 -0700 | [diff] [blame] | 1856 | "xfa/fxfa/parser/cxfa_traversestrategy_layoutitem.h", |
Dan Sinclair | efcae5d | 2017-03-29 14:47:46 -0400 | [diff] [blame] | 1857 | "xfa/fxfa/parser/cxfa_traversestrategy_xfacontainernode.h", |
| 1858 | "xfa/fxfa/parser/cxfa_traversestrategy_xfanode.h", |
dsinclair | 44d054c | 2016-04-06 10:23:46 -0700 | [diff] [blame] | 1859 | "xfa/fxfa/parser/cxfa_validate.cpp", |
| 1860 | "xfa/fxfa/parser/cxfa_validate.h", |
| 1861 | "xfa/fxfa/parser/cxfa_value.cpp", |
| 1862 | "xfa/fxfa/parser/cxfa_value.h", |
dsinclair | 8f3074b | 2016-06-02 17:45:25 -0700 | [diff] [blame] | 1863 | "xfa/fxfa/parser/cxfa_valuearray.cpp", |
| 1864 | "xfa/fxfa/parser/cxfa_valuearray.h", |
dsinclair | 44d054c | 2016-04-06 10:23:46 -0700 | [diff] [blame] | 1865 | "xfa/fxfa/parser/cxfa_widgetdata.cpp", |
| 1866 | "xfa/fxfa/parser/cxfa_widgetdata.h", |
Dan Sinclair | ec1843d | 2017-03-28 16:04:41 -0400 | [diff] [blame] | 1867 | "xfa/fxfa/parser/cxfa_xmllocale.cpp", |
| 1868 | "xfa/fxfa/parser/cxfa_xmllocale.h", |
Dan Sinclair | 1770c02 | 2016-03-14 14:14:16 -0400 | [diff] [blame] | 1869 | "xfa/fxfa/parser/xfa_basic_data.cpp", |
dsinclair | f1494f0 | 2016-07-07 12:56:17 -0700 | [diff] [blame] | 1870 | "xfa/fxfa/parser/xfa_basic_data.h", |
dsinclair | 8bdbc88 | 2016-07-07 07:55:39 -0700 | [diff] [blame] | 1871 | "xfa/fxfa/parser/xfa_basic_data_attributes.cpp", |
| 1872 | "xfa/fxfa/parser/xfa_basic_data_element_attributes.cpp", |
| 1873 | "xfa/fxfa/parser/xfa_basic_data_element_properties.cpp", |
| 1874 | "xfa/fxfa/parser/xfa_basic_data_element_script.cpp", |
| 1875 | "xfa/fxfa/parser/xfa_basic_data_enum.cpp", |
| 1876 | "xfa/fxfa/parser/xfa_basic_data_packets.cpp", |
Dan Sinclair | 1770c02 | 2016-03-14 14:14:16 -0400 | [diff] [blame] | 1877 | "xfa/fxfa/parser/xfa_document_datamerger_imp.cpp", |
| 1878 | "xfa/fxfa/parser/xfa_document_datamerger_imp.h", |
dsinclair | 31f8740 | 2016-07-20 06:34:45 -0700 | [diff] [blame] | 1879 | "xfa/fxfa/parser/xfa_resolvenode_rs.h", |
dsinclair | 39fdfc3 | 2016-07-21 12:09:45 -0700 | [diff] [blame] | 1880 | "xfa/fxfa/parser/xfa_utils.cpp", |
Dan Sinclair | 1770c02 | 2016-03-14 14:14:16 -0400 | [diff] [blame] | 1881 | "xfa/fxfa/parser/xfa_utils.h", |
Dan Sinclair | fe75997 | 2017-07-13 13:51:04 -0400 | [diff] [blame] | 1882 | "xfa/fxgraphics/cxfa_color.cpp", |
| 1883 | "xfa/fxgraphics/cxfa_color.h", |
Dan Sinclair | 2b918c8 | 2017-07-13 14:47:10 -0400 | [diff] [blame] | 1884 | "xfa/fxgraphics/cxfa_graphics.cpp", |
| 1885 | "xfa/fxgraphics/cxfa_graphics.h", |
| 1886 | "xfa/fxgraphics/cxfa_path.cpp", |
| 1887 | "xfa/fxgraphics/cxfa_path.h", |
| 1888 | "xfa/fxgraphics/cxfa_pattern.cpp", |
| 1889 | "xfa/fxgraphics/cxfa_pattern.h", |
| 1890 | "xfa/fxgraphics/cxfa_shading.cpp", |
| 1891 | "xfa/fxgraphics/cxfa_shading.h", |
Tom Sepez | b36747d | 2015-12-08 15:49:25 -0800 | [diff] [blame] | 1892 | ] |
dsinclair | b3f2467 | 2016-07-12 10:42:14 -0700 | [diff] [blame] | 1893 | include_dirs = [ "." ] |
dsinclair | 8bd9ce0 | 2016-06-09 13:24:34 -0700 | [diff] [blame] | 1894 | deps = [ |
Dan Sinclair | e778668 | 2017-03-29 15:18:41 -0400 | [diff] [blame] | 1895 | ":fxbarcode", |
thestig | 73c4856 | 2016-09-06 14:07:17 -0700 | [diff] [blame] | 1896 | ":fxcrt", |
dsinclair | 7f9c860 | 2016-07-12 10:41:43 -0700 | [diff] [blame] | 1897 | ":fxjs", |
dsinclair | 8bd9ce0 | 2016-06-09 13:24:34 -0700 | [diff] [blame] | 1898 | ] |
Tom Sepez | b36747d | 2015-12-08 15:49:25 -0800 | [diff] [blame] | 1899 | configs += [ |
weili | 0abe652 | 2016-06-06 14:41:22 -0700 | [diff] [blame] | 1900 | ":pdfium_core_config", |
weili | dcc29b1 | 2016-05-27 17:58:23 -0700 | [diff] [blame] | 1901 | ":xfa_warnings", |
Tom Sepez | 452b4f3 | 2015-10-13 09:27:27 -0700 | [diff] [blame] | 1902 | ] |
| 1903 | } |
Tom Sepez | c706fc0 | 2014-11-14 13:39:20 -0800 | [diff] [blame] | 1904 | } |
Tom Sepez | 04681f3 | 2015-01-09 13:59:19 -0800 | [diff] [blame] | 1905 | |
| 1906 | test("pdfium_unittests") { |
| 1907 | sources = [ |
tsepez | f5cabbf | 2016-11-21 12:08:22 -0800 | [diff] [blame] | 1908 | "core/fdrm/crypto/fx_crypt_unittest.cpp", |
Nicolas Pena | 4bd0d99 | 2017-02-02 14:32:21 -0500 | [diff] [blame] | 1909 | "core/fpdfapi/edit/cpdf_pagecontentgenerator_unittest.cpp", |
Nicolas Pena | 169b301 | 2017-05-26 14:38:03 -0400 | [diff] [blame] | 1910 | "core/fpdfapi/font/cpdf_cmapparser_unittest.cpp", |
| 1911 | "core/fpdfapi/font/cpdf_tounicodemap_unittest.cpp", |
Nicolas Pena | 6791295 | 2017-03-10 15:15:33 -0500 | [diff] [blame] | 1912 | "core/fpdfapi/page/cpdf_devicecs_unittest.cpp", |
npm | 014b012 | 2016-11-07 08:42:11 -0800 | [diff] [blame] | 1913 | "core/fpdfapi/page/cpdf_streamcontentparser_unittest.cpp", |
| 1914 | "core/fpdfapi/page/cpdf_streamparser_unittest.cpp", |
dsinclair | 488b7ad | 2016-10-04 11:55:50 -0700 | [diff] [blame] | 1915 | "core/fpdfapi/parser/cpdf_array_unittest.cpp", |
npm | 3cad596 | 2016-10-21 16:02:15 -0700 | [diff] [blame] | 1916 | "core/fpdfapi/parser/cpdf_document_unittest.cpp", |
Artem Strygin | 16b77c7 | 2017-09-01 16:03:58 +0300 | [diff] [blame] | 1917 | "core/fpdfapi/parser/cpdf_indirect_object_holder_unittest.cpp", |
Artem Strygin | 304eefb | 2017-08-29 00:26:42 +0300 | [diff] [blame] | 1918 | "core/fpdfapi/parser/cpdf_object_avail_unittest.cpp", |
dsinclair | 488b7ad | 2016-10-04 11:55:50 -0700 | [diff] [blame] | 1919 | "core/fpdfapi/parser/cpdf_object_unittest.cpp", |
Artem Strygin | f57cad4 | 2017-08-14 23:35:52 +0300 | [diff] [blame] | 1920 | "core/fpdfapi/parser/cpdf_object_walker_unittest.cpp", |
Artem Strygin | 304eefb | 2017-08-29 00:26:42 +0300 | [diff] [blame] | 1921 | "core/fpdfapi/parser/cpdf_page_object_avail_unittest.cpp", |
dsinclair | 488b7ad | 2016-10-04 11:55:50 -0700 | [diff] [blame] | 1922 | "core/fpdfapi/parser/cpdf_parser_unittest.cpp", |
Artem Strygin | 834ebec | 2017-07-27 14:01:32 +0300 | [diff] [blame] | 1923 | "core/fpdfapi/parser/cpdf_read_validator_unittest.cpp", |
dsinclair | 488b7ad | 2016-10-04 11:55:50 -0700 | [diff] [blame] | 1924 | "core/fpdfapi/parser/cpdf_simple_parser_unittest.cpp", |
| 1925 | "core/fpdfapi/parser/cpdf_syntax_parser_unittest.cpp", |
| 1926 | "core/fpdfapi/parser/fpdf_parser_decode_unittest.cpp", |
dsinclair | c59fa88 | 2016-11-08 06:55:40 -0800 | [diff] [blame] | 1927 | "core/fpdfdoc/cpdf_dest_unittest.cpp", |
dsinclair | 448c433 | 2016-08-02 12:07:35 -0700 | [diff] [blame] | 1928 | "core/fpdfdoc/cpdf_filespec_unittest.cpp", |
thestig | 695aac5 | 2016-08-25 09:13:52 -0700 | [diff] [blame] | 1929 | "core/fpdfdoc/cpdf_formfield_unittest.cpp", |
Jane Liu | 67ccef7 | 2017-07-19 13:10:50 -0400 | [diff] [blame] | 1930 | "core/fpdfdoc/cpdf_nametree_unittest.cpp", |
Dan Sinclair | 3a4c408 | 2017-05-25 14:21:20 -0400 | [diff] [blame] | 1931 | "core/fpdftext/cpdf_linkextract_unittest.cpp", |
rbpotter | db76470 | 2017-01-12 10:31:43 -0800 | [diff] [blame] | 1932 | "core/fxcodec/codec/fx_codec_a85_unittest.cpp", |
Dan Sinclair | 764ec51 | 2016-03-14 13:35:12 -0400 | [diff] [blame] | 1933 | "core/fxcodec/codec/fx_codec_jpx_unittest.cpp", |
rbpotter | db76470 | 2017-01-12 10:31:43 -0800 | [diff] [blame] | 1934 | "core/fxcodec/codec/fx_codec_rle_unittest.cpp", |
Dan Sinclair | 0eb7476 | 2017-03-28 10:19:22 -0400 | [diff] [blame] | 1935 | "core/fxcodec/jbig2/JBig2_BitStream_unittest.cpp", |
tsepez | e21501d | 2016-08-02 13:36:16 -0700 | [diff] [blame] | 1936 | "core/fxcodec/jbig2/JBig2_Image_unittest.cpp", |
Ryan Harrison | 275e260 | 2017-09-18 14:23:18 -0400 | [diff] [blame] | 1937 | "core/fxcrt/bytestring_unittest.cpp", |
Dan Sinclair | 764ec51 | 2016-03-14 13:35:12 -0400 | [diff] [blame] | 1938 | "core/fxcrt/fx_bidi_unittest.cpp", |
Dan Sinclair | 233360e | 2017-04-25 15:08:04 -0400 | [diff] [blame] | 1939 | "core/fxcrt/fx_coordinates_unittest.cpp", |
Dan Sinclair | 764ec51 | 2016-03-14 13:35:12 -0400 | [diff] [blame] | 1940 | "core/fxcrt/fx_extension_unittest.cpp", |
Tom Sepez | a9deea9 | 2017-04-25 10:37:47 -0700 | [diff] [blame] | 1941 | "core/fxcrt/fx_memory_unittest.cpp", |
Tom Sepez | e8b3e0c | 2017-09-08 10:18:37 -0700 | [diff] [blame] | 1942 | "core/fxcrt/fx_random_unittest.cpp", |
Dan Sinclair | 2a1c8ac | 2017-08-31 16:03:17 -0400 | [diff] [blame] | 1943 | "core/fxcrt/fx_string_unittest.cpp", |
Dan Sinclair | 764ec51 | 2016-03-14 13:35:12 -0400 | [diff] [blame] | 1944 | "core/fxcrt/fx_system_unittest.cpp", |
Dan Sinclair | de44d15 | 2017-09-21 14:52:41 -0400 | [diff] [blame] | 1945 | "core/fxcrt/maybe_owned_unittest.cpp", |
Dan Sinclair | 65ecca4 | 2017-09-21 15:25:32 -0400 | [diff] [blame] | 1946 | "core/fxcrt/observable_unittest.cpp", |
Dan Sinclair | 0b95042 | 2017-09-21 15:49:49 -0400 | [diff] [blame] | 1947 | "core/fxcrt/retain_ptr_unittest.cpp", |
Dan Sinclair | 9317f8f | 2017-09-21 16:19:19 -0400 | [diff] [blame] | 1948 | "core/fxcrt/shared_copy_on_write_unittest.cpp", |
Dan Sinclair | 8e9e3d8 | 2017-09-21 16:49:32 -0400 | [diff] [blame] | 1949 | "core/fxcrt/string_pool_template_unittest.cpp", |
Dan Sinclair | aee0db0 | 2017-09-21 16:53:58 -0400 | [diff] [blame] | 1950 | "core/fxcrt/unowned_ptr_unittest.cpp", |
Dan Sinclair | b872a93 | 2017-09-21 17:05:15 -0400 | [diff] [blame] | 1951 | "core/fxcrt/weak_ptr_unittest.cpp", |
Ryan Harrison | 275e260 | 2017-09-18 14:23:18 -0400 | [diff] [blame] | 1952 | "core/fxcrt/widestring_unittest.cpp", |
Nicolas Pena | 236ce3b | 2017-04-04 17:47:50 -0400 | [diff] [blame] | 1953 | "core/fxge/dib/cstretchengine_unittest.cpp", |
Henrique Nakashima | 077f643 | 2017-10-16 13:32:01 -0400 | [diff] [blame] | 1954 | "fpdfsdk/fpdfcatalog_unittest.cpp", |
Dan Sinclair | f766ad2 | 2016-03-14 13:51:24 -0400 | [diff] [blame] | 1955 | "fpdfsdk/fpdfdoc_unittest.cpp", |
thestig | dc359b0 | 2016-08-09 15:46:20 -0700 | [diff] [blame] | 1956 | "fpdfsdk/fpdfeditimg_unittest.cpp", |
Tom Sepez | 64ee2c3 | 2017-04-24 15:04:25 -0700 | [diff] [blame] | 1957 | "testing/unit_test_main.cpp", |
Tom Sepez | 04681f3 | 2015-01-09 13:59:19 -0800 | [diff] [blame] | 1958 | ] |
| 1959 | deps = [ |
Tom Sepez | d831dc7 | 2015-10-19 16:04:22 -0700 | [diff] [blame] | 1960 | ":pdfium", |
| 1961 | ":test_support", |
Tom Sepez | 16b9d77 | 2017-04-17 09:07:48 -0700 | [diff] [blame] | 1962 | "//testing/gmock", |
Dan Sinclair | fffc963 | 2016-03-08 08:57:05 -0500 | [diff] [blame] | 1963 | "//testing/gtest", |
Tom Sepez | 04681f3 | 2015-01-09 13:59:19 -0800 | [diff] [blame] | 1964 | ] |
Dan Sinclair | 30410ce | 2016-03-16 10:20:24 -0400 | [diff] [blame] | 1965 | include_dirs = [] |
Tom Sepez | d2e023b | 2015-12-08 14:36:16 -0800 | [diff] [blame] | 1966 | if (pdf_enable_xfa) { |
| 1967 | sources += [ |
Ryan Harrison | 0feba6f | 2017-10-03 09:32:14 -0400 | [diff] [blame] | 1968 | "core/fxcodec/gif/cfx_gifcontext_unittest.cpp", |
Ryan Harrison | 36a155d | 2017-09-27 15:39:26 -0400 | [diff] [blame] | 1969 | "core/fxcodec/gif/cfx_lzwdecompressor_unittest.cpp", |
Dan Sinclair | 9f0e85a | 2017-08-08 13:23:24 -0400 | [diff] [blame] | 1970 | "core/fxcrt/css/cfx_cssdeclaration_unittest.cpp", |
| 1971 | "core/fxcrt/css/cfx_cssstylesheet_unittest.cpp", |
| 1972 | "core/fxcrt/css/cfx_cssvaluelistparser_unittest.cpp", |
Tom Sepez | 16b9d77 | 2017-04-17 09:07:48 -0700 | [diff] [blame] | 1973 | "core/fxcrt/xml/cfx_saxreader_unittest.cpp", |
Dan Sinclair | 0d86ecb | 2017-04-19 09:19:57 -0400 | [diff] [blame] | 1974 | "core/fxcrt/xml/cfx_xmlsyntaxparser_unittest.cpp", |
Henrique Nakashima | a1e8707 | 2017-09-05 17:34:19 -0400 | [diff] [blame] | 1975 | "fxbarcode/oned/BC_OnedCodaBarWriter_unittest.cpp", |
Lei Zhang | 3684a15 | 2017-04-24 16:22:54 -0700 | [diff] [blame] | 1976 | "fxbarcode/oned/BC_OnedCode128Writer_unittest.cpp", |
Henrique Nakashima | 067b785 | 2017-09-05 15:42:06 -0400 | [diff] [blame] | 1977 | "fxbarcode/oned/BC_OnedCode39Writer_unittest.cpp", |
Henrique Nakashima | ab3c111 | 2017-09-01 16:01:44 -0400 | [diff] [blame] | 1978 | "fxbarcode/oned/BC_OnedEAN13Writer_unittest.cpp", |
Henrique Nakashima | 3c5944c | 2017-09-01 16:40:48 -0400 | [diff] [blame] | 1979 | "fxbarcode/oned/BC_OnedEAN8Writer_unittest.cpp", |
Henrique Nakashima | 7465522 | 2017-09-06 11:11:49 -0400 | [diff] [blame] | 1980 | "fxbarcode/oned/BC_OnedUPCAWriter_unittest.cpp", |
Dan Sinclair | e778668 | 2017-03-29 15:18:41 -0400 | [diff] [blame] | 1981 | "fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp", |
Dan Sinclair | 68eefa6 | 2017-08-30 12:16:16 -0400 | [diff] [blame] | 1982 | "xfa/fde/cfde_texteditengine_unittest.cpp", |
Dan Sinclair | 6c5ea10 | 2017-06-05 09:53:06 -0400 | [diff] [blame] | 1983 | "xfa/fgas/crt/cfgas_formatstring_unittest.cpp", |
Dan Sinclair | 994acdc | 2017-04-18 13:56:39 -0400 | [diff] [blame] | 1984 | "xfa/fgas/layout/cfx_rtfbreak_unittest.cpp", |
Tom Sepez | 5628fd7 | 2017-04-27 14:58:53 -0700 | [diff] [blame] | 1985 | "xfa/fwl/cfx_barcode_unittest.cpp", |
Chris Palmer | 2b79729 | 2017-04-06 14:45:39 -0700 | [diff] [blame] | 1986 | "xfa/fxfa/cxfa_ffapp_unittest.cpp", |
Dan Sinclair | 24ef633 | 2017-07-24 10:52:57 -0400 | [diff] [blame] | 1987 | "xfa/fxfa/cxfa_ffbarcode_unittest.cpp", |
| 1988 | "xfa/fxfa/cxfa_textparser_unittest.cpp", |
Dan Sinclair | 2e9d47a | 2017-05-16 15:14:02 -0400 | [diff] [blame] | 1989 | "xfa/fxfa/fm2js/cxfa_fmlexer_unittest.cpp", |
Ryan Harrison | db1e8a5 | 2017-07-27 14:53:20 -0400 | [diff] [blame] | 1990 | "xfa/fxfa/fm2js/cxfa_fmparser_unittest.cpp", |
Dan Sinclair | 2e9d47a | 2017-05-16 15:14:02 -0400 | [diff] [blame] | 1991 | "xfa/fxfa/fm2js/cxfa_fmsimpleexpression_unittest.cpp", |
dsinclair | 39fdfc3 | 2016-07-21 12:09:45 -0700 | [diff] [blame] | 1992 | "xfa/fxfa/parser/xfa_utils_unittest.cpp", |
Tom Sepez | d2e023b | 2015-12-08 14:36:16 -0800 | [diff] [blame] | 1993 | ] |
| 1994 | } |
caryclark | af177fe | 2016-11-16 10:10:03 -0800 | [diff] [blame] | 1995 | if (pdf_use_skia || pdf_use_skia_paths) { |
caryclark | e89391e | 2016-06-29 07:10:49 -0700 | [diff] [blame] | 1996 | sources += [ "core/fxge/skia/fx_skia_device_unittest.cpp" ] |
| 1997 | deps += [ "//skia" ] |
| 1998 | } |
Wei Li | 614d20a | 2016-03-15 13:55:12 -0700 | [diff] [blame] | 1999 | if (pdf_enable_v8) { |
Henrique Nakashima | 3a4ebcc | 2017-07-14 14:24:42 -0400 | [diff] [blame] | 2000 | sources += [ |
| 2001 | "fpdfsdk/javascript/public_methods_unittest.cpp", |
| 2002 | "fpdfsdk/javascript/util_unittest.cpp", |
| 2003 | ] |
Wei Li | 614d20a | 2016-03-15 13:55:12 -0700 | [diff] [blame] | 2004 | include_dirs += [ |
| 2005 | "//v8", |
| 2006 | "//v8/include", |
| 2007 | ] |
| 2008 | } |
weili | 0abe652 | 2016-06-06 14:41:22 -0700 | [diff] [blame] | 2009 | configs += [ ":pdfium_core_config" ] |
jbudorick | 7f3a15f | 2016-06-10 06:28:40 -0700 | [diff] [blame] | 2010 | if (is_android) { |
jbudorick | 7f3a15f | 2016-06-10 06:28:40 -0700 | [diff] [blame] | 2011 | use_raw_android_executable = true |
| 2012 | } |
Tom Sepez | 04681f3 | 2015-01-09 13:59:19 -0800 | [diff] [blame] | 2013 | } |
Tom Sepez | 1b1bb49 | 2015-01-22 17:36:32 -0800 | [diff] [blame] | 2014 | |
| 2015 | test("pdfium_embeddertests") { |
| 2016 | sources = [ |
Artem Strygin | d24b97e | 2017-08-09 18:50:59 +0300 | [diff] [blame] | 2017 | "core/fpdfapi/edit/cpdf_creator_embeddertest.cpp", |
Dan Sinclair | 5acacd3 | 2017-05-25 14:04:59 -0400 | [diff] [blame] | 2018 | "core/fpdfapi/page/cpdf_stitchfunc_embeddertest.cpp", |
dsinclair | 488b7ad | 2016-10-04 11:55:50 -0700 | [diff] [blame] | 2019 | "core/fpdfapi/parser/cpdf_parser_embeddertest.cpp", |
| 2020 | "core/fpdfapi/parser/cpdf_security_handler_embeddertest.cpp", |
| 2021 | "core/fpdfapi/parser/fpdf_parser_decode_embeddertest.cpp", |
dsinclair | 69d9c68 | 2016-10-04 12:18:35 -0700 | [diff] [blame] | 2022 | "core/fpdfapi/render/fpdf_render_loadimage_embeddertest.cpp", |
| 2023 | "core/fpdfapi/render/fpdf_render_pattern_embeddertest.cpp", |
weili | 6faf9f9 | 2016-08-02 11:34:08 -0700 | [diff] [blame] | 2024 | "core/fxcodec/codec/fx_codec_embeddertest.cpp", |
Dan Sinclair | 92e2276 | 2017-07-10 15:14:26 -0400 | [diff] [blame] | 2025 | "core/fxge/fx_ge_text_embeddertest.cpp", |
Dan Sinclair | f766ad2 | 2016-03-14 13:51:24 -0400 | [diff] [blame] | 2026 | "fpdfsdk/fpdf_dataavail_embeddertest.cpp", |
tsepez | d0ecd89 | 2016-11-08 17:30:04 -0800 | [diff] [blame] | 2027 | "fpdfsdk/fpdf_flatten_embeddertest.cpp", |
thestig | 9067fd6 | 2016-11-23 14:10:06 -0800 | [diff] [blame] | 2028 | "fpdfsdk/fpdf_structtree_embeddertest.cpp", |
Jane Liu | 4fd9a47 | 2017-06-01 18:56:09 -0400 | [diff] [blame] | 2029 | "fpdfsdk/fpdfannot_embeddertest.cpp", |
Jane Liu | 53aafa9 | 2017-07-12 19:55:02 -0400 | [diff] [blame] | 2030 | "fpdfsdk/fpdfattachment_embeddertest.cpp", |
Dan Sinclair | f766ad2 | 2016-03-14 13:51:24 -0400 | [diff] [blame] | 2031 | "fpdfsdk/fpdfdoc_embeddertest.cpp", |
| 2032 | "fpdfsdk/fpdfedit_embeddertest.cpp", |
Dan Sinclair | 04e4dc8 | 2017-10-18 12:17:14 -0400 | [diff] [blame] | 2033 | "fpdfsdk/fpdfeditpath_embeddertest.cpp", |
Dan Sinclair | f766ad2 | 2016-03-14 13:51:24 -0400 | [diff] [blame] | 2034 | "fpdfsdk/fpdfext_embeddertest.cpp", |
| 2035 | "fpdfsdk/fpdfformfill_embeddertest.cpp", |
tsepez | 211d4ed | 2016-11-11 17:23:48 -0800 | [diff] [blame] | 2036 | "fpdfsdk/fpdfppo_embeddertest.cpp", |
Dan Sinclair | f766ad2 | 2016-03-14 13:51:24 -0400 | [diff] [blame] | 2037 | "fpdfsdk/fpdfsave_embeddertest.cpp", |
| 2038 | "fpdfsdk/fpdftext_embeddertest.cpp", |
| 2039 | "fpdfsdk/fpdfview_c_api_test.c", |
| 2040 | "fpdfsdk/fpdfview_c_api_test.h", |
| 2041 | "fpdfsdk/fpdfview_embeddertest.cpp", |
| 2042 | "fpdfsdk/fsdk_baseform_embeddertest.cpp", |
Dan Sinclair | c411eb9 | 2017-07-25 09:39:30 -0400 | [diff] [blame] | 2043 | "fpdfsdk/pwl/cpwl_combo_box_embeddertest.cpp", |
| 2044 | "fpdfsdk/pwl/cpwl_edit_embeddertest.cpp", |
Tom Sepez | 1b1bb49 | 2015-01-22 17:36:32 -0800 | [diff] [blame] | 2045 | "testing/embedder_test.cpp", |
| 2046 | "testing/embedder_test.h", |
Tom Sepez | a310e00 | 2015-02-27 13:03:07 -0800 | [diff] [blame] | 2047 | "testing/embedder_test_mock_delegate.h", |
Tom Sepez | 6efc0ad | 2015-06-02 17:11:18 -0700 | [diff] [blame] | 2048 | "testing/embedder_test_timer_handling_delegate.h", |
Artem Strygin | 0e60b9e | 2017-09-28 18:46:03 +0300 | [diff] [blame] | 2049 | "testing/fake_file_access.cpp", |
| 2050 | "testing/fake_file_access.h", |
| 2051 | "testing/range_set.cpp", |
| 2052 | "testing/range_set.h", |
Tom Sepez | 1b1bb49 | 2015-01-22 17:36:32 -0800 | [diff] [blame] | 2053 | ] |
| 2054 | deps = [ |
Tom Sepez | 452b4f3 | 2015-10-13 09:27:27 -0700 | [diff] [blame] | 2055 | ":pdfium", |
Tom Sepez | d831dc7 | 2015-10-19 16:04:22 -0700 | [diff] [blame] | 2056 | ":test_support", |
Dan Sinclair | fffc963 | 2016-03-08 08:57:05 -0500 | [diff] [blame] | 2057 | "//testing/gmock", |
| 2058 | "//testing/gtest", |
Tom Sepez | 1b1bb49 | 2015-01-22 17:36:32 -0800 | [diff] [blame] | 2059 | ] |
dsinclair | 685bb88 | 2016-04-20 07:32:39 -0700 | [diff] [blame] | 2060 | include_dirs = [ "testing/gmock/include" ] |
thestig | c65e11e | 2016-08-30 21:56:33 -0700 | [diff] [blame] | 2061 | configs += [ ":pdfium_core_config" ] |
| 2062 | |
Tom Sepez | 452b4f3 | 2015-10-13 09:27:27 -0700 | [diff] [blame] | 2063 | if (pdf_enable_v8) { |
Lei Zhang | 1ac47eb | 2015-12-21 11:04:44 -0800 | [diff] [blame] | 2064 | sources += [ |
Dan Sinclair | f766ad2 | 2016-03-14 13:51:24 -0400 | [diff] [blame] | 2065 | "fpdfsdk/javascript/public_methods_embeddertest.cpp", |
dsinclair | b3f2467 | 2016-07-12 10:42:14 -0700 | [diff] [blame] | 2066 | "fxjs/fxjs_v8_embeddertest.cpp", |
Lei Zhang | 1ac47eb | 2015-12-21 11:04:44 -0800 | [diff] [blame] | 2067 | "testing/js_embedder_test.cpp", |
| 2068 | "testing/js_embedder_test.h", |
| 2069 | ] |
dsinclair | b3f2467 | 2016-07-12 10:42:14 -0700 | [diff] [blame] | 2070 | deps += [ ":fxjs" ] |
Jochen Eisinger | 7ed503d | 2015-12-10 14:38:06 +0100 | [diff] [blame] | 2071 | configs += [ "//v8:external_startup_data" ] |
Tom Sepez | 452b4f3 | 2015-10-13 09:27:27 -0700 | [diff] [blame] | 2072 | } |
Dan Sinclair | 14aacd5 | 2017-05-18 14:11:29 -0400 | [diff] [blame] | 2073 | if (pdf_enable_xfa) { |
| 2074 | sources += [ |
| 2075 | "testing/xfa_js_embedder_test.cpp", |
| 2076 | "testing/xfa_js_embedder_test.h", |
Dan Sinclair | b8777a2 | 2017-09-20 16:21:31 -0400 | [diff] [blame] | 2077 | "xfa/fwl/cfwl_edit_embeddertest.cpp", |
Dan Sinclair | 14aacd5 | 2017-05-18 14:11:29 -0400 | [diff] [blame] | 2078 | "xfa/fxfa/fm2js/cxfa_fm2jscontext_embeddertest.cpp", |
| 2079 | "xfa/fxfa/parser/cxfa_simple_parser_embeddertest.cpp", |
| 2080 | ] |
| 2081 | } |
jbudorick | 7f3a15f | 2016-06-10 06:28:40 -0700 | [diff] [blame] | 2082 | if (is_android) { |
| 2083 | ignore_all_data_deps = true |
| 2084 | use_raw_android_executable = true |
| 2085 | } |
Tom Sepez | 1b1bb49 | 2015-01-22 17:36:32 -0800 | [diff] [blame] | 2086 | } |
dsinclair | 685bb88 | 2016-04-20 07:32:39 -0700 | [diff] [blame] | 2087 | |
| 2088 | if (pdf_is_standalone) { |
| 2089 | source_set("samples") { |
| 2090 | testonly = true |
| 2091 | deps = [ |
| 2092 | "//samples", |
| 2093 | ] |
| 2094 | } |
Lei Zhang | 143959d | 2017-06-22 12:20:58 -0700 | [diff] [blame] | 2095 | |
| 2096 | executable("pdfium_diff") { |
| 2097 | testonly = true |
| 2098 | sources = [ |
| 2099 | "testing/image_diff/image_diff.cpp", |
| 2100 | ] |
| 2101 | deps = [ |
| 2102 | ":image_diff", |
| 2103 | ":pdfium", |
| 2104 | "//build/config:exe_and_shlib_deps", |
| 2105 | "//build/win:default_exe_manifest", |
| 2106 | ] |
| 2107 | configs -= [ "//build/config/compiler:chromium_code" ] |
| 2108 | configs += [ "//build/config/compiler:no_chromium_code" ] |
Ryan Harrison | 7b8f88a | 2017-07-13 16:05:31 -0400 | [diff] [blame] | 2109 | configs += [ ":pdfium_core_config" ] |
Lei Zhang | 143959d | 2017-06-22 12:20:58 -0700 | [diff] [blame] | 2110 | } |
| 2111 | |
thestig | 62114cf | 2016-11-08 12:59:30 -0800 | [diff] [blame] | 2112 | group("fuzzers") { |
| 2113 | testonly = true |
| 2114 | deps = [ |
| 2115 | "//testing/libfuzzer", |
| 2116 | ] |
| 2117 | } |
dsinclair | 685bb88 | 2016-04-20 07:32:39 -0700 | [diff] [blame] | 2118 | } |
Lei Zhang | f02c8bf | 2017-04-01 01:35:01 -0700 | [diff] [blame] | 2119 | |
| 2120 | group("pdfium_all") { |
| 2121 | testonly = true |
| 2122 | deps = [ |
| 2123 | ":pdfium_embeddertests", |
| 2124 | ":pdfium_unittests", |
| 2125 | ] |
| 2126 | if (pdf_is_standalone) { |
| 2127 | deps += [ |
| 2128 | ":fuzzers", |
Lei Zhang | 143959d | 2017-06-22 12:20:58 -0700 | [diff] [blame] | 2129 | ":pdfium_diff", |
Lei Zhang | f02c8bf | 2017-04-01 01:35:01 -0700 | [diff] [blame] | 2130 | ":samples", |
| 2131 | ] |
| 2132 | } |
| 2133 | } |