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", |
100 "video/android", | 102 "video/android", |
101 "video/android:capture_java", | 103 "video/android:capture_java", |
102 ] | 104 ] |
103 deps += [ "video/android:capture_jni_headers" ] | 105 deps += [ |
| 106 "content/android:screen_capture_jni_headers", |
| 107 "video/android:capture_jni_headers", |
| 108 ] |
104 } | 109 } |
105 | 110 |
106 if (is_mac) { | 111 if (is_mac) { |
107 deps += [ "//third_party/decklink" ] | 112 deps += [ "//third_party/decklink" ] |
108 libs = [ | 113 libs = [ |
109 "ApplicationServices.framework", # Temporary hack around https://crbug.co
m/620127. Remove after https://crbug.com/622481 is fixed. | 114 "ApplicationServices.framework", # Temporary hack around https://crbug.co
m/620127. Remove after https://crbug.com/622481 is fixed. |
110 "CoreFoundation.framework", | 115 "CoreFoundation.framework", |
111 "CoreGraphics.framework", | 116 "CoreGraphics.framework", |
112 "CoreVideo.framework", | 117 "CoreVideo.framework", |
113 "Foundation.framework", | 118 "Foundation.framework", |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 | 175 |
171 if (is_android) { | 176 if (is_android) { |
172 deps += [ "//media/capture/video/android:capture_java" ] | 177 deps += [ "//media/capture/video/android:capture_java" ] |
173 } | 178 } |
174 | 179 |
175 if (is_win) { | 180 if (is_win) { |
176 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. | 181 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. |
177 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 182 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
178 } | 183 } |
179 } | 184 } |
OLD | NEW |