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 (cpu_arch == "arm") { | 8 if (cpu_arch == "arm") { |
9 import("//build/config/arm.gni") | 9 import("//build/config/arm.gni") |
10 } | 10 } |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
304 "ext/skia_utils_win.cc", | 304 "ext/skia_utils_win.cc", |
305 "ext/skia_utils_win.h", | 305 "ext/skia_utils_win.h", |
306 ] | 306 ] |
307 | 307 |
308 # The skia gypi values are relative to the skia_dir, so we need to rebase. | 308 # The skia gypi values are relative to the skia_dir, so we need to rebase. |
309 sources += gypi_skia_core.sources | 309 sources += gypi_skia_core.sources |
310 sources += gypi_skia_effects.sources | 310 sources += gypi_skia_effects.sources |
311 sources += gypi_skia_utils.sources | 311 sources += gypi_skia_utils.sources |
312 sources += gypi_values.skia_library_sources | 312 sources += gypi_values.skia_library_sources |
313 | 313 |
314 # This and skia_opts are really the same conceptual target so share headers. | |
315 allow_circular_includes_from = [ ":skia_opts" ] | |
316 | |
314 if (cpu_arch == "arm") { | 317 if (cpu_arch == "arm") { |
315 sources += [ | 318 sources += [ |
316 "//third_party/skia/src/core/SkUtilsArm.cpp", | 319 "//third_party/skia/src/core/SkUtilsArm.cpp", |
317 "//third_party/skia/src/core/SkUtilsArm.h", | 320 "//third_party/skia/src/core/SkUtilsArm.h", |
318 ] | 321 ] |
319 } | 322 } |
320 | 323 |
321 # GPU | 324 # GPU |
322 if (skia_support_gpu) { | 325 if (skia_support_gpu) { |
323 sources += gypi_skia_gpu.skgpu_sources | 326 sources += gypi_skia_gpu.skgpu_sources |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
617 ] | 620 ] |
618 | 621 |
619 if (!is_win && !is_mac) { | 622 if (!is_win && !is_mac) { |
620 sources -= [ "ext/platform_canvas_unittest.cc" ] | 623 sources -= [ "ext/platform_canvas_unittest.cc" ] |
621 } | 624 } |
622 | 625 |
623 deps = [ | 626 deps = [ |
624 ":skia", | 627 ":skia", |
625 "//base", | 628 "//base", |
626 "//base/test:run_all_unittests", | 629 "//base/test:run_all_unittests", |
630 "//cc:test_support", | |
Dirk Pranke
2015/02/20 00:40:12
This seems a bit odd; skia depends on cc ?
brettw
2015/02/20 00:53:43
Yes, the pixel_ref_utils_unittest uses some helper
| |
627 "//testing/gtest", | 631 "//testing/gtest", |
628 "//ui/gfx", | 632 "//ui/gfx", |
629 "//ui/gfx/geometry", | 633 "//ui/gfx/geometry", |
630 ] | 634 ] |
631 } | 635 } |
OLD | NEW |