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 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
538 "core/fxcrt/fx_unicode.cpp", | 538 "core/fxcrt/fx_unicode.cpp", |
539 "core/fxcrt/fx_xml_composer.cpp", | 539 "core/fxcrt/fx_xml_composer.cpp", |
540 "core/fxcrt/fx_xml_parser.cpp", | 540 "core/fxcrt/fx_xml_parser.cpp", |
541 "core/fxcrt/fxcrt_platforms.cpp", | 541 "core/fxcrt/fxcrt_platforms.cpp", |
542 "core/fxcrt/fxcrt_platforms.h", | 542 "core/fxcrt/fxcrt_platforms.h", |
543 "core/fxcrt/fxcrt_posix.cpp", | 543 "core/fxcrt/fxcrt_posix.cpp", |
544 "core/fxcrt/fxcrt_posix.h", | 544 "core/fxcrt/fxcrt_posix.h", |
545 "core/fxcrt/fxcrt_stream.cpp", | 545 "core/fxcrt/fxcrt_stream.cpp", |
546 "core/fxcrt/fxcrt_windows.cpp", | 546 "core/fxcrt/fxcrt_windows.cpp", |
547 "core/fxcrt/fxcrt_windows.h", | 547 "core/fxcrt/fxcrt_windows.h", |
| 548 "core/fxcrt/include/cfx_retain_ptr.h", |
548 "core/fxcrt/plex.h", | 549 "core/fxcrt/plex.h", |
549 "core/fxcrt/xml_int.h", | 550 "core/fxcrt/xml_int.h", |
550 "core/include/fxcrt/fx_basic.h", | 551 "core/include/fxcrt/fx_basic.h", |
551 "core/include/fxcrt/fx_bidi.h", | 552 "core/include/fxcrt/fx_bidi.h", |
552 "core/include/fxcrt/fx_coordinates.h", | 553 "core/include/fxcrt/fx_coordinates.h", |
553 "core/include/fxcrt/fx_ext.h", | 554 "core/include/fxcrt/fx_ext.h", |
554 "core/include/fxcrt/fx_memory.h", | 555 "core/include/fxcrt/fx_memory.h", |
555 "core/include/fxcrt/fx_safe_types.h", | 556 "core/include/fxcrt/fx_safe_types.h", |
556 "core/include/fxcrt/fx_stream.h", | 557 "core/include/fxcrt/fx_stream.h", |
557 "core/include/fxcrt/fx_string.h", | 558 "core/include/fxcrt/fx_string.h", |
(...skipping 911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1469 "core/fpdfapi/fpdf_font/fpdf_font_unittest.cpp", | 1470 "core/fpdfapi/fpdf_font/fpdf_font_unittest.cpp", |
1470 "core/fpdfapi/fpdf_page/fpdf_page_parser_old_unittest.cpp", | 1471 "core/fpdfapi/fpdf_page/fpdf_page_parser_old_unittest.cpp", |
1471 "core/fpdfapi/fpdf_parser/cpdf_object_unittest.cpp", | 1472 "core/fpdfapi/fpdf_parser/cpdf_object_unittest.cpp", |
1472 "core/fpdfapi/fpdf_parser/cpdf_parser_unittest.cpp", | 1473 "core/fpdfapi/fpdf_parser/cpdf_parser_unittest.cpp", |
1473 "core/fpdfapi/fpdf_parser/cpdf_simple_parser_unittest.cpp", | 1474 "core/fpdfapi/fpdf_parser/cpdf_simple_parser_unittest.cpp", |
1474 "core/fpdfapi/fpdf_parser/cpdf_syntax_parser_unittest.cpp", | 1475 "core/fpdfapi/fpdf_parser/cpdf_syntax_parser_unittest.cpp", |
1475 "core/fpdfapi/fpdf_parser/fpdf_parser_decode_unittest.cpp", | 1476 "core/fpdfapi/fpdf_parser/fpdf_parser_decode_unittest.cpp", |
1476 "core/fpdfdoc/doc_basic_unittest.cpp", | 1477 "core/fpdfdoc/doc_basic_unittest.cpp", |
1477 "core/fpdftext/fpdf_text_int_unittest.cpp", | 1478 "core/fpdftext/fpdf_text_int_unittest.cpp", |
1478 "core/fxcodec/codec/fx_codec_jpx_unittest.cpp", | 1479 "core/fxcodec/codec/fx_codec_jpx_unittest.cpp", |
| 1480 "core/fxcrt/cfx_retain_ptr_unittest.cpp", |
1479 "core/fxcrt/fx_basic_bstring_unittest.cpp", | 1481 "core/fxcrt/fx_basic_bstring_unittest.cpp", |
1480 "core/fxcrt/fx_basic_gcc_unittest.cpp", | 1482 "core/fxcrt/fx_basic_gcc_unittest.cpp", |
1481 "core/fxcrt/fx_basic_memmgr_unittest.cpp", | 1483 "core/fxcrt/fx_basic_memmgr_unittest.cpp", |
1482 "core/fxcrt/fx_basic_wstring_unittest.cpp", | 1484 "core/fxcrt/fx_basic_wstring_unittest.cpp", |
1483 "core/fxcrt/fx_bidi_unittest.cpp", | 1485 "core/fxcrt/fx_bidi_unittest.cpp", |
1484 "core/fxcrt/fx_extension_unittest.cpp", | 1486 "core/fxcrt/fx_extension_unittest.cpp", |
1485 "core/fxcrt/fx_system_unittest.cpp", | 1487 "core/fxcrt/fx_system_unittest.cpp", |
1486 "fpdfsdk/fpdfdoc_unittest.cpp", | 1488 "fpdfsdk/fpdfdoc_unittest.cpp", |
1487 ] | 1489 ] |
1488 deps = [ | 1490 deps = [ |
1489 ":pdfium", | 1491 ":pdfium", |
1490 ":test_support", | 1492 ":test_support", |
1491 "//testing/gtest", | 1493 "//testing/gtest", |
1492 "//testing/gtest:gtest_main", | 1494 "//testing/gtest:gtest_main", |
1493 ] | 1495 ] |
1494 include_dirs = [] | 1496 include_dirs = [] |
1495 if (pdf_enable_xfa) { | 1497 if (pdf_enable_xfa) { |
1496 sources += [ | 1498 sources += [ |
1497 "xfa/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp", | 1499 "xfa/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp", |
1498 "xfa/fxfa/parser/xfa_utils_imp_unittest.cpp", | 1500 "xfa/fxfa/parser/xfa_utils_imp_unittest.cpp", |
1499 ] | 1501 ] |
1500 } | 1502 } |
1501 if (pdf_enable_v8) { | 1503 if (pdf_enable_v8) { |
1502 sources += [ | 1504 sources += [ "fpdfsdk/javascript/public_methods_unittest.cpp" ] |
1503 "fpdfsdk/javascript/public_methods_unittest.cpp", | |
1504 ] | |
1505 include_dirs += [ | 1505 include_dirs += [ |
1506 "//v8", | 1506 "//v8", |
1507 "//v8/include", | 1507 "//v8/include", |
1508 ] | 1508 ] |
1509 } | 1509 } |
1510 configs += [ ":pdfium_config" ] | 1510 configs += [ ":pdfium_config" ] |
1511 } | 1511 } |
1512 | 1512 |
1513 test("pdfium_embeddertests") { | 1513 test("pdfium_embeddertests") { |
1514 sources = [ | 1514 sources = [ |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1553 "//v8:v8_libplatform", | 1553 "//v8:v8_libplatform", |
1554 ] | 1554 ] |
1555 include_dirs += [ | 1555 include_dirs += [ |
1556 "//v8", | 1556 "//v8", |
1557 "//v8/include", | 1557 "//v8/include", |
1558 ] | 1558 ] |
1559 configs += [ "//v8:external_startup_data" ] | 1559 configs += [ "//v8:external_startup_data" ] |
1560 } | 1560 } |
1561 configs += [ ":pdfium_config" ] | 1561 configs += [ ":pdfium_config" ] |
1562 } | 1562 } |
OLD | NEW |