Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Side by Side Diff: third_party/BUILD.gn

Issue 2055353002: fix skia + windows + gn (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « skia/skia_library.gypi ('k') | xfa.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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("../pdfium.gni") 5 import("../pdfium.gni")
6 6
7 group("third_party") { 7 group("third_party") {
8 deps = [ 8 deps = [
9 ":bigint", 9 ":bigint",
10 ":fx_freetype", 10 ":fx_freetype",
11 ":pdfium_base", 11 ":pdfium_base",
12 ] 12 ]
13 } 13 }
14 14
15 config("pdfium_third_party_config") { 15 config("pdfium_third_party_config") {
16 configs = ["..:pdfium_common_config"] 16 configs = [ "..:pdfium_common_config" ]
17 } 17 }
18 18
19 source_set("bigint") { 19 source_set("bigint") {
20 configs -= [ "//build/config/compiler:chromium_code" ] 20 configs -= [ "//build/config/compiler:chromium_code" ]
21 configs += [ 21 configs += [
22 "//build/config/compiler:no_chromium_code", 22 "//build/config/compiler:no_chromium_code",
23 ":pdfium_third_party_config", 23 ":pdfium_third_party_config",
24 ] 24 ]
25 sources = [ 25 sources = [
26 "bigint/BigInteger.cc", 26 "bigint/BigInteger.cc",
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 "freetype/src/cid/type1cid.c", 81 "freetype/src/cid/type1cid.c",
82 "freetype/src/psaux/psaux.c", 82 "freetype/src/psaux/psaux.c",
83 "freetype/src/pshinter/pshinter.c", 83 "freetype/src/pshinter/pshinter.c",
84 "freetype/src/psnames/psmodule.c", 84 "freetype/src/psnames/psmodule.c",
85 "freetype/src/raster/raster.c", 85 "freetype/src/raster/raster.c",
86 "freetype/src/sfnt/sfnt.c", 86 "freetype/src/sfnt/sfnt.c",
87 "freetype/src/smooth/smooth.c", 87 "freetype/src/smooth/smooth.c",
88 "freetype/src/truetype/truetype.c", 88 "freetype/src/truetype/truetype.c",
89 "freetype/src/type1/type1.c", 89 "freetype/src/type1/type1.c",
90 ] 90 ]
91 if (pdf_use_skia) {
92 sources += [
93 "freetype/src/base/ftfntfmt.c",
94 "freetype/src/base/ftfstype.c",
95 "freetype/src/base/fttype1.c",
96 ]
97 }
91 } 98 }
92 99
93 if (!pdf_use_skia) { 100 if (!pdf_use_skia) {
94 config("fx_agg_warnings") { 101 config("fx_agg_warnings") {
95 visibility = [ ":*" ] 102 visibility = [ ":*" ]
96 if (is_clang) { 103 if (is_clang) {
97 # calc_butt_cap() in agg_vcgen_stroke.cpp is unused. 104 # calc_butt_cap() in agg_vcgen_stroke.cpp is unused.
98 cflags = [ "-Wno-unused-function" ] 105 cflags = [ "-Wno-unused-function" ]
99 } 106 }
100 } 107 }
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 sources = [ 442 sources = [
436 "base/logging.h", 443 "base/logging.h",
437 "base/macros.h", 444 "base/macros.h",
438 "base/numerics/safe_conversions.h", 445 "base/numerics/safe_conversions.h",
439 "base/numerics/safe_conversions_impl.h", 446 "base/numerics/safe_conversions_impl.h",
440 "base/numerics/safe_math.h", 447 "base/numerics/safe_math.h",
441 "base/numerics/safe_math_impl.h", 448 "base/numerics/safe_math_impl.h",
442 "base/stl_util.h", 449 "base/stl_util.h",
443 ] 450 ]
444 } 451 }
OLDNEW
« no previous file with comments | « skia/skia_library.gypi ('k') | xfa.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698