| 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 if (current_cpu == "arm") { | 8 if (current_cpu == "arm") { |
| 9 import("//build/config/arm.gni") | 9 import("//build/config/arm.gni") |
| 10 } | 10 } |
| (...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 437 if (is_win) { | 437 if (is_win) { |
| 438 sources += [ "ext/bitmap_platform_device_win.cc" ] | 438 sources += [ "ext/bitmap_platform_device_win.cc" ] |
| 439 } else if (is_mac) { | 439 } else if (is_mac) { |
| 440 sources += [ "ext/bitmap_platform_device_mac.cc" ] | 440 sources += [ "ext/bitmap_platform_device_mac.cc" ] |
| 441 } else if (use_cairo) { | 441 } else if (use_cairo) { |
| 442 sources += [ "ext/bitmap_platform_device_cairo.cc" ] | 442 sources += [ "ext/bitmap_platform_device_cairo.cc" ] |
| 443 } else if (!is_ios) { | 443 } else if (!is_ios) { |
| 444 sources += [ "ext/bitmap_platform_device_skia.cc" ] | 444 sources += [ "ext/bitmap_platform_device_skia.cc" ] |
| 445 } | 445 } |
| 446 | 446 |
| 447 if (is_clang) { | 447 if (is_clang && !is_nacl) { |
| 448 # Skia won't compile with some of the more strict clang warnings. | 448 # Skia won't compile with some of the more strict clang warnings. |
| 449 # e.g. it does: | 449 # e.g. it does: |
| 450 # SkASSERT(!"sk_out_of_memory"); | 450 # SkASSERT(!"sk_out_of_memory"); |
| 451 configs -= [ "//build/config/clang:extra_warnings" ] | 451 configs -= [ "//build/config/clang:extra_warnings" ] |
| 452 } | 452 } |
| 453 | 453 |
| 454 configs -= [ "//build/config/compiler:chromium_code" ] | 454 configs -= [ "//build/config/compiler:chromium_code" ] |
| 455 configs += [ | 455 configs += [ |
| 456 ":skia_config", | 456 ":skia_config", |
| 457 ":skia_library_config", | 457 ":skia_library_config", |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 719 ] | 719 ] |
| 720 | 720 |
| 721 deps = [ | 721 deps = [ |
| 722 ":skia", | 722 ":skia", |
| 723 "//base", | 723 "//base", |
| 724 "//base/test:test_support", | 724 "//base/test:test_support", |
| 725 "//build/config/sanitizers:deps", | 725 "//build/config/sanitizers:deps", |
| 726 ] | 726 ] |
| 727 } | 727 } |
| 728 } | 728 } |
| OLD | NEW |