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 "paint_canvas.cc", | 10 "paint_canvas.cc", |
11 "paint_canvas.h", | 11 "paint_canvas.h", |
12 "paint_export.h", | 12 "paint_export.h", |
13 "paint_flags.h", | 13 "paint_flags.h", |
| 14 "paint_record.cc", |
14 "paint_record.h", | 15 "paint_record.h", |
| 16 "paint_recorder.cc", |
15 "paint_recorder.h", | 17 "paint_recorder.h", |
16 "paint_shader.h", | 18 "paint_shader.h", |
| 19 "paint_surface.cc", |
17 "paint_surface.h", | 20 "paint_surface.h", |
18 ] | 21 ] |
19 | 22 |
20 defines = [ "CC_PAINT_IMPLEMENTATION=1" ] | 23 defines = [ "CC_PAINT_IMPLEMENTATION=1" ] |
21 | 24 |
22 # cc/paint is intended to be a separate component from cc that can be | 25 # cc/paint is intended to be a separate component from cc that can be |
23 # included in Blink. This component should never include //base. | 26 # included in Blink. This component should never publicly include |
| 27 # anything that Blink core wouldn't include (e.g. base). |
24 public_deps = [ | 28 public_deps = [ |
25 "//skia", | 29 "//skia", |
26 ] | 30 ] |
| 31 |
| 32 deps = [ |
| 33 "//base", |
| 34 ] |
27 } | 35 } |
OLD | NEW |