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