Chromium Code Reviews| 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 802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 813 ] | 813 ] |
| 814 include_dirs = [ "." ] | 814 include_dirs = [ "." ] |
| 815 configs -= [ "//build/config/compiler:chromium_code" ] | 815 configs -= [ "//build/config/compiler:chromium_code" ] |
| 816 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 816 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
| 817 } | 817 } |
| 818 | 818 |
| 819 test("pdfium_embeddertests") { | 819 test("pdfium_embeddertests") { |
| 820 sources = [ | 820 sources = [ |
| 821 "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp", | 821 "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp", |
| 822 "fpdfsdk/src/fpdfdoc_embeddertest.cpp", | 822 "fpdfsdk/src/fpdfdoc_embeddertest.cpp", |
| 823 "fpdfsdk/src/fpdfformfill_embeddertest.cpp", | |
| 823 "fpdfsdk/src/fpdftext_embeddertest.cpp", | 824 "fpdfsdk/src/fpdftext_embeddertest.cpp", |
| 824 "fpdfsdk/src/fpdfview_embeddertest.cpp", | 825 "fpdfsdk/src/fpdfview_embeddertest.cpp", |
| 825 "testing/embedder_test.cpp", | 826 "testing/embedder_test.cpp", |
| 826 "testing/embedder_test.h", | 827 "testing/embedder_test.h", |
| 828 "testing/embedder_test_mock_delegate.h", | |
| 827 "testing/fx_string_testhelpers.cpp", | 829 "testing/fx_string_testhelpers.cpp", |
| 828 "testing/fx_string_testhelpers.h", | 830 "testing/fx_string_testhelpers.h", |
| 829 ] | 831 ] |
| 830 deps = [ | 832 deps = [ |
| 831 "//testing/gtest", | 833 "//testing/gtest", |
| 834 "//testing/gmock", | |
|
Lei Zhang
2015/02/26 01:13:41
nit: gmock before gtest, ditto in pdfium.gyp
Tom Sepez
2015/02/27 18:39:20
Done.
| |
| 832 ":pdfium" | 835 ":pdfium" |
| 833 ] | 836 ] |
| 834 include_dirs = [ "." ] | 837 include_dirs = [ "." ] |
| 835 configs -= [ "//build/config/compiler:chromium_code" ] | 838 configs -= [ "//build/config/compiler:chromium_code" ] |
| 836 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 839 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
| 837 } | 840 } |
| OLD | NEW |