OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 static_library("skia") { | 5 source_set("skia") { |
6 sources = [ | 6 sources = [ |
7 "ganesh_context.cc", | 7 "ganesh_context.cc", |
8 "ganesh_context.h", | 8 "ganesh_context.h", |
9 "ganesh_framebuffer_surface.cc", | 9 "ganesh_framebuffer_surface.cc", |
10 "ganesh_framebuffer_surface.h", | 10 "ganesh_framebuffer_surface.h", |
11 "ganesh_texture_surface.cc", | 11 "ganesh_texture_surface.cc", |
12 "ganesh_texture_surface.h", | 12 "ganesh_texture_surface.h", |
13 ] | 13 ] |
14 | 14 |
15 deps = [ | 15 deps = [ |
| 16 ":skia_bindings", |
16 "//base", | 17 "//base", |
17 "//gpu/command_buffer/client:gles2_c_lib", | |
18 "//gpu/skia_bindings", | |
19 "//mojo/gpu", | 18 "//mojo/gpu", |
| 19 "//mojo/public/c/gpu", |
| 20 "//mojo/public/c/gpu:MGL", |
20 "//skia", | 21 "//skia", |
21 ] | 22 ] |
22 } | 23 } |
| 24 |
| 25 source_set("skia_bindings") { |
| 26 sources = [ |
| 27 "gl_bindings_skia.cc", |
| 28 "gl_bindings_skia.h", |
| 29 ] |
| 30 deps = [ |
| 31 "//mojo/public/c/gpu", |
| 32 "//mojo/public/c/gpu:GLES2", |
| 33 "//skia", |
| 34 ] |
| 35 } |
OLD | NEW |