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. | |
109 "CoreFoundation.framework", | 108 "CoreFoundation.framework", |
110 "CoreGraphics.framework", | 109 "CoreGraphics.framework", |
111 "CoreVideo.framework", | 110 "CoreVideo.framework", |
112 "Foundation.framework", | 111 "Foundation.framework", |
113 ] | 112 ] |
114 } | 113 } |
115 | 114 |
116 if (use_udev) { | 115 if (use_udev) { |
117 deps += [ "//device/udev_linux" ] | 116 deps += [ "//device/udev_linux" ] |
118 sources += [ | 117 sources += [ |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 ":capture", | 162 ":capture", |
164 "//testing/gmock", | 163 "//testing/gmock", |
165 "//testing/gtest", | 164 "//testing/gtest", |
166 ] | 165 ] |
167 | 166 |
168 if (is_win) { | 167 if (is_win) { |
169 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. | 168 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. |
170 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 169 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
171 } | 170 } |
172 } | 171 } |
OLD | NEW |