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

Side by Side Diff: ui/native_theme/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, 6 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 "AppKit.framework",
62 "ApplicationServices.framework", # Temporary hack around https://crbug.co m/620127. Remove after https://crbug.com/622481 is fixed.
61 "CoreGraphics.framework", 63 "CoreGraphics.framework",
62 "AppKit.framework",
63 ] 64 ]
64 } 65 }
65 } 66 }
66 67
67 test("native_theme_unittests") { 68 test("native_theme_unittests") {
68 sources = [] 69 sources = []
69 70
70 if (use_aura) { 71 if (use_aura) {
71 sources += [ "native_theme_aura_unittest.cc" ] 72 sources += [ "native_theme_aura_unittest.cc" ]
72 } 73 }
73 74
74 if (is_mac) { 75 if (is_mac) {
75 sources += [ "native_theme_mac_unittest.cc" ] 76 sources += [ "native_theme_mac_unittest.cc" ]
76 } 77 }
77 78
78 deps = [ 79 deps = [
79 ":native_theme", 80 ":native_theme",
80 "//base/test:run_all_unittests", 81 "//base/test:run_all_unittests",
81 "//base/test:test_support", 82 "//base/test:test_support",
82 "//skia:skia", 83 "//skia:skia",
83 "//testing/gtest", 84 "//testing/gtest",
84 "//ui/gfx/geometry:geometry", 85 "//ui/gfx/geometry:geometry",
85 ] 86 ]
86 } 87 }
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