OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//testing/test.gni") | 5 import("//testing/test.gni") |
6 | 6 |
7 pdf_use_skia = false | 7 pdf_use_skia = false |
8 | 8 |
9 declare_args() { | 9 declare_args() { |
10 # On Android there's no system FreeType. On Windows and Mac, only a few | 10 # On Android there's no system FreeType. On Windows and Mac, only a few |
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 cflags_c = [ "-Wno-pointer-to-int-cast" ] | 389 cflags_c = [ "-Wno-pointer-to-int-cast" ] |
390 } | 390 } |
391 configs += [ | 391 configs += [ |
392 ":pdfium_config", | 392 ":pdfium_config", |
393 "//build/config/compiler:no_chromium_code", | 393 "//build/config/compiler:no_chromium_code", |
394 ] | 394 ] |
395 } | 395 } |
396 | 396 |
397 static_library("fxcrt") { | 397 static_library("fxcrt") { |
398 sources = [ | 398 sources = [ |
399 "core/include/fxcrt/fx_arb.h", | |
400 "core/include/fxcrt/fx_basic.h", | 399 "core/include/fxcrt/fx_basic.h", |
| 400 "core/include/fxcrt/fx_bidi.h", |
401 "core/include/fxcrt/fx_coordinates.h", | 401 "core/include/fxcrt/fx_coordinates.h", |
402 "core/include/fxcrt/fx_ext.h", | 402 "core/include/fxcrt/fx_ext.h", |
403 "core/include/fxcrt/fx_memory.h", | 403 "core/include/fxcrt/fx_memory.h", |
404 "core/include/fxcrt/fx_safe_types.h", | 404 "core/include/fxcrt/fx_safe_types.h", |
405 "core/include/fxcrt/fx_stream.h", | 405 "core/include/fxcrt/fx_stream.h", |
406 "core/include/fxcrt/fx_string.h", | 406 "core/include/fxcrt/fx_string.h", |
407 "core/include/fxcrt/fx_system.h", | 407 "core/include/fxcrt/fx_system.h", |
408 "core/include/fxcrt/fx_ucd.h", | 408 "core/include/fxcrt/fx_ucd.h", |
409 "core/include/fxcrt/fx_xml.h", | 409 "core/include/fxcrt/fx_xml.h", |
410 "core/src/fxcrt/extension.h", | 410 "core/src/fxcrt/extension.h", |
411 "core/src/fxcrt/fx_arabic.cpp", | |
412 "core/src/fxcrt/fx_arabic.h", | |
413 "core/src/fxcrt/fx_basic_array.cpp", | 411 "core/src/fxcrt/fx_basic_array.cpp", |
414 "core/src/fxcrt/fx_basic_bstring.cpp", | 412 "core/src/fxcrt/fx_basic_bstring.cpp", |
415 "core/src/fxcrt/fx_basic_buffer.cpp", | 413 "core/src/fxcrt/fx_basic_buffer.cpp", |
416 "core/src/fxcrt/fx_basic_coords.cpp", | 414 "core/src/fxcrt/fx_basic_coords.cpp", |
417 "core/src/fxcrt/fx_basic_gcc.cpp", | 415 "core/src/fxcrt/fx_basic_gcc.cpp", |
418 "core/src/fxcrt/fx_basic_list.cpp", | 416 "core/src/fxcrt/fx_basic_list.cpp", |
419 "core/src/fxcrt/fx_basic_maps.cpp", | 417 "core/src/fxcrt/fx_basic_maps.cpp", |
420 "core/src/fxcrt/fx_basic_memmgr.cpp", | 418 "core/src/fxcrt/fx_basic_memmgr.cpp", |
421 "core/src/fxcrt/fx_basic_plex.cpp", | 419 "core/src/fxcrt/fx_basic_plex.cpp", |
422 "core/src/fxcrt/fx_basic_utf.cpp", | 420 "core/src/fxcrt/fx_basic_utf.cpp", |
423 "core/src/fxcrt/fx_basic_util.cpp", | 421 "core/src/fxcrt/fx_basic_util.cpp", |
424 "core/src/fxcrt/fx_basic_wstring.cpp", | 422 "core/src/fxcrt/fx_basic_wstring.cpp", |
| 423 "core/src/fxcrt/fx_bidi.cpp", |
425 "core/src/fxcrt/fx_extension.cpp", | 424 "core/src/fxcrt/fx_extension.cpp", |
426 "core/src/fxcrt/fx_ucddata.cpp", | 425 "core/src/fxcrt/fx_ucddata.cpp", |
427 "core/src/fxcrt/fx_unicode.cpp", | 426 "core/src/fxcrt/fx_unicode.cpp", |
428 "core/src/fxcrt/fx_xml_composer.cpp", | 427 "core/src/fxcrt/fx_xml_composer.cpp", |
429 "core/src/fxcrt/fx_xml_parser.cpp", | 428 "core/src/fxcrt/fx_xml_parser.cpp", |
430 "core/src/fxcrt/fxcrt_platforms.cpp", | 429 "core/src/fxcrt/fxcrt_platforms.cpp", |
431 "core/src/fxcrt/fxcrt_platforms.h", | 430 "core/src/fxcrt/fxcrt_platforms.h", |
432 "core/src/fxcrt/fxcrt_posix.cpp", | 431 "core/src/fxcrt/fxcrt_posix.cpp", |
433 "core/src/fxcrt/fxcrt_posix.h", | 432 "core/src/fxcrt/fxcrt_posix.h", |
434 "core/src/fxcrt/fxcrt_windows.cpp", | 433 "core/src/fxcrt/fxcrt_windows.cpp", |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
723 "//build/config/compiler:no_chromium_code", | 722 "//build/config/compiler:no_chromium_code", |
724 ] | 723 ] |
725 } | 724 } |
726 | 725 |
727 test("pdfium_unittests") { | 726 test("pdfium_unittests") { |
728 sources = [ | 727 sources = [ |
729 "core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp", | 728 "core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp", |
730 "core/src/fxcrt/fx_basic_bstring_unittest.cpp", | 729 "core/src/fxcrt/fx_basic_bstring_unittest.cpp", |
731 "core/src/fxcrt/fx_basic_memmgr_unittest.cpp", | 730 "core/src/fxcrt/fx_basic_memmgr_unittest.cpp", |
732 "core/src/fxcrt/fx_basic_wstring_unittest.cpp", | 731 "core/src/fxcrt/fx_basic_wstring_unittest.cpp", |
| 732 "core/src/fxcrt/fx_bidi_unittest.cpp", |
733 "core/src/fxcrt/fx_system_unittest.cpp", | 733 "core/src/fxcrt/fx_system_unittest.cpp", |
734 "testing/fx_string_testhelpers.cpp", | 734 "testing/fx_string_testhelpers.cpp", |
735 "testing/fx_string_testhelpers.h", | 735 "testing/fx_string_testhelpers.h", |
736 ] | 736 ] |
737 deps = [ | 737 deps = [ |
738 "//testing/gtest", | 738 "//testing/gtest", |
739 "//testing/gtest:gtest_main", | 739 "//testing/gtest:gtest_main", |
740 ":pdfium", | 740 ":pdfium", |
741 ] | 741 ] |
742 include_dirs = [ "." ] | 742 include_dirs = [ "." ] |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
775 "//v8", | 775 "//v8", |
776 "//v8/include", | 776 "//v8/include", |
777 "." | 777 "." |
778 ] | 778 ] |
779 configs -= [ "//build/config/compiler:chromium_code" ] | 779 configs -= [ "//build/config/compiler:chromium_code" ] |
780 configs += [ | 780 configs += [ |
781 ":pdfium_config", | 781 ":pdfium_config", |
782 "//build/config/compiler:no_chromium_code", | 782 "//build/config/compiler:no_chromium_code", |
783 ] | 783 ] |
784 } | 784 } |
OLD | NEW |