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 "discardable_image_map.cc", | 10 "discardable_image_map.cc", |
(...skipping 11 matching lines...) Expand all Loading... |
22 "paint_flags.cc", | 22 "paint_flags.cc", |
23 "paint_flags.h", | 23 "paint_flags.h", |
24 "paint_image.cc", | 24 "paint_image.cc", |
25 "paint_image.h", | 25 "paint_image.h", |
26 "paint_op_buffer.cc", | 26 "paint_op_buffer.cc", |
27 "paint_op_buffer.h", | 27 "paint_op_buffer.h", |
28 "paint_record.cc", | 28 "paint_record.cc", |
29 "paint_record.h", | 29 "paint_record.h", |
30 "paint_recorder.cc", | 30 "paint_recorder.cc", |
31 "paint_recorder.h", | 31 "paint_recorder.h", |
32 "paint_shader.cc", | |
33 "paint_shader.h", | 32 "paint_shader.h", |
34 "record_paint_canvas.cc", | 33 "record_paint_canvas.cc", |
35 "record_paint_canvas.h", | 34 "record_paint_canvas.h", |
36 "skia_paint_canvas.cc", | 35 "skia_paint_canvas.cc", |
37 "skia_paint_canvas.h", | 36 "skia_paint_canvas.h", |
38 ] | 37 ] |
39 | 38 |
40 defines = [ "CC_PAINT_IMPLEMENTATION=1" ] | 39 defines = [ "CC_PAINT_IMPLEMENTATION=1" ] |
41 | 40 |
42 # cc/paint is intended to be a separate component from cc that can be | 41 # cc/paint is intended to be a separate component from cc that can be |
43 # included in Blink. This component should never publicly include | 42 # included in Blink. This component should never publicly include |
44 # anything that Blink core wouldn't include (e.g. base). | 43 # anything that Blink core wouldn't include (e.g. base). |
45 public_deps = [ | 44 public_deps = [ |
46 "//cc/base", | 45 "//cc/base", |
47 "//cc/debug", | 46 "//cc/debug", |
48 "//skia", | 47 "//skia", |
49 "//ui/gfx:color_space", | 48 "//ui/gfx:color_space", |
50 "//ui/gfx:geometry_skia", | 49 "//ui/gfx:geometry_skia", |
51 "//ui/gfx/geometry", | 50 "//ui/gfx/geometry", |
52 ] | 51 ] |
53 | 52 |
54 deps = [ | 53 deps = [ |
55 "//base", | 54 "//base", |
56 ] | 55 ] |
57 } | 56 } |
OLD | NEW |