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