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 738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
749 include_dirs = [ "." ] | 749 include_dirs = [ "." ] |
750 configs -= [ "//build/config/compiler:chromium_code" ] | 750 configs -= [ "//build/config/compiler:chromium_code" ] |
751 configs += [ | 751 configs += [ |
752 ":pdfium_config", | 752 ":pdfium_config", |
753 "//build/config/compiler:no_chromium_code", | 753 "//build/config/compiler:no_chromium_code", |
754 ] | 754 ] |
755 } | 755 } |
756 | 756 |
757 test("pdfium_embeddertests") { | 757 test("pdfium_embeddertests") { |
758 sources = [ | 758 sources = [ |
| 759 "core/src/fpdfapi/fpdf_page/fpdf_page_func_embeddertest.cpp", |
759 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp", | 760 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp", |
760 "core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp", | 761 "core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp", |
761 "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp", | 762 "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp", |
762 "fpdfsdk/src/fpdfdoc_embeddertest.cpp", | 763 "fpdfsdk/src/fpdfdoc_embeddertest.cpp", |
763 "fpdfsdk/src/fpdfformfill_embeddertest.cpp", | 764 "fpdfsdk/src/fpdfformfill_embeddertest.cpp", |
764 "fpdfsdk/src/fpdftext_embeddertest.cpp", | 765 "fpdfsdk/src/fpdftext_embeddertest.cpp", |
765 "fpdfsdk/src/fpdfview_c_api_test.c", | 766 "fpdfsdk/src/fpdfview_c_api_test.c", |
766 "fpdfsdk/src/fpdfview_c_api_test.h", | 767 "fpdfsdk/src/fpdfview_c_api_test.h", |
767 "fpdfsdk/src/fpdfview_embeddertest.cpp", | 768 "fpdfsdk/src/fpdfview_embeddertest.cpp", |
768 "testing/embedder_test.cpp", | 769 "testing/embedder_test.cpp", |
(...skipping 13 matching lines...) Expand all Loading... |
782 "//v8", | 783 "//v8", |
783 "//v8/include", | 784 "//v8/include", |
784 "." | 785 "." |
785 ] | 786 ] |
786 configs -= [ "//build/config/compiler:chromium_code" ] | 787 configs -= [ "//build/config/compiler:chromium_code" ] |
787 configs += [ | 788 configs += [ |
788 ":pdfium_config", | 789 ":pdfium_config", |
789 "//build/config/compiler:no_chromium_code", | 790 "//build/config/compiler:no_chromium_code", |
790 ] | 791 ] |
791 } | 792 } |
OLD | NEW |