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