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") |
| 6 |
5 pdf_use_skia = false | 7 pdf_use_skia = false |
6 | 8 |
7 config("pdfium_config") { | 9 config("pdfium_config") { |
8 cflags = [] | 10 cflags = [] |
9 include_dirs = [ | 11 include_dirs = [ |
10 "third_party/freetype/include" | 12 "third_party/freetype/include" |
11 ] | 13 ] |
12 defines = [ | 14 defines = [ |
13 "FT2_BUILD_LIBRARY", | 15 "FT2_BUILD_LIBRARY", |
14 "_FPDFSDK_LIB", | 16 "_FPDFSDK_LIB", |
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
800 ] | 802 ] |
801 deps = [ | 803 deps = [ |
802 "//testing/gtest", | 804 "//testing/gtest", |
803 "//testing/gtest:gtest_main", | 805 "//testing/gtest:gtest_main", |
804 ":pdfium" | 806 ":pdfium" |
805 ] | 807 ] |
806 include_dirs = [ "." ] | 808 include_dirs = [ "." ] |
807 configs -= [ "//build/config/compiler:chromium_code" ] | 809 configs -= [ "//build/config/compiler:chromium_code" ] |
808 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 810 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
809 } | 811 } |
OLD | NEW |