OLD | NEW |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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("//cc/cc.gni") | 5 import("//cc/cc.gni") |
6 | 6 |
7 cc_component("paint") { | 7 cc_component("paint") { |
8 output_name = "cc_paint" | 8 output_name = "cc_paint" |
9 sources = [ | 9 sources = [ |
| 10 "clip_display_item.cc", |
| 11 "clip_display_item.h", |
| 12 "clip_path_display_item.cc", |
| 13 "clip_path_display_item.h", |
| 14 "compositing_display_item.cc", |
| 15 "compositing_display_item.h", |
| 16 "discardable_image_map.cc", |
| 17 "discardable_image_map.h", |
| 18 "display_item.h", |
| 19 "display_item_list.cc", |
| 20 "display_item_list.h", |
| 21 "draw_image.cc", |
| 22 "draw_image.h", |
| 23 "drawing_display_item.cc", |
| 24 "drawing_display_item.h", |
| 25 "filter_display_item.cc", |
| 26 "filter_display_item.h", |
| 27 "float_clip_display_item.cc", |
| 28 "float_clip_display_item.h", |
| 29 "image_id.h", |
| 30 "largest_display_item.cc", |
| 31 "largest_display_item.h", |
10 "paint_canvas.cc", | 32 "paint_canvas.cc", |
11 "paint_canvas.h", | 33 "paint_canvas.h", |
12 "paint_export.h", | 34 "paint_export.h", |
13 "paint_flags.h", | 35 "paint_flags.h", |
14 "paint_record.h", | 36 "paint_record.h", |
15 "paint_recorder.cc", | 37 "paint_recorder.cc", |
16 "paint_recorder.h", | 38 "paint_recorder.h", |
17 "paint_shader.h", | 39 "paint_shader.h", |
18 "paint_surface.cc", | 40 "paint_surface.cc", |
19 "paint_surface.h", | 41 "paint_surface.h", |
20 "skia_paint_canvas.cc", | 42 "skia_paint_canvas.cc", |
21 "skia_paint_canvas.h", | 43 "skia_paint_canvas.h", |
| 44 "transform_display_item.cc", |
| 45 "transform_display_item.h", |
22 ] | 46 ] |
23 | 47 |
24 defines = [ "CC_PAINT_IMPLEMENTATION=1" ] | 48 defines = [ "CC_PAINT_IMPLEMENTATION=1" ] |
25 | 49 |
26 # cc/paint is intended to be a separate component from cc that can be | 50 # cc/paint is intended to be a separate component from cc that can be |
27 # included in Blink. This component should never publicly include | 51 # included in Blink. This component should never publicly include |
28 # anything that Blink core wouldn't include (e.g. base). | 52 # anything that Blink core wouldn't include (e.g. base). |
29 public_deps = [ | 53 public_deps = [ |
| 54 "//cc/base", |
| 55 "//cc/debug", |
30 "//skia", | 56 "//skia", |
| 57 "//ui/gfx:color_space", |
| 58 "//ui/gfx:geometry_skia", |
| 59 "//ui/gfx/geometry", |
31 ] | 60 ] |
32 | 61 |
33 deps = [ | 62 deps = [ |
34 "//base", | 63 "//base", |
35 ] | 64 ] |
36 } | 65 } |
OLD | NEW |