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 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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 } |
OLD | NEW |