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 "filter_operation.cc", |
| 28 "filter_operation.h", |
| 29 "filter_operations.cc", |
| 30 "filter_operations.h", |
| 31 "float_clip_display_item.cc", |
| 32 "float_clip_display_item.h", |
| 33 "image_id.h", |
| 34 "largest_display_item.cc", |
| 35 "largest_display_item.h", |
10 "paint_canvas.cc", | 36 "paint_canvas.cc", |
11 "paint_canvas.h", | 37 "paint_canvas.h", |
12 "paint_export.h", | 38 "paint_export.h", |
13 "paint_flags.h", | 39 "paint_flags.h", |
14 "paint_record.h", | 40 "paint_record.h", |
15 "paint_recorder.cc", | 41 "paint_recorder.cc", |
16 "paint_recorder.h", | 42 "paint_recorder.h", |
17 "paint_shader.h", | 43 "paint_shader.h", |
18 "paint_surface.cc", | 44 "paint_surface.cc", |
19 "paint_surface.h", | 45 "paint_surface.h", |
| 46 "render_surface_filters.cc", |
| 47 "render_surface_filters.h", |
| 48 "transform_display_item.cc", |
| 49 "transform_display_item.h", |
20 ] | 50 ] |
21 | 51 |
22 defines = [ "CC_PAINT_IMPLEMENTATION=1" ] | 52 defines = [ "CC_PAINT_IMPLEMENTATION=1" ] |
23 | 53 |
24 # cc/paint is intended to be a separate component from cc that can be | 54 # cc/paint is intended to be a separate component from cc that can be |
25 # included in Blink. This component should never publicly include | 55 # included in Blink. This component should never publicly include |
26 # anything that Blink core wouldn't include (e.g. base). | 56 # anything that Blink core wouldn't include (e.g. base). |
27 public_deps = [ | 57 public_deps = [ |
| 58 "//cc/base:cc_base", |
| 59 "//cc/debug", |
28 "//skia", | 60 "//skia", |
| 61 "//ui/gfx:color_space", |
| 62 "//ui/gfx:geometry_skia", |
| 63 "//ui/gfx/animation", |
| 64 "//ui/gfx/geometry", |
29 ] | 65 ] |
30 | 66 |
31 deps = [ | 67 deps = [ |
32 "//base", | 68 "//base", |
33 ] | 69 ] |
34 } | 70 } |
OLD | NEW |