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 if (cpu_arch == "arm") { | 7 if (cpu_arch == "arm") { |
8 import("//build/config/arm.gni") | 8 import("//build/config/arm.gni") |
9 } | 9 } |
10 | 10 |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 } | 318 } |
319 | 319 |
320 # GPU | 320 # GPU |
321 if (skia_support_gpu) { | 321 if (skia_support_gpu) { |
322 sources += gypi_skia_gpu.skgpu_sources | 322 sources += gypi_skia_gpu.skgpu_sources |
323 sources += gypi_skia_gpu.skgpu_null_gl_sources | 323 sources += gypi_skia_gpu.skgpu_null_gl_sources |
324 } | 324 } |
325 | 325 |
326 # Remove unused util files include in utils.gypi | 326 # Remove unused util files include in utils.gypi |
327 sources -= [ | 327 sources -= [ |
| 328 "//third_party/skia/src/utils/SkCondVar.cpp", |
328 "//third_party/skia/src/utils/SkCondVar.h", | 329 "//third_party/skia/src/utils/SkCondVar.h", |
329 "//third_party/skia/src/utils/SkRunnable.h", | 330 "//third_party/skia/src/utils/SkRunnable.h", |
330 "//third_party/skia/src/utils/SkThreadPool.h", | |
331 "//third_party/skia/src/utils/SkCondVar.cpp", | |
332 | 331 |
333 "//third_party/skia/include/utils/SkBoundaryPatch.h", | 332 "//third_party/skia/include/utils/SkBoundaryPatch.h", |
334 "//third_party/skia/include/utils/SkFrontBufferedStream.h", | 333 "//third_party/skia/include/utils/SkFrontBufferedStream.h", |
335 "//third_party/skia/include/utils/SkCamera.h", | 334 "//third_party/skia/include/utils/SkCamera.h", |
336 "//third_party/skia/include/utils/SkCanvasStateUtils.h", | 335 "//third_party/skia/include/utils/SkCanvasStateUtils.h", |
337 "//third_party/skia/include/utils/SkCubicInterval.h", | 336 "//third_party/skia/include/utils/SkCubicInterval.h", |
338 "//third_party/skia/include/utils/SkCullPoints.h", | 337 "//third_party/skia/include/utils/SkCullPoints.h", |
339 "//third_party/skia/include/utils/SkDebugUtils.h", | 338 "//third_party/skia/include/utils/SkDebugUtils.h", |
340 "//third_party/skia/include/utils/SkDumpCanvas.h", | 339 "//third_party/skia/include/utils/SkDumpCanvas.h", |
341 "//third_party/skia/include/utils/SkEventTracer.h", | 340 "//third_party/skia/include/utils/SkEventTracer.h", |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
470 ] | 469 ] |
471 } | 470 } |
472 | 471 |
473 # Select the right BitmapPlatformDevice. | 472 # Select the right BitmapPlatformDevice. |
474 if (is_win) { | 473 if (is_win) { |
475 sources += [ | 474 sources += [ |
476 "ext/bitmap_platform_device_win.cc", | 475 "ext/bitmap_platform_device_win.cc", |
477 "ext/bitmap_platform_device_win.h", | 476 "ext/bitmap_platform_device_win.h", |
478 ] | 477 ] |
479 } else if (is_mac) { | 478 } else if (is_mac) { |
480 sources += [ | 479 sources += [ |
481 "ext/bitmap_platform_device_mac.cc", | 480 "ext/bitmap_platform_device_mac.cc", |
482 "ext/bitmap_platform_device_mac.h", | 481 "ext/bitmap_platform_device_mac.h", |
483 ] | 482 ] |
484 } else if (use_cairo) { | 483 } else if (use_cairo) { |
485 sources += [ | 484 sources += [ |
486 "ext/bitmap_platform_device_cairo.cc", | 485 "ext/bitmap_platform_device_cairo.cc", |
487 "ext/bitmap_platform_device_cairo.h", | 486 "ext/bitmap_platform_device_cairo.h", |
488 ] | 487 ] |
489 } else { | 488 } else { |
490 sources += [ | 489 sources += [ |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
695 ":skia_config", | 694 ":skia_config", |
696 "//build/config/compiler:no_chromium_code" | 695 "//build/config/compiler:no_chromium_code" |
697 ] | 696 ] |
698 | 697 |
699 deps = [ | 698 deps = [ |
700 "//base", | 699 "//base", |
701 ] | 700 ] |
702 | 701 |
703 visibility = ":skia" | 702 visibility = ":skia" |
704 } | 703 } |
OLD | NEW |