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 782 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
793 "fpdfsdk/src/formfiller/FFL_RadioButton.cpp", | 793 "fpdfsdk/src/formfiller/FFL_RadioButton.cpp", |
794 "fpdfsdk/src/formfiller/FFL_TextField.cpp", | 794 "fpdfsdk/src/formfiller/FFL_TextField.cpp", |
795 "fpdfsdk/src/formfiller/FFL_Utils.cpp", | 795 "fpdfsdk/src/formfiller/FFL_Utils.cpp", |
796 ] | 796 ] |
797 configs -= [ "//build/config/compiler:chromium_code" ] | 797 configs -= [ "//build/config/compiler:chromium_code" ] |
798 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 798 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
799 } | 799 } |
800 | 800 |
801 test("pdfium_unittests") { | 801 test("pdfium_unittests") { |
802 sources = [ | 802 sources = [ |
| 803 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_unittest.cpp", |
803 "core/src/fxcrt/fx_basic_bstring_unittest.cpp", | 804 "core/src/fxcrt/fx_basic_bstring_unittest.cpp", |
804 "core/src/fxcrt/fx_basic_wstring_unittest.cpp", | 805 "core/src/fxcrt/fx_basic_wstring_unittest.cpp", |
805 "testing/fx_string_testhelpers.cpp", | 806 "testing/fx_string_testhelpers.cpp", |
806 "testing/fx_string_testhelpers.h", | 807 "testing/fx_string_testhelpers.h", |
807 ] | 808 ] |
808 deps = [ | 809 deps = [ |
809 "//testing/gtest", | 810 "//testing/gtest", |
810 "//testing/gtest:gtest_main", | 811 "//testing/gtest:gtest_main", |
811 ":pdfium" | 812 ":pdfium" |
812 ] | 813 ] |
(...skipping 14 matching lines...) Expand all Loading... |
827 "testing/fx_string_testhelpers.h", | 828 "testing/fx_string_testhelpers.h", |
828 ] | 829 ] |
829 deps = [ | 830 deps = [ |
830 "//testing/gtest", | 831 "//testing/gtest", |
831 ":pdfium" | 832 ":pdfium" |
832 ] | 833 ] |
833 include_dirs = [ "." ] | 834 include_dirs = [ "." ] |
834 configs -= [ "//build/config/compiler:chromium_code" ] | 835 configs -= [ "//build/config/compiler:chromium_code" ] |
835 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 836 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
836 } | 837 } |
OLD | NEW |