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

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

Issue 2118563002: Revert of [Mac/GN] Explicitly link ApplicationServices wherever CoreGraphics is linked. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/native_theme/BUILD.gn ('k') | ui/views/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("snapshot") { 8 component("snapshot") {
9 sources = [ 9 sources = [
10 "screenshot_grabber.cc", 10 "screenshot_grabber.cc",
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 "//ui/aura", 56 "//ui/aura",
57 "//ui/compositor", 57 "//ui/compositor",
58 ] 58 ]
59 } else { 59 } else {
60 sources -= [ "snapshot_aura.cc" ] 60 sources -= [ "snapshot_aura.cc" ]
61 } 61 }
62 62
63 if (is_mac) { 63 if (is_mac) {
64 libs = [ 64 libs = [
65 "AppKit.framework", 65 "AppKit.framework",
66 "ApplicationServices.framework", # Temporary hack around https://crbug.co m/620127. Remove after https://crbug.com/622481 is fixed.
67 "CoreGraphics.framework", 66 "CoreGraphics.framework",
68 ] 67 ]
69 } 68 }
70 } 69 }
71 70
72 test("snapshot_unittests") { 71 test("snapshot_unittests") {
73 sources = [ 72 sources = [
74 "snapshot_aura_unittest.cc", 73 "snapshot_aura_unittest.cc",
75 "snapshot_mac_unittest.mm", 74 "snapshot_mac_unittest.mm",
76 "test/run_all_unittests.cc", 75 "test/run_all_unittests.cc",
(...skipping 16 matching lines...) Expand all
93 deps += [ 92 deps += [
94 "//ui/aura:test_support", 93 "//ui/aura:test_support",
95 "//ui/compositor", 94 "//ui/compositor",
96 "//ui/compositor:test_support", 95 "//ui/compositor:test_support",
97 "//ui/wm", 96 "//ui/wm",
98 ] 97 ]
99 } else { 98 } else {
100 sources -= [ "snapshot_aura_unittest.cc" ] 99 sources -= [ "snapshot_aura_unittest.cc" ]
101 } 100 }
102 } 101 }
OLDNEW
« no previous file with comments | « ui/native_theme/BUILD.gn ('k') | ui/views/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698