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 1556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1567 ] | 1567 ] |
1568 include_dirs = [ "." ] | 1568 include_dirs = [ "." ] |
1569 configs -= [ "//build/config/compiler:chromium_code" ] | 1569 configs -= [ "//build/config/compiler:chromium_code" ] |
1570 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 1570 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
1571 } | 1571 } |
1572 | 1572 |
1573 test("pdfium_embeddertests") { | 1573 test("pdfium_embeddertests") { |
1574 sources = [ | 1574 sources = [ |
1575 "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp", | 1575 "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp", |
1576 "fpdfsdk/src/fpdfdoc_embeddertest.cpp", | 1576 "fpdfsdk/src/fpdfdoc_embeddertest.cpp", |
| 1577 "fpdfsdk/src/fpdfformfill_embeddertest.cpp", |
1577 "fpdfsdk/src/fpdftext_embeddertest.cpp", | 1578 "fpdfsdk/src/fpdftext_embeddertest.cpp", |
1578 "fpdfsdk/src/fpdfview_embeddertest.cpp", | 1579 "fpdfsdk/src/fpdfview_embeddertest.cpp", |
1579 "testing/embedder_test.cpp", | 1580 "testing/embedder_test.cpp", |
1580 "testing/embedder_test.h", | 1581 "testing/embedder_test.h", |
| 1582 "testing/embedder_test_mock_delegate.h", |
1581 "testing/fx_string_testhelpers.cpp", | 1583 "testing/fx_string_testhelpers.cpp", |
1582 "testing/fx_string_testhelpers.h", | 1584 "testing/fx_string_testhelpers.h", |
1583 ] | 1585 ] |
1584 deps = [ | 1586 deps = [ |
| 1587 "//testing/gmock", |
1585 "//testing/gtest", | 1588 "//testing/gtest", |
1586 ":pdfium" | 1589 ":pdfium" |
1587 ] | 1590 ] |
1588 include_dirs = [ "." ] | 1591 include_dirs = [ "." ] |
1589 configs -= [ "//build/config/compiler:chromium_code" ] | 1592 configs -= [ "//build/config/compiler:chromium_code" ] |
1590 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 1593 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
1591 } | 1594 } |
OLD | NEW |