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

Side by Side Diff: mojo/services/window_manager/BUILD.gn

Issue 685013002: Refactors event dispatching of NativeViewport into its own interface (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: cleanup Created 6 years, 1 month 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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 6
7 if (use_aura) { 7 if (use_aura) {
8 8
9 # GYP version: mojo/mojo_services.gypi:mojo_core_window_manager 9 # GYP version: mojo/mojo_services.gypi:mojo_core_window_manager
10 shared_library("window_manager") { 10 shared_library("window_manager") {
11 sources = [ "main.cc" ] 11 sources = [ "main.cc" ]
12 12
13 public_deps = [ 13 public_deps = [
14 ":lib", 14 ":lib",
15 ] 15 ]
16 16
17 deps = [ 17 deps = [
18 "//base", 18 "//base",
19 "//mojo/application", 19 "//mojo/application",
20 "//mojo/public/c/system:for_shared_library", 20 "//mojo/public/c/system:for_shared_library",
21 "//mojo/services/public/cpp/view_manager", 21 "//mojo/services/public/cpp/view_manager",
22 ] 22 ]
23 } 23 }
24 24
25 # GYP version: mojo/mojo_services.gypi:mojo_core_window_manager_lib 25 # GYP version: mojo/mojo_services.gypi:mojo_core_window_manager_lib
26 source_set("lib") { 26 source_set("lib") {
27 sources = [ 27 sources = [
28 "native_viewport_event_dispatcher_impl.cc",
29 "native_viewport_event_dispatcher_impl.h",
28 "window_manager_app.cc", 30 "window_manager_app.cc",
29 "window_manager_app.h", 31 "window_manager_app.h",
30 "window_manager_delegate.h", 32 "window_manager_delegate.h",
31 "window_manager_internal_service_impl.cc",
32 "window_manager_internal_service_impl.h",
33 "window_manager_impl.cc", 33 "window_manager_impl.cc",
34 "window_manager_impl.h", 34 "window_manager_impl.h",
35 "window_manager_service2_impl.cc", 35 "window_manager_service2_impl.cc",
36 "window_manager_service2_impl.h", 36 "window_manager_service2_impl.h",
37 ] 37 ]
38 38
39 public_deps = [ 39 public_deps = [
40 "//mojo/aura", 40 "//mojo/aura",
41 ] 41 ]
42 42
43 deps = [ 43 deps = [
44 "//base", 44 "//base",
45 "//ui/base", 45 "//ui/base",
46 "//ui/gfx", 46 "//ui/gfx",
47 "//ui/gfx/geometry", 47 "//ui/gfx/geometry",
48 "//ui/wm", 48 "//ui/wm",
49 "//mojo/aura", 49 "//mojo/aura",
50 "//mojo/application", 50 "//mojo/application",
51 "//mojo/common", 51 "//mojo/common",
52 "//mojo/converters/input_events", 52 "//mojo/converters/input_events",
53 "//mojo/services/public/cpp/view_manager", 53 "//mojo/services/public/cpp/view_manager",
54 "//mojo/public/interfaces/application:application", 54 "//mojo/public/interfaces/application:application",
55 "//mojo/services/public/interfaces/native_viewport",
55 "//mojo/services/public/interfaces/window_manager", 56 "//mojo/services/public/interfaces/window_manager",
56 "//mojo/services/public/interfaces/window_manager2", 57 "//mojo/services/public/interfaces/window_manager2",
57 ] 58 ]
58 } 59 }
59 60
60 # GYP version: mojo/mojo_services.gypi:mojo_core_window_manager_unittests 61 # GYP version: mojo/mojo_services.gypi:mojo_core_window_manager_unittests
61 test("window_manager_unittests") { 62 test("window_manager_unittests") {
62 sources = [ 63 sources = [
63 "window_manager_api_unittest.cc", 64 "window_manager_api_unittest.cc",
64 "window_manager_unittests.cc", 65 "window_manager_unittests.cc",
(...skipping 12 matching lines...) Expand all
77 "//testing/gtest", 78 "//testing/gtest",
78 "//ui/gl", 79 "//ui/gl",
79 ] 80 ]
80 81
81 if (use_x11) { 82 if (use_x11) {
82 deps += [ "//ui/gfx/x" ] 83 deps += [ "//ui/gfx/x" ]
83 } 84 }
84 } 85 }
85 86
86 } # use_aura 87 } # use_aura
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698