| OLD | NEW |
| 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 import("//mojo/public/mojo_application.gni") | 6 import("//mojo/public/mojo_application.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 | 8 |
| 9 mojo_native_application("window_manager") { | 9 mojo_native_application("window_manager") { |
| 10 sources = [ | 10 sources = [ |
| 11 "main.cc", | 11 "main.cc", |
| 12 ] | 12 ] |
| 13 | 13 |
| 14 public_deps = [ | 14 public_deps = [ |
| 15 ":lib", | 15 ":lib", |
| 16 ] | 16 ] |
| 17 | 17 |
| 18 deps = [ | 18 deps = [ |
| 19 "//base", | 19 "//base", |
| 20 "//mojo/application", | 20 "//mojo/application", |
| 21 "//mojo/common:tracing_impl", | 21 "//mojo/common:tracing_impl", |
| 22 "//mojo/services/view_manager/public/cpp", | 22 "//mojo/services/view_manager/cpp", |
| 23 ] | 23 ] |
| 24 } | 24 } |
| 25 | 25 |
| 26 source_set("lib") { | 26 source_set("lib") { |
| 27 sources = [ | 27 sources = [ |
| 28 "basic_focus_rules.cc", | 28 "basic_focus_rules.cc", |
| 29 "basic_focus_rules.h", | 29 "basic_focus_rules.h", |
| 30 "capture_controller.cc", | 30 "capture_controller.cc", |
| 31 "capture_controller.h", | 31 "capture_controller.h", |
| 32 "capture_controller_observer.h", | 32 "capture_controller_observer.h", |
| (...skipping 26 matching lines...) Expand all Loading... |
| 59 "//ui/events", | 59 "//ui/events", |
| 60 "//ui/gfx", | 60 "//ui/gfx", |
| 61 "//ui/gfx/geometry", | 61 "//ui/gfx/geometry", |
| 62 "//mojo/application", | 62 "//mojo/application", |
| 63 "//mojo/common", | 63 "//mojo/common", |
| 64 "//mojo/converters/geometry", | 64 "//mojo/converters/geometry", |
| 65 "//mojo/converters/input_events", | 65 "//mojo/converters/input_events", |
| 66 "//mojo/public/cpp/bindings:bindings", | 66 "//mojo/public/cpp/bindings:bindings", |
| 67 "//mojo/public/interfaces/application", | 67 "//mojo/public/interfaces/application", |
| 68 "//mojo/services/native_viewport/interfaces", | 68 "//mojo/services/native_viewport/interfaces", |
| 69 "//mojo/services/view_manager/public/cpp", | 69 "//mojo/services/view_manager/cpp", |
| 70 "//mojo/services/window_manager/public/interfaces", | 70 "//mojo/services/window_manager/interfaces", |
| 71 ] | 71 ] |
| 72 } | 72 } |
| 73 | 73 |
| 74 test("window_manager_unittests") { | 74 test("window_manager_unittests") { |
| 75 sources = [ | 75 sources = [ |
| 76 "focus_controller_unittest.cc", | 76 "focus_controller_unittest.cc", |
| 77 "run_all_unittests.cc", | 77 "run_all_unittests.cc", |
| 78 "view_target_unittest.cc", | 78 "view_target_unittest.cc", |
| 79 "view_targeter_unittest.cc", | 79 "view_targeter_unittest.cc", |
| 80 "window_manager_test_util.cc", | 80 "window_manager_test_util.cc", |
| 81 "window_manager_test_util.h", | 81 "window_manager_test_util.h", |
| 82 ] | 82 ] |
| 83 | 83 |
| 84 public_deps = [ | 84 public_deps = [ |
| 85 ":lib", | 85 ":lib", |
| 86 ] | 86 ] |
| 87 | 87 |
| 88 deps = [ | 88 deps = [ |
| 89 "//base/test:test_support", | 89 "//base/test:test_support", |
| 90 "//mojo/converters/geometry", | 90 "//mojo/converters/geometry", |
| 91 "//mojo/edk/system", | 91 "//mojo/edk/system", |
| 92 "//mojo/environment:chromium", | 92 "//mojo/environment:chromium", |
| 93 "//mojo/public/cpp/application", | 93 "//mojo/public/cpp/application", |
| 94 "//mojo/services/view_manager/public/cpp", | 94 "//mojo/services/view_manager/cpp", |
| 95 "//mojo/services/view_manager/public/interfaces", | 95 "//mojo/services/view_manager/interfaces", |
| 96 "//mojo/services/window_manager/public/interfaces", | 96 "//mojo/services/window_manager/interfaces", |
| 97 "//testing/gtest", | 97 "//testing/gtest", |
| 98 "//ui/events:test_support", | 98 "//ui/events:test_support", |
| 99 "//ui/gfx", | 99 "//ui/gfx", |
| 100 "//ui/gfx:test_support", | 100 "//ui/gfx:test_support", |
| 101 "//ui/gl", | 101 "//ui/gl", |
| 102 ] | 102 ] |
| 103 | 103 |
| 104 if (use_x11) { | 104 if (use_x11) { |
| 105 deps += [ "//ui/gfx/x" ] | 105 deps += [ "//ui/gfx/x" ] |
| 106 } | 106 } |
| 107 } | 107 } |
| 108 | 108 |
| 109 mojo_native_application("window_manager_apptests") { | 109 mojo_native_application("window_manager_apptests") { |
| 110 testonly = true | 110 testonly = true |
| 111 | 111 |
| 112 sources = [ | 112 sources = [ |
| 113 "window_manager_apptest.cc", | 113 "window_manager_apptest.cc", |
| 114 ] | 114 ] |
| 115 | 115 |
| 116 deps = [ | 116 deps = [ |
| 117 "//base", | 117 "//base", |
| 118 "//mojo/application", | 118 "//mojo/application", |
| 119 "//mojo/application:test_support", | 119 "//mojo/application:test_support", |
| 120 "//mojo/environment:chromium", | 120 "//mojo/environment:chromium", |
| 121 "//mojo/public/cpp/system:system", | 121 "//mojo/public/cpp/system:system", |
| 122 "//mojo/services/view_manager/public/cpp", | 122 "//mojo/services/view_manager/cpp", |
| 123 "//mojo/services/window_manager/public/interfaces", | 123 "//mojo/services/window_manager/interfaces", |
| 124 ] | 124 ] |
| 125 | 125 |
| 126 data_deps = [ ":window_manager($default_toolchain)" ] | 126 data_deps = [ ":window_manager($default_toolchain)" ] |
| 127 } | 127 } |
| OLD | NEW |