| 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("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 import("//third_party/skia/gn/shared_sources.gni") | 8 import("//third_party/skia/gn/shared_sources.gni") |
| 9 | 9 |
| 10 if (current_cpu == "arm") { | 10 if (current_cpu == "arm") { |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 "//third_party/skia/src/ports/SkOSFile_posix.cpp", | 261 "//third_party/skia/src/ports/SkOSFile_posix.cpp", |
| 262 "//third_party/skia/src/ports/SkOSFile_stdio.cpp", | 262 "//third_party/skia/src/ports/SkOSFile_stdio.cpp", |
| 263 "//third_party/skia/src/ports/SkOSFile_win.cpp", | 263 "//third_party/skia/src/ports/SkOSFile_win.cpp", |
| 264 "//third_party/skia/src/ports/SkRemotableFontMgr_win_dw.cpp", | 264 "//third_party/skia/src/ports/SkRemotableFontMgr_win_dw.cpp", |
| 265 "//third_party/skia/src/ports/SkScalerContext_win_dw.cpp", | 265 "//third_party/skia/src/ports/SkScalerContext_win_dw.cpp", |
| 266 "//third_party/skia/src/ports/SkTLS_pthread.cpp", | 266 "//third_party/skia/src/ports/SkTLS_pthread.cpp", |
| 267 "//third_party/skia/src/ports/SkTLS_win.cpp", | 267 "//third_party/skia/src/ports/SkTLS_win.cpp", |
| 268 "//third_party/skia/src/ports/SkTypeface_win_dw.cpp", | 268 "//third_party/skia/src/ports/SkTypeface_win_dw.cpp", |
| 269 "//third_party/skia/src/sfnt/SkOTTable_name.cpp", | 269 "//third_party/skia/src/sfnt/SkOTTable_name.cpp", |
| 270 "//third_party/skia/src/sfnt/SkOTUtils.cpp", | 270 "//third_party/skia/src/sfnt/SkOTUtils.cpp", |
| 271 "//third_party/skia/src/xps/SkDocument_XPS.cpp", |
| 272 "//third_party/skia/src/xps/SkDocument_XPS_None.cpp", |
| 273 "//third_party/skia/src/xps/SkXPSDevice.cpp", |
| 271 ] | 274 ] |
| 272 | 275 |
| 273 if (is_mac) { | 276 if (is_mac) { |
| 274 sources += [ "//third_party/skia/src/utils/mac/SkStream_mac.cpp" ] | 277 sources += [ "//third_party/skia/src/utils/mac/SkStream_mac.cpp" ] |
| 275 } | 278 } |
| 276 | 279 |
| 277 # This and skia_opts are really the same conceptual target so share headers. | 280 # This and skia_opts are really the same conceptual target so share headers. |
| 278 allow_circular_includes_from = [ ":skia_opts" ] | 281 allow_circular_includes_from = [ ":skia_opts" ] |
| 279 | 282 |
| 280 if (current_cpu == "arm") { | 283 if (current_cpu == "arm") { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 302 | 305 |
| 303 # Testing. | 306 # Testing. |
| 304 "//third_party/skia/src/fonts/SkGScalerContext.cpp", | 307 "//third_party/skia/src/fonts/SkGScalerContext.cpp", |
| 305 ] | 308 ] |
| 306 | 309 |
| 307 if (is_win) { | 310 if (is_win) { |
| 308 sources -= [ | 311 sources -= [ |
| 309 # Keeping _win.cpp | 312 # Keeping _win.cpp |
| 310 "//third_party/skia/src/utils/SkThreadUtils_pthread.cpp", | 313 "//third_party/skia/src/utils/SkThreadUtils_pthread.cpp", |
| 311 ] | 314 ] |
| 315 libs = [ "fontsub.lib" ] |
| 312 } else { | 316 } else { |
| 313 sources -= [ | 317 sources -= [ |
| 314 # Keeping _pthread.cpp | 318 # Keeping _pthread.cpp |
| 315 "//third_party/skia/src/utils/SkThreadUtils_win.cpp", | 319 "//third_party/skia/src/utils/SkThreadUtils_win.cpp", |
| 316 ] | 320 ] |
| 317 } | 321 } |
| 318 | 322 |
| 319 # need separate win section to handle chromes auto gn filter | 323 # need separate win section to handle chromes auto gn filter |
| 320 # (build/config/BUILDCONFIG.gn) | 324 # (build/config/BUILDCONFIG.gn) |
| 321 if (is_win) { | 325 if (is_win) { |
| 322 sources -= [ | 326 sources -= [ |
| 323 #windows | 327 #windows |
| 324 "//third_party/skia/src/utils/win/SkAutoCoInitialize.cpp", | |
| 325 "//third_party/skia/src/utils/win/SkIStream.cpp", | |
| 326 "//third_party/skia/src/utils/win/SkWGL_win.cpp", | 328 "//third_party/skia/src/utils/win/SkWGL_win.cpp", |
| 327 ] | 329 ] |
| 328 } | 330 } |
| 329 | 331 |
| 330 if (is_android && (!enable_basic_printing && !enable_print_preview)) { | 332 if (is_android && (!enable_basic_printing && !enable_print_preview)) { |
| 331 sources -= [ "ext/skia_utils_base.cc" ] | 333 sources -= [ "ext/skia_utils_base.cc" ] |
| 332 } | 334 } |
| 333 | 335 |
| 334 # Fixup skia library sources. | 336 # Fixup skia library sources. |
| 335 if (is_win) { | 337 if (is_win) { |
| (...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 722 | 724 |
| 723 deps = [ | 725 deps = [ |
| 724 ":skia", | 726 ":skia", |
| 725 "//base", | 727 "//base", |
| 726 "//base/test:test_support", | 728 "//base/test:test_support", |
| 727 "//build/config/sanitizers:deps", | 729 "//build/config/sanitizers:deps", |
| 728 "//build/win:default_exe_manifest", | 730 "//build/win:default_exe_manifest", |
| 729 ] | 731 ] |
| 730 } | 732 } |
| 731 } | 733 } |
| OLD | NEW |