| 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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 732     "//build/config/compiler:no_chromium_code", | 731     "//build/config/compiler:no_chromium_code", | 
| 733   ] | 732   ] | 
| 734 } | 733 } | 
| 735 | 734 | 
| 736 test("pdfium_unittests") { | 735 test("pdfium_unittests") { | 
| 737   sources = [ | 736   sources = [ | 
| 738     "core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp", | 737     "core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp", | 
| 739     "core/src/fxcrt/fx_basic_bstring_unittest.cpp", | 738     "core/src/fxcrt/fx_basic_bstring_unittest.cpp", | 
| 740     "core/src/fxcrt/fx_basic_memmgr_unittest.cpp", | 739     "core/src/fxcrt/fx_basic_memmgr_unittest.cpp", | 
| 741     "core/src/fxcrt/fx_basic_wstring_unittest.cpp", | 740     "core/src/fxcrt/fx_basic_wstring_unittest.cpp", | 
|  | 741     "core/src/fxcrt/fx_bidi_unittest.cpp", | 
| 742     "core/src/fxcrt/fx_system_unittest.cpp", | 742     "core/src/fxcrt/fx_system_unittest.cpp", | 
| 743     "testing/fx_string_testhelpers.cpp", | 743     "testing/fx_string_testhelpers.cpp", | 
| 744     "testing/fx_string_testhelpers.h", | 744     "testing/fx_string_testhelpers.h", | 
| 745   ] | 745   ] | 
| 746   deps = [ | 746   deps = [ | 
| 747     "//testing/gtest", | 747     "//testing/gtest", | 
| 748     "//testing/gtest:gtest_main", | 748     "//testing/gtest:gtest_main", | 
| 749     ":pdfium", | 749     ":pdfium", | 
| 750   ] | 750   ] | 
| 751   include_dirs = [ "." ] | 751   include_dirs = [ "." ] | 
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 784     "//v8", | 784     "//v8", | 
| 785     "//v8/include", | 785     "//v8/include", | 
| 786     "." | 786     "." | 
| 787   ] | 787   ] | 
| 788   configs -= [ "//build/config/compiler:chromium_code" ] | 788   configs -= [ "//build/config/compiler:chromium_code" ] | 
| 789   configs += [ | 789   configs += [ | 
| 790     ":pdfium_config", | 790     ":pdfium_config", | 
| 791     "//build/config/compiler:no_chromium_code", | 791     "//build/config/compiler:no_chromium_code", | 
| 792   ] | 792   ] | 
| 793 } | 793 } | 
| OLD | NEW | 
|---|