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 source_set("common") { | 5 source_set("common") { |
6 sources = [ | 6 sources = [ |
7 "server_gpu_memory_buffer_manager.cc", | 7 "server_gpu_memory_buffer_manager.cc", |
8 "server_gpu_memory_buffer_manager.h", | 8 "server_gpu_memory_buffer_manager.h", |
9 ] | 9 ] |
10 | 10 |
11 deps = [ | 11 deps = [ |
12 "//gpu/ipc/client", | 12 "//gpu/ipc/client", |
13 "//gpu/ipc/common", | 13 "//gpu/ipc/common", |
14 "//services/ui/gpu/interfaces", | 14 "//services/ui/gpu/interfaces", |
15 ] | 15 ] |
16 | 16 |
17 public_deps = [ | 17 public_deps = [ |
18 "//gpu/command_buffer/client", | 18 "//gpu/command_buffer/client", |
19 "//gpu/ipc/host", | 19 "//gpu/ipc/host", |
20 "//ui/gfx", | 20 "//ui/gfx", |
21 ] | 21 ] |
22 } | 22 } |
| 23 |
| 24 source_set("unit_tests") { |
| 25 testonly = true |
| 26 sources = [ |
| 27 "server_gpu_memory_buffer_manager_unittest.cc", |
| 28 ] |
| 29 |
| 30 deps = [ |
| 31 ":common", |
| 32 "//base/test:test_support", |
| 33 "//services/ui/gpu/interfaces", |
| 34 "//testing/gtest", |
| 35 ] |
| 36 } |
OLD | NEW |