Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Side by Side Diff: components/mus/common/BUILD.gn

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/mus/clipboard/test_manifest.json ('k') | components/mus/common/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
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 component("mus_common") {
10 sources = [
11 "event_matcher_util.cc",
12 "event_matcher_util.h",
13 "generic_shared_memory_id_generator.cc",
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",
20 "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",
28 "switches.cc",
29 "switches.h",
30 "transient_window_utils.h",
31 "types.h",
32 "util.h",
33 ]
34
35 defines = [ "MUS_COMMON_IMPLEMENTATION" ]
36
37 deps = [
38 "//gpu/command_buffer/client",
39 "//gpu/config",
40 "//gpu/ipc/client",
41 "//gpu/ipc/common:command_buffer_traits",
42 "//ipc:ipc",
43 "//services/shell/public/cpp",
44 "//ui/events:events",
45 "//ui/gfx/ipc/geometry",
46 ]
47
48 public_deps = [
49 "//components/mus/public/interfaces",
50 "//mojo/public/cpp/bindings",
51 "//mojo/public/cpp/system",
52 "//ui/base",
53 ]
54
55 if (use_ozone) {
56 deps += [ "//ui/ozone" ]
57 }
58 }
59
60 source_set("run_all_shelltests") {
61 testonly = true
62
63 sources = [
64 "run_all_shelltests.cc",
65 ]
66
67 deps = [
68 "//base/test:test_support",
69 "//mojo/edk/system",
70 "//services/shell/background:main",
71 ]
72
73 if (use_ozone) {
74 deps += [ "//ui/ozone" ]
75 }
76 }
77
78 test("mus_common_unittests") {
79 sources = [
80 "gpu_type_converters_unittest.cc",
81 ]
82 public_deps = [
83 ":mus_common",
84 ]
85 deps = [
86 ":run_all_shelltests",
87 "//base",
88 "//base/test:test_config",
89 "//components/mus/public/interfaces",
90 "//ipc:ipc",
91 "//testing/gtest",
92 "//ui/gfx:test_support",
93 "//ui/gfx/ipc",
94 ]
95 }
96
97 mojo_application_manifest("mus_common_unittests_app_manifest") {
98 application_name = "mus_common_unittests_app"
99 source = "mus_common_unittests_app_manifest.json"
100 }
OLDNEW
« no previous file with comments | « components/mus/clipboard/test_manifest.json ('k') | components/mus/common/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698