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 import("pdfium.gni") | 6 import("pdfium.gni") |
7 | 7 |
8 config("pdfium_config") { | 8 config("pdfium_config") { |
9 cflags = [] | 9 cflags = [] |
10 include_dirs = [ "third_party/freetype/include" ] | 10 include_dirs = [ |
| 11 "third_party/freetype/include", |
| 12 "third_party/freetype/include/freetype", |
| 13 ] |
11 defines = [ | 14 defines = [ |
12 "OPJ_STATIC", | 15 "OPJ_STATIC", |
13 "PNG_PREFIX", | 16 "PNG_PREFIX", |
14 "PNGPREFIX_H", | 17 "PNGPREFIX_H", |
15 "PNG_USE_READ_MACROS", | 18 "PNG_USE_READ_MACROS", |
16 "V8_DEPRECATION_WARNINGS", | 19 "V8_DEPRECATION_WARNINGS", |
17 "_CRT_SECURE_NO_WARNINGS", | 20 "_CRT_SECURE_NO_WARNINGS", |
18 ] | 21 ] |
19 | 22 |
20 if (pdf_use_skia) { | 23 if (pdf_use_skia) { |
(...skipping 1521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1542 "//v8", | 1545 "//v8", |
1543 "//v8/include", | 1546 "//v8/include", |
1544 ] | 1547 ] |
1545 } | 1548 } |
1546 configs -= [ "//build/config/compiler:chromium_code" ] | 1549 configs -= [ "//build/config/compiler:chromium_code" ] |
1547 configs += [ | 1550 configs += [ |
1548 ":pdfium_config", | 1551 ":pdfium_config", |
1549 "//build/config/compiler:no_chromium_code", | 1552 "//build/config/compiler:no_chromium_code", |
1550 ] | 1553 ] |
1551 } | 1554 } |
OLD | NEW |