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 source_set("capture") { | 9 source_set("capture") { |
10 sources = [ | 10 sources = [ |
| 11 "content/android/screen_capture_machine_android.cc", |
| 12 "content/android/screen_capture_machine_android.h", |
11 "content/animated_content_sampler.cc", | 13 "content/animated_content_sampler.cc", |
12 "content/animated_content_sampler.h", | 14 "content/animated_content_sampler.h", |
13 "content/capture_resolution_chooser.cc", | 15 "content/capture_resolution_chooser.cc", |
14 "content/capture_resolution_chooser.h", | 16 "content/capture_resolution_chooser.h", |
15 "content/feedback_signal_accumulator.h", | 17 "content/feedback_signal_accumulator.h", |
16 "content/screen_capture_device_core.cc", | 18 "content/screen_capture_device_core.cc", |
17 "content/screen_capture_device_core.h", | 19 "content/screen_capture_device_core.h", |
18 "content/smooth_event_sampler.cc", | 20 "content/smooth_event_sampler.cc", |
19 "content/smooth_event_sampler.h", | 21 "content/smooth_event_sampler.h", |
20 "content/thread_safe_capture_oracle.cc", | 22 "content/thread_safe_capture_oracle.cc", |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 ] | 91 ] |
90 | 92 |
91 configs += [ | 93 configs += [ |
92 "//media:media_implementation", | 94 "//media:media_implementation", |
93 | 95 |
94 # TODO(mcasas): Fix size_t to int truncation warning-treated-as-errors. | 96 # TODO(mcasas): Fix size_t to int truncation warning-treated-as-errors. |
95 "//build/config/compiler:no_size_t_to_int_warning", | 97 "//build/config/compiler:no_size_t_to_int_warning", |
96 ] | 98 ] |
97 | 99 |
98 if (is_android) { | 100 if (is_android) { |
99 public_deps += [ "video/android" ] | 101 public_deps += [ |
100 deps += [ "video/android:capture_jni_headers" ] | 102 "content/android", |
| 103 "video/android", |
| 104 ] |
| 105 deps += [ |
| 106 "content/android:screen_capture_jni_headers", |
| 107 "video/android:capture_jni_headers", |
| 108 "//third_party/libyuv", |
| 109 ] |
101 } | 110 } |
102 | 111 |
103 if (is_mac) { | 112 if (is_mac) { |
104 deps += [ "//third_party/decklink" ] | 113 deps += [ "//third_party/decklink" ] |
105 libs = [ | 114 libs = [ |
106 "CoreFoundation.framework", | 115 "CoreFoundation.framework", |
107 "CoreGraphics.framework", | 116 "CoreGraphics.framework", |
108 "Foundation.framework", | 117 "Foundation.framework", |
109 ] | 118 ] |
110 } | 119 } |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 | 160 |
152 deps = [ | 161 deps = [ |
153 "//media/base:unittests", | 162 "//media/base:unittests", |
154 "//testing/gmock", | 163 "//testing/gmock", |
155 "//testing/gtest", | 164 "//testing/gtest", |
156 ] | 165 ] |
157 | 166 |
158 # TODO(mcasas): Fix size_t to int truncation warning-treated-as-errors. | 167 # TODO(mcasas): Fix size_t to int truncation warning-treated-as-errors. |
159 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 168 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
160 } | 169 } |
OLD | NEW |