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 747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
758 "fpdfsdk/src/fpdftext_embeddertest.cpp", | 758 "fpdfsdk/src/fpdftext_embeddertest.cpp", |
759 "fpdfsdk/src/fpdfview_c_api_test.c", | 759 "fpdfsdk/src/fpdfview_c_api_test.c", |
760 "fpdfsdk/src/fpdfview_c_api_test.h", | 760 "fpdfsdk/src/fpdfview_c_api_test.h", |
761 "fpdfsdk/src/fpdfview_embeddertest.cpp", | 761 "fpdfsdk/src/fpdfview_embeddertest.cpp", |
762 "testing/embedder_test.cpp", | 762 "testing/embedder_test.cpp", |
763 "testing/embedder_test.h", | 763 "testing/embedder_test.h", |
764 "testing/embedder_test_mock_delegate.h", | 764 "testing/embedder_test_mock_delegate.h", |
765 "testing/embedder_test_timer_handling_delegate.h", | 765 "testing/embedder_test_timer_handling_delegate.h", |
766 "testing/fx_string_testhelpers.cpp", | 766 "testing/fx_string_testhelpers.cpp", |
767 "testing/fx_string_testhelpers.h", | 767 "testing/fx_string_testhelpers.h", |
| 768 "testing/test_support.cpp", |
| 769 "testing/test_support.h", |
768 ] | 770 ] |
769 deps = [ | 771 deps = [ |
770 "//testing/gmock", | 772 "//testing/gmock", |
771 "//testing/gtest", | 773 "//testing/gtest", |
772 ":pdfium", | 774 ":pdfium", |
773 ] | 775 ] |
774 include_dirs = [ | 776 include_dirs = [ |
775 "." | 777 "." |
776 ] | 778 ] |
777 if (pdf_enable_v8) { | 779 if (pdf_enable_v8) { |
778 sources += [ | 780 sources += [ |
779 "fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp" | 781 "fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp" |
780 ] | 782 ] |
781 deps += [ | 783 deps += [ |
782 "//v8", | 784 "//v8", |
783 "//v8:v8_libplatform", | 785 "//v8:v8_libplatform", |
784 ] | 786 ] |
785 include_dirs += [ | 787 include_dirs += [ |
786 "//v8", | 788 "//v8", |
787 "//v8/include", | 789 "//v8/include", |
788 ] | 790 ] |
789 } | 791 } |
790 configs -= [ "//build/config/compiler:chromium_code" ] | 792 configs -= [ "//build/config/compiler:chromium_code" ] |
791 configs += [ | 793 configs += [ |
792 ":pdfium_config", | 794 ":pdfium_config", |
793 "//build/config/compiler:no_chromium_code", | 795 "//build/config/compiler:no_chromium_code", |
794 ] | 796 ] |
795 } | 797 } |
OLD | NEW |