| OLD | NEW |
| 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 Loading... |
| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 "//third_party/skia/src/image", | 108 "//third_party/skia/src/image", |
| 108 "//third_party/skia/src/images", | 109 "//third_party/skia/src/images", |
| 109 "//third_party/skia/src/opts", | 110 "//third_party/skia/src/opts", |
| 110 "//third_party/skia/src/pdf", | 111 "//third_party/skia/src/pdf", |
| 111 "//third_party/skia/src/ports", | 112 "//third_party/skia/src/ports", |
| 112 "//third_party/skia/src/shaders", | 113 "//third_party/skia/src/shaders", |
| 113 "//third_party/skia/src/shaders/gradients", | 114 "//third_party/skia/src/shaders/gradients", |
| 114 "//third_party/skia/src/sfnt", | 115 "//third_party/skia/src/sfnt", |
| 115 "//third_party/skia/src/utils", | 116 "//third_party/skia/src/utils", |
| 116 "//third_party/skia/src/lazy", | 117 "//third_party/skia/src/lazy", |
| 118 "//third_party/skia/third_party/gif", |
| 117 ] | 119 ] |
| 118 if (is_mac || is_ios) { | 120 if (is_mac || is_ios) { |
| 119 include_dirs += [ "//third_party/skia/include/utils/mac" ] | 121 include_dirs += [ "//third_party/skia/include/utils/mac" ] |
| 120 } | 122 } |
| 121 if (is_mac) { | 123 if (is_mac) { |
| 122 include_dirs += [ "//third_party/skia/include/utils/ios" ] | 124 include_dirs += [ "//third_party/skia/include/utils/ios" ] |
| 123 } | 125 } |
| 124 | 126 |
| 125 # TODO: remove after Skia shader relocation (https://skia-review.googlesource.
com/c/17927) | 127 # TODO: remove after Skia shader relocation (https://skia-review.googlesource.
com/c/17927) |
| 126 include_dirs += [ "//third_party/skia/src/effects/gradients" ] | 128 include_dirs += [ "//third_party/skia/src/effects/gradients" ] |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 "ext/convolver_mips_dspr2.h", | 267 "ext/convolver_mips_dspr2.h", |
| 266 ] | 268 ] |
| 267 } | 269 } |
| 268 | 270 |
| 269 # The imported Skia gni source paths are made absolute by gn. | 271 # The imported Skia gni source paths are made absolute by gn. |
| 270 sources += skia_core_sources | 272 sources += skia_core_sources |
| 271 sources += skia_effects_sources | 273 sources += skia_effects_sources |
| 272 sources += skia_utils_sources | 274 sources += skia_utils_sources |
| 273 sources += skia_xps_sources | 275 sources += skia_xps_sources |
| 274 sources += [ | 276 sources += [ |
| 277 "//third_party/skia/src/codec/SkBmpCodec.cpp", |
| 278 "//third_party/skia/src/codec/SkBmpMaskCodec.cpp", |
| 279 "//third_party/skia/src/codec/SkBmpRLECodec.cpp", |
| 280 "//third_party/skia/src/codec/SkBmpStandardCodec.cpp", |
| 281 "//third_party/skia/src/codec/SkCodec.cpp", |
| 282 "//third_party/skia/src/codec/SkGifCodec.cpp", |
| 283 "//third_party/skia/src/codec/SkIcoCodec.cpp", |
| 284 "//third_party/skia/src/codec/SkJpegCodec.cpp", |
| 285 "//third_party/skia/src/codec/SkJpegDecoderMgr.cpp", |
| 286 "//third_party/skia/src/codec/SkJpegUtility.cpp", |
| 287 "//third_party/skia/src/codec/SkMaskSwizzler.cpp", |
| 288 "//third_party/skia/src/codec/SkMasks.cpp", |
| 289 "//third_party/skia/src/codec/SkPngCodec.cpp", |
| 290 "//third_party/skia/src/codec/SkSampler.cpp", |
| 291 "//third_party/skia/src/codec/SkStreamBuffer.cpp", |
| 292 "//third_party/skia/src/codec/SkSwizzler.cpp", |
| 293 "//third_party/skia/src/codec/SkWbmpCodec.cpp", |
| 294 "//third_party/skia/src/codec/SkWebpCodec.cpp", |
| 275 "//third_party/skia/src/fonts/SkFontMgr_indirect.cpp", | 295 "//third_party/skia/src/fonts/SkFontMgr_indirect.cpp", |
| 276 "//third_party/skia/src/fonts/SkRemotableFontMgr.cpp", | 296 "//third_party/skia/src/fonts/SkRemotableFontMgr.cpp", |
| 277 "//third_party/skia/src/images/SkImageEncoder.cpp", | 297 "//third_party/skia/src/images/SkImageEncoder.cpp", |
| 278 "//third_party/skia/src/images/SkJPEGWriteUtility.cpp", | 298 "//third_party/skia/src/images/SkJPEGWriteUtility.cpp", |
| 279 "//third_party/skia/src/images/SkJpegEncoder.cpp", | 299 "//third_party/skia/src/images/SkJpegEncoder.cpp", |
| 280 "//third_party/skia/src/images/SkPngEncoder.cpp", | 300 "//third_party/skia/src/images/SkPngEncoder.cpp", |
| 281 "//third_party/skia/src/images/SkWebpEncoder.cpp", | 301 "//third_party/skia/src/images/SkWebpEncoder.cpp", |
| 282 "//third_party/skia/src/ports/SkGlobalInitialization_default.cpp", | 302 "//third_party/skia/src/ports/SkGlobalInitialization_default.cpp", |
| 283 "//third_party/skia/src/ports/SkImageGenerator_none.cpp", | 303 "//third_party/skia/src/ports/SkImageGenerator_none.cpp", |
| 284 "//third_party/skia/src/ports/SkOSFile_stdio.cpp", | 304 "//third_party/skia/src/ports/SkOSFile_stdio.cpp", |
| 285 "//third_party/skia/src/sfnt/SkOTTable_name.cpp", | 305 "//third_party/skia/src/sfnt/SkOTTable_name.cpp", |
| 286 "//third_party/skia/src/sfnt/SkOTUtils.cpp", | 306 "//third_party/skia/src/sfnt/SkOTUtils.cpp", |
| 307 "//third_party/skia/third_party/gif/SkGifImageReader.cpp", |
| 287 ] | 308 ] |
| 288 | 309 |
| 289 # This and skia_opts are really the same conceptual target so share headers. | 310 # This and skia_opts are really the same conceptual target so share headers. |
| 290 allow_circular_includes_from = [ ":skia_opts" ] | 311 allow_circular_includes_from = [ ":skia_opts" ] |
| 291 | 312 |
| 292 if (current_cpu == "arm") { | 313 if (current_cpu == "arm") { |
| 293 sources += [ "//third_party/skia/src/core/SkUtilsArm.cpp" ] | 314 sources += [ "//third_party/skia/src/core/SkUtilsArm.cpp" ] |
| 294 } | 315 } |
| 295 | 316 |
| 296 # GPU | 317 # GPU |
| (...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 743 | 764 |
| 744 deps = [ | 765 deps = [ |
| 745 ":skia", | 766 ":skia", |
| 746 "//base", | 767 "//base", |
| 747 "//base/test:test_support", | 768 "//base/test:test_support", |
| 748 "//build/config:exe_and_shlib_deps", | 769 "//build/config:exe_and_shlib_deps", |
| 749 "//build/win:default_exe_manifest", | 770 "//build/win:default_exe_manifest", |
| 750 ] | 771 ] |
| 751 } | 772 } |
| 752 } | 773 } |
| OLD | NEW |