| 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 import("pdfium.gni") | 6 import("pdfium.gni") |
| 7 | 7 |
| 8 config("pdfium_config") { | 8 config("pdfium_config") { |
| 9 cflags = [] | 9 cflags = [] |
| 10 include_dirs = [ "third_party/freetype/include" ] | 10 include_dirs = [ "third_party/freetype/include" ] |
| (...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 460 # http://code.google.com/p/pdfium/issues/detail?id=188 | 460 # http://code.google.com/p/pdfium/issues/detail?id=188 |
| 461 "-Wno-switch", | 461 "-Wno-switch", |
| 462 ] | 462 ] |
| 463 } | 463 } |
| 464 } | 464 } |
| 465 | 465 |
| 466 static_library("fxcrt") { | 466 static_library("fxcrt") { |
| 467 sources = [ | 467 sources = [ |
| 468 "core/include/fxcrt/fx_arb.h", | 468 "core/include/fxcrt/fx_arb.h", |
| 469 "core/include/fxcrt/fx_basic.h", | 469 "core/include/fxcrt/fx_basic.h", |
| 470 "core/include/fxcrt/fx_bidi.h", |
| 470 "core/include/fxcrt/fx_coordinates.h", | 471 "core/include/fxcrt/fx_coordinates.h", |
| 471 "core/include/fxcrt/fx_ext.h", | 472 "core/include/fxcrt/fx_ext.h", |
| 472 "core/include/fxcrt/fx_memory.h", | 473 "core/include/fxcrt/fx_memory.h", |
| 473 "core/include/fxcrt/fx_safe_types.h", | 474 "core/include/fxcrt/fx_safe_types.h", |
| 474 "core/include/fxcrt/fx_stream.h", | 475 "core/include/fxcrt/fx_stream.h", |
| 475 "core/include/fxcrt/fx_string.h", | 476 "core/include/fxcrt/fx_string.h", |
| 476 "core/include/fxcrt/fx_system.h", | 477 "core/include/fxcrt/fx_system.h", |
| 477 "core/include/fxcrt/fx_ucd.h", | 478 "core/include/fxcrt/fx_ucd.h", |
| 478 "core/include/fxcrt/fx_xml.h", | 479 "core/include/fxcrt/fx_xml.h", |
| 479 "core/src/fxcrt/extension.h", | 480 "core/src/fxcrt/extension.h", |
| 480 "core/src/fxcrt/fx_arabic.cpp", | 481 "core/src/fxcrt/fx_arabic.cpp", |
| 481 "core/src/fxcrt/fx_arabic.h", | 482 "core/src/fxcrt/fx_arabic.h", |
| 482 "core/src/fxcrt/fx_basic_array.cpp", | 483 "core/src/fxcrt/fx_basic_array.cpp", |
| 483 "core/src/fxcrt/fx_basic_bstring.cpp", | 484 "core/src/fxcrt/fx_basic_bstring.cpp", |
| 484 "core/src/fxcrt/fx_basic_buffer.cpp", | 485 "core/src/fxcrt/fx_basic_buffer.cpp", |
| 485 "core/src/fxcrt/fx_basic_coords.cpp", | 486 "core/src/fxcrt/fx_basic_coords.cpp", |
| 486 "core/src/fxcrt/fx_basic_gcc.cpp", | 487 "core/src/fxcrt/fx_basic_gcc.cpp", |
| 487 "core/src/fxcrt/fx_basic_list.cpp", | 488 "core/src/fxcrt/fx_basic_list.cpp", |
| 488 "core/src/fxcrt/fx_basic_maps.cpp", | 489 "core/src/fxcrt/fx_basic_maps.cpp", |
| 489 "core/src/fxcrt/fx_basic_memmgr.cpp", | 490 "core/src/fxcrt/fx_basic_memmgr.cpp", |
| 490 "core/src/fxcrt/fx_basic_plex.cpp", | 491 "core/src/fxcrt/fx_basic_plex.cpp", |
| 491 "core/src/fxcrt/fx_basic_utf.cpp", | 492 "core/src/fxcrt/fx_basic_utf.cpp", |
| 492 "core/src/fxcrt/fx_basic_util.cpp", | 493 "core/src/fxcrt/fx_basic_util.cpp", |
| 493 "core/src/fxcrt/fx_basic_wstring.cpp", | 494 "core/src/fxcrt/fx_basic_wstring.cpp", |
| 495 "core/src/fxcrt/fx_bidi.cpp", |
| 494 "core/src/fxcrt/fx_extension.cpp", | 496 "core/src/fxcrt/fx_extension.cpp", |
| 495 "core/src/fxcrt/fx_ucddata.cpp", | 497 "core/src/fxcrt/fx_ucddata.cpp", |
| 496 "core/src/fxcrt/fx_unicode.cpp", | 498 "core/src/fxcrt/fx_unicode.cpp", |
| 497 "core/src/fxcrt/fx_xml_composer.cpp", | 499 "core/src/fxcrt/fx_xml_composer.cpp", |
| 498 "core/src/fxcrt/fx_xml_parser.cpp", | 500 "core/src/fxcrt/fx_xml_parser.cpp", |
| 499 "core/src/fxcrt/fxcrt_platforms.cpp", | 501 "core/src/fxcrt/fxcrt_platforms.cpp", |
| 500 "core/src/fxcrt/fxcrt_platforms.h", | 502 "core/src/fxcrt/fxcrt_platforms.h", |
| 501 "core/src/fxcrt/fxcrt_posix.cpp", | 503 "core/src/fxcrt/fxcrt_posix.cpp", |
| 502 "core/src/fxcrt/fxcrt_posix.h", | 504 "core/src/fxcrt/fxcrt_posix.h", |
| 503 "core/src/fxcrt/fxcrt_windows.cpp", | 505 "core/src/fxcrt/fxcrt_windows.cpp", |
| (...skipping 966 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1470 "//build/config/compiler:no_chromium_code", | 1472 "//build/config/compiler:no_chromium_code", |
| 1471 ] | 1473 ] |
| 1472 } | 1474 } |
| 1473 | 1475 |
| 1474 test("pdfium_unittests") { | 1476 test("pdfium_unittests") { |
| 1475 sources = [ | 1477 sources = [ |
| 1476 "core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp", | 1478 "core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp", |
| 1477 "core/src/fxcrt/fx_basic_bstring_unittest.cpp", | 1479 "core/src/fxcrt/fx_basic_bstring_unittest.cpp", |
| 1478 "core/src/fxcrt/fx_basic_memmgr_unittest.cpp", | 1480 "core/src/fxcrt/fx_basic_memmgr_unittest.cpp", |
| 1479 "core/src/fxcrt/fx_basic_wstring_unittest.cpp", | 1481 "core/src/fxcrt/fx_basic_wstring_unittest.cpp", |
| 1482 "core/src/fxcrt/fx_bidi_unittest.cpp", |
| 1480 "core/src/fxcrt/fx_system_unittest.cpp", | 1483 "core/src/fxcrt/fx_system_unittest.cpp", |
| 1481 "third_party/base/nonstd_unique_ptr_unittest.cpp", | 1484 "third_party/base/nonstd_unique_ptr_unittest.cpp", |
| 1482 "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp", | 1485 "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp", |
| 1483 "xfa/src/fxfa/src/parser/xfa_utils_imp_unittest.cpp", | 1486 "xfa/src/fxfa/src/parser/xfa_utils_imp_unittest.cpp", |
| 1484 ] | 1487 ] |
| 1485 deps = [ | 1488 deps = [ |
| 1486 "//testing/gtest", | 1489 "//testing/gtest", |
| 1487 "//testing/gtest:gtest_main", | 1490 "//testing/gtest:gtest_main", |
| 1488 ":pdfium", | 1491 ":pdfium", |
| 1489 ":test_support", | 1492 ":test_support", |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1535 "//v8", | 1538 "//v8", |
| 1536 "//v8/include", | 1539 "//v8/include", |
| 1537 ] | 1540 ] |
| 1538 } | 1541 } |
| 1539 configs -= [ "//build/config/compiler:chromium_code" ] | 1542 configs -= [ "//build/config/compiler:chromium_code" ] |
| 1540 configs += [ | 1543 configs += [ |
| 1541 ":pdfium_config", | 1544 ":pdfium_config", |
| 1542 "//build/config/compiler:no_chromium_code", | 1545 "//build/config/compiler:no_chromium_code", |
| 1543 ] | 1546 ] |
| 1544 } | 1547 } |
| OLD | NEW |