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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 configs += [ | 89 configs += [ |
90 # TODO(mcasas): media/base should be a component and not a source_set, but | 90 # TODO(mcasas): media/base should be a component and not a source_set, but |
91 # it depends on parts of media/filters, media/ffmpeg etc. Until then, we | 91 # it depends on parts of media/filters, media/ffmpeg etc. Until then, we |
92 # pretend to be inside media.dll and duplicate the few symbols needed, see | 92 # pretend to be inside media.dll and duplicate the few symbols needed, see |
93 # https://crbug.com/590017. | 93 # https://crbug.com/590017. |
94 "//media:media_implementation", | 94 "//media:media_implementation", |
95 ] | 95 ] |
96 | 96 |
97 if (is_android) { | 97 if (is_android) { |
98 public_deps += [ | 98 public_deps += [ |
| 99 "content/android", |
| 100 "content/android:screen_capture_java", |
99 "video/android", | 101 "video/android", |
100 "video/android:capture_java", | 102 "video/android:capture_java", |
101 ] | 103 ] |
102 deps += [ "video/android:capture_jni_headers" ] | 104 deps += [ |
| 105 "content/android:screen_capture_jni_headers", |
| 106 "video/android:capture_jni_headers", |
| 107 ] |
103 } | 108 } |
104 | 109 |
105 if (is_mac) { | 110 if (is_mac) { |
106 deps += [ "//third_party/decklink" ] | 111 deps += [ "//third_party/decklink" ] |
107 libs = [ | 112 libs = [ |
108 "CoreFoundation.framework", | 113 "CoreFoundation.framework", |
109 "CoreGraphics.framework", | 114 "CoreGraphics.framework", |
110 "CoreVideo.framework", | 115 "CoreVideo.framework", |
111 "Foundation.framework", | 116 "Foundation.framework", |
112 ] | 117 ] |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 ":capture", | 167 ":capture", |
163 "//testing/gmock", | 168 "//testing/gmock", |
164 "//testing/gtest", | 169 "//testing/gtest", |
165 ] | 170 ] |
166 | 171 |
167 if (is_win) { | 172 if (is_win) { |
168 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. | 173 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. |
169 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 174 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
170 } | 175 } |
171 } | 176 } |
OLD | NEW |