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

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

Issue 1976703003: Impl mus::mojom::GpuService to enable using Chrome IPC version gpu CmdBuf in mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update Created 4 years, 7 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
OLDNEW
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("//mojo/public/mojo_application_manifest.gni")
5 import("//testing/test.gni") 6 import("//testing/test.gni")
6 7
7 component("mus_common") { 8 component("mus_common") {
8 sources = [ 9 sources = [
9 "event_matcher_util.cc", 10 "event_matcher_util.cc",
10 "event_matcher_util.h", 11 "event_matcher_util.h",
11 "event_param_traits.cc", 12 "event_param_traits.cc",
12 "event_param_traits.h", 13 "event_param_traits.h",
13 "event_param_traits_macros.h", 14 "event_param_traits_macros.h",
15 "gpu_type_converters.cc",
16 "gpu_type_converters.h",
14 "mus_common_export.h", 17 "mus_common_export.h",
15 "switches.cc", 18 "switches.cc",
16 "switches.h", 19 "switches.h",
17 "transient_window_utils.h", 20 "transient_window_utils.h",
18 "types.h", 21 "types.h",
19 "util.h", 22 "util.h",
20 ] 23 ]
21 24
22 defines = [ "MUS_IPC_IMPLEMENTATION" ] 25 defines = [ "MUS_IPC_IMPLEMENTATION" ]
23 26
24 deps = [ 27 deps = [
25 "//components/mus/public/interfaces", 28 "//components/mus/public/interfaces",
26 "//gpu/ipc/common:command_buffer_traits", 29 "//gpu/ipc/common:command_buffer_traits",
27 "//ipc:ipc", 30 "//ipc:ipc",
28 "//mojo/public/c/system:for_component", 31 "//mojo/public/c/system:for_component",
29 "//ui/events:events", 32 "//ui/events:events",
30 "//ui/gfx/ipc/geometry", 33 "//ui/gfx/ipc/geometry",
31 ] 34 ]
32 35
33 public_deps = [ 36 public_deps = [
34 "//ui/base", 37 "//ui/base",
35 ] 38 ]
36 } 39 }
37 40
38 test("mus_common_unittests") { 41 test("mus_common_unittests") {
39 sources = [ 42 sources = [
40 "event_param_traits_unittest.cc", 43 "event_param_traits_unittest.cc",
44 "gpu_type_converters_unittest.cc",
45 "run_all_shelltests.cc",
41 ] 46 ]
42 public_deps = [ 47 public_deps = [
43 ":mus_common", 48 ":mus_common",
44 ] 49 ]
45 deps = [ 50 deps = [
46 "//base", 51 "//base",
47 "//base/test:run_all_unittests",
48 "//base/test:test_config", 52 "//base/test:test_config",
53 "//components/mus/public/interfaces",
49 "//ipc:ipc", 54 "//ipc:ipc",
55 "//mojo/edk/system",
50 "//mojo/edk/test:test_support", 56 "//mojo/edk/test:test_support",
57 "//services/shell/background:lib",
58 "//services/shell/background:main",
51 "//testing/gtest", 59 "//testing/gtest",
52 "//ui/events:events", 60 "//ui/events:events",
53 "//ui/gfx:test_support", 61 "//ui/gfx:test_support",
54 "//ui/gfx/ipc", 62 "//ui/gfx/ipc",
55 ] 63 ]
56 } 64 }
65
66 mojo_application_manifest("mus_common_unittests_app_manifest") {
67 application_name = "mus_common_unittests_app"
68 source = "mus_common_unittests_app_manifest.json"
69 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698