| 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("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 component("wm") { | 8 component("wm") { |
| 9 sources = [ | 9 sources = [ |
| 10 "core/accelerator_delegate.h", | 10 "core/accelerator_delegate.h", |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 "wm_export.h", | 72 "wm_export.h", |
| 73 ] | 73 ] |
| 74 | 74 |
| 75 defines = [ "WM_IMPLEMENTATION" ] | 75 defines = [ "WM_IMPLEMENTATION" ] |
| 76 | 76 |
| 77 deps = [ | 77 deps = [ |
| 78 "//base", | 78 "//base", |
| 79 "//skia", | 79 "//skia", |
| 80 "//ui/aura", | 80 "//ui/aura", |
| 81 "//ui/base", | 81 "//ui/base", |
| 82 "//ui/base/ime", | |
| 83 "//ui/compositor", | 82 "//ui/compositor", |
| 84 "//ui/events", | 83 "//ui/events", |
| 85 "//ui/events/devices", | 84 "//ui/events/devices", |
| 86 "//ui/events/platform", | 85 "//ui/events/platform", |
| 87 "//ui/events:events_base", | 86 "//ui/events:events_base", |
| 88 "//ui/events/platform", | 87 "//ui/events/platform", |
| 89 "//ui/gfx", | 88 "//ui/gfx", |
| 90 "//ui/gfx/geometry", | 89 "//ui/gfx/geometry", |
| 91 "//ui/resources", | 90 "//ui/resources", |
| 92 ] | 91 ] |
| 93 | 92 |
| 94 if (use_x11) { | 93 if (use_x11) { |
| 95 configs += [ "//build/config/linux:x11" ] | 94 configs += [ "//build/config/linux:x11" ] |
| 96 } | 95 } |
| 97 } | 96 } |
| 98 | 97 |
| 99 static_library("test_support") { | 98 static_library("test_support") { |
| 100 testonly = true | 99 testonly = true |
| 101 sources = [ | 100 sources = [ |
| 102 "test/wm_test_helper.cc", | 101 "test/wm_test_helper.cc", |
| 103 "test/wm_test_helper.h", | 102 "test/wm_test_helper.h", |
| 104 ] | 103 ] |
| 105 | 104 |
| 106 deps = [ | 105 deps = [ |
| 107 ":wm", | 106 ":wm", |
| 108 "//skia", | 107 "//skia", |
| 109 "//ui/aura", | 108 "//ui/aura", |
| 110 "//ui/aura:test_support", | 109 "//ui/aura:test_support", |
| 111 "//ui/base", | 110 "//ui/base", |
| 112 "//ui/base/ime", | |
| 113 "//ui/events", | 111 "//ui/events", |
| 114 "//ui/events:events_base", | 112 "//ui/events:events_base", |
| 115 ] | 113 ] |
| 116 } | 114 } |
| 117 | 115 |
| 118 if (!is_win || link_chrome_on_windows) { | 116 if (!is_win || link_chrome_on_windows) { |
| 119 test("wm_unittests") { | 117 test("wm_unittests") { |
| 120 sources = [ | 118 sources = [ |
| 121 "test/run_all_unittests.cc", | 119 "test/run_all_unittests.cc", |
| 122 "core/capture_controller_unittest.cc", | 120 "core/capture_controller_unittest.cc", |
| (...skipping 21 matching lines...) Expand all Loading... |
| 144 "//ui/base:test_support", | 142 "//ui/base:test_support", |
| 145 "//ui/compositor:test_support", | 143 "//ui/compositor:test_support", |
| 146 "//ui/events:test_support", | 144 "//ui/events:test_support", |
| 147 "//ui/events/platform", | 145 "//ui/events/platform", |
| 148 "//ui/gfx", | 146 "//ui/gfx", |
| 149 "//ui/gfx/geometry", | 147 "//ui/gfx/geometry", |
| 150 "//ui/gl", | 148 "//ui/gl", |
| 151 ] | 149 ] |
| 152 } | 150 } |
| 153 } | 151 } |
| OLD | NEW |