| 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", |
| 20 "skia_paint_canvas.cc", | 48 "skia_paint_canvas.cc", |
| 21 "skia_paint_canvas.h", | 49 "skia_paint_canvas.h", |
| 50 "transform_display_item.cc", |
| 51 "transform_display_item.h", |
| 22 ] | 52 ] |
| 23 | 53 |
| 24 defines = [ "CC_PAINT_IMPLEMENTATION=1" ] | 54 defines = [ "CC_PAINT_IMPLEMENTATION=1" ] |
| 25 | 55 |
| 26 # cc/paint is intended to be a separate component from cc that can be | 56 # cc/paint is intended to be a separate component from cc that can be |
| 27 # included in Blink. This component should never publicly include | 57 # included in Blink. This component should never publicly include |
| 28 # anything that Blink core wouldn't include (e.g. base). | 58 # anything that Blink core wouldn't include (e.g. base). |
| 29 public_deps = [ | 59 public_deps = [ |
| 60 "//cc/base", |
| 61 "//cc/debug", |
| 30 "//skia", | 62 "//skia", |
| 63 "//ui/gfx:color_space", |
| 64 "//ui/gfx:geometry_skia", |
| 65 "//ui/gfx/animation", |
| 66 "//ui/gfx/geometry", |
| 31 ] | 67 ] |
| 32 | 68 |
| 33 deps = [ | 69 deps = [ |
| 34 "//base", | 70 "//base", |
| 35 ] | 71 ] |
| 36 } | 72 } |
| OLD | NEW |