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 ":freetype", |
9 ":safemath", | 9 ":safemath", |
10 ] | 10 ] |
(...skipping 18 matching lines...) Expand all Loading... |
29 "bigint/BigUnsignedInABase.cc", | 29 "bigint/BigUnsignedInABase.cc", |
30 ] | 30 ] |
31 } | 31 } |
32 | 32 |
33 static_library("freetype") { | 33 static_library("freetype") { |
34 configs -= [ "//build/config/compiler:chromium_code" ] | 34 configs -= [ "//build/config/compiler:chromium_code" ] |
35 configs += [ | 35 configs += [ |
36 "//third_party/pdfium:pdfium_config", | 36 "//third_party/pdfium:pdfium_config", |
37 "//build/config/compiler:no_chromium_code", | 37 "//build/config/compiler:no_chromium_code", |
38 ] | 38 ] |
| 39 defines = [ "FT2_BUILD_LIBRARY" ] |
39 sources = [ | 40 sources = [ |
40 "freetype/include/freetype.h", | 41 "freetype/include/freetype.h", |
41 "freetype/include/ft2build.h", | 42 "freetype/include/ft2build.h", |
42 "freetype/include/ftmm.h", | 43 "freetype/include/ftmm.h", |
43 "freetype/include/ftotval.h", | 44 "freetype/include/ftotval.h", |
44 "freetype/include/ftoutln.h", | 45 "freetype/include/ftoutln.h", |
45 "freetype/include/tttables.h", | 46 "freetype/include/tttables.h", |
46 "freetype/include/internal/ftobjs.h", | 47 "freetype/include/internal/ftobjs.h", |
47 "freetype/include/internal/ftstream.h", | 48 "freetype/include/internal/ftstream.h", |
48 "freetype/include/internal/tttypes.h", | 49 "freetype/include/internal/tttypes.h", |
(...skipping 29 matching lines...) Expand all Loading... |
78 "logging.h", | 79 "logging.h", |
79 "macros.h", | 80 "macros.h", |
80 "template_util.h", | 81 "template_util.h", |
81 "numerics/safe_conversions.h", | 82 "numerics/safe_conversions.h", |
82 "numerics/safe_conversions_impl.h", | 83 "numerics/safe_conversions_impl.h", |
83 "numerics/safe_math.h", | 84 "numerics/safe_math.h", |
84 "numerics/safe_math_impl.h", | 85 "numerics/safe_math_impl.h", |
85 ] | 86 ] |
86 } | 87 } |
87 | 88 |
OLD | NEW |