OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 source_set("compositor") { | 5 source_set("compositor") { |
6 visibility = [ "//blimp/client/*" ] | 6 visibility = [ "//blimp/client/*" ] |
7 | 7 |
8 sources = [ | 8 sources = [ |
9 "blimp_client_picture_cache.cc", | 9 "blimp_client_picture_cache.cc", |
10 "blimp_client_picture_cache.h", | 10 "blimp_client_picture_cache.h", |
| 11 "blimp_compositor.cc", |
| 12 "blimp_compositor.h", |
11 "blimp_image_decoder.cc", | 13 "blimp_image_decoder.cc", |
12 "blimp_image_decoder.h", | 14 "blimp_image_decoder.h", |
13 "blob_image_serialization_processor.cc", | 15 "blob_image_serialization_processor.cc", |
14 "blob_image_serialization_processor.h", | 16 "blob_image_serialization_processor.h", |
15 "decoding_image_generator.cc", | 17 "decoding_image_generator.cc", |
16 "decoding_image_generator.h", | 18 "decoding_image_generator.h", |
17 ] | 19 ] |
18 | 20 |
19 deps = [ | 21 deps = [ |
20 "//blimp/net", | 22 "//blimp/net", |
21 "//third_party/libwebp", | 23 "//third_party/libwebp", |
22 ] | 24 ] |
23 | 25 |
24 public_deps = [ | 26 public_deps = [ |
25 "//base", | 27 "//base", |
| 28 "//blimp/client/core/input", |
26 "//blimp/common", | 29 "//blimp/common", |
27 "//blimp/common/proto", | 30 "//blimp/common/proto", |
28 "//cc", | 31 "//cc", |
| 32 "//cc/proto", |
29 "//skia", | 33 "//skia", |
30 ] | 34 ] |
31 } | 35 } |
32 | 36 |
| 37 source_set("compositor_support") { |
| 38 visibility = [ "//blimp/client/*" ] |
| 39 |
| 40 sources = [ |
| 41 "blimp_context_provider.cc", |
| 42 "blimp_context_provider.h", |
| 43 "blimp_delegating_output_surface.cc", |
| 44 "blimp_delegating_output_surface.h", |
| 45 "blimp_gpu_memory_buffer_manager.cc", |
| 46 "blimp_gpu_memory_buffer_manager.h", |
| 47 "compositor_deps_provider.cc", |
| 48 "compositor_deps_provider.h", |
| 49 ] |
| 50 |
| 51 deps = [ |
| 52 "//cc", |
| 53 "//cc/surfaces", |
| 54 "//gpu/command_buffer/client", |
| 55 "//gpu/command_buffer/client:gl_in_process_context", |
| 56 "//gpu/command_buffer/client:gles2_c_lib", |
| 57 "//gpu/command_buffer/client:gles2_implementation", |
| 58 "//gpu/command_buffer/common:gles2_utils", |
| 59 "//gpu/skia_bindings", |
| 60 "//ui/gl", |
| 61 ] |
| 62 } |
| 63 |
33 source_set("unit_tests") { | 64 source_set("unit_tests") { |
34 visibility = [ "//blimp/client/core:unit_tests" ] | 65 visibility = [ "//blimp/client/core:unit_tests" ] |
35 | 66 |
36 testonly = true | 67 testonly = true |
37 | 68 |
38 sources = [ | 69 sources = [ |
39 "blimp_client_picture_cache_unittest.cc", | 70 "blimp_client_picture_cache_unittest.cc", |
| 71 "blimp_compositor_unittest.cc", |
40 ] | 72 ] |
41 | 73 |
42 deps = [ | 74 deps = [ |
43 ":compositor", | 75 ":compositor", |
| 76 ":compositor_support", |
44 "//blimp/test:support", | 77 "//blimp/test:support", |
45 "//skia", | 78 "//skia", |
46 "//testing/gtest", | 79 "//testing/gtest", |
47 ] | 80 ] |
48 } | 81 } |
OLD | NEW |