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 "android/screen_android.cc", |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 } | 106 } |
107 if (!use_aura) { | 107 if (!use_aura) { |
108 sources -= [ "screen_aura.cc" ] | 108 sources -= [ "screen_aura.cc" ] |
109 } | 109 } |
110 if (is_android && use_aura) { | 110 if (is_android && use_aura) { |
111 sources -= [ "android/screen_android.cc" ] | 111 sources -= [ "android/screen_android.cc" ] |
112 } | 112 } |
113 if (is_mac) { | 113 if (is_mac) { |
114 libs = [ | 114 libs = [ |
115 "AppKit.framework", | 115 "AppKit.framework", |
| 116 "ApplicationServices.framework", # Temporary hack around https://crbug.co
m/620127. Remove after https://crbug.com/622481 is fixed. |
116 "CoreGraphics.framework", | 117 "CoreGraphics.framework", |
117 ] | 118 ] |
118 } | 119 } |
119 } | 120 } |
120 | 121 |
121 if (is_chromeos) { | 122 if (is_chromeos) { |
122 component("test_util") { | 123 component("test_util") { |
123 output_name = "display_test_util" | 124 output_name = "display_test_util" |
124 sources = [ | 125 sources = [ |
125 "chromeos/test/test_display_snapshot.cc", | 126 "chromeos/test/test_display_snapshot.cc", |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 sources -= [ "display_change_notifier_unittest.cc" ] | 219 sources -= [ "display_change_notifier_unittest.cc" ] |
219 } | 220 } |
220 | 221 |
221 if (is_chromeos && use_ozone) { | 222 if (is_chromeos && use_ozone) { |
222 sources -= [ | 223 sources -= [ |
223 "chromeos/x11/display_util_x11_unittest.cc", | 224 "chromeos/x11/display_util_x11_unittest.cc", |
224 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", | 225 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", |
225 ] | 226 ] |
226 } | 227 } |
227 } | 228 } |
OLD | NEW |