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

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

Issue 2092513002: [Mac/GN] Explicitly link ApplicationServices wherever CoreGraphics is linked. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update comments Created 4 years, 5 months 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 | « ui/accelerated_widget_mac/BUILD.gn ('k') | ui/gfx/BUILD.gn » ('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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 }
OLDNEW
« no previous file with comments | « ui/accelerated_widget_mac/BUILD.gn ('k') | ui/gfx/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698