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

Side by Side Diff: skia/BUILD.gn

Issue 2565323003: Move gif image decoder to SkCodec (Closed)
Patch Set: Add libjpeg-turbo to list of Skia library configs Created 3 years, 7 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 | « no previous file | third_party/WebKit/Source/platform/BUILD.gn » ('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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium 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/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//build/config/sanitizers/sanitizers.gni") 7 import("//build/config/sanitizers/sanitizers.gni")
8 import("//printing/features/features.gni") 8 import("//printing/features/features.gni")
9 import("//testing/test.gni") 9 import("//testing/test.gni")
10 import("//third_party/skia/gn/shared_sources.gni") 10 import("//third_party/skia/gn/shared_sources.gni")
(...skipping 11 matching lines...) Expand all
22 declare_args() { 22 declare_args() {
23 skia_whitelist_serialized_typefaces = false 23 skia_whitelist_serialized_typefaces = false
24 } 24 }
25 25
26 # External-facing config for dependent code. 26 # External-facing config for dependent code.
27 config("skia_config") { 27 config("skia_config") {
28 include_dirs = [ 28 include_dirs = [
29 "config", 29 "config",
30 "ext", 30 "ext",
31 "//third_party/skia/include/c", 31 "//third_party/skia/include/c",
32 "//third_party/skia/include/codec",
32 "//third_party/skia/include/config", 33 "//third_party/skia/include/config",
33 "//third_party/skia/include/core", 34 "//third_party/skia/include/core",
34 "//third_party/skia/include/effects", 35 "//third_party/skia/include/effects",
35 "//third_party/skia/include/encode", 36 "//third_party/skia/include/encode",
36 "//third_party/skia/include/images", 37 "//third_party/skia/include/images",
37 "//third_party/skia/include/lazy", 38 "//third_party/skia/include/lazy",
38 "//third_party/skia/include/pathops", 39 "//third_party/skia/include/pathops",
39 "//third_party/skia/include/pdf", 40 "//third_party/skia/include/pdf",
40 "//third_party/skia/include/pipe", 41 "//third_party/skia/include/pipe",
41 "//third_party/skia/include/ports", 42 "//third_party/skia/include/ports",
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 "//third_party/skia/src/core", 107 "//third_party/skia/src/core",
107 "//third_party/skia/src/effects/gradients", 108 "//third_party/skia/src/effects/gradients",
108 "//third_party/skia/src/image", 109 "//third_party/skia/src/image",
109 "//third_party/skia/src/images", 110 "//third_party/skia/src/images",
110 "//third_party/skia/src/opts", 111 "//third_party/skia/src/opts",
111 "//third_party/skia/src/pdf", 112 "//third_party/skia/src/pdf",
112 "//third_party/skia/src/ports", 113 "//third_party/skia/src/ports",
113 "//third_party/skia/src/sfnt", 114 "//third_party/skia/src/sfnt",
114 "//third_party/skia/src/utils", 115 "//third_party/skia/src/utils",
115 "//third_party/skia/src/lazy", 116 "//third_party/skia/src/lazy",
117 "//third_party/skia/third_party/gif",
118 "//third_party/skia/third_party/libjpeg-turbo",
scroggo_chromium 2017/05/18 15:55:56 Is the problem that Skia isn't finding jpeg? Shoul
cblume 2017/06/03 01:11:34 Done.
116 ] 119 ]
117 if (is_mac || is_ios) { 120 if (is_mac || is_ios) {
118 include_dirs += [ "//third_party/skia/include/utils/mac" ] 121 include_dirs += [ "//third_party/skia/include/utils/mac" ]
119 } 122 }
120 if (is_mac) { 123 if (is_mac) {
121 include_dirs += [ "//third_party/skia/include/utils/ios" ] 124 include_dirs += [ "//third_party/skia/include/utils/ios" ]
122 } 125 }
123 126
124 defines = [] 127 defines = []
125 128
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 "ext/convolver_mips_dspr2.h", 264 "ext/convolver_mips_dspr2.h",
262 ] 265 ]
263 } 266 }
264 267
265 # The imported Skia gni source paths are made absolute by gn. 268 # The imported Skia gni source paths are made absolute by gn.
266 sources += skia_core_sources 269 sources += skia_core_sources
267 sources += skia_effects_sources 270 sources += skia_effects_sources
268 sources += skia_utils_sources 271 sources += skia_utils_sources
269 sources += skia_xps_sources 272 sources += skia_xps_sources
270 sources += [ 273 sources += [
274 "//third_party/skia/src/codec/SkBmpCodec.cpp",
275 "//third_party/skia/src/codec/SkBmpMaskCodec.cpp",
276 "//third_party/skia/src/codec/SkBmpRLECodec.cpp",
277 "//third_party/skia/src/codec/SkBmpStandardCodec.cpp",
278 "//third_party/skia/src/codec/SkCodec.cpp",
279 "//third_party/skia/src/codec/SkGifCodec.cpp",
280 "//third_party/skia/src/codec/SkIcoCodec.cpp",
281 "//third_party/skia/src/codec/SkJpegCodec.cpp",
282 "//third_party/skia/src/codec/SkJpegDecoderMgr.cpp",
283 "//third_party/skia/src/codec/SkJpegUtility.cpp",
284 "//third_party/skia/src/codec/SkMaskSwizzler.cpp",
285 "//third_party/skia/src/codec/SkMasks.cpp",
286 "//third_party/skia/src/codec/SkPngCodec.cpp",
287 "//third_party/skia/src/codec/SkSampler.cpp",
288 "//third_party/skia/src/codec/SkStreamBuffer.cpp",
289 "//third_party/skia/src/codec/SkSwizzler.cpp",
290 "//third_party/skia/src/codec/SkWbmpCodec.cpp",
291 "//third_party/skia/src/codec/SkWebpCodec.cpp",
271 "//third_party/skia/src/fonts/SkFontMgr_indirect.cpp", 292 "//third_party/skia/src/fonts/SkFontMgr_indirect.cpp",
272 "//third_party/skia/src/fonts/SkRemotableFontMgr.cpp", 293 "//third_party/skia/src/fonts/SkRemotableFontMgr.cpp",
273 "//third_party/skia/src/images/SkImageEncoder.cpp", 294 "//third_party/skia/src/images/SkImageEncoder.cpp",
274 "//third_party/skia/src/images/SkJPEGWriteUtility.cpp", 295 "//third_party/skia/src/images/SkJPEGWriteUtility.cpp",
275 "//third_party/skia/src/images/SkJpegEncoder.cpp", 296 "//third_party/skia/src/images/SkJpegEncoder.cpp",
276 "//third_party/skia/src/images/SkPngEncoder.cpp", 297 "//third_party/skia/src/images/SkPngEncoder.cpp",
277 "//third_party/skia/src/images/SkWebpEncoder.cpp", 298 "//third_party/skia/src/images/SkWebpEncoder.cpp",
278 "//third_party/skia/src/ports/SkGlobalInitialization_default.cpp", 299 "//third_party/skia/src/ports/SkGlobalInitialization_default.cpp",
279 "//third_party/skia/src/ports/SkImageGenerator_none.cpp", 300 "//third_party/skia/src/ports/SkImageGenerator_none.cpp",
280 "//third_party/skia/src/ports/SkOSFile_stdio.cpp", 301 "//third_party/skia/src/ports/SkOSFile_stdio.cpp",
281 "//third_party/skia/src/sfnt/SkOTTable_name.cpp", 302 "//third_party/skia/src/sfnt/SkOTTable_name.cpp",
282 "//third_party/skia/src/sfnt/SkOTUtils.cpp", 303 "//third_party/skia/src/sfnt/SkOTUtils.cpp",
304 "//third_party/skia/third_party/gif/SkGifImageReader.cpp",
283 ] 305 ]
284 306
285 # This and skia_opts are really the same conceptual target so share headers. 307 # This and skia_opts are really the same conceptual target so share headers.
286 allow_circular_includes_from = [ ":skia_opts" ] 308 allow_circular_includes_from = [ ":skia_opts" ]
287 309
288 if (current_cpu == "arm") { 310 if (current_cpu == "arm") {
289 sources += [ "//third_party/skia/src/core/SkUtilsArm.cpp" ] 311 sources += [ "//third_party/skia/src/core/SkUtilsArm.cpp" ]
290 } 312 }
291 313
292 # GPU 314 # GPU
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
739 761
740 deps = [ 762 deps = [
741 ":skia", 763 ":skia",
742 "//base", 764 "//base",
743 "//base/test:test_support", 765 "//base/test:test_support",
744 "//build/config/sanitizers:deps", 766 "//build/config/sanitizers:deps",
745 "//build/win:default_exe_manifest", 767 "//build/win:default_exe_manifest",
746 ] 768 ]
747 } 769 }
748 } 770 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698