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 pdf_use_skia = false | 5 pdf_use_skia = false |
6 | 6 |
7 config("pdfium_config") { | 7 config("pdfium_config") { |
8 cflags = [] | 8 cflags = [] |
9 include_dirs = [ | 9 include_dirs = [ |
10 "third_party/freetype/include" | 10 "third_party/freetype/include" |
(...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
784 "fpdfsdk/src/formfiller/FFL_ListBox.cpp", | 784 "fpdfsdk/src/formfiller/FFL_ListBox.cpp", |
785 "fpdfsdk/src/formfiller/FFL_Notify.cpp", | 785 "fpdfsdk/src/formfiller/FFL_Notify.cpp", |
786 "fpdfsdk/src/formfiller/FFL_PushButton.cpp", | 786 "fpdfsdk/src/formfiller/FFL_PushButton.cpp", |
787 "fpdfsdk/src/formfiller/FFL_RadioButton.cpp", | 787 "fpdfsdk/src/formfiller/FFL_RadioButton.cpp", |
788 "fpdfsdk/src/formfiller/FFL_TextField.cpp", | 788 "fpdfsdk/src/formfiller/FFL_TextField.cpp", |
789 "fpdfsdk/src/formfiller/FFL_Utils.cpp", | 789 "fpdfsdk/src/formfiller/FFL_Utils.cpp", |
790 ] | 790 ] |
791 configs -= [ "//build/config/compiler:chromium_code" ] | 791 configs -= [ "//build/config/compiler:chromium_code" ] |
792 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 792 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
793 } | 793 } |
| 794 |
| 795 executable("pdfium_unittests") { |
| 796 testonly = true |
| 797 sources = [ |
| 798 "core/src/fxcrt/fx_basic_bstring_unittest.cpp", |
| 799 ] |
| 800 deps = [ |
| 801 ":pdfium", |
| 802 "//base", |
| 803 "//base/test:run_all_unittests", |
| 804 "//testing/gtest", |
| 805 ] |
| 806 } |
OLD | NEW |