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 import("//build/config/arm.gni") | 5 import("//build/config/arm.gni") |
6 import("//build_overrides/build.gni") | 6 import("//build_overrides/build.gni") |
7 import("../pdfium.gni") | 7 import("../pdfium.gni") |
8 | 8 |
9 group("third_party") { | 9 group("third_party") { |
10 deps = [ | 10 deps = [ |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 "freetype/src/cid/type1cid.c", | 83 "freetype/src/cid/type1cid.c", |
84 "freetype/src/psaux/psaux.c", | 84 "freetype/src/psaux/psaux.c", |
85 "freetype/src/pshinter/pshinter.c", | 85 "freetype/src/pshinter/pshinter.c", |
86 "freetype/src/psnames/psmodule.c", | 86 "freetype/src/psnames/psmodule.c", |
87 "freetype/src/raster/raster.c", | 87 "freetype/src/raster/raster.c", |
88 "freetype/src/sfnt/sfnt.c", | 88 "freetype/src/sfnt/sfnt.c", |
89 "freetype/src/smooth/smooth.c", | 89 "freetype/src/smooth/smooth.c", |
90 "freetype/src/truetype/truetype.c", | 90 "freetype/src/truetype/truetype.c", |
91 "freetype/src/type1/type1.c", | 91 "freetype/src/type1/type1.c", |
92 ] | 92 ] |
93 if (pdf_use_skia) { | 93 if (pdf_use_skia || pdf_use_skia_paths) { |
94 sources += [ | 94 sources += [ |
95 "freetype/src/base/ftfntfmt.c", | 95 "freetype/src/base/ftfntfmt.c", |
96 "freetype/src/base/ftfstype.c", | 96 "freetype/src/base/ftfstype.c", |
97 "freetype/src/base/fttype1.c", | 97 "freetype/src/base/fttype1.c", |
98 ] | 98 ] |
99 } | 99 } |
100 } | 100 } |
101 | 101 |
102 if (!pdf_use_skia) { | 102 if (!pdf_use_skia && !pdf_use_skia_paths) { |
103 config("fx_agg_warnings") { | 103 config("fx_agg_warnings") { |
104 visibility = [ ":*" ] | 104 visibility = [ ":*" ] |
105 if (is_clang) { | 105 if (is_clang) { |
106 # calc_butt_cap() in agg_vcgen_stroke.cpp is unused. | 106 # calc_butt_cap() in agg_vcgen_stroke.cpp is unused. |
107 cflags = [ "-Wno-unused-function" ] | 107 cflags = [ "-Wno-unused-function" ] |
108 } | 108 } |
109 } | 109 } |
110 | 110 |
111 static_library("fx_agg") { | 111 static_library("fx_agg") { |
112 configs -= [ "//build/config/compiler:chromium_code" ] | 112 configs -= [ "//build/config/compiler:chromium_code" ] |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
476 sources = [ | 476 sources = [ |
477 "base/logging.h", | 477 "base/logging.h", |
478 "base/macros.h", | 478 "base/macros.h", |
479 "base/numerics/safe_conversions.h", | 479 "base/numerics/safe_conversions.h", |
480 "base/numerics/safe_conversions_impl.h", | 480 "base/numerics/safe_conversions_impl.h", |
481 "base/numerics/safe_math.h", | 481 "base/numerics/safe_math.h", |
482 "base/numerics/safe_math_impl.h", | 482 "base/numerics/safe_math_impl.h", |
483 "base/stl_util.h", | 483 "base/stl_util.h", |
484 ] | 484 ] |
485 } | 485 } |
OLD | NEW |