| 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("//mojo/public/mojo_application.gni") | 7 import("//mojo/public/mojo_application.gni") |
| 8 import("//mojo/public/mojo_application_manifest.gni") | 8 import("//mojo/public/mojo_application_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", |
| 19 "clipboard_mus.h", |
| 18 "display_list.cc", | 20 "display_list.cc", |
| 19 "display_list.h", | 21 "display_list.h", |
| 20 "input_method_mus.cc", | 22 "input_method_mus.cc", |
| 21 "input_method_mus.h", | 23 "input_method_mus.h", |
| 22 "mus_export.h", | 24 "mus_export.h", |
| 23 "native_widget_mus.cc", | 25 "native_widget_mus.cc", |
| 24 "native_widget_mus.h", | 26 "native_widget_mus.h", |
| 25 "screen_mus.cc", | 27 "screen_mus.cc", |
| 26 "screen_mus.h", | 28 "screen_mus.h", |
| 27 "screen_mus_delegate.h", | 29 "screen_mus_delegate.h", |
| (...skipping 22 matching lines...) Expand all Loading... |
| 50 "//base", | 52 "//base", |
| 51 "//base:i18n", | 53 "//base:i18n", |
| 52 "//base/third_party/dynamic_annotations", | 54 "//base/third_party/dynamic_annotations", |
| 53 "//cc", | 55 "//cc", |
| 54 "//cc/surfaces", | 56 "//cc/surfaces", |
| 55 "//components/bitmap_uploader", | 57 "//components/bitmap_uploader", |
| 56 "//components/mus/gles2:lib", | 58 "//components/mus/gles2:lib", |
| 57 "//components/mus/public/cpp", | 59 "//components/mus/public/cpp", |
| 58 "//components/mus/public/cpp/surfaces", | 60 "//components/mus/public/cpp/surfaces", |
| 59 "//components/mus/public/interfaces", | 61 "//components/mus/public/interfaces", |
| 62 "//mojo/common", |
| 60 "//mojo/public/c/system:for_component", | 63 "//mojo/public/c/system:for_component", |
| 61 "//mojo/public/cpp/bindings", | 64 "//mojo/public/cpp/bindings", |
| 62 "//services/catalog/public/cpp", | 65 "//services/catalog/public/cpp", |
| 63 "//services/shell/public/cpp", | 66 "//services/shell/public/cpp", |
| 64 "//services/shell/public/interfaces", | 67 "//services/shell/public/interfaces", |
| 65 "//skia", | 68 "//skia", |
| 66 "//third_party/icu", | 69 "//third_party/icu", |
| 67 "//ui/aura", | 70 "//ui/aura", |
| 68 "//ui/compositor", | 71 "//ui/compositor", |
| 69 "//ui/display", | 72 "//ui/display", |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 | 239 |
| 237 # Tests that must run sequentially because they access system-wide features | 240 # Tests that must run sequentially because they access system-wide features |
| 238 # like capture. | 241 # like capture. |
| 239 test("views_mus_interactive_ui_tests") { | 242 test("views_mus_interactive_ui_tests") { |
| 240 testonly = true | 243 testonly = true |
| 241 | 244 |
| 242 configs += [ "//build/config:precompiled_headers" ] | 245 configs += [ "//build/config:precompiled_headers" ] |
| 243 | 246 |
| 244 sources = [ | 247 sources = [ |
| 245 "../widget/widget_interactive_uitest.cc", | 248 "../widget/widget_interactive_uitest.cc", |
| 249 "clipboard_unittest.cc", |
| 246 "interactive_ui_tests_mus.cc", | 250 "interactive_ui_tests_mus.cc", |
| 247 ] | 251 ] |
| 248 | 252 |
| 249 deps = [ | 253 deps = [ |
| 250 ":mus", | 254 ":mus", |
| 251 ":test_support", | 255 ":test_support", |
| 252 "//base", | 256 "//base", |
| 253 "//services/shell/background:main", # Provides main(). | 257 "//services/shell/background:main", # Provides main(). |
| 258 "//testing/gmock", |
| 259 "//testing/gtest", |
| 254 "//ui/aura", | 260 "//ui/aura", |
| 255 "//ui/base", | 261 "//ui/base", |
| 256 "//ui/base/ime", | 262 "//ui/base/ime", |
| 257 "//ui/events:events_base", | 263 "//ui/events:events_base", |
| 258 "//ui/events:test_support", | 264 "//ui/events:test_support", |
| 259 "//ui/gl:test_support", | 265 "//ui/gl:test_support", |
| 260 "//ui/touch_selection", | 266 "//ui/touch_selection", |
| 261 "//ui/views", | 267 "//ui/views", |
| 262 "//ui/views:test_support_internal", | 268 "//ui/views:test_support_internal", |
| 263 "//ui/wm", | 269 "//ui/wm", |
| (...skipping 28 matching lines...) Expand all Loading... |
| 292 type = "exe" | 298 type = "exe" |
| 293 application_name = "views_mus_interactive_ui_tests" | 299 application_name = "views_mus_interactive_ui_tests" |
| 294 source = "interactive_ui_tests_manifest.json" | 300 source = "interactive_ui_tests_manifest.json" |
| 295 } | 301 } |
| 296 | 302 |
| 297 group("for_component") { | 303 group("for_component") { |
| 298 public_deps = [ | 304 public_deps = [ |
| 299 ":mus", | 305 ":mus", |
| 300 ] | 306 ] |
| 301 } | 307 } |
| OLD | NEW |