OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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("//build_overrides/v8.gni") | 5 import("//build_overrides/v8.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 import("pdfium.gni") | 7 import("pdfium.gni") |
8 | 8 |
9 config("pdfium_config") { | 9 config("pdfium_config") { |
10 cflags = [] | 10 cflags = [] |
11 include_dirs = [ | 11 include_dirs = [ |
12 ".", | 12 ".", |
13 "third_party/freetype/include", | 13 "third_party/freetype/include", |
14 "third_party/freetype/include/freetype", | 14 "third_party/freetype/include/freetype", |
15 ] | 15 ] |
16 defines = [ | 16 defines = [ |
17 "OPJ_STATIC", | 17 "OPJ_STATIC", |
18 "PNG_PREFIX", | 18 "PNG_PREFIX", |
19 "PNGPREFIX_H", | |
20 "PNG_USE_READ_MACROS", | 19 "PNG_USE_READ_MACROS", |
21 "V8_DEPRECATION_WARNINGS", | 20 "V8_DEPRECATION_WARNINGS", |
22 "_CRT_SECURE_NO_WARNINGS", | 21 "_CRT_SECURE_NO_WARNINGS", |
23 ] | 22 ] |
24 | 23 |
25 if (pdf_use_skia) { | 24 if (pdf_use_skia) { |
26 defines += [ "_SKIA_SUPPORT_" ] | 25 defines += [ "_SKIA_SUPPORT_" ] |
27 } | 26 } |
28 | 27 |
29 if (pdf_enable_v8) { | 28 if (pdf_enable_v8) { |
(...skipping 1470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1500 "//v8:v8_libplatform", | 1499 "//v8:v8_libplatform", |
1501 ] | 1500 ] |
1502 include_dirs += [ | 1501 include_dirs += [ |
1503 "//v8", | 1502 "//v8", |
1504 "//v8/include", | 1503 "//v8/include", |
1505 ] | 1504 ] |
1506 configs += [ "//v8:external_startup_data" ] | 1505 configs += [ "//v8:external_startup_data" ] |
1507 } | 1506 } |
1508 configs += [ ":pdfium_config" ] | 1507 configs += [ ":pdfium_config" ] |
1509 } | 1508 } |
OLD | NEW |