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