| 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 config("pdfium_config") { | 9 config("pdfium_config") { |
| 10 cflags = [] | 10 cflags = [] |
| (...skipping 779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 790 "fpdfsdk/src/formfiller/FFL_TextField.cpp", | 790 "fpdfsdk/src/formfiller/FFL_TextField.cpp", |
| 791 "fpdfsdk/src/formfiller/FFL_Utils.cpp", | 791 "fpdfsdk/src/formfiller/FFL_Utils.cpp", |
| 792 ] | 792 ] |
| 793 configs -= [ "//build/config/compiler:chromium_code" ] | 793 configs -= [ "//build/config/compiler:chromium_code" ] |
| 794 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 794 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
| 795 } | 795 } |
| 796 | 796 |
| 797 test("pdfium_unittests") { | 797 test("pdfium_unittests") { |
| 798 sources = [ | 798 sources = [ |
| 799 "core/src/fxcrt/fx_basic_bstring_unittest.cpp", | 799 "core/src/fxcrt/fx_basic_bstring_unittest.cpp", |
| 800 "core/src/fxcrt/fx_basic_wstring_unittest.cpp", |
| 800 "testing/fx_string_testhelpers.cpp", | 801 "testing/fx_string_testhelpers.cpp", |
| 801 "testing/fx_string_testhelpers.h", | 802 "testing/fx_string_testhelpers.h", |
| 802 ] | 803 ] |
| 803 deps = [ | 804 deps = [ |
| 804 "//testing/gtest", | 805 "//testing/gtest", |
| 805 "//testing/gtest:gtest_main", | 806 "//testing/gtest:gtest_main", |
| 806 ":pdfium" | 807 ":pdfium" |
| 807 ] | 808 ] |
| 808 include_dirs = [ "." ] | 809 include_dirs = [ "." ] |
| 809 configs -= [ "//build/config/compiler:chromium_code" ] | 810 configs -= [ "//build/config/compiler:chromium_code" ] |
| 810 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 811 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
| 811 } | 812 } |
| OLD | NEW |