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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 } | 158 } |
159 } | 159 } |
160 | 160 |
161 source_set("test_support") { | 161 source_set("test_support") { |
162 testonly = true | 162 testonly = true |
163 sources = [ | 163 sources = [ |
164 "testing/fx_string_testhelpers.cpp", | 164 "testing/fx_string_testhelpers.cpp", |
165 "testing/fx_string_testhelpers.h", | 165 "testing/fx_string_testhelpers.h", |
166 "testing/test_support.cpp", | 166 "testing/test_support.cpp", |
167 "testing/test_support.h", | 167 "testing/test_support.h", |
168 "testing/utils/path_service.cpp", | 168 'testing/utils/path_service.cpp', |
169 ] | 169 ] |
170 deps = [ | 170 deps = [ |
171 "//testing/gmock", | 171 "//testing/gmock", |
172 "//testing/gtest", | 172 "//testing/gtest", |
173 ":pdfium", | 173 ":pdfium", |
174 ] | 174 ] |
175 include_dirs = [] | 175 include_dirs = [] |
176 if (pdf_enable_v8) { | 176 if (pdf_enable_v8) { |
177 deps += [ | 177 deps += [ |
178 "//v8", | 178 "//v8", |
(...skipping 1290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1469 ":test_support", | 1469 ":test_support", |
1470 ] | 1470 ] |
1471 configs += [ ":pdfium_config" ] | 1471 configs += [ ":pdfium_config" ] |
1472 } | 1472 } |
1473 | 1473 |
1474 test("pdfium_embeddertests") { | 1474 test("pdfium_embeddertests") { |
1475 sources = [ | 1475 sources = [ |
1476 "core/src/fpdfapi/fpdf_page/fpdf_page_func_embeddertest.cpp", | 1476 "core/src/fpdfapi/fpdf_page/fpdf_page_func_embeddertest.cpp", |
1477 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp", | 1477 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp", |
1478 "core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp", | 1478 "core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp", |
| 1479 "core/src/fpdfapi/fpdf_render/fpdf_render_load_image_embeddertest.cpp", |
1479 "core/src/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp", | 1480 "core/src/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp", |
1480 "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp", | 1481 "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp", |
1481 "fpdfsdk/src/fpdfdoc_embeddertest.cpp", | 1482 "fpdfsdk/src/fpdfdoc_embeddertest.cpp", |
1482 "fpdfsdk/src/fpdfformfill_embeddertest.cpp", | 1483 "fpdfsdk/src/fpdfformfill_embeddertest.cpp", |
1483 "fpdfsdk/src/fpdftext_embeddertest.cpp", | 1484 "fpdfsdk/src/fpdftext_embeddertest.cpp", |
1484 "fpdfsdk/src/fpdfview_c_api_test.c", | 1485 "fpdfsdk/src/fpdfview_c_api_test.c", |
1485 "fpdfsdk/src/fpdfview_c_api_test.h", | 1486 "fpdfsdk/src/fpdfview_c_api_test.h", |
1486 "fpdfsdk/src/fpdfview_embeddertest.cpp", | 1487 "fpdfsdk/src/fpdfview_embeddertest.cpp", |
1487 "testing/embedder_test.cpp", | 1488 "testing/embedder_test.cpp", |
1488 "testing/embedder_test.h", | 1489 "testing/embedder_test.h", |
(...skipping 14 matching lines...) Expand all Loading... |
1503 "//v8", | 1504 "//v8", |
1504 "//v8:v8_libplatform", | 1505 "//v8:v8_libplatform", |
1505 ] | 1506 ] |
1506 include_dirs += [ | 1507 include_dirs += [ |
1507 "//v8", | 1508 "//v8", |
1508 "//v8/include", | 1509 "//v8/include", |
1509 ] | 1510 ] |
1510 } | 1511 } |
1511 configs += [ ":pdfium_config" ] | 1512 configs += [ ":pdfium_config" ] |
1512 } | 1513 } |
OLD | NEW |