| 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 if (is_android) { | 5 if (is_android) { |
| 6 import("//build/config/android/config.gni") | 6 import("//build/config/android/config.gni") |
| 7 import("//build/config/android/rules.gni") | 7 import("//build/config/android/rules.gni") |
| 8 } | 8 } |
| 9 | 9 |
| 10 source_set("compositor") { | 10 source_set("compositor") { |
| 11 sources = [ | 11 sources = [ |
| 12 "blimp_context_provider.cc", | 12 "blimp_context_provider.cc", |
| 13 "blimp_context_provider.h", | 13 "blimp_context_provider.h", |
| 14 "blimp_gpu_memory_buffer_manager.cc", | 14 "blimp_gpu_memory_buffer_manager.cc", |
| 15 "blimp_gpu_memory_buffer_manager.h", | 15 "blimp_gpu_memory_buffer_manager.h", |
| 16 "blimp_layer_tree_settings.cc", | 16 "blimp_layer_tree_settings.cc", |
| 17 "blimp_layer_tree_settings.h", | 17 "blimp_layer_tree_settings.h", |
| 18 "compositor_dependencies_impl.cc", | 18 "compositor_dependencies_impl.cc", |
| 19 "compositor_dependencies_impl.h", | 19 "compositor_dependencies_impl.h", |
| 20 "display_compositor.cc", |
| 21 "display_compositor.h", |
| 20 ] | 22 ] |
| 21 | 23 |
| 22 public_deps = [ | 24 public_deps = [ |
| 23 "//base", | 25 "//base", |
| 24 "//cc", | 26 "//cc", |
| 25 "//gpu/command_buffer/client", | 27 "//gpu/command_buffer/client", |
| 26 "//gpu/command_buffer/client:gl_in_process_context", | 28 "//gpu/command_buffer/client:gl_in_process_context", |
| 27 "//gpu/command_buffer/client:gles2_c_lib", | 29 "//gpu/command_buffer/client:gles2_c_lib", |
| 28 "//gpu/command_buffer/client:gles2_implementation", | 30 "//gpu/command_buffer/client:gles2_implementation", |
| 29 "//ui/gl", | 31 "//ui/gl", |
| 30 ] | 32 ] |
| 31 | 33 |
| 32 deps = [ | 34 deps = [ |
| 33 "//blimp/client/public:public_headers", | 35 "//blimp/client/public:public_headers", |
| 34 "//cc/surfaces", | 36 "//cc/surfaces", |
| 35 "//gpu/skia_bindings", | 37 "//gpu/skia_bindings", |
| 36 "//skia", | 38 "//skia", |
| 37 "//ui/gfx:memory_buffer", | 39 "//ui/gfx:memory_buffer", |
| 38 ] | 40 ] |
| 39 } | 41 } |
| 40 | |
| 41 source_set("test_support") { | |
| 42 testonly = true | |
| 43 | |
| 44 sources = [ | |
| 45 "mock_compositor_dependencies.cc", | |
| 46 "mock_compositor_dependencies.h", | |
| 47 ] | |
| 48 | |
| 49 deps = [ | |
| 50 "//cc:test_support", | |
| 51 ] | |
| 52 | |
| 53 public_deps = [ | |
| 54 ":compositor", | |
| 55 ] | |
| 56 } | |
| OLD | NEW |