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

Side by Side Diff: ui/native_theme/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/gfx/BUILD.gn ('k') | ui/snapshot/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("native_theme") { 8 component("native_theme") {
9 sources = [ 9 sources = [
10 "common_theme.cc", 10 "common_theme.cc",
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 "//skia", 51 "//skia",
52 "//ui/base", 52 "//ui/base",
53 "//ui/display", 53 "//ui/display",
54 "//ui/gfx", 54 "//ui/gfx",
55 "//ui/gfx/geometry", 55 "//ui/gfx/geometry",
56 "//ui/resources", 56 "//ui/resources",
57 ] 57 ]
58 58
59 if (is_mac) { 59 if (is_mac) {
60 libs = [ 60 libs = [
61 "CoreGraphics.framework",
61 "AppKit.framework", 62 "AppKit.framework",
62 "ApplicationServices.framework", # Temporary hack around https://crbug.co m/620127. Remove after https://crbug.com/622481 is fixed.
63 "CoreGraphics.framework",
64 ] 63 ]
65 } 64 }
66 } 65 }
67 66
68 test("native_theme_unittests") { 67 test("native_theme_unittests") {
69 sources = [] 68 sources = []
70 69
71 if (use_aura) { 70 if (use_aura) {
72 sources += [ "native_theme_aura_unittest.cc" ] 71 sources += [ "native_theme_aura_unittest.cc" ]
73 } 72 }
74 73
75 if (is_mac) { 74 if (is_mac) {
76 sources += [ "native_theme_mac_unittest.cc" ] 75 sources += [ "native_theme_mac_unittest.cc" ]
77 } 76 }
78 77
79 deps = [ 78 deps = [
80 ":native_theme", 79 ":native_theme",
81 "//base/test:run_all_unittests", 80 "//base/test:run_all_unittests",
82 "//base/test:test_support", 81 "//base/test:test_support",
83 "//skia:skia", 82 "//skia:skia",
84 "//testing/gtest", 83 "//testing/gtest",
85 "//ui/gfx/geometry:geometry", 84 "//ui/gfx/geometry:geometry",
86 ] 85 ]
87 } 86 }
OLDNEW
« no previous file with comments | « ui/gfx/BUILD.gn ('k') | ui/snapshot/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698