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

Side by Side Diff: skia/BUILD.gn

Issue 2611153002: Delete Mac & Cairo skia::BitmapPlatformDevice impls (Closed)
Patch Set: shared lib deps change Created 3 years, 11 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
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 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 # Retain the files for the SkFontMgr_Android on linux to emulate android 360 # Retain the files for the SkFontMgr_Android on linux to emulate android
361 # fonts. See content/zygote/zygote_main_linux.cc 361 # fonts. See content/zygote/zygote_main_linux.cc
362 "//third_party/skia/src/ports/SkFontMgr_android.cpp", 362 "//third_party/skia/src/ports/SkFontMgr_android.cpp",
363 "//third_party/skia/src/ports/SkFontMgr_android_parser.cpp", 363 "//third_party/skia/src/ports/SkFontMgr_android_parser.cpp",
364 ] 364 ]
365 } 365 }
366 366
367 # Select the right BitmapPlatformDevice. 367 # Select the right BitmapPlatformDevice.
368 if (is_win) { 368 if (is_win) {
369 sources += [ "ext/bitmap_platform_device_win.cc" ] 369 sources += [ "ext/bitmap_platform_device_win.cc" ]
370 } else if (is_mac) {
371 sources += [ "ext/bitmap_platform_device_mac.cc" ]
372 } else if (use_cairo) {
373 sources += [ "ext/bitmap_platform_device_cairo.cc" ]
374 } else if (!is_ios) { 370 } else if (!is_ios) {
375 sources += [ "ext/bitmap_platform_device_skia.cc" ] 371 sources += [ "ext/bitmap_platform_device_skia.cc" ]
376 } 372 }
377 373
378 if (is_clang && !is_nacl) { 374 if (is_clang && !is_nacl) {
379 # Skia won't compile with some of the more strict clang warnings. 375 # Skia won't compile with some of the more strict clang warnings.
380 # e.g. it does: 376 # e.g. it does:
381 # SkASSERT(!"sk_out_of_memory"); 377 # SkASSERT(!"sk_out_of_memory");
382 configs -= [ "//build/config/clang:extra_warnings" ] 378 configs -= [ "//build/config/clang:extra_warnings" ]
383 } 379 }
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 700
705 deps = [ 701 deps = [
706 ":skia", 702 ":skia",
707 "//base", 703 "//base",
708 "//base/test:test_support", 704 "//base/test:test_support",
709 "//build/config/sanitizers:deps", 705 "//build/config/sanitizers:deps",
710 "//build/win:default_exe_manifest", 706 "//build/win:default_exe_manifest",
711 ] 707 ]
712 } 708 }
713 } 709 }
OLDNEW
« no previous file with comments | « chrome/installer/linux/debian/expected_deps_x64_wheezy ('k') | skia/ext/bitmap_platform_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698