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 = [ | 10 include_dirs = [ |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
146 } | 146 } |
147 } | 147 } |
148 | 148 |
149 source_set("test_support") { | 149 source_set("test_support") { |
150 testonly = true | 150 testonly = true |
151 sources = [ | 151 sources = [ |
152 "testing/fx_string_testhelpers.cpp", | 152 "testing/fx_string_testhelpers.cpp", |
153 "testing/fx_string_testhelpers.h", | 153 "testing/fx_string_testhelpers.h", |
154 "testing/test_support.cpp", | 154 "testing/test_support.cpp", |
155 "testing/test_support.h", | 155 "testing/test_support.h", |
156 "testing/utils/path_service.cpp", | 156 'testing/utils/path_service.cpp', |
Lei Zhang
2015/11/12 23:42:22
This is a bad merge, and now the PDFium DEPS roll
| |
157 ] | 157 ] |
158 deps = [ | 158 deps = [ |
159 "//testing/gmock", | 159 "//testing/gmock", |
160 "//testing/gtest", | 160 "//testing/gtest", |
161 ":pdfium", | 161 ":pdfium", |
162 ] | 162 ] |
163 include_dirs = [] | 163 include_dirs = [] |
164 if (pdf_enable_v8) { | 164 if (pdf_enable_v8) { |
165 deps += [ | 165 deps += [ |
166 "//v8", | 166 "//v8", |
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
741 ":test_support", | 741 ":test_support", |
742 ] | 742 ] |
743 configs += [ ":pdfium_config" ] | 743 configs += [ ":pdfium_config" ] |
744 } | 744 } |
745 | 745 |
746 test("pdfium_embeddertests") { | 746 test("pdfium_embeddertests") { |
747 sources = [ | 747 sources = [ |
748 "core/src/fpdfapi/fpdf_page/fpdf_page_func_embeddertest.cpp", | 748 "core/src/fpdfapi/fpdf_page/fpdf_page_func_embeddertest.cpp", |
749 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp", | 749 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp", |
750 "core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp", | 750 "core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp", |
751 "core/src/fpdfapi/fpdf_render/fpdf_render_load_image_embeddertest.cpp", | |
751 "core/src/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp", | 752 "core/src/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp", |
752 "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp", | 753 "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp", |
753 "fpdfsdk/src/fpdfdoc_embeddertest.cpp", | 754 "fpdfsdk/src/fpdfdoc_embeddertest.cpp", |
754 "fpdfsdk/src/fpdfformfill_embeddertest.cpp", | 755 "fpdfsdk/src/fpdfformfill_embeddertest.cpp", |
755 "fpdfsdk/src/fpdftext_embeddertest.cpp", | 756 "fpdfsdk/src/fpdftext_embeddertest.cpp", |
756 "fpdfsdk/src/fpdfview_c_api_test.c", | 757 "fpdfsdk/src/fpdfview_c_api_test.c", |
757 "fpdfsdk/src/fpdfview_c_api_test.h", | 758 "fpdfsdk/src/fpdfview_c_api_test.h", |
758 "fpdfsdk/src/fpdfview_embeddertest.cpp", | 759 "fpdfsdk/src/fpdfview_embeddertest.cpp", |
759 "testing/embedder_test.cpp", | 760 "testing/embedder_test.cpp", |
760 "testing/embedder_test.h", | 761 "testing/embedder_test.h", |
(...skipping 13 matching lines...) Expand all Loading... | |
774 "//v8", | 775 "//v8", |
775 "//v8:v8_libplatform", | 776 "//v8:v8_libplatform", |
776 ] | 777 ] |
777 include_dirs += [ | 778 include_dirs += [ |
778 "//v8", | 779 "//v8", |
779 "//v8/include", | 780 "//v8/include", |
780 ] | 781 ] |
781 } | 782 } |
782 configs += [ ":pdfium_config" ] | 783 configs += [ ":pdfium_config" ] |
783 } | 784 } |
OLD | NEW |