| 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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 # assembly code contains flow control(jmp or jcc) statements. | 271 # assembly code contains flow control(jmp or jcc) statements. |
| 272 | 272 |
| 273 "/wd4800", # forcing value to bool 'true/false'(assigning int to bool). | 273 "/wd4800", # forcing value to bool 'true/false'(assigning int to bool). |
| 274 ] | 274 ] |
| 275 } | 275 } |
| 276 } | 276 } |
| 277 | 277 |
| 278 component("skia") { | 278 component("skia") { |
| 279 sources = [ | 279 sources = [ |
| 280 # Chrome sources. | 280 # Chrome sources. |
| 281 "config/SkUserConfig.h", |
| 282 "config/sk_ref_cnt_ext_debug.h", |
| 283 "config/sk_ref_cnt_ext_release.h", |
| 281 "ext/SkDiscardableMemory_chrome.cc", | 284 "ext/SkDiscardableMemory_chrome.cc", |
| 282 "ext/SkMemory_new_handler.cpp", | 285 "ext/SkMemory_new_handler.cpp", |
| 283 "ext/analysis_canvas.cc", | 286 "ext/analysis_canvas.cc", |
| 284 "ext/benchmarking_canvas.cc", | 287 "ext/benchmarking_canvas.cc", |
| 285 "ext/convolver.cc", | 288 "ext/convolver.cc", |
| 286 "ext/event_tracer_impl.cc", | 289 "ext/event_tracer_impl.cc", |
| 287 "ext/fontmgr_default_win.cc", | 290 "ext/fontmgr_default_win.cc", |
| 288 "ext/google_logging.cc", | 291 "ext/google_logging.cc", |
| 289 "ext/image_operations.cc", | 292 "ext/image_operations.cc", |
| 290 "ext/opacity_filter_canvas.cc", | 293 "ext/opacity_filter_canvas.cc", |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 436 | 439 |
| 437 if (is_clang) { | 440 if (is_clang) { |
| 438 # Skia won't compile with some of the more strict clang warnings. | 441 # Skia won't compile with some of the more strict clang warnings. |
| 439 # e.g. it does: | 442 # e.g. it does: |
| 440 # SkASSERT(!"sk_out_of_memory"); | 443 # SkASSERT(!"sk_out_of_memory"); |
| 441 configs -= [ "//build/config/clang:extra_warnings" ] | 444 configs -= [ "//build/config/clang:extra_warnings" ] |
| 442 } | 445 } |
| 443 | 446 |
| 444 configs -= [ "//build/config/compiler:chromium_code" ] | 447 configs -= [ "//build/config/compiler:chromium_code" ] |
| 445 configs += [ | 448 configs += [ |
| 449 ":skia_config", |
| 446 ":skia_library_config", | 450 ":skia_library_config", |
| 447 "//build/config/compiler:no_chromium_code", | 451 "//build/config/compiler:no_chromium_code", |
| 448 ] | 452 ] |
| 449 public_configs = [ ":skia_config" ] | 453 public_configs = [ ":skia_config" ] |
| 450 | 454 |
| 451 deps = [ | 455 deps = [ |
| 452 ":skia_opts", | 456 ":skia_opts", |
| 453 "//base", | 457 "//base", |
| 454 "//base/third_party/dynamic_annotations", | 458 "//base/third_party/dynamic_annotations", |
| 455 "//third_party/zlib", | 459 "//third_party/zlib", |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 717 ] | 721 ] |
| 718 | 722 |
| 719 deps = [ | 723 deps = [ |
| 720 ":skia", | 724 ":skia", |
| 721 "//base", | 725 "//base", |
| 722 "//base/test:test_support", | 726 "//base/test:test_support", |
| 723 "//build/config/sanitizers:deps", | 727 "//build/config/sanitizers:deps", |
| 724 ] | 728 ] |
| 725 } | 729 } |
| 726 } | 730 } |
| OLD | NEW |