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 group("third_party") { | 5 group("third_party") { |
6 deps = [ | 6 deps = [ |
7 ":bigint", | 7 ":bigint", |
8 ":freetype", | 8 ":fx_freetype", |
9 ":pdfium_base", | 9 ":pdfium_base", |
10 ] | 10 ] |
11 } | 11 } |
12 | 12 |
13 source_set("bigint") { | 13 source_set("bigint") { |
14 configs -= [ "//build/config/compiler:chromium_code" ] | 14 configs -= [ "//build/config/compiler:chromium_code" ] |
15 configs += [ | 15 configs += [ |
16 "//build/config/compiler:no_chromium_code", | 16 "//build/config/compiler:no_chromium_code", |
17 "//third_party/pdfium:pdfium_config", | 17 "//third_party/pdfium:pdfium_config", |
18 ] | 18 ] |
19 sources = [ | 19 sources = [ |
20 "bigint/BigInteger.cc", | 20 "bigint/BigInteger.cc", |
21 "bigint/BigInteger.hh", | 21 "bigint/BigInteger.hh", |
22 "bigint/BigIntegerLibrary.hh", | 22 "bigint/BigIntegerLibrary.hh", |
23 "bigint/BigIntegerUtils.cc", | 23 "bigint/BigIntegerUtils.cc", |
24 "bigint/BigIntegerUtils.hh", | 24 "bigint/BigIntegerUtils.hh", |
25 "bigint/BigUnsigned.cc", | 25 "bigint/BigUnsigned.cc", |
26 "bigint/BigUnsigned.hh", | 26 "bigint/BigUnsigned.hh", |
27 "bigint/BigUnsignedInABase.cc", | 27 "bigint/BigUnsignedInABase.cc", |
28 "bigint/BigUnsignedInABase.hh", | 28 "bigint/BigUnsignedInABase.hh", |
29 "bigint/NumberlikeArray.hh", | 29 "bigint/NumberlikeArray.hh", |
30 ] | 30 ] |
31 } | 31 } |
32 | 32 |
33 source_set("freetype") { | 33 # Tests may link against this even if the production library doesn't, |
| 34 # so it needs to be separate from it. |
| 35 static_library("fx_freetype") { |
34 configs -= [ "//build/config/compiler:chromium_code" ] | 36 configs -= [ "//build/config/compiler:chromium_code" ] |
35 configs += [ | 37 configs += [ |
36 "//build/config/compiler:no_chromium_code", | 38 "//build/config/compiler:no_chromium_code", |
37 "//third_party/pdfium:pdfium_config", | 39 "//third_party/pdfium:pdfium_config", |
38 ] | 40 ] |
39 defines = [ "FT2_BUILD_LIBRARY" ] | 41 defines = [ "FT2_BUILD_LIBRARY" ] |
40 sources = [ | 42 sources = [ |
41 "freetype/include/freetype.h", | 43 "freetype/include/freetype.h", |
42 "freetype/include/ft2build.h", | 44 "freetype/include/ft2build.h", |
43 "freetype/include/ftmm.h", | 45 "freetype/include/ftmm.h", |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 "base/logging.h", | 270 "base/logging.h", |
269 "base/macros.h", | 271 "base/macros.h", |
270 "base/nonstd_unique_ptr.h", | 272 "base/nonstd_unique_ptr.h", |
271 "base/numerics/safe_conversions.h", | 273 "base/numerics/safe_conversions.h", |
272 "base/numerics/safe_conversions_impl.h", | 274 "base/numerics/safe_conversions_impl.h", |
273 "base/numerics/safe_math.h", | 275 "base/numerics/safe_math.h", |
274 "base/numerics/safe_math_impl.h", | 276 "base/numerics/safe_math_impl.h", |
275 "base/template_util.h", | 277 "base/template_util.h", |
276 ] | 278 ] |
277 } | 279 } |
OLD | NEW |