Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Side by Side Diff: ui/display/BUILD.gn

Issue 2445583002: Relocate display_manager from ash to ui (Closed)
Patch Set: fix windows build Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/exo/wm_helper_ash.cc ('k') | ui/display/manager/display_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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("display") { 8 component("display") {
9 sources = [ 9 sources = [
10 "android/screen_android.cc", 10 "android/screen_android.cc",
(...skipping 30 matching lines...) Expand all
41 "fake_display_snapshot.cc", 41 "fake_display_snapshot.cc",
42 "fake_display_snapshot.h", 42 "fake_display_snapshot.h",
43 "ios/screen_ios.mm", 43 "ios/screen_ios.mm",
44 "mac/screen_mac.mm", 44 "mac/screen_mac.mm",
45 "manager/display_layout.cc", 45 "manager/display_layout.cc",
46 "manager/display_layout.h", 46 "manager/display_layout.h",
47 "manager/display_layout_builder.cc", 47 "manager/display_layout_builder.cc",
48 "manager/display_layout_builder.h", 48 "manager/display_layout_builder.h",
49 "manager/display_layout_store.cc", 49 "manager/display_layout_store.cc",
50 "manager/display_layout_store.h", 50 "manager/display_layout_store.h",
51 "manager/display_manager.cc",
52 "manager/display_manager.h",
51 "manager/display_manager_utilities.cc", 53 "manager/display_manager_utilities.cc",
52 "manager/display_manager_utilities.h", 54 "manager/display_manager_utilities.h",
53 "manager/managed_display_info.cc", 55 "manager/managed_display_info.cc",
54 "manager/managed_display_info.h", 56 "manager/managed_display_info.h",
55 "screen.cc", 57 "screen.cc",
56 "screen.h", 58 "screen.h",
57 "screen_aura.cc", 59 "screen_aura.cc",
58 "screen_base.cc", 60 "screen_base.cc",
59 "screen_base.h", 61 "screen_base.h",
60 "win/display_info.cc", 62 "win/display_info.cc",
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 sources -= [ "android/screen_android.cc" ] 121 sources -= [ "android/screen_android.cc" ]
120 } 122 }
121 if (is_mac) { 123 if (is_mac) {
122 libs = [ 124 libs = [
123 "AppKit.framework", 125 "AppKit.framework",
124 "CoreGraphics.framework", 126 "CoreGraphics.framework",
125 ] 127 ]
126 } 128 }
127 } 129 }
128 130
131 component("display_manager_test_api") {
132 testonly = true
133 sources = [
134 "test/display_manager_test_api.cc",
135 "test/display_manager_test_api.h",
136 ]
137
138 defines = [ "DISPLAY_IMPLEMENTATION" ]
139
140 public_deps = [
141 ":display",
142 ]
143
144 deps = [
145 "//base",
146 "//ui/display",
147 "//ui/display/types",
148 ]
149 }
150
129 static_library("test_support") { 151 static_library("test_support") {
130 testonly = true 152 testonly = true
131 sources = [ 153 sources = [
132 "chromeos/test/action_logger.cc", 154 "chromeos/test/action_logger.cc",
133 "chromeos/test/action_logger.h", 155 "chromeos/test/action_logger.h",
134 "chromeos/test/action_logger_util.cc", 156 "chromeos/test/action_logger_util.cc",
135 "chromeos/test/action_logger_util.h", 157 "chromeos/test/action_logger_util.h",
136 "chromeos/test/test_display_layout_manager.cc", 158 "chromeos/test/test_display_layout_manager.cc",
137 "chromeos/test/test_display_layout_manager.h", 159 "chromeos/test/test_display_layout_manager.h",
138 "chromeos/test/test_native_display_delegate.cc", 160 "chromeos/test/test_native_display_delegate.cc",
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 sources -= [ "display_change_notifier_unittest.cc" ] 230 sources -= [ "display_change_notifier_unittest.cc" ]
209 } 231 }
210 232
211 if (is_chromeos && use_ozone) { 233 if (is_chromeos && use_ozone) {
212 sources -= [ 234 sources -= [
213 "chromeos/x11/display_util_x11_unittest.cc", 235 "chromeos/x11/display_util_x11_unittest.cc",
214 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", 236 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc",
215 ] 237 ]
216 } 238 }
217 } 239 }
OLDNEW
« no previous file with comments | « components/exo/wm_helper_ash.cc ('k') | ui/display/manager/display_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698