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

Side by Side Diff: skia/BUILD.gn

Issue 694213002: Remove calls to deprecated SkPDFDevice and SkPDFDocuemnt. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 1 month 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
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 if (cpu_arch == "arm") { 7 if (cpu_arch == "arm") {
8 import("//build/config/arm.gni") 8 import("//build/config/arm.gni")
9 } 9 }
10 10
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 "ext/skia_utils_base.h", 305 "ext/skia_utils_base.h",
306 "ext/skia_utils_ios.mm", 306 "ext/skia_utils_ios.mm",
307 "ext/skia_utils_ios.h", 307 "ext/skia_utils_ios.h",
308 "ext/skia_utils_mac.mm", 308 "ext/skia_utils_mac.mm",
309 "ext/skia_utils_mac.h", 309 "ext/skia_utils_mac.h",
310 "ext/skia_utils_win.cc", 310 "ext/skia_utils_win.cc",
311 "ext/skia_utils_win.h", 311 "ext/skia_utils_win.h",
312 "ext/vector_canvas.h", 312 "ext/vector_canvas.h",
313 "ext/vector_platform_device_emf_win.cc", 313 "ext/vector_platform_device_emf_win.cc",
314 "ext/vector_platform_device_emf_win.h", 314 "ext/vector_platform_device_emf_win.h",
315 "ext/vector_platform_device_skia.cc",
316 "ext/vector_platform_device_skia.h",
317 ] 315 ]
318 316
319 # The skia gypi values are relative to the skia_dir, so we need to rebase. 317 # The skia gypi values are relative to the skia_dir, so we need to rebase.
320 sources += gypi_skia_core.sources 318 sources += gypi_skia_core.sources
321 sources += gypi_skia_effects.sources 319 sources += gypi_skia_effects.sources
322 sources += gypi_skia_utils.sources 320 sources += gypi_skia_utils.sources
323 sources += gypi_skia_pdf.sources 321 sources += gypi_skia_pdf.sources
324 sources += gypi_values.skia_library_sources 322 sources += gypi_values.skia_library_sources
325 323
326 if (cpu_arch == "arm") { 324 if (cpu_arch == "arm") {
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 "//third_party/skia/src/utils/win/SkAutoCoInitialize.cpp", 417 "//third_party/skia/src/utils/win/SkAutoCoInitialize.cpp",
420 "//third_party/skia/src/utils/win/SkIStream.cpp", 418 "//third_party/skia/src/utils/win/SkIStream.cpp",
421 "//third_party/skia/src/utils/win/SkWGL_win.cpp", 419 "//third_party/skia/src/utils/win/SkWGL_win.cpp",
422 ] 420 ]
423 } 421 }
424 422
425 # Fixup Chrome sources. 423 # Fixup Chrome sources.
426 if (is_posix) { 424 if (is_posix) {
427 sources -= [ "ext/SkThread_chrome.cc" ] 425 sources -= [ "ext/SkThread_chrome.cc" ]
428 } 426 }
429 if (is_ios) {
430 sources -= [ "ext/vector_platform_device_skia.cc" ]
431 }
432 if (is_win) { 427 if (is_win) {
433 sources -= [ "ext/SkThread_chrome.cc" ] 428 sources -= [ "ext/SkThread_chrome.cc" ]
434 } 429 }
435 if (is_android && printing_mode == 0) { 430 if (is_android && printing_mode == 0) {
436 sources -= [ 431 sources -= [
437 "ext/skia_utils_base.cc", 432 "ext/skia_utils_base.cc",
438 "ext/vector_platform_device_skia.cc"
439 ] 433 ]
440 } 434 }
441 435
442 # Fixup skia library sources. 436 # Fixup skia library sources.
443 if (is_win) { 437 if (is_win) {
444 sources -= [ 438 sources -= [
445 "//third_party/skia/src/ports/SkOSFile_posix.cpp", 439 "//third_party/skia/src/ports/SkOSFile_posix.cpp",
446 "//third_party/skia/src/ports/SkTime_Unix.cpp", 440 "//third_party/skia/src/ports/SkTime_Unix.cpp",
447 "//third_party/skia/src/ports/SkTLS_pthread.cpp", 441 "//third_party/skia/src/ports/SkTLS_pthread.cpp",
448 ] 442 ]
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
718 ":skia_library_config", 712 ":skia_library_config",
719 "//build/config/compiler:no_chromium_code" 713 "//build/config/compiler:no_chromium_code"
720 ] 714 ]
721 715
722 deps = [ 716 deps = [
723 "//base", 717 "//base",
724 ] 718 ]
725 719
726 visibility = [ ":skia" ] 720 visibility = [ ":skia" ]
727 } 721 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698