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 1677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1688 "testing/embedder_test_mock_delegate.h", | 1688 "testing/embedder_test_mock_delegate.h", |
1689 "testing/embedder_test_timer_handling_delegate.h", | 1689 "testing/embedder_test_timer_handling_delegate.h", |
1690 "xfa/fxfa/parser/xfa_parser_imp_embeddertest.cpp", | 1690 "xfa/fxfa/parser/xfa_parser_imp_embeddertest.cpp", |
1691 ] | 1691 ] |
1692 deps = [ | 1692 deps = [ |
1693 ":pdfium", | 1693 ":pdfium", |
1694 ":test_support", | 1694 ":test_support", |
1695 "//testing/gmock", | 1695 "//testing/gmock", |
1696 "//testing/gtest", | 1696 "//testing/gtest", |
1697 ] | 1697 ] |
1698 include_dirs = [] | 1698 include_dirs = [ "testing/gmock/include" ] |
1699 if (pdf_enable_v8) { | 1699 if (pdf_enable_v8) { |
1700 sources += [ | 1700 sources += [ |
1701 "fpdfsdk/javascript/public_methods_embeddertest.cpp", | 1701 "fpdfsdk/javascript/public_methods_embeddertest.cpp", |
1702 "fpdfsdk/jsapi/fxjs_v8_embeddertest.cpp", | 1702 "fpdfsdk/jsapi/fxjs_v8_embeddertest.cpp", |
1703 "testing/js_embedder_test.cpp", | 1703 "testing/js_embedder_test.cpp", |
1704 "testing/js_embedder_test.h", | 1704 "testing/js_embedder_test.h", |
1705 ] | 1705 ] |
1706 deps += [ | 1706 deps += [ |
1707 "//v8", | 1707 "//v8", |
1708 "//v8:v8_libplatform", | 1708 "//v8:v8_libplatform", |
1709 ] | 1709 ] |
1710 include_dirs += [ | 1710 include_dirs += [ |
1711 "//v8", | 1711 "//v8", |
1712 "//v8/include", | 1712 "//v8/include", |
1713 ] | 1713 ] |
1714 configs += [ "//v8:external_startup_data" ] | 1714 configs += [ "//v8:external_startup_data" ] |
1715 } | 1715 } |
1716 configs += [ ":pdfium_config" ] | 1716 configs += [ ":pdfium_config" ] |
1717 } | 1717 } |
| 1718 |
| 1719 if (pdf_is_standalone) { |
| 1720 source_set("samples") { |
| 1721 testonly = true |
| 1722 deps = [ |
| 1723 "//samples", |
| 1724 ] |
| 1725 } |
| 1726 } |
OLD | NEW |