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("display") { | 8 component("display") { |
9 sources = [ | 9 sources = [ |
10 "android/screen_android.cc", | |
11 "chromeos/apply_content_protection_task.cc", | 10 "chromeos/apply_content_protection_task.cc", |
12 "chromeos/apply_content_protection_task.h", | 11 "chromeos/apply_content_protection_task.h", |
13 "chromeos/configure_displays_task.cc", | 12 "chromeos/configure_displays_task.cc", |
14 "chromeos/configure_displays_task.h", | 13 "chromeos/configure_displays_task.h", |
15 "chromeos/display_configurator.cc", | 14 "chromeos/display_configurator.cc", |
16 "chromeos/display_configurator.h", | 15 "chromeos/display_configurator.h", |
17 "chromeos/display_layout_manager.h", | 16 "chromeos/display_layout_manager.h", |
18 "chromeos/display_snapshot_virtual.cc", | 17 "chromeos/display_snapshot_virtual.cc", |
19 "chromeos/display_snapshot_virtual.h", | 18 "chromeos/display_snapshot_virtual.h", |
20 "chromeos/display_util.cc", | 19 "chromeos/display_util.cc", |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 deps += [ "//ui/events/platform" ] | 109 deps += [ "//ui/events/platform" ] |
111 } | 110 } |
112 | 111 |
113 if (use_x11) { | 112 if (use_x11) { |
114 deps += [ "//ui/gfx/x" ] | 113 deps += [ "//ui/gfx/x" ] |
115 } | 114 } |
116 | 115 |
117 if (!use_aura) { | 116 if (!use_aura) { |
118 sources -= [ "screen_aura.cc" ] | 117 sources -= [ "screen_aura.cc" ] |
119 } | 118 } |
120 if (is_android && use_aura) { | 119 |
121 sources -= [ "android/screen_android.cc" ] | |
122 } | |
123 if (is_mac) { | 120 if (is_mac) { |
124 libs = [ | 121 libs = [ |
125 "AppKit.framework", | 122 "AppKit.framework", |
126 "CoreGraphics.framework", | 123 "CoreGraphics.framework", |
127 ] | 124 ] |
128 } | 125 } |
129 } | 126 } |
130 | 127 |
131 component("display_manager_test_api") { | 128 component("display_manager_test_api") { |
132 testonly = true | 129 testonly = true |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 sources -= [ "display_change_notifier_unittest.cc" ] | 223 sources -= [ "display_change_notifier_unittest.cc" ] |
227 } | 224 } |
228 | 225 |
229 if (is_chromeos && use_ozone) { | 226 if (is_chromeos && use_ozone) { |
230 sources -= [ | 227 sources -= [ |
231 "chromeos/x11/display_util_x11_unittest.cc", | 228 "chromeos/x11/display_util_x11_unittest.cc", |
232 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", | 229 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", |
233 ] | 230 ] |
234 } | 231 } |
235 } | 232 } |
OLD | NEW |