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 test("pdfium_unittests") { | |
796 sources = [ | |
797 "testing/fx_string_testhelpers.h", | |
798 "testing/fx_string_testhelpers.cpp", | |
799 "core/src/fxcrt/fx_basic_bstring_unittest.cpp", | |
Lei Zhang
2015/01/09 21:44:41
nit: alphabetical order
| |
800 ] | |
801 deps = [ | |
802 "//testing/gtest", | |
803 "//testing/gtest:gtest_main", | |
804 ":pdfium" | |
805 ] | |
806 include_dirs = [ "." ] | |
807 configs -= [ "//build/config/compiler:chromium_code" ] | |
808 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | |
809 } | |
OLD | NEW |