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 835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
846 configs += [ | 846 configs += [ |
847 ":pdfium_config", | 847 ":pdfium_config", |
848 "//build/config/compiler:no_chromium_code", | 848 "//build/config/compiler:no_chromium_code", |
849 ] | 849 ] |
850 } | 850 } |
851 | 851 |
852 test("pdfium_unittests") { | 852 test("pdfium_unittests") { |
853 sources = [ | 853 sources = [ |
854 "core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp", | 854 "core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp", |
855 "core/src/fxcrt/fx_basic_bstring_unittest.cpp", | 855 "core/src/fxcrt/fx_basic_bstring_unittest.cpp", |
| 856 "core/src/fxcrt/fx_basic_memmgr_unittest.cpp", |
856 "core/src/fxcrt/fx_basic_wstring_unittest.cpp", | 857 "core/src/fxcrt/fx_basic_wstring_unittest.cpp", |
857 "testing/fx_string_testhelpers.cpp", | 858 "testing/fx_string_testhelpers.cpp", |
858 "testing/fx_string_testhelpers.h", | 859 "testing/fx_string_testhelpers.h", |
859 ] | 860 ] |
860 deps = [ | 861 deps = [ |
861 "//testing/gtest", | 862 "//testing/gtest", |
862 "//testing/gtest:gtest_main", | 863 "//testing/gtest:gtest_main", |
863 ":pdfium", | 864 ":pdfium", |
864 ] | 865 ] |
865 include_dirs = [ "." ] | 866 include_dirs = [ "." ] |
(...skipping 26 matching lines...) Expand all Loading... |
892 "//testing/gtest", | 893 "//testing/gtest", |
893 ":pdfium", | 894 ":pdfium", |
894 ] | 895 ] |
895 include_dirs = [ "." ] | 896 include_dirs = [ "." ] |
896 configs -= [ "//build/config/compiler:chromium_code" ] | 897 configs -= [ "//build/config/compiler:chromium_code" ] |
897 configs += [ | 898 configs += [ |
898 ":pdfium_config", | 899 ":pdfium_config", |
899 "//build/config/compiler:no_chromium_code", | 900 "//build/config/compiler:no_chromium_code", |
900 ] | 901 ] |
901 } | 902 } |
OLD | NEW |