Fix GN PDFium build when building all.
[pdfium.git] / third_party / third_party.gyp
1 # Copyright 2014 PDFium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
6   'targets': [
7     {
8       'target_name': 'bigint',
9       'type': 'static_library',
10       'sources': [
11         'bigint/BigInteger.hh',
12         'bigint/BigIntegerLibrary.hh',
13         'bigint/BigIntegerUtils.hh',
14         'bigint/BigUnsigned.hh',
15         'bigint/NumberlikeArray.hh',
16         'bigint/BigUnsignedInABase.hh',
17         'bigint/BigInteger.cc',
18         'bigint/BigIntegerUtils.cc',
19         'bigint/BigUnsigned.cc',
20         'bigint/BigUnsignedInABase.cc',
21       ],
22     },
23     {
24       'target_name': 'freetype',
25       'type': 'static_library',
26       'defines': [
27         'FT2_BUILD_LIBRARY',
28       ],
29       'include_dirs': [
30          'freetype/include',
31       ],
32       'sources': [
33         'freetype/include/freetype.h',
34         'freetype/include/ft2build.h',
35         'freetype/include/ftmm.h',
36         'freetype/include/ftotval.h',
37         'freetype/include/ftoutln.h',
38         'freetype/include/tttables.h',
39         'freetype/include/internal/ftobjs.h',
40         'freetype/include/internal/ftstream.h',
41         'freetype/include/internal/tttypes.h',
42         'freetype/src/cff/cffobjs.h',
43         'freetype/src/cff/cfftypes.h',
44         'freetype/src/cff/cff.c',
45         'freetype/src/base/ftbase.c',
46         'freetype/src/base/ftbitmap.c',
47         'freetype/src/base/ftglyph.c',
48         'freetype/src/base/ftinit.c',
49         'freetype/src/base/ftlcdfil.c',
50         'freetype/src/base/ftmm.c',
51         'freetype/src/base/ftsystem.c',
52         'freetype/src/psaux/psaux.c',
53         'freetype/src/pshinter/pshinter.c',
54         'freetype/src/psnames/psmodule.c',
55         'freetype/src/raster/raster.c',
56         'freetype/src/sfnt/sfnt.c',
57         'freetype/src/smooth/smooth.c',
58         'freetype/src/truetype/truetype.c',
59         'freetype/src/type1/type1.c',
60         'freetype/src/cid/type1cid.c',
61       ],
62     },
63     {
64       'target_name': 'safemath',
65       'type': 'none',
66       'sources': [
67         'logging.h',
68         'macros.h',
69         'template_util.h',
70         'numerics/safe_conversions.h',
71         'numerics/safe_conversions_impl.h',
72         'numerics/safe_math.h',
73         'numerics/safe_math_impl.h',
74       ],
75     },
76   ],
77 }