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 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 | 6 |
7 source_set("gpu") { | 7 source_set("gpu") { |
8 sources = [ | 8 sources = [ |
9 "gpu_service.h", | 9 "gpu.h", |
10 ] | 10 ] |
11 | 11 |
12 deps = [ | 12 deps = [ |
13 ":internal", | 13 ":internal", |
14 "//gpu/ipc/client", | 14 "//gpu/ipc/client", |
15 "//services/ui/public/interfaces", | 15 "//services/ui/public/interfaces", |
16 ] | 16 ] |
17 | 17 |
18 allow_circular_includes_from = [ ":internal" ] | 18 allow_circular_includes_from = [ ":internal" ] |
19 } | 19 } |
20 | 20 |
21 source_set("internal") { | 21 source_set("internal") { |
22 visibility = [ | 22 visibility = [ |
23 ":gpu", | 23 ":gpu", |
24 "//services/ui/demo:lib", | 24 "//services/ui/demo:lib", |
25 ] | 25 ] |
26 | 26 |
27 sources = [ | 27 sources = [ |
28 "client_gpu_memory_buffer_manager.cc", | 28 "client_gpu_memory_buffer_manager.cc", |
29 "client_gpu_memory_buffer_manager.h", | 29 "client_gpu_memory_buffer_manager.h", |
30 "gpu_service.cc", | 30 "gpu.cc", |
31 ] | 31 ] |
32 | 32 |
33 deps = [ | 33 deps = [ |
34 "//base", | 34 "//base", |
35 "//gpu/command_buffer/client", | 35 "//gpu/command_buffer/client", |
36 "//gpu/ipc/client", | 36 "//gpu/ipc/client", |
37 "//mojo/public/cpp/system", | 37 "//mojo/public/cpp/system", |
38 "//services/service_manager/public/cpp", | 38 "//services/service_manager/public/cpp", |
39 "//services/ui/common:mus_common", | 39 "//services/ui/common:mus_common", |
40 "//services/ui/public/interfaces", | 40 "//services/ui/public/interfaces", |
41 ] | 41 ] |
42 } | 42 } |
OLD | NEW |