| 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 visibility = [ "//blimp/client/support" ] | |
| 12 | |
| 13 sources = [ | 11 sources = [ |
| 14 "blimp_context_provider.cc", | 12 "blimp_context_provider.cc", |
| 15 "blimp_context_provider.h", | 13 "blimp_context_provider.h", |
| 16 "blimp_gpu_memory_buffer_manager.cc", | 14 "blimp_gpu_memory_buffer_manager.cc", |
| 17 "blimp_gpu_memory_buffer_manager.h", | 15 "blimp_gpu_memory_buffer_manager.h", |
| 18 "blimp_layer_tree_settings.cc", | 16 "blimp_layer_tree_settings.cc", |
| 19 "blimp_layer_tree_settings.h", | 17 "blimp_layer_tree_settings.h", |
| 20 "compositor_dependencies_impl.cc", | 18 "compositor_dependencies_impl.cc", |
| 21 "compositor_dependencies_impl.h", | 19 "compositor_dependencies_impl.h", |
| 22 ] | 20 ] |
| 23 | 21 |
| 24 public_deps = [ | 22 public_deps = [ |
| 25 "//base", | 23 "//base", |
| 26 "//cc", | 24 "//cc", |
| 27 "//gpu/command_buffer/client", | 25 "//gpu/command_buffer/client", |
| 28 "//gpu/command_buffer/client:gl_in_process_context", | 26 "//gpu/command_buffer/client:gl_in_process_context", |
| 29 "//gpu/command_buffer/client:gles2_c_lib", | 27 "//gpu/command_buffer/client:gles2_c_lib", |
| 30 "//gpu/command_buffer/client:gles2_implementation", | 28 "//gpu/command_buffer/client:gles2_implementation", |
| 31 "//ui/gl", | 29 "//ui/gl", |
| 32 ] | 30 ] |
| 33 | 31 |
| 34 deps = [ | 32 deps = [ |
| 35 "//blimp/client/public:public_headers", | 33 "//blimp/client/public:public_headers", |
| 36 "//cc/surfaces", | 34 "//cc/surfaces", |
| 37 "//gpu/skia_bindings", | 35 "//gpu/skia_bindings", |
| 38 "//skia", | 36 "//skia", |
| 39 "//ui/gfx:memory_buffer", | 37 "//ui/gfx:memory_buffer", |
| 40 ] | 38 ] |
| 41 } | 39 } |
| 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 |