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 860 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
871 } | 871 } |
872 | 872 |
873 test("pdfium_embeddertests") { | 873 test("pdfium_embeddertests") { |
874 sources = [ | 874 sources = [ |
875 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp", | 875 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp", |
876 "core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp", | 876 "core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp", |
877 "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp", | 877 "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp", |
878 "fpdfsdk/src/fpdfdoc_embeddertest.cpp", | 878 "fpdfsdk/src/fpdfdoc_embeddertest.cpp", |
879 "fpdfsdk/src/fpdfformfill_embeddertest.cpp", | 879 "fpdfsdk/src/fpdfformfill_embeddertest.cpp", |
880 "fpdfsdk/src/fpdftext_embeddertest.cpp", | 880 "fpdfsdk/src/fpdftext_embeddertest.cpp", |
| 881 "fpdfsdk/src/fpdfview_c_api_test.c", |
| 882 "fpdfsdk/src/fpdfview_c_api_test.h", |
881 "fpdfsdk/src/fpdfview_embeddertest.cpp", | 883 "fpdfsdk/src/fpdfview_embeddertest.cpp", |
882 "testing/embedder_test.cpp", | 884 "testing/embedder_test.cpp", |
883 "testing/embedder_test.h", | 885 "testing/embedder_test.h", |
884 "testing/embedder_test_mock_delegate.h", | 886 "testing/embedder_test_mock_delegate.h", |
885 "testing/fx_string_testhelpers.cpp", | 887 "testing/fx_string_testhelpers.cpp", |
886 "testing/fx_string_testhelpers.h", | 888 "testing/fx_string_testhelpers.h", |
887 ] | 889 ] |
888 deps = [ | 890 deps = [ |
889 "//testing/gmock", | 891 "//testing/gmock", |
890 "//testing/gtest", | 892 "//testing/gtest", |
891 ":pdfium", | 893 ":pdfium", |
892 ] | 894 ] |
893 include_dirs = [ "." ] | 895 include_dirs = [ "." ] |
894 configs -= [ "//build/config/compiler:chromium_code" ] | 896 configs -= [ "//build/config/compiler:chromium_code" ] |
895 configs += [ | 897 configs += [ |
896 ":pdfium_config", | 898 ":pdfium_config", |
897 "//build/config/compiler:no_chromium_code", | 899 "//build/config/compiler:no_chromium_code", |
898 ] | 900 ] |
899 } | 901 } |
OLD | NEW |