| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 ] | 113 ] |
| 114 deps += [ | 114 deps += [ |
| 115 "content/android:screen_capture_jni_headers", | 115 "content/android:screen_capture_jni_headers", |
| 116 "video/android:capture_jni_headers", | 116 "video/android:capture_jni_headers", |
| 117 ] | 117 ] |
| 118 } | 118 } |
| 119 | 119 |
| 120 if (is_mac) { | 120 if (is_mac) { |
| 121 deps += [ "//third_party/decklink" ] | 121 deps += [ "//third_party/decklink" ] |
| 122 libs = [ | 122 libs = [ |
| 123 "AVFoundation.framework", |
| 123 "CoreFoundation.framework", | 124 "CoreFoundation.framework", |
| 124 "CoreGraphics.framework", | 125 "CoreGraphics.framework", |
| 126 "CoreMedia.framework", |
| 125 "CoreVideo.framework", | 127 "CoreVideo.framework", |
| 126 "Foundation.framework", | 128 "Foundation.framework", |
| 127 ] | 129 ] |
| 128 } | 130 } |
| 129 | 131 |
| 130 if (is_win) { | 132 if (is_win) { |
| 131 deps += [ | 133 deps += [ |
| 132 "//media/base", # For media_switches. | 134 "//media/base", # For media_switches. |
| 133 "//media/base/win", | 135 "//media/base/win", |
| 134 ] | 136 ] |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 "//media/capture/video/android", | 185 "//media/capture/video/android", |
| 184 "//media/capture/video/android:capture_java", | 186 "//media/capture/video/android:capture_java", |
| 185 ] | 187 ] |
| 186 } | 188 } |
| 187 | 189 |
| 188 if (is_win) { | 190 if (is_win) { |
| 189 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. | 191 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. |
| 190 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 192 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 191 } | 193 } |
| 192 } | 194 } |
| OLD | NEW |