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 1535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1550 ] | 1552 ] |
1551 deps = [ | 1553 deps = [ |
1552 "//testing/gtest", | 1554 "//testing/gtest", |
1553 "//testing/gtest:gtest_main", | 1555 "//testing/gtest:gtest_main", |
1554 ":pdfium" | 1556 ":pdfium" |
1555 ] | 1557 ] |
1556 include_dirs = [ "." ] | 1558 include_dirs = [ "." ] |
1557 configs -= [ "//build/config/compiler:chromium_code" ] | 1559 configs -= [ "//build/config/compiler:chromium_code" ] |
1558 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 1560 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
1559 } | 1561 } |
OLD | NEW |