| 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/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 import("//services/service_manager/public/cpp/service.gni") | 7 import("//services/service_manager/public/cpp/service.gni") |
| 8 import("//services/service_manager/public/service_manifest.gni") | 8 import("//services/service_manager/public/service_manifest.gni") |
| 9 import("//testing/test.gni") | 9 import("//testing/test.gni") |
| 10 import("//tools/grit/repack.gni") | 10 import("//tools/grit/repack.gni") |
| 11 | 11 |
| 12 component("mus") { | 12 component("mus") { |
| 13 output_name = "ui_views_mus_lib" | 13 output_name = "ui_views_mus_lib" |
| 14 | 14 |
| 15 sources = [ | 15 sources = [ |
| 16 "aura_init.cc", | 16 "aura_init.cc", |
| 17 "aura_init.h", | 17 "aura_init.h", |
| 18 "clipboard_mus.cc", | 18 "clipboard_mus.cc", |
| 19 "clipboard_mus.h", | 19 "clipboard_mus.h", |
| 20 "desktop_window_tree_host_mus.cc", | 20 "desktop_window_tree_host_mus.cc", |
| 21 "desktop_window_tree_host_mus.h", | 21 "desktop_window_tree_host_mus.h", |
| 22 "mus_client.cc", | 22 "mus_client.cc", |
| 23 "mus_client.h", | 23 "mus_client.h", |
| 24 "mus_client_observer.h", | 24 "mus_client_observer.h", |
| 25 "mus_export.h", | 25 "mus_export.h", |
| 26 "pointer_watcher_event_router2.cc", | 26 "pointer_watcher_event_router.cc", |
| 27 "pointer_watcher_event_router2.h", | 27 "pointer_watcher_event_router.h", |
| 28 "screen_mus.cc", | 28 "screen_mus.cc", |
| 29 "screen_mus.h", | 29 "screen_mus.h", |
| 30 "screen_mus_delegate.h", | 30 "screen_mus_delegate.h", |
| 31 "window_manager_constants_converters.cc", | 31 "window_manager_constants_converters.cc", |
| 32 "window_manager_constants_converters.h", | 32 "window_manager_constants_converters.h", |
| 33 "window_manager_frame_values.cc", | 33 "window_manager_frame_values.cc", |
| 34 "window_manager_frame_values.h", | 34 "window_manager_frame_values.h", |
| 35 ] | 35 ] |
| 36 | 36 |
| 37 defines = [ "VIEWS_MUS_IMPLEMENTATION" ] | 37 defines = [ "VIEWS_MUS_IMPLEMENTATION" ] |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 ":mus", | 106 ":mus", |
| 107 ] | 107 ] |
| 108 } | 108 } |
| 109 | 109 |
| 110 static_library("test_support") { | 110 static_library("test_support") { |
| 111 testonly = true | 111 testonly = true |
| 112 | 112 |
| 113 sources = [ | 113 sources = [ |
| 114 "../test/native_widget_factory_aura_mus.cc", | 114 "../test/native_widget_factory_aura_mus.cc", |
| 115 "test_utils.h", | 115 "test_utils.h", |
| 116 "views_aura_mus_test_suite.cc", | 116 "views_mus_test_suite.cc", |
| 117 "views_aura_mus_test_suite.h", | 117 "views_mus_test_suite.h", |
| 118 ] | 118 ] |
| 119 | 119 |
| 120 deps = [ | 120 deps = [ |
| 121 ":mus", | 121 ":mus", |
| 122 "//base", | 122 "//base", |
| 123 "//base/test:test_support", | 123 "//base/test:test_support", |
| 124 "//services/service_manager/background:lib", | 124 "//services/service_manager/background:lib", |
| 125 "//services/service_manager/public/cpp:sources", | 125 "//services/service_manager/public/cpp:sources", |
| 126 "//services/ui/common:mus_common", | 126 "//services/ui/common:mus_common", |
| 127 "//testing/gtest", | 127 "//testing/gtest", |
| 128 "//ui/aura", | 128 "//ui/aura", |
| 129 "//ui/aura:test_support", | 129 "//ui/aura:test_support", |
| 130 "//ui/gl:test_support", | 130 "//ui/gl:test_support", |
| 131 "//ui/resources", | 131 "//ui/resources", |
| 132 "//ui/resources:ui_test_pak", | 132 "//ui/resources:ui_test_pak", |
| 133 "//ui/views", | 133 "//ui/views", |
| 134 "//ui/views:test_support_internal", | 134 "//ui/views:test_support_internal", |
| 135 ] | 135 ] |
| 136 | 136 |
| 137 data_deps = [ | 137 data_deps = [ |
| 138 "//ui/resources:ui_test_pak_data", | 138 "//ui/resources:ui_test_pak_data", |
| 139 ] | 139 ] |
| 140 } | 140 } |
| 141 | 141 |
| 142 test("views_mus_unittests") { | 142 test("views_mus_unittests") { |
| 143 testonly = true | 143 testonly = true |
| 144 | 144 |
| 145 sources = [ | 145 sources = [ |
| 146 "desktop_window_tree_host_mus_unittest.cc", | 146 "desktop_window_tree_host_mus_unittest.cc", |
| 147 "pointer_watcher_event_router2_unittest.cc", | 147 "pointer_watcher_event_router_unittest.cc", |
| 148 "run_all_unittests_aura_mus.cc", | 148 "run_all_unittests_mus.cc", |
| 149 "screen_mus_unittest.cc", | 149 "screen_mus_unittest.cc", |
| 150 ] | 150 ] |
| 151 | 151 |
| 152 configs += [ "//build/config:precompiled_headers" ] | 152 configs += [ "//build/config:precompiled_headers" ] |
| 153 | 153 |
| 154 deps = [ | 154 deps = [ |
| 155 ":mus", | 155 ":mus", |
| 156 ":test_support", | 156 ":test_support", |
| 157 "//base", | 157 "//base", |
| 158 "//base:i18n", | 158 "//base:i18n", |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 | 270 |
| 271 service_manifest("unittests_manifest") { | 271 service_manifest("unittests_manifest") { |
| 272 name = "views_mus_unittests" | 272 name = "views_mus_unittests" |
| 273 source = "unittests_manifest.json" | 273 source = "unittests_manifest.json" |
| 274 } | 274 } |
| 275 | 275 |
| 276 service_manifest("interactive_ui_tests_manifest") { | 276 service_manifest("interactive_ui_tests_manifest") { |
| 277 name = "views_mus_interactive_ui_tests" | 277 name = "views_mus_interactive_ui_tests" |
| 278 source = "interactive_ui_tests_manifest.json" | 278 source = "interactive_ui_tests_manifest.json" |
| 279 } | 279 } |
| OLD | NEW |