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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 source_set("fx_freetype") { | 42 source_set("fx_freetype") { |
43 configs -= [ "//build/config/compiler:chromium_code" ] | 43 configs -= [ "//build/config/compiler:chromium_code" ] |
44 configs += [ | 44 configs += [ |
45 "//build/config/compiler:no_chromium_code", | 45 "//build/config/compiler:no_chromium_code", |
46 "//third_party/pdfium:pdfium_config", | 46 "//third_party/pdfium:pdfium_config", |
47 # Must be after no_chromium_code for warning flags to be ordered correctly. | 47 # Must be after no_chromium_code for warning flags to be ordered correctly. |
48 ":fx_freetype_warnings", | 48 ":fx_freetype_warnings", |
49 ] | 49 ] |
50 defines = [ "FT2_BUILD_LIBRARY" ] | 50 defines = [ "FT2_BUILD_LIBRARY" ] |
51 sources = [ | 51 sources = [ |
52 "freetype/include/freetype.h", | 52 "freetype/include/freetype/freetype.h", |
| 53 "freetype/include/freetype/ftmm.h", |
| 54 "freetype/include/freetype/ftotval.h", |
| 55 "freetype/include/freetype/ftoutln.h", |
| 56 "freetype/include/freetype/internal/ftobjs.h", |
| 57 "freetype/include/freetype/internal/ftstream.h", |
| 58 "freetype/include/freetype/internal/tttypes.h", |
| 59 "freetype/include/freetype/tttables.h", |
53 "freetype/include/ft2build.h", | 60 "freetype/include/ft2build.h", |
54 "freetype/include/ftmm.h", | |
55 "freetype/include/ftotval.h", | |
56 "freetype/include/ftoutln.h", | |
57 "freetype/include/tttables.h", | |
58 "freetype/include/internal/ftobjs.h", | |
59 "freetype/include/internal/ftstream.h", | |
60 "freetype/include/internal/tttypes.h", | |
61 "freetype/src/cff/cffobjs.h", | |
62 "freetype/src/cff/cfftypes.h", | |
63 "freetype/src/cff/cff.c", | |
64 "freetype/src/base/ftbase.c", | 61 "freetype/src/base/ftbase.c", |
| 62 "freetype/src/base/ftbase.h", |
65 "freetype/src/base/ftbitmap.c", | 63 "freetype/src/base/ftbitmap.c", |
66 "freetype/src/base/ftglyph.c", | 64 "freetype/src/base/ftglyph.c", |
67 "freetype/src/base/ftinit.c", | 65 "freetype/src/base/ftinit.c", |
68 "freetype/src/base/ftlcdfil.c", | 66 "freetype/src/base/ftlcdfil.c", |
69 "freetype/src/base/ftmm.c", | 67 "freetype/src/base/ftmm.c", |
70 "freetype/src/base/ftsystem.c", | 68 "freetype/src/base/ftsystem.c", |
| 69 "freetype/src/cff/cff.c", |
| 70 "freetype/src/cff/cffobjs.h", |
| 71 "freetype/src/cff/cfftypes.h", |
| 72 "freetype/src/cid/type1cid.c", |
71 "freetype/src/psaux/psaux.c", | 73 "freetype/src/psaux/psaux.c", |
72 "freetype/src/pshinter/pshinter.c", | 74 "freetype/src/pshinter/pshinter.c", |
73 "freetype/src/psnames/psmodule.c", | 75 "freetype/src/psnames/psmodule.c", |
74 "freetype/src/raster/raster.c", | 76 "freetype/src/raster/raster.c", |
75 "freetype/src/sfnt/sfnt.c", | 77 "freetype/src/sfnt/sfnt.c", |
76 "freetype/src/smooth/smooth.c", | 78 "freetype/src/smooth/smooth.c", |
77 "freetype/src/truetype/truetype.c", | 79 "freetype/src/truetype/truetype.c", |
78 "freetype/src/type1/type1.c", | 80 "freetype/src/type1/type1.c", |
79 "freetype/src/cid/type1cid.c", | |
80 ] | 81 ] |
81 } | 82 } |
82 | 83 |
83 config("fx_agg_warnings") { | 84 config("fx_agg_warnings") { |
84 visibility = [ ":*" ] | 85 visibility = [ ":*" ] |
85 if (is_clang) { | 86 if (is_clang) { |
86 # calc_butt_cap() in agg_vcgen_stroke.cpp is unused. | 87 # calc_butt_cap() in agg_vcgen_stroke.cpp is unused. |
87 cflags = [ "-Wno-unused-function" ] | 88 cflags = [ "-Wno-unused-function" ] |
88 } | 89 } |
89 } | 90 } |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 "base/macros.h", | 365 "base/macros.h", |
365 "base/nonstd_unique_ptr.h", | 366 "base/nonstd_unique_ptr.h", |
366 "base/numerics/safe_conversions.h", | 367 "base/numerics/safe_conversions.h", |
367 "base/numerics/safe_conversions_impl.h", | 368 "base/numerics/safe_conversions_impl.h", |
368 "base/numerics/safe_math.h", | 369 "base/numerics/safe_math.h", |
369 "base/numerics/safe_math_impl.h", | 370 "base/numerics/safe_math_impl.h", |
370 "base/stl_util.h", | 371 "base/stl_util.h", |
371 "base/template_util.h", | 372 "base/template_util.h", |
372 ] | 373 ] |
373 } | 374 } |
OLD | NEW |