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