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 import("//services/catalog/public/tools/catalog.gni") | 6 import("//services/catalog/public/tools/catalog.gni") |
7 import("//services/service_manager/public/service_manifest.gni") | 7 import("//services/service_manager/public/service_manifest.gni") |
8 import("//testing/test.gni") | 8 import("//testing/test.gni") |
9 | 9 |
10 source_set("gpu") { | 10 source_set("gpu") { |
11 output_name = "mus_gpu" | 11 output_name = "mus_gpu" |
12 | 12 |
13 sources = [ | 13 sources = [ |
14 "gpu_main.cc", | 14 "gpu_main.cc", |
15 "gpu_main.h", | 15 "gpu_main.h", |
16 "gpu_service.cc", | 16 "gpu_service.cc", |
17 "gpu_service.h", | 17 "gpu_service.h", |
18 ] | 18 ] |
19 | 19 |
20 defines = [ "NOTIMPLEMENTED_POLICY=5" ] | 20 defines = [ "NOTIMPLEMENTED_POLICY=5" ] |
21 | 21 |
22 deps = [ | 22 deps = [ |
23 "//cc", | 23 "//cc", |
24 "//components/viz", | 24 "//components/viz", |
25 "//gpu/ipc:command_buffer", | 25 "//gpu/ipc:command_buffer", |
26 "//gpu/ipc/common", | 26 "//gpu/ipc/common", |
27 "//gpu/ipc/service", | 27 "//gpu/ipc/service", |
28 "//ipc", | 28 "//ipc", |
29 "//media/gpu/ipc/service", | 29 "//media/gpu/ipc/service", |
| 30 "//media/gpu/mojo/service", |
30 "//mojo/public/cpp/system", | 31 "//mojo/public/cpp/system", |
31 "//services/service_manager/public/cpp", | 32 "//services/service_manager/public/cpp", |
32 "//services/ui/common:server_gpu", | 33 "//services/ui/common:server_gpu", |
33 "//services/ui/gpu/interfaces", | 34 "//services/ui/gpu/interfaces", |
34 "//services/ui/public/interfaces", | 35 "//services/ui/public/interfaces", |
35 "//ui/gfx:memory_buffer", | 36 "//ui/gfx:memory_buffer", |
36 "//ui/gl/init", | 37 "//ui/gl/init", |
37 ] | 38 ] |
38 | 39 |
39 if (use_ozone) { | 40 if (use_ozone) { |
(...skipping 28 matching lines...) Expand all Loading... |
68 service_manifest("unittest_manifest") { | 69 service_manifest("unittest_manifest") { |
69 name = "mus_gpu_unittests" | 70 name = "mus_gpu_unittests" |
70 source = "test_manifest.json" | 71 source = "test_manifest.json" |
71 } | 72 } |
72 | 73 |
73 catalog("tests_catalog") { | 74 catalog("tests_catalog") { |
74 testonly = true | 75 testonly = true |
75 embedded_services = [ ":unittest_manifest" ] | 76 embedded_services = [ ":unittest_manifest" ] |
76 } | 77 } |
77 } | 78 } |
OLD | NEW |