OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build_overrides/v8.gni") | 5 import("//build_overrides/v8.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 import("pdfium.gni") | 7 import("pdfium.gni") |
8 | 8 |
9 config("pdfium_config") { | 9 config("pdfium_config") { |
10 cflags = [] | 10 cflags = [] |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 "core/src/fpdfdoc/doc_vtmodule.cpp", | 231 "core/src/fpdfdoc/doc_vtmodule.cpp", |
232 "core/src/fpdfdoc/pdf_vt.h", | 232 "core/src/fpdfdoc/pdf_vt.h", |
233 "core/src/fpdfdoc/tagged_int.h", | 233 "core/src/fpdfdoc/tagged_int.h", |
234 ] | 234 ] |
235 configs += [ ":pdfium_config" ] | 235 configs += [ ":pdfium_config" ] |
236 } | 236 } |
237 | 237 |
238 static_library("fpdfapi") { | 238 static_library("fpdfapi") { |
239 sources = [ | 239 sources = [ |
240 "core/include/fpdfapi/cfdf_document.h", | 240 "core/include/fpdfapi/cfdf_document.h", |
| 241 "core/include/fpdfapi/cpdf_array.h", |
| 242 "core/include/fpdfapi/cpdf_boolean.h", |
| 243 "core/include/fpdfapi/cpdf_dictionary.h", |
241 "core/include/fpdfapi/cpdf_document.h", | 244 "core/include/fpdfapi/cpdf_document.h", |
| 245 "core/include/fpdfapi/cpdf_indirect_object_holder.h", |
| 246 "core/include/fpdfapi/cpdf_name.h", |
| 247 "core/include/fpdfapi/cpdf_null.h", |
| 248 "core/include/fpdfapi/cpdf_number.h", |
| 249 "core/include/fpdfapi/cpdf_object.h", |
242 "core/include/fpdfapi/cpdf_parser.h", | 250 "core/include/fpdfapi/cpdf_parser.h", |
| 251 "core/include/fpdfapi/cpdf_reference.h", |
243 "core/include/fpdfapi/cpdf_simple_parser.h", | 252 "core/include/fpdfapi/cpdf_simple_parser.h", |
| 253 "core/include/fpdfapi/cpdf_stream.h", |
| 254 "core/include/fpdfapi/cpdf_string.h", |
244 "core/include/fpdfapi/fpdf_module.h", | 255 "core/include/fpdfapi/fpdf_module.h", |
245 "core/include/fpdfapi/fpdf_objects.h", | |
246 "core/include/fpdfapi/fpdf_page.h", | 256 "core/include/fpdfapi/fpdf_page.h", |
247 "core/include/fpdfapi/fpdf_pageobj.h", | 257 "core/include/fpdfapi/fpdf_pageobj.h", |
248 "core/include/fpdfapi/fpdf_parser_decode.h", | 258 "core/include/fpdfapi/fpdf_parser_decode.h", |
249 "core/include/fpdfapi/fpdf_render.h", | 259 "core/include/fpdfapi/fpdf_render.h", |
250 "core/include/fpdfapi/fpdf_resource.h", | 260 "core/include/fpdfapi/fpdf_resource.h", |
251 "core/include/fpdfapi/fpdf_serial.h", | 261 "core/include/fpdfapi/fpdf_serial.h", |
252 "core/include/fpdfapi/ipdf_crypto_handler.h", | 262 "core/include/fpdfapi/ipdf_crypto_handler.h", |
253 "core/include/fpdfapi/ipdf_data_avail.h", | 263 "core/include/fpdfapi/ipdf_data_avail.h", |
254 "core/include/fpdfapi/ipdf_security_handler.h", | 264 "core/include/fpdfapi/ipdf_security_handler.h", |
255 "core/src/fpdfapi/fpdf_basic_module.cpp", | 265 "core/src/fpdfapi/fpdf_basic_module.cpp", |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 "core/src/fpdfapi/fpdf_page/fpdf_page_doc.cpp", | 342 "core/src/fpdfapi/fpdf_page/fpdf_page_doc.cpp", |
333 "core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp", | 343 "core/src/fpdfapi/fpdf_page/fpdf_page_func.cpp", |
334 "core/src/fpdfapi/fpdf_page/fpdf_page_graph_state.cpp", | 344 "core/src/fpdfapi/fpdf_page/fpdf_page_graph_state.cpp", |
335 "core/src/fpdfapi/fpdf_page/fpdf_page_image.cpp", | 345 "core/src/fpdfapi/fpdf_page/fpdf_page_image.cpp", |
336 "core/src/fpdfapi/fpdf_page/fpdf_page_parser.cpp", | 346 "core/src/fpdfapi/fpdf_page/fpdf_page_parser.cpp", |
337 "core/src/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp", | 347 "core/src/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp", |
338 "core/src/fpdfapi/fpdf_page/fpdf_page_path.cpp", | 348 "core/src/fpdfapi/fpdf_page/fpdf_page_path.cpp", |
339 "core/src/fpdfapi/fpdf_page/fpdf_page_pattern.cpp", | 349 "core/src/fpdfapi/fpdf_page/fpdf_page_pattern.cpp", |
340 "core/src/fpdfapi/fpdf_page/pageint.h", | 350 "core/src/fpdfapi/fpdf_page/pageint.h", |
341 "core/src/fpdfapi/fpdf_parser/cfdf_document.cpp", | 351 "core/src/fpdfapi/fpdf_parser/cfdf_document.cpp", |
| 352 "core/src/fpdfapi/fpdf_parser/cpdf_array.cpp", |
| 353 "core/src/fpdfapi/fpdf_parser/cpdf_boolean.cpp", |
| 354 "core/src/fpdfapi/fpdf_parser/cpdf_dictionary.cpp", |
342 "core/src/fpdfapi/fpdf_parser/cpdf_document.cpp", | 355 "core/src/fpdfapi/fpdf_parser/cpdf_document.cpp", |
343 "core/src/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp", | 356 "core/src/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp", |
344 "core/src/fpdfapi/fpdf_parser/cpdf_hint_tables.h", | 357 "core/src/fpdfapi/fpdf_parser/cpdf_hint_tables.h", |
| 358 "core/src/fpdfapi/fpdf_parser/cpdf_indirect_object_holder.cpp", |
| 359 "core/src/fpdfapi/fpdf_parser/cpdf_name.cpp", |
| 360 "core/src/fpdfapi/fpdf_parser/cpdf_null.cpp", |
| 361 "core/src/fpdfapi/fpdf_parser/cpdf_number.cpp", |
| 362 "core/src/fpdfapi/fpdf_parser/cpdf_object.cpp", |
345 "core/src/fpdfapi/fpdf_parser/cpdf_parser.cpp", | 363 "core/src/fpdfapi/fpdf_parser/cpdf_parser.cpp", |
| 364 "core/src/fpdfapi/fpdf_parser/cpdf_reference.cpp", |
346 "core/src/fpdfapi/fpdf_parser/cpdf_simple_parser.cpp", | 365 "core/src/fpdfapi/fpdf_parser/cpdf_simple_parser.cpp", |
347 "core/src/fpdfapi/fpdf_parser/cpdf_standard_crypto_handler.cpp", | 366 "core/src/fpdfapi/fpdf_parser/cpdf_standard_crypto_handler.cpp", |
348 "core/src/fpdfapi/fpdf_parser/cpdf_standard_crypto_handler.h", | 367 "core/src/fpdfapi/fpdf_parser/cpdf_standard_crypto_handler.h", |
349 "core/src/fpdfapi/fpdf_parser/cpdf_standard_security_handler.cpp", | 368 "core/src/fpdfapi/fpdf_parser/cpdf_standard_security_handler.cpp", |
350 "core/src/fpdfapi/fpdf_parser/cpdf_standard_security_handler.h", | 369 "core/src/fpdfapi/fpdf_parser/cpdf_standard_security_handler.h", |
| 370 "core/src/fpdfapi/fpdf_parser/cpdf_stream.cpp", |
| 371 "core/src/fpdfapi/fpdf_parser/cpdf_string.cpp", |
351 "core/src/fpdfapi/fpdf_parser/cpdf_syntax_parser.cpp", | 372 "core/src/fpdfapi/fpdf_parser/cpdf_syntax_parser.cpp", |
352 "core/src/fpdfapi/fpdf_parser/cpdf_syntax_parser.h", | 373 "core/src/fpdfapi/fpdf_parser/cpdf_syntax_parser.h", |
353 "core/src/fpdfapi/fpdf_parser/fpdf_data_avail.cpp", | 374 "core/src/fpdfapi/fpdf_parser/fpdf_data_avail.cpp", |
354 "core/src/fpdfapi/fpdf_parser/fpdf_data_avail.h", | 375 "core/src/fpdfapi/fpdf_parser/fpdf_data_avail.h", |
355 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp", | 376 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp", |
356 "core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp", | |
357 "core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp", | 377 "core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp", |
358 "core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.h", | 378 "core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.h", |
359 "core/src/fpdfapi/fpdf_render/fpdf_render.cpp", | 379 "core/src/fpdfapi/fpdf_render/fpdf_render.cpp", |
360 "core/src/fpdfapi/fpdf_render/fpdf_render_cache.cpp", | 380 "core/src/fpdfapi/fpdf_render/fpdf_render_cache.cpp", |
361 "core/src/fpdfapi/fpdf_render/fpdf_render_image.cpp", | 381 "core/src/fpdfapi/fpdf_render/fpdf_render_image.cpp", |
362 "core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp", | 382 "core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp", |
363 "core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp", | 383 "core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp", |
364 "core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp", | 384 "core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp", |
365 "core/src/fpdfapi/fpdf_render/render_int.h", | 385 "core/src/fpdfapi/fpdf_render/render_int.h", |
366 ] | 386 ] |
(...skipping 1054 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1421 "//build/config/compiler:no_chromium_code", | 1441 "//build/config/compiler:no_chromium_code", |
1422 ] | 1442 ] |
1423 } | 1443 } |
1424 } | 1444 } |
1425 | 1445 |
1426 test("pdfium_unittests") { | 1446 test("pdfium_unittests") { |
1427 sources = [ | 1447 sources = [ |
1428 "core/src/fpdfapi/fpdf_font/fpdf_font_cid_unittest.cpp", | 1448 "core/src/fpdfapi/fpdf_font/fpdf_font_cid_unittest.cpp", |
1429 "core/src/fpdfapi/fpdf_font/fpdf_font_unittest.cpp", | 1449 "core/src/fpdfapi/fpdf_font/fpdf_font_unittest.cpp", |
1430 "core/src/fpdfapi/fpdf_page/fpdf_page_parser_old_unittest.cpp", | 1450 "core/src/fpdfapi/fpdf_page/fpdf_page_parser_old_unittest.cpp", |
| 1451 "core/src/fpdfapi/fpdf_parser/cpdf_object_unittest.cpp", |
1431 "core/src/fpdfapi/fpdf_parser/cpdf_parser_unittest.cpp", | 1452 "core/src/fpdfapi/fpdf_parser/cpdf_parser_unittest.cpp", |
1432 "core/src/fpdfapi/fpdf_parser/cpdf_simple_parser_unittest.cpp", | 1453 "core/src/fpdfapi/fpdf_parser/cpdf_simple_parser_unittest.cpp", |
1433 "core/src/fpdfapi/fpdf_parser/cpdf_syntax_parser_unittest.cpp", | 1454 "core/src/fpdfapi/fpdf_parser/cpdf_syntax_parser_unittest.cpp", |
1434 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_unittest.cpp", | 1455 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_unittest.cpp", |
1435 "core/src/fpdfapi/fpdf_parser/fpdf_parser_objects_unittest.cpp", | |
1436 "core/src/fpdfdoc/doc_basic_unittest.cpp", | 1456 "core/src/fpdfdoc/doc_basic_unittest.cpp", |
1437 "core/src/fpdftext/fpdf_text_int_unittest.cpp", | 1457 "core/src/fpdftext/fpdf_text_int_unittest.cpp", |
1438 "core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp", | 1458 "core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp", |
1439 "core/src/fxcrt/fx_basic_bstring_unittest.cpp", | 1459 "core/src/fxcrt/fx_basic_bstring_unittest.cpp", |
1440 "core/src/fxcrt/fx_basic_gcc_unittest.cpp", | 1460 "core/src/fxcrt/fx_basic_gcc_unittest.cpp", |
1441 "core/src/fxcrt/fx_basic_memmgr_unittest.cpp", | 1461 "core/src/fxcrt/fx_basic_memmgr_unittest.cpp", |
1442 "core/src/fxcrt/fx_basic_wstring_unittest.cpp", | 1462 "core/src/fxcrt/fx_basic_wstring_unittest.cpp", |
1443 "core/src/fxcrt/fx_bidi_unittest.cpp", | 1463 "core/src/fxcrt/fx_bidi_unittest.cpp", |
1444 "core/src/fxcrt/fx_extension_unittest.cpp", | 1464 "core/src/fxcrt/fx_extension_unittest.cpp", |
1445 "core/src/fxcrt/fx_system_unittest.cpp", | 1465 "core/src/fxcrt/fx_system_unittest.cpp", |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1503 "//v8:v8_libplatform", | 1523 "//v8:v8_libplatform", |
1504 ] | 1524 ] |
1505 include_dirs += [ | 1525 include_dirs += [ |
1506 "//v8", | 1526 "//v8", |
1507 "//v8/include", | 1527 "//v8/include", |
1508 ] | 1528 ] |
1509 configs += [ "//v8:external_startup_data" ] | 1529 configs += [ "//v8:external_startup_data" ] |
1510 } | 1530 } |
1511 configs += [ ":pdfium_config" ] | 1531 configs += [ ":pdfium_config" ] |
1512 } | 1532 } |
OLD | NEW |