| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 # Used to test ash with an aura backend. | 7 # Used to test ash with an aura backend. |
| 8 source_set("ash_with_aura_test_support") { | 8 source_set("ash_with_aura_test_support") { |
| 9 testonly = true | 9 testonly = true |
| 10 sources = [ | 10 sources = [ |
| 11 "ash_test_impl_aura.cc", | 11 "ash_test_impl_aura.cc", |
| 12 "ash_test_impl_aura.h", | 12 "ash_test_impl_aura.h", |
| 13 ] | 13 ] |
| 14 deps = [ | 14 deps = [ |
| 15 ":test_support_common", | 15 ":test_support_common", |
| 16 "//ash", | 16 "//ash", |
| 17 "//ash/common/test:test_support", | |
| 18 "//base", | 17 "//base", |
| 19 "//skia", | 18 "//skia", |
| 20 "//ui/aura:test_support", | 19 "//ui/aura:test_support", |
| 21 "//ui/display", | 20 "//ui/display", |
| 22 "//ui/wm", | 21 "//ui/wm", |
| 23 ] | 22 ] |
| 24 } | 23 } |
| 25 | 24 |
| 26 static_library("test_support_without_content") { | 25 static_library("test_support_without_content") { |
| 27 testonly = true | 26 testonly = true |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 | 60 |
| 62 # Internal target consumed by |test_support_with_content| and | 61 # Internal target consumed by |test_support_with_content| and |
| 63 # |test_support_without_content|. This target contains all the test support | 62 # |test_support_without_content|. This target contains all the test support |
| 64 # files, with the exception of an implementation of AshTestEnvironment. | 63 # files, with the exception of an implementation of AshTestEnvironment. |
| 65 # Consumers of ash should use one of |test_support_with_content| or | 64 # Consumers of ash should use one of |test_support_with_content| or |
| 66 # |test_support_without_content|. | 65 # |test_support_without_content|. |
| 67 static_library("test_support_common") { | 66 static_library("test_support_common") { |
| 68 testonly = true | 67 testonly = true |
| 69 visibility = [ ":*" ] | 68 visibility = [ ":*" ] |
| 70 sources = [ | 69 sources = [ |
| 70 "../common/test/ash_test.cc", |
| 71 "../common/test/ash_test.h", |
| 72 "../common/test/ash_test_impl.h", |
| 73 "../common/test/test_palette_delegate.cc", |
| 74 "../common/test/test_palette_delegate.h", |
| 75 "../common/test/test_session_state_delegate.cc", |
| 76 "../common/test/test_session_state_delegate.h", |
| 77 "../common/test/test_shelf_delegate.cc", |
| 78 "../common/test/test_shelf_delegate.h", |
| 79 "../common/test/test_shelf_item_delegate.cc", |
| 80 "../common/test/test_shelf_item_delegate.h", |
| 81 "../common/test/test_system_tray_delegate.cc", |
| 82 "../common/test/test_system_tray_delegate.h", |
| 83 "../common/test/wm_shell_test_api.cc", |
| 84 "../common/test/wm_shell_test_api.h", |
| 85 "../common/test/workspace_event_handler_test_helper.cc", |
| 86 "../common/test/workspace_event_handler_test_helper.h", |
| 87 |
| 71 # TODO(jamescook): Move these files into ash/test. | 88 # TODO(jamescook): Move these files into ash/test. |
| 72 "../laser/laser_pointer_controller_test_api.cc", | 89 "../laser/laser_pointer_controller_test_api.cc", |
| 73 "../laser/laser_pointer_controller_test_api.h", | 90 "../laser/laser_pointer_controller_test_api.h", |
| 74 "../laser/laser_pointer_points_test_api.cc", | 91 "../laser/laser_pointer_points_test_api.cc", |
| 75 "../laser/laser_pointer_points_test_api.h", | 92 "../laser/laser_pointer_points_test_api.h", |
| 76 "../shell/toplevel_window.cc", | 93 "../shell/toplevel_window.cc", |
| 77 "../shell/toplevel_window.h", | 94 "../shell/toplevel_window.h", |
| 78 "ash_test_base.cc", | 95 "ash_test_base.cc", |
| 79 "ash_test_base.h", | 96 "ash_test_base.h", |
| 80 "ash_test_environment.h", | 97 "ash_test_environment.h", |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 "ui_controls_factory_ash.h", | 145 "ui_controls_factory_ash.h", |
| 129 "user_metrics_recorder_test_api.cc", | 146 "user_metrics_recorder_test_api.cc", |
| 130 "user_metrics_recorder_test_api.h", | 147 "user_metrics_recorder_test_api.h", |
| 131 "wm_window_test_api.cc", | 148 "wm_window_test_api.cc", |
| 132 "wm_window_test_api.h", | 149 "wm_window_test_api.h", |
| 133 ] | 150 ] |
| 134 configs += [ "//build/config:precompiled_headers" ] | 151 configs += [ "//build/config:precompiled_headers" ] |
| 135 | 152 |
| 136 public_deps = [ | 153 public_deps = [ |
| 137 "//ash", | 154 "//ash", |
| 155 "//testing/gtest", |
| 138 "//ui/display:display_manager_test_api", | 156 "//ui/display:display_manager_test_api", |
| 139 ] | 157 ] |
| 140 deps = [ | 158 deps = [ |
| 141 "//ash/common/test:test_support", | 159 "//ash", |
| 142 "//ash/mus:lib", | 160 "//ash/mus:lib", |
| 143 "//ash/public/cpp:ash_public_cpp", | 161 "//ash/public/cpp:ash_public_cpp", |
| 144 "//ash/resources", | 162 "//ash/resources", |
| 145 "//base:i18n", | 163 "//base:i18n", |
| 146 "//base/test:test_support", | 164 "//base/test:test_support", |
| 147 "//chromeos", | 165 "//chromeos", |
| 148 "//components/signin/core/account_id", | 166 "//components/signin/core/account_id", |
| 149 "//components/user_manager:user_manager", | 167 "//components/user_manager:user_manager", |
| 150 "//device/bluetooth", | 168 "//device/bluetooth", |
| 151 "//services/ui/public/interfaces", | 169 "//services/ui/public/interfaces", |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 deps = [ | 210 deps = [ |
| 193 ":test_support_with_content", | 211 ":test_support_with_content", |
| 194 "//base", | 212 "//base", |
| 195 "//skia", | 213 "//skia", |
| 196 "//testing/gtest", | 214 "//testing/gtest", |
| 197 "//ui/aura", | 215 "//ui/aura", |
| 198 "//ui/base", | 216 "//ui/base", |
| 199 "//ui/gl:test_support", | 217 "//ui/gl:test_support", |
| 200 ] | 218 ] |
| 201 } | 219 } |
| OLD | NEW |