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 714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
725 "//build/config/compiler:no_chromium_code", | 725 "//build/config/compiler:no_chromium_code", |
726 ] | 726 ] |
727 } | 727 } |
728 | 728 |
729 test("pdfium_unittests") { | 729 test("pdfium_unittests") { |
730 sources = [ | 730 sources = [ |
731 "core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp", | 731 "core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp", |
732 "core/src/fxcrt/fx_basic_bstring_unittest.cpp", | 732 "core/src/fxcrt/fx_basic_bstring_unittest.cpp", |
733 "core/src/fxcrt/fx_basic_memmgr_unittest.cpp", | 733 "core/src/fxcrt/fx_basic_memmgr_unittest.cpp", |
734 "core/src/fxcrt/fx_basic_wstring_unittest.cpp", | 734 "core/src/fxcrt/fx_basic_wstring_unittest.cpp", |
| 735 "core/src/fxcrt/fx_system_unittest.cpp", |
735 "testing/fx_string_testhelpers.cpp", | 736 "testing/fx_string_testhelpers.cpp", |
736 "testing/fx_string_testhelpers.h", | 737 "testing/fx_string_testhelpers.h", |
737 ] | 738 ] |
738 deps = [ | 739 deps = [ |
739 "//testing/gtest", | 740 "//testing/gtest", |
740 "//testing/gtest:gtest_main", | 741 "//testing/gtest:gtest_main", |
741 ":pdfium", | 742 ":pdfium", |
742 ] | 743 ] |
743 include_dirs = [ "." ] | 744 include_dirs = [ "." ] |
744 configs -= [ "//build/config/compiler:chromium_code" ] | 745 configs -= [ "//build/config/compiler:chromium_code" ] |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
776 "//v8", | 777 "//v8", |
777 "//v8/include", | 778 "//v8/include", |
778 "." | 779 "." |
779 ] | 780 ] |
780 configs -= [ "//build/config/compiler:chromium_code" ] | 781 configs -= [ "//build/config/compiler:chromium_code" ] |
781 configs += [ | 782 configs += [ |
782 ":pdfium_config", | 783 ":pdfium_config", |
783 "//build/config/compiler:no_chromium_code", | 784 "//build/config/compiler:no_chromium_code", |
784 ] | 785 ] |
785 } | 786 } |
OLD | NEW |