Index: cc/paint/BUILD.gn |
diff --git a/cc/paint/BUILD.gn b/cc/paint/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a37d4a6dae577fbc4a58f628b57b8741184207ba |
--- /dev/null |
+++ b/cc/paint/BUILD.gn |
@@ -0,0 +1,27 @@ |
+# Copyright 2017 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+import("//cc/cc.gni") |
+ |
+cc_component("paint") { |
+ output_name = "cc_paint" |
+ sources = [ |
+ "paint_canvas.cc", |
+ "paint_canvas.h", |
+ "paint_export.h", |
+ "paint_flags.h", |
+ "paint_record.h", |
+ "paint_recorder.h", |
+ "paint_shader.h", |
+ "paint_surface.h", |
+ ] |
+ |
+ defines = [ "CC_PAINT_IMPLEMENTATION=1" ] |
+ |
+ # cc/paint is intended to be a separate component from cc that can be |
+ # included in Blink. This component should never include //base. |
+ public_deps = [ |
+ "//skia", |
+ ] |
+} |