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

Side by Side Diff: skia/BUILD.gn

Issue 2616003003: Revert of Delete Mac & Cairo skia::BitmapPlatformDevice impls (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | skia/ext/bitmap_platform_device.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" ]
370 } else if (!is_ios) { 374 } else if (!is_ios) {
371 sources += [ "ext/bitmap_platform_device_skia.cc" ] 375 sources += [ "ext/bitmap_platform_device_skia.cc" ]
372 } 376 }
373 377
374 if (is_clang && !is_nacl) { 378 if (is_clang && !is_nacl) {
375 # Skia won't compile with some of the more strict clang warnings. 379 # Skia won't compile with some of the more strict clang warnings.
376 # e.g. it does: 380 # e.g. it does:
377 # SkASSERT(!"sk_out_of_memory"); 381 # SkASSERT(!"sk_out_of_memory");
378 configs -= [ "//build/config/clang:extra_warnings" ] 382 configs -= [ "//build/config/clang:extra_warnings" ]
379 } 383 }
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
700 704
701 deps = [ 705 deps = [
702 ":skia", 706 ":skia",
703 "//base", 707 "//base",
704 "//base/test:test_support", 708 "//base/test:test_support",
705 "//build/config/sanitizers:deps", 709 "//build/config/sanitizers:deps",
706 "//build/win:default_exe_manifest", 710 "//build/win:default_exe_manifest",
707 ] 711 ]
708 } 712 }
709 } 713 }
OLDNEW
« no previous file with comments | « no previous file | skia/ext/bitmap_platform_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698