| 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 828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 839 configs -= [ "//build/config/compiler:chromium_code" ] | 839 configs -= [ "//build/config/compiler:chromium_code" ] |
| 840 configs += [ | 840 configs += [ |
| 841 ":pdfium_config", | 841 ":pdfium_config", |
| 842 "//build/config/compiler:no_chromium_code", | 842 "//build/config/compiler:no_chromium_code", |
| 843 ] | 843 ] |
| 844 } | 844 } |
| 845 | 845 |
| 846 test("pdfium_unittests") { | 846 test("pdfium_unittests") { |
| 847 sources = [ | 847 sources = [ |
| 848 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_unittest.cpp", | 848 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_unittest.cpp", |
| 849 "core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp", |
| 849 "core/src/fxcrt/fx_basic_bstring_unittest.cpp", | 850 "core/src/fxcrt/fx_basic_bstring_unittest.cpp", |
| 850 "core/src/fxcrt/fx_basic_wstring_unittest.cpp", | 851 "core/src/fxcrt/fx_basic_wstring_unittest.cpp", |
| 851 "testing/fx_string_testhelpers.cpp", | 852 "testing/fx_string_testhelpers.cpp", |
| 852 "testing/fx_string_testhelpers.h", | 853 "testing/fx_string_testhelpers.h", |
| 853 ] | 854 ] |
| 854 deps = [ | 855 deps = [ |
| 855 "//testing/gtest", | 856 "//testing/gtest", |
| 856 "//testing/gtest:gtest_main", | 857 "//testing/gtest:gtest_main", |
| 857 ":pdfium", | 858 ":pdfium", |
| 858 ] | 859 ] |
| (...skipping 23 matching lines...) Expand all Loading... |
| 882 "//testing/gtest", | 883 "//testing/gtest", |
| 883 ":pdfium", | 884 ":pdfium", |
| 884 ] | 885 ] |
| 885 include_dirs = [ "." ] | 886 include_dirs = [ "." ] |
| 886 configs -= [ "//build/config/compiler:chromium_code" ] | 887 configs -= [ "//build/config/compiler:chromium_code" ] |
| 887 configs += [ | 888 configs += [ |
| 888 ":pdfium_config", | 889 ":pdfium_config", |
| 889 "//build/config/compiler:no_chromium_code", | 890 "//build/config/compiler:no_chromium_code", |
| 890 ] | 891 ] |
| 891 } | 892 } |
| OLD | NEW |