| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 configs += [ | 90 configs += [ |
| 91 # TODO(mcasas): media/base should be a component and not a source_set, but | 91 # TODO(mcasas): media/base should be a component and not a source_set, but |
| 92 # it depends on parts of media/filters, media/ffmpeg etc. Until then, we | 92 # it depends on parts of media/filters, media/ffmpeg etc. Until then, we |
| 93 # pretend to be inside media.dll and duplicate the few symbols needed, see | 93 # pretend to be inside media.dll and duplicate the few symbols needed, see |
| 94 # https://crbug.com/590017. | 94 # https://crbug.com/590017. |
| 95 "//media:media_implementation", | 95 "//media:media_implementation", |
| 96 ] | 96 ] |
| 97 | 97 |
| 98 if (is_android) { | 98 if (is_android) { |
| 99 public_deps += [ | 99 public_deps += [ |
| 100 "content/android", | |
| 101 "content/android:screen_capture_java", | |
| 102 "video/android", | 100 "video/android", |
| 103 "video/android:capture_java", | 101 "video/android:capture_java", |
| 104 ] | 102 ] |
| 105 deps += [ | 103 deps += [ "video/android:capture_jni_headers" ] |
| 106 "content/android:screen_capture_jni_headers", | |
| 107 "video/android:capture_jni_headers", | |
| 108 ] | |
| 109 } | 104 } |
| 110 | 105 |
| 111 if (is_mac) { | 106 if (is_mac) { |
| 112 deps += [ "//third_party/decklink" ] | 107 deps += [ "//third_party/decklink" ] |
| 113 libs = [ | 108 libs = [ |
| 114 "ApplicationServices.framework", # Temporary hack around https://crbug.co
m/620127. Remove after https://crbug.com/622481 is fixed. | 109 "ApplicationServices.framework", # Temporary hack around https://crbug.co
m/620127. Remove after https://crbug.com/622481 is fixed. |
| 115 "CoreFoundation.framework", | 110 "CoreFoundation.framework", |
| 116 "CoreGraphics.framework", | 111 "CoreGraphics.framework", |
| 117 "CoreVideo.framework", | 112 "CoreVideo.framework", |
| 118 "Foundation.framework", | 113 "Foundation.framework", |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 | 170 |
| 176 if (is_android) { | 171 if (is_android) { |
| 177 deps += [ "//media/capture/video/android:capture_java" ] | 172 deps += [ "//media/capture/video/android:capture_java" ] |
| 178 } | 173 } |
| 179 | 174 |
| 180 if (is_win) { | 175 if (is_win) { |
| 181 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. | 176 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. |
| 182 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 177 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 183 } | 178 } |
| 184 } | 179 } |
| OLD | NEW |