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 ":fx_freetype", | 8 ":fx_freetype", |
9 ":pdfium_base", | 9 ":pdfium_base", |
10 ] | 10 ] |
(...skipping 28 matching lines...) Expand all Loading... |
39 } | 39 } |
40 } | 40 } |
41 | 41 |
42 # Tests may link against this even if the production library doesn't, | 42 # Tests may link against this even if the production library doesn't, |
43 # so it needs to be separate from it. | 43 # so it needs to be separate from it. |
44 static_library("fx_freetype") { | 44 static_library("fx_freetype") { |
45 configs -= [ "//build/config/compiler:chromium_code" ] | 45 configs -= [ "//build/config/compiler:chromium_code" ] |
46 configs += [ | 46 configs += [ |
47 "//build/config/compiler:no_chromium_code", | 47 "//build/config/compiler:no_chromium_code", |
48 "//third_party/pdfium:pdfium_config", | 48 "//third_party/pdfium:pdfium_config", |
| 49 # Must be after no_chromium_code for warning flags to be ordered correctly. |
49 ":fx_freetype_warnings", | 50 ":fx_freetype_warnings", |
50 ] | 51 ] |
51 defines = [ "FT2_BUILD_LIBRARY" ] | 52 defines = [ "FT2_BUILD_LIBRARY" ] |
52 sources = [ | 53 sources = [ |
53 "freetype/include/freetype.h", | 54 "freetype/include/freetype.h", |
54 "freetype/include/ft2build.h", | 55 "freetype/include/ft2build.h", |
55 "freetype/include/ftmm.h", | 56 "freetype/include/ftmm.h", |
56 "freetype/include/ftotval.h", | 57 "freetype/include/ftotval.h", |
57 "freetype/include/ftoutln.h", | 58 "freetype/include/ftoutln.h", |
58 "freetype/include/internal/ftobjs.h", | 59 "freetype/include/internal/ftobjs.h", |
(...skipping 29 matching lines...) Expand all Loading... |
88 # calc_butt_cap() in agg_vcgen_stroke.cpp is unused. | 89 # calc_butt_cap() in agg_vcgen_stroke.cpp is unused. |
89 cflags = [ "-Wno-unused-function" ] | 90 cflags = [ "-Wno-unused-function" ] |
90 } | 91 } |
91 } | 92 } |
92 | 93 |
93 source_set("fx_agg") { | 94 source_set("fx_agg") { |
94 configs -= [ "//build/config/compiler:chromium_code" ] | 95 configs -= [ "//build/config/compiler:chromium_code" ] |
95 configs += [ | 96 configs += [ |
96 "//build/config/compiler:no_chromium_code", | 97 "//build/config/compiler:no_chromium_code", |
97 "//third_party/pdfium:pdfium_config", | 98 "//third_party/pdfium:pdfium_config", |
| 99 # Must be after no_chromium_code for warning flags to be ordered correctly. |
98 ":fx_agg_warnings", | 100 ":fx_agg_warnings", |
99 ] | 101 ] |
100 sources = [ | 102 sources = [ |
101 "agg23/agg_basics.h", | 103 "agg23/agg_basics.h", |
102 "agg23/agg_clip_liang_barsky.h", | 104 "agg23/agg_clip_liang_barsky.h", |
103 "agg23/agg_conv_dash.h", | 105 "agg23/agg_conv_dash.h", |
104 "agg23/agg_conv_stroke.h", | 106 "agg23/agg_conv_stroke.h", |
105 "agg23/agg_curves.cpp", | 107 "agg23/agg_curves.cpp", |
106 "agg23/agg_curves.h", | 108 "agg23/agg_curves.h", |
107 "agg23/agg_path_storage.cpp", | 109 "agg23/agg_path_storage.cpp", |
(...skipping 19 matching lines...) Expand all Loading... |
127 "-Wno-unused-function", | 129 "-Wno-unused-function", |
128 ] | 130 ] |
129 } | 131 } |
130 } | 132 } |
131 | 133 |
132 source_set("fx_lcms2") { | 134 source_set("fx_lcms2") { |
133 configs -= [ "//build/config/compiler:chromium_code" ] | 135 configs -= [ "//build/config/compiler:chromium_code" ] |
134 configs += [ | 136 configs += [ |
135 "//build/config/compiler:no_chromium_code", | 137 "//build/config/compiler:no_chromium_code", |
136 "//third_party/pdfium:pdfium_config", | 138 "//third_party/pdfium:pdfium_config", |
| 139 # Must be after no_chromium_code for warning flags to be ordered correctly. |
137 ":fx_lcms2_warnings", | 140 ":fx_lcms2_warnings", |
138 ] | 141 ] |
139 sources = [ | 142 sources = [ |
140 "lcms2-2.6/include/lcms2.h", | 143 "lcms2-2.6/include/lcms2.h", |
141 "lcms2-2.6/include/lcms2_plugin.h", | 144 "lcms2-2.6/include/lcms2_plugin.h", |
142 "lcms2-2.6/src/cmscam02.c", | 145 "lcms2-2.6/src/cmscam02.c", |
143 "lcms2-2.6/src/cmscgats.c", | 146 "lcms2-2.6/src/cmscgats.c", |
144 "lcms2-2.6/src/cmscnvrt.c", | 147 "lcms2-2.6/src/cmscnvrt.c", |
145 "lcms2-2.6/src/cmserr.c", | 148 "lcms2-2.6/src/cmserr.c", |
146 "lcms2-2.6/src/cmsgamma.c", | 149 "lcms2-2.6/src/cmsgamma.c", |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 "base/macros.h", | 300 "base/macros.h", |
298 "base/nonstd_unique_ptr.h", | 301 "base/nonstd_unique_ptr.h", |
299 "base/numerics/safe_conversions.h", | 302 "base/numerics/safe_conversions.h", |
300 "base/numerics/safe_conversions_impl.h", | 303 "base/numerics/safe_conversions_impl.h", |
301 "base/numerics/safe_math.h", | 304 "base/numerics/safe_math.h", |
302 "base/numerics/safe_math_impl.h", | 305 "base/numerics/safe_math_impl.h", |
303 "base/stl_util.h", | 306 "base/stl_util.h", |
304 "base/template_util.h", | 307 "base/template_util.h", |
305 ] | 308 ] |
306 } | 309 } |
OLD | NEW |