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 | 6 |
7 pdf_use_skia = false | 7 pdf_use_skia = false |
8 | 8 |
9 declare_args() { | 9 declare_args() { |
10 # On Android there's no system FreeType. On Windows and Mac, only a few | 10 # On Android there's no system FreeType. On Windows and Mac, only a few |
(...skipping 1561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1572 } | 1572 } |
1573 | 1573 |
1574 test("pdfium_embeddertests") { | 1574 test("pdfium_embeddertests") { |
1575 sources = [ | 1575 sources = [ |
1576 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp", | 1576 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp", |
1577 "core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp", | 1577 "core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp", |
1578 "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp", | 1578 "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp", |
1579 "fpdfsdk/src/fpdfdoc_embeddertest.cpp", | 1579 "fpdfsdk/src/fpdfdoc_embeddertest.cpp", |
1580 "fpdfsdk/src/fpdfformfill_embeddertest.cpp", | 1580 "fpdfsdk/src/fpdfformfill_embeddertest.cpp", |
1581 "fpdfsdk/src/fpdftext_embeddertest.cpp", | 1581 "fpdfsdk/src/fpdftext_embeddertest.cpp", |
| 1582 "fpdfsdk/src/fpdfview_c_api_test.c", |
| 1583 "fpdfsdk/src/fpdfview_c_api_test.h", |
1582 "fpdfsdk/src/fpdfview_embeddertest.cpp", | 1584 "fpdfsdk/src/fpdfview_embeddertest.cpp", |
1583 "testing/embedder_test.cpp", | 1585 "testing/embedder_test.cpp", |
1584 "testing/embedder_test.h", | 1586 "testing/embedder_test.h", |
1585 "testing/embedder_test_mock_delegate.h", | 1587 "testing/embedder_test_mock_delegate.h", |
1586 "testing/fx_string_testhelpers.cpp", | 1588 "testing/fx_string_testhelpers.cpp", |
1587 "testing/fx_string_testhelpers.h", | 1589 "testing/fx_string_testhelpers.h", |
1588 ] | 1590 ] |
1589 deps = [ | 1591 deps = [ |
1590 "//testing/gmock", | 1592 "//testing/gmock", |
1591 "//testing/gtest", | 1593 "//testing/gtest", |
1592 "//v8:v8_libplatform", | 1594 "//v8:v8_libplatform", |
1593 ":pdfium" | 1595 ":pdfium" |
1594 ] | 1596 ] |
1595 include_dirs = [ | 1597 include_dirs = [ |
1596 ".", | 1598 ".", |
1597 "//v8", | 1599 "//v8", |
1598 "//v8/include", | 1600 "//v8/include", |
1599 ] | 1601 ] |
1600 configs -= [ "//build/config/compiler:chromium_code" ] | 1602 configs -= [ "//build/config/compiler:chromium_code" ] |
1601 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 1603 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
1602 } | 1604 } |
OLD | NEW |