OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/shell/public/service_manifest.gni") | 6 import("//services/shell/public/service_manifest.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 | 8 |
9 component("mus_common") { | 9 component("mus_common") { |
10 sources = [ | 10 sources = [ |
11 "event_matcher_util.cc", | 11 "event_matcher_util.cc", |
12 "event_matcher_util.h", | 12 "event_matcher_util.h", |
13 "generic_shared_memory_id_generator.cc", | 13 "generic_shared_memory_id_generator.cc", |
14 "generic_shared_memory_id_generator.h", | 14 "generic_shared_memory_id_generator.h", |
15 "gpu_memory_buffer_impl.cc", | |
16 "gpu_memory_buffer_impl.h", | |
17 "gpu_service.cc", | |
18 "gpu_service.h", | |
19 "gpu_type_converters.cc", | 15 "gpu_type_converters.cc", |
20 "gpu_type_converters.h", | 16 "gpu_type_converters.h", |
21 "mojo_buffer_backing.cc", | |
22 "mojo_buffer_backing.h", | |
23 "mojo_gpu_memory_buffer.cc", | |
24 "mojo_gpu_memory_buffer.h", | |
25 "mojo_gpu_memory_buffer_manager.cc", | |
26 "mojo_gpu_memory_buffer_manager.h", | |
27 "mus_common_export.h", | 17 "mus_common_export.h", |
28 "switches.cc", | 18 "switches.cc", |
29 "switches.h", | 19 "switches.h", |
30 "transient_window_utils.h", | 20 "transient_window_utils.h", |
31 "types.h", | 21 "types.h", |
32 "util.h", | 22 "util.h", |
33 ] | 23 ] |
34 | 24 |
35 defines = [ "MUS_COMMON_IMPLEMENTATION" ] | 25 defines = [ "MUS_COMMON_IMPLEMENTATION" ] |
36 | 26 |
37 deps = [ | 27 deps = [ |
38 "//gpu/command_buffer/client", | 28 "//gpu/command_buffer/client", |
39 "//gpu/config", | 29 "//gpu/config", |
40 "//gpu/ipc/client", | 30 "//gpu/ipc/client", |
41 "//gpu/ipc/common:command_buffer_traits", | 31 "//gpu/ipc/common:command_buffer_traits", |
42 "//ipc:ipc", | 32 "//ipc:ipc", |
43 "//services/shell/public/cpp", | 33 "//services/shell/public/cpp", |
44 "//ui/events:events", | 34 "//ui/events:events", |
45 "//ui/gfx/ipc/geometry", | 35 "//ui/gfx/ipc/geometry", |
46 ] | 36 ] |
47 | 37 |
48 public_deps = [ | 38 public_deps = [ |
49 "//mojo/public/cpp/bindings", | 39 "//mojo/public/cpp/bindings", |
50 "//mojo/public/cpp/system", | 40 "//mojo/public/cpp/system", |
51 "//services/ui/public/interfaces", | 41 "//services/ui/public/interfaces", |
52 "//ui/base", | 42 "//ui/base", |
53 ] | 43 ] |
54 | |
55 if (use_ozone) { | |
56 deps += [ "//ui/ozone" ] | |
57 } | |
58 } | 44 } |
59 | 45 |
60 source_set("run_all_shelltests") { | 46 source_set("run_all_shelltests") { |
61 testonly = true | 47 testonly = true |
62 | 48 |
63 sources = [ | 49 sources = [ |
64 "run_all_shelltests.cc", | 50 "run_all_shelltests.cc", |
65 ] | 51 ] |
66 | 52 |
67 deps = [ | 53 deps = [ |
(...skipping 23 matching lines...) Expand all Loading... |
91 "//testing/gtest", | 77 "//testing/gtest", |
92 "//ui/gfx:test_support", | 78 "//ui/gfx:test_support", |
93 "//ui/gfx/ipc", | 79 "//ui/gfx/ipc", |
94 ] | 80 ] |
95 } | 81 } |
96 | 82 |
97 service_manifest("mus_common_unittests_app_manifest") { | 83 service_manifest("mus_common_unittests_app_manifest") { |
98 name = "mus_common_unittests_app" | 84 name = "mus_common_unittests_app" |
99 source = "mus_common_unittests_app_manifest.json" | 85 source = "mus_common_unittests_app_manifest.json" |
100 } | 86 } |
OLD | NEW |