OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 import("//build/config/ui.gni") | |
6 import("//mojo/public/mojo_application_manifest.gni") | |
7 import("//testing/test.gni") | |
8 | |
9 source_set("gpu") { | |
10 output_name = "mus_gpu" | |
11 | |
12 sources = [ | |
13 "gpu_service_impl.cc", | |
14 "gpu_service_impl.h", | |
15 "gpu_service_mus.cc", | |
16 "gpu_service_mus.h", | |
17 "mus_gpu_memory_buffer_manager.cc", | |
18 "mus_gpu_memory_buffer_manager.h", | |
19 ] | |
20 | |
21 deps = [ | |
22 "//components/mus/common:mus_common", | |
23 "//components/mus/public/interfaces", | |
24 "//gpu/ipc/common", | |
25 "//gpu/ipc/service", | |
26 "//ipc", | |
27 "//media/gpu/ipc/service", | |
28 "//mojo/public/cpp/system", | |
29 "//services/shell/public/cpp", | |
30 "//ui/gfx:memory_buffer", | |
31 "//ui/gl/init", | |
32 ] | |
33 | |
34 if (use_ozone) { | |
35 deps += [ "//ui/ozone:ozone" ] | |
36 } | |
37 } | |
38 | |
39 group("tests") { | |
40 testonly = true | |
41 deps = [ | |
42 ":mus_gpu_unittests", | |
43 ] | |
44 } | |
45 | |
46 test("mus_gpu_unittests") { | |
47 deps = [ | |
48 ":gpu", | |
49 "//base", | |
50 "//components/mus/common:run_all_shelltests", | |
51 "//ipc", | |
52 "//testing/gtest", | |
53 "//ui/gfx:memory_buffer", | |
54 "//ui/gfx/geometry", | |
55 ] | |
56 | |
57 data_deps = [ | |
58 ":mus_gpu_unittests_app_manifest", | |
59 ] | |
60 } | |
61 | |
62 mojo_application_manifest("mus_gpu_unittests_app_manifest") { | |
63 application_name = "mus_gpu_unittests_app" | |
64 source = "mus_gpu_unittests_app_manifest.json" | |
65 } | |
OLD | NEW |