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

Side by Side Diff: media/capture/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 | « media/BUILD.gn ('k') | skia/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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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/features.gni") 5 import("//build/config/features.gni")
6 import("//media/media_options.gni") 6 import("//media/media_options.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 8
9 component("capture") { 9 component("capture") {
10 defines = [ "CAPTURE_IMPLEMENTATION" ] 10 defines = [ "CAPTURE_IMPLEMENTATION" ]
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 public_deps += [ 98 public_deps += [
99 "video/android", 99 "video/android",
100 "video/android:capture_java", 100 "video/android:capture_java",
101 ] 101 ]
102 deps += [ "video/android:capture_jni_headers" ] 102 deps += [ "video/android:capture_jni_headers" ]
103 } 103 }
104 104
105 if (is_mac) { 105 if (is_mac) {
106 deps += [ "//third_party/decklink" ] 106 deps += [ "//third_party/decklink" ]
107 libs = [ 107 libs = [
108 "ApplicationServices.framework", # Temporary hack around https://crbug.co m/620127. Remove after https://crbug.com/622481 is fixed.
108 "CoreFoundation.framework", 109 "CoreFoundation.framework",
109 "CoreGraphics.framework", 110 "CoreGraphics.framework",
110 "CoreVideo.framework", 111 "CoreVideo.framework",
111 "Foundation.framework", 112 "Foundation.framework",
112 ] 113 ]
113 } 114 }
114 115
115 if (use_udev) { 116 if (use_udev) {
116 deps += [ "//device/udev_linux" ] 117 deps += [ "//device/udev_linux" ]
117 sources += [ 118 sources += [
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 ":capture", 163 ":capture",
163 "//testing/gmock", 164 "//testing/gmock",
164 "//testing/gtest", 165 "//testing/gtest",
165 ] 166 ]
166 167
167 if (is_win) { 168 if (is_win) {
168 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. 169 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations.
169 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 170 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
170 } 171 }
171 } 172 }
OLDNEW
« no previous file with comments | « media/BUILD.gn ('k') | skia/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698