OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |