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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 ] | 88 ] |
87 | 89 |
88 configs += [ | 90 configs += [ |
89 "//media:media_implementation", | 91 "//media:media_implementation", |
90 | 92 |
91 # TODO(mcasas): Fix size_t to int truncation warning-treated-as-errors. | 93 # TODO(mcasas): Fix size_t to int truncation warning-treated-as-errors. |
92 "//build/config/compiler:no_size_t_to_int_warning", | 94 "//build/config/compiler:no_size_t_to_int_warning", |
93 ] | 95 ] |
94 | 96 |
95 if (is_android) { | 97 if (is_android) { |
96 public_deps += [ "video/android" ] | 98 public_deps += [ |
97 deps += [ "video/android:capture_jni_headers" ] | 99 "content/android", |
| 100 "video/android", |
| 101 ] |
| 102 deps += [ |
| 103 "content/android:screen_capture_jni_headers", |
| 104 "video/android:capture_jni_headers", |
| 105 "//third_party/libyuv", |
| 106 ] |
98 } | 107 } |
99 | 108 |
100 if (is_mac) { | 109 if (is_mac) { |
101 deps += [ "//third_party/decklink" ] | 110 deps += [ "//third_party/decklink" ] |
102 libs = [ | 111 libs = [ |
103 "CoreFoundation.framework", | 112 "CoreFoundation.framework", |
104 "CoreGraphics.framework", | 113 "CoreGraphics.framework", |
105 "Foundation.framework", | 114 "Foundation.framework", |
106 ] | 115 ] |
107 } | 116 } |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 | 157 |
149 deps = [ | 158 deps = [ |
150 "//media/base:unittests", | 159 "//media/base:unittests", |
151 "//testing/gmock", | 160 "//testing/gmock", |
152 "//testing/gtest", | 161 "//testing/gtest", |
153 ] | 162 ] |
154 | 163 |
155 # TODO(mcasas): Fix size_t to int truncation warning-treated-as-errors. | 164 # TODO(mcasas): Fix size_t to int truncation warning-treated-as-errors. |
156 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 165 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
157 } | 166 } |
OLD | NEW |