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

Side by Side Diff: third_party/BUILD.gn

Issue 2346483006: Create a subset of skia support for paths only (Closed)
Patch Set: use skia only for paths Created 4 years, 3 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
« core/fxge/skia/fx_skia_device.cpp ('K') | « samples/BUILD.gn ('k') | no next file » | 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("//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
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
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 }
OLDNEW
« core/fxge/skia/fx_skia_device.cpp ('K') | « samples/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698