| 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/images", | 36 "//third_party/skia/include/images", |
| 36 "//third_party/skia/include/lazy", | 37 "//third_party/skia/include/lazy", |
| 37 "//third_party/skia/include/pathops", | 38 "//third_party/skia/include/pathops", |
| 38 "//third_party/skia/include/pdf", | 39 "//third_party/skia/include/pdf", |
| 39 "//third_party/skia/include/pipe", | 40 "//third_party/skia/include/pipe", |
| 40 "//third_party/skia/include/ports", | 41 "//third_party/skia/include/ports", |
| 41 "//third_party/skia/include/utils", | 42 "//third_party/skia/include/utils", |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 } | 87 } |
| 87 | 88 |
| 88 # Internal-facing config for Skia library code. | 89 # Internal-facing config for Skia library code. |
| 89 config("skia_library_config") { | 90 config("skia_library_config") { |
| 90 # These include directories are only included for Skia code and are not | 91 # These include directories are only included for Skia code and are not |
| 91 # exported to dependents. It's not clear if this is on purpose, but this | 92 # exported to dependents. It's not clear if this is on purpose, but this |
| 92 # matches the GYP build. | 93 # matches the GYP build. |
| 93 include_dirs = [ | 94 include_dirs = [ |
| 94 "//third_party/skia/include/private", | 95 "//third_party/skia/include/private", |
| 95 "//third_party/skia/include/client/android", | 96 "//third_party/skia/include/client/android", |
| 97 "//third_party/skia/src/codec", |
| 96 "//third_party/skia/src/core", | 98 "//third_party/skia/src/core", |
| 97 "//third_party/skia/src/effects/gradients", | 99 "//third_party/skia/src/effects/gradients", |
| 98 "//third_party/skia/src/image", | 100 "//third_party/skia/src/image", |
| 99 "//third_party/skia/src/opts", | 101 "//third_party/skia/src/opts", |
| 100 "//third_party/skia/src/pdf", | 102 "//third_party/skia/src/pdf", |
| 101 "//third_party/skia/src/ports", | 103 "//third_party/skia/src/ports", |
| 102 "//third_party/skia/src/sfnt", | 104 "//third_party/skia/src/sfnt", |
| 103 "//third_party/skia/src/utils", | 105 "//third_party/skia/src/utils", |
| 104 "//third_party/skia/src/lazy", | 106 "//third_party/skia/src/lazy", |
| 107 "//third_party/skia/third_party/gif", |
| 105 ] | 108 ] |
| 106 if (is_mac || is_ios) { | 109 if (is_mac || is_ios) { |
| 107 include_dirs += [ "//third_party/skia/include/utils/mac" ] | 110 include_dirs += [ "//third_party/skia/include/utils/mac" ] |
| 108 } | 111 } |
| 109 if (is_mac) { | 112 if (is_mac) { |
| 110 include_dirs += [ "//third_party/skia/include/utils/ios" ] | 113 include_dirs += [ "//third_party/skia/include/utils/ios" ] |
| 111 } | 114 } |
| 112 | 115 |
| 113 defines = [] | 116 defines = [] |
| 114 | 117 |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 "ext/convolver_mips_dspr2.h", | 255 "ext/convolver_mips_dspr2.h", |
| 253 ] | 256 ] |
| 254 } | 257 } |
| 255 | 258 |
| 256 # The imported Skia gni source paths are made absolute by gn. | 259 # The imported Skia gni source paths are made absolute by gn. |
| 257 sources += skia_core_sources | 260 sources += skia_core_sources |
| 258 sources += skia_effects_sources | 261 sources += skia_effects_sources |
| 259 sources += skia_utils_sources | 262 sources += skia_utils_sources |
| 260 sources += skia_xps_sources | 263 sources += skia_xps_sources |
| 261 sources += [ | 264 sources += [ |
| 265 "//third_party/skia/src/codec/SkBmpCodec.cpp", |
| 266 "//third_party/skia/src/codec/SkBmpMaskCodec.cpp", |
| 267 "//third_party/skia/src/codec/SkBmpRLECodec.cpp", |
| 268 "//third_party/skia/src/codec/SkBmpStandardCodec.cpp", |
| 269 "//third_party/skia/src/codec/SkCodec.cpp", |
| 270 "//third_party/skia/src/codec/SkGifCodec.cpp", |
| 271 "//third_party/skia/src/codec/SkMaskSwizzler.cpp", |
| 272 "//third_party/skia/src/codec/SkMasks.cpp", |
| 273 "//third_party/skia/src/codec/SkSampler.cpp", |
| 274 "//third_party/skia/src/codec/SkStreamBuffer.cpp", |
| 275 "//third_party/skia/src/codec/SkSwizzler.cpp", |
| 276 "//third_party/skia/src/codec/SkWbmpCodec.cpp", |
| 262 "//third_party/skia/src/fonts/SkFontMgr_indirect.cpp", | 277 "//third_party/skia/src/fonts/SkFontMgr_indirect.cpp", |
| 263 "//third_party/skia/src/fonts/SkRemotableFontMgr.cpp", | 278 "//third_party/skia/src/fonts/SkRemotableFontMgr.cpp", |
| 264 "//third_party/skia/src/ports/SkGlobalInitialization_default.cpp", | 279 "//third_party/skia/src/ports/SkGlobalInitialization_default.cpp", |
| 265 "//third_party/skia/src/ports/SkImageGenerator_none.cpp", | 280 "//third_party/skia/src/ports/SkImageGenerator_none.cpp", |
| 266 "//third_party/skia/src/ports/SkOSFile_stdio.cpp", | 281 "//third_party/skia/src/ports/SkOSFile_stdio.cpp", |
| 267 "//third_party/skia/src/sfnt/SkOTTable_name.cpp", | 282 "//third_party/skia/src/sfnt/SkOTTable_name.cpp", |
| 268 "//third_party/skia/src/sfnt/SkOTUtils.cpp", | 283 "//third_party/skia/src/sfnt/SkOTUtils.cpp", |
| 284 "//third_party/skia/third_party/gif/SkGifImageReader.cpp", |
| 269 ] | 285 ] |
| 270 | 286 |
| 271 # This and skia_opts are really the same conceptual target so share headers. | 287 # This and skia_opts are really the same conceptual target so share headers. |
| 272 allow_circular_includes_from = [ ":skia_opts" ] | 288 allow_circular_includes_from = [ ":skia_opts" ] |
| 273 | 289 |
| 274 if (current_cpu == "arm") { | 290 if (current_cpu == "arm") { |
| 275 sources += [ "//third_party/skia/src/core/SkUtilsArm.cpp" ] | 291 sources += [ "//third_party/skia/src/core/SkUtilsArm.cpp" ] |
| 276 } | 292 } |
| 277 | 293 |
| 278 # GPU | 294 # GPU |
| (...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 711 | 727 |
| 712 deps = [ | 728 deps = [ |
| 713 ":skia", | 729 ":skia", |
| 714 "//base", | 730 "//base", |
| 715 "//base/test:test_support", | 731 "//base/test:test_support", |
| 716 "//build/config/sanitizers:deps", | 732 "//build/config/sanitizers:deps", |
| 717 "//build/win:default_exe_manifest", | 733 "//build/win:default_exe_manifest", |
| 718 ] | 734 ] |
| 719 } | 735 } |
| 720 } | 736 } |
| OLD | NEW |