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_common_config") { | 9 config("pdfium_common_config") { |
10 cflags = [] | 10 cflags = [] |
(...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
699 "core/fxcrt/include/fx_memory.h", | 699 "core/fxcrt/include/fx_memory.h", |
700 "core/fxcrt/include/fx_safe_types.h", | 700 "core/fxcrt/include/fx_safe_types.h", |
701 "core/fxcrt/include/fx_stream.h", | 701 "core/fxcrt/include/fx_stream.h", |
702 "core/fxcrt/include/fx_string.h", | 702 "core/fxcrt/include/fx_string.h", |
703 "core/fxcrt/include/fx_system.h", | 703 "core/fxcrt/include/fx_system.h", |
704 "core/fxcrt/include/fx_ucd.h", | 704 "core/fxcrt/include/fx_ucd.h", |
705 "core/fxcrt/include/fx_xml.h", | 705 "core/fxcrt/include/fx_xml.h", |
706 "core/fxcrt/plex.h", | 706 "core/fxcrt/plex.h", |
707 "core/fxcrt/xml_int.h", | 707 "core/fxcrt/xml_int.h", |
708 ] | 708 ] |
| 709 configs += [ ":pdfium_core_config" ] |
| 710 |
709 if (pdf_enable_xfa) { | 711 if (pdf_enable_xfa) { |
710 sources += [ | 712 sources += [ |
711 "core/fxcrt/fx_arabic.cpp", | 713 "core/fxcrt/fx_arabic.cpp", |
712 "core/fxcrt/fx_basic_maps.cpp", | 714 "core/fxcrt/fx_basic_maps.cpp", |
713 "core/fxcrt/include/fx_arabic.h", | 715 "core/fxcrt/include/fx_arabic.h", |
714 "core/fxcrt/include/fx_arb.h", | 716 "core/fxcrt/include/fx_arb.h", |
715 ] | 717 ] |
716 } | 718 } |
717 configs += [ ":pdfium_core_config" ] | |
718 } | 719 } |
719 | 720 |
720 static_library("fxge") { | 721 static_library("fxge") { |
721 sources = [ | 722 sources = [ |
722 "core/fxge/android/fpf_skiafont.cpp", | 723 "core/fxge/android/fpf_skiafont.cpp", |
723 "core/fxge/android/fpf_skiafont.h", | 724 "core/fxge/android/fpf_skiafont.h", |
724 "core/fxge/android/fpf_skiafontmgr.cpp", | 725 "core/fxge/android/fpf_skiafontmgr.cpp", |
725 "core/fxge/android/fpf_skiafontmgr.h", | 726 "core/fxge/android/fpf_skiafontmgr.h", |
726 "core/fxge/android/fpf_skiamodule.cpp", | 727 "core/fxge/android/fpf_skiamodule.cpp", |
727 "core/fxge/android/fpf_skiamodule.h", | 728 "core/fxge/android/fpf_skiamodule.h", |
(...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1684 "testing/embedder_test_timer_handling_delegate.h", | 1685 "testing/embedder_test_timer_handling_delegate.h", |
1685 "xfa/fxfa/parser/cxfa_simple_parser_embeddertest.cpp", | 1686 "xfa/fxfa/parser/cxfa_simple_parser_embeddertest.cpp", |
1686 ] | 1687 ] |
1687 deps = [ | 1688 deps = [ |
1688 ":pdfium", | 1689 ":pdfium", |
1689 ":test_support", | 1690 ":test_support", |
1690 "//testing/gmock", | 1691 "//testing/gmock", |
1691 "//testing/gtest", | 1692 "//testing/gtest", |
1692 ] | 1693 ] |
1693 include_dirs = [ "testing/gmock/include" ] | 1694 include_dirs = [ "testing/gmock/include" ] |
| 1695 configs += [ ":pdfium_core_config" ] |
| 1696 |
1694 if (pdf_enable_v8) { | 1697 if (pdf_enable_v8) { |
1695 sources += [ | 1698 sources += [ |
1696 "fpdfsdk/javascript/public_methods_embeddertest.cpp", | 1699 "fpdfsdk/javascript/public_methods_embeddertest.cpp", |
1697 "fxjs/fxjs_v8_embeddertest.cpp", | 1700 "fxjs/fxjs_v8_embeddertest.cpp", |
1698 "testing/js_embedder_test.cpp", | 1701 "testing/js_embedder_test.cpp", |
1699 "testing/js_embedder_test.h", | 1702 "testing/js_embedder_test.h", |
1700 ] | 1703 ] |
1701 deps += [ ":fxjs" ] | 1704 deps += [ ":fxjs" ] |
1702 configs += [ "//v8:external_startup_data" ] | 1705 configs += [ "//v8:external_startup_data" ] |
1703 } | 1706 } |
1704 configs += [ ":pdfium_core_config" ] | |
1705 if (is_android) { | 1707 if (is_android) { |
1706 ignore_all_data_deps = true | 1708 ignore_all_data_deps = true |
1707 use_raw_android_executable = true | 1709 use_raw_android_executable = true |
1708 } | 1710 } |
1709 } | 1711 } |
1710 | 1712 |
1711 if (pdf_is_standalone) { | 1713 if (pdf_is_standalone) { |
1712 source_set("samples") { | 1714 source_set("samples") { |
1713 testonly = true | 1715 testonly = true |
1714 deps = [ | 1716 deps = [ |
1715 "//samples", | 1717 "//samples", |
1716 ] | 1718 ] |
1717 } | 1719 } |
1718 } | 1720 } |
OLD | NEW |