OLD | NEW |
1 # Copyright 2014 PDFium Authors. All rights reserved. | 1 # Copyright 2014 PDFium 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("../pdfium.gni") | 5 import("../pdfium.gni") |
6 | 6 |
7 group("third_party") { | 7 group("third_party") { |
8 deps = [ | 8 deps = [ |
9 ":bigint", | 9 ":bigint", |
10 ":fx_freetype", | 10 ":fx_freetype", |
11 ":pdfium_base", | 11 ":pdfium_base", |
12 ] | 12 ] |
13 } | 13 } |
14 | 14 |
15 config("pdfium_third_party_config") { | 15 config("pdfium_third_party_config") { |
16 configs = ["..:pdfium_common_config"] | 16 configs = [ "..:pdfium_common_config" ] |
17 } | 17 } |
18 | 18 |
19 source_set("bigint") { | 19 source_set("bigint") { |
20 configs -= [ "//build/config/compiler:chromium_code" ] | 20 configs -= [ "//build/config/compiler:chromium_code" ] |
21 configs += [ | 21 configs += [ |
22 "//build/config/compiler:no_chromium_code", | 22 "//build/config/compiler:no_chromium_code", |
23 ":pdfium_third_party_config", | 23 ":pdfium_third_party_config", |
24 ] | 24 ] |
25 sources = [ | 25 sources = [ |
26 "bigint/BigInteger.cc", | 26 "bigint/BigInteger.cc", |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 "freetype/src/cid/type1cid.c", | 81 "freetype/src/cid/type1cid.c", |
82 "freetype/src/psaux/psaux.c", | 82 "freetype/src/psaux/psaux.c", |
83 "freetype/src/pshinter/pshinter.c", | 83 "freetype/src/pshinter/pshinter.c", |
84 "freetype/src/psnames/psmodule.c", | 84 "freetype/src/psnames/psmodule.c", |
85 "freetype/src/raster/raster.c", | 85 "freetype/src/raster/raster.c", |
86 "freetype/src/sfnt/sfnt.c", | 86 "freetype/src/sfnt/sfnt.c", |
87 "freetype/src/smooth/smooth.c", | 87 "freetype/src/smooth/smooth.c", |
88 "freetype/src/truetype/truetype.c", | 88 "freetype/src/truetype/truetype.c", |
89 "freetype/src/type1/type1.c", | 89 "freetype/src/type1/type1.c", |
90 ] | 90 ] |
| 91 if (pdf_use_skia) { |
| 92 sources += [ |
| 93 "freetype/src/base/ftfntfmt.c", |
| 94 "freetype/src/base/ftfstype.c", |
| 95 "freetype/src/base/fttype1.c", |
| 96 ] |
| 97 } |
91 } | 98 } |
92 | 99 |
93 if (!pdf_use_skia) { | 100 if (!pdf_use_skia) { |
94 config("fx_agg_warnings") { | 101 config("fx_agg_warnings") { |
95 visibility = [ ":*" ] | 102 visibility = [ ":*" ] |
96 if (is_clang) { | 103 if (is_clang) { |
97 # calc_butt_cap() in agg_vcgen_stroke.cpp is unused. | 104 # calc_butt_cap() in agg_vcgen_stroke.cpp is unused. |
98 cflags = [ "-Wno-unused-function" ] | 105 cflags = [ "-Wno-unused-function" ] |
99 } | 106 } |
100 } | 107 } |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
435 sources = [ | 442 sources = [ |
436 "base/logging.h", | 443 "base/logging.h", |
437 "base/macros.h", | 444 "base/macros.h", |
438 "base/numerics/safe_conversions.h", | 445 "base/numerics/safe_conversions.h", |
439 "base/numerics/safe_conversions_impl.h", | 446 "base/numerics/safe_conversions_impl.h", |
440 "base/numerics/safe_math.h", | 447 "base/numerics/safe_math.h", |
441 "base/numerics/safe_math_impl.h", | 448 "base/numerics/safe_math_impl.h", |
442 "base/stl_util.h", | 449 "base/stl_util.h", |
443 ] | 450 ] |
444 } | 451 } |
OLD | NEW |