| OLD | NEW |
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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 component("host") { | 5 component("host") { |
| 6 defines = [ "VIZ_HOST_IMPLEMENTATION" ] | 6 defines = [ "VIZ_HOST_IMPLEMENTATION" ] |
| 7 | 7 |
| 8 sources = [ | 8 sources = [ |
| 9 "frame_sink_observer.h", | 9 "frame_sink_observer.h", |
| 10 "host_frame_sink_manager.cc", | 10 "host_frame_sink_manager.cc", |
| 11 "host_frame_sink_manager.h", | 11 "host_frame_sink_manager.h", |
| 12 "server_gpu_memory_buffer_manager.cc", |
| 13 "server_gpu_memory_buffer_manager.h", |
| 12 "viz_host_export.h", | 14 "viz_host_export.h", |
| 13 ] | 15 ] |
| 14 | 16 |
| 15 deps = [ | 17 deps = [ |
| 16 "//base", | 18 "//base", |
| 17 "//cc/ipc:interfaces", | 19 "//cc/ipc:interfaces", |
| 18 "//cc/surfaces", | 20 "//cc/surfaces", |
| 21 "//gpu/ipc/client", |
| 22 "//gpu/ipc/common", |
| 23 "//services/ui/gpu/interfaces", |
| 24 ] |
| 25 |
| 26 public_deps = [ |
| 27 "//gpu/command_buffer/client", |
| 28 "//gpu/ipc/host", |
| 19 ] | 29 ] |
| 20 } | 30 } |
| 21 | 31 |
| 22 source_set("unit_tests") { | 32 source_set("unit_tests") { |
| 23 testonly = true | 33 testonly = true |
| 24 | 34 |
| 25 sources = [ | 35 sources = [ |
| 26 "host_frame_sink_manager_unittests.cc", | 36 "host_frame_sink_manager_unittests.cc", |
| 37 "server_gpu_memory_buffer_manager_unittest.cc", |
| 27 ] | 38 ] |
| 28 | 39 |
| 29 deps = [ | 40 deps = [ |
| 41 ":host", |
| 30 "//base", | 42 "//base", |
| 31 "//base/test:test_support", | 43 "//base/test:test_support", |
| 32 "//cc/ipc:interfaces", | 44 "//cc/ipc:interfaces", |
| 33 "//cc/surfaces", | 45 "//cc/surfaces", |
| 34 "//components/viz/host", | 46 "//gpu/ipc/host", |
| 35 "//mojo/public/cpp/bindings", | 47 "//mojo/public/cpp/bindings", |
| 48 "//services/ui/gpu/interfaces", |
| 36 "//testing/gmock", | 49 "//testing/gmock", |
| 37 "//testing/gtest", | 50 "//testing/gtest", |
| 38 ] | 51 ] |
| 39 } | 52 } |
| OLD | NEW |