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("//mojo/public/tools/bindings/mojom.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/animated_content_sampler.cc", | 11 "content/animated_content_sampler.cc", |
12 "content/animated_content_sampler.h", | 12 "content/animated_content_sampler.h", |
13 "content/capture_resolution_chooser.cc", | 13 "content/capture_resolution_chooser.cc", |
14 "content/capture_resolution_chooser.h", | 14 "content/capture_resolution_chooser.h", |
15 "content/feedback_signal_accumulator.h", | 15 "content/feedback_signal_accumulator.h", |
16 "content/screen_capture_device_core.cc", | 16 "content/screen_capture_device_core.cc", |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 ] | 125 ] |
126 | 126 |
127 ldflags = [ | 127 ldflags = [ |
128 "/DELAYLOAD:mf.dll", | 128 "/DELAYLOAD:mf.dll", |
129 "/DELAYLOAD:mfplat.dll", | 129 "/DELAYLOAD:mfplat.dll", |
130 "/DELAYLOAD:mfreadwrite.dll", | 130 "/DELAYLOAD:mfreadwrite.dll", |
131 ] | 131 ] |
132 } | 132 } |
133 } | 133 } |
134 | 134 |
| 135 mojom("mojo_bindings") { |
| 136 sources = [ |
| 137 "imagecapture/image_capture.mojom", |
| 138 ] |
| 139 } |
| 140 |
135 source_set("unittests") { | 141 source_set("unittests") { |
136 testonly = true | 142 testonly = true |
137 | 143 |
138 sources = [ | 144 sources = [ |
139 "content/animated_content_sampler_unittest.cc", | 145 "content/animated_content_sampler_unittest.cc", |
140 "content/capture_resolution_chooser_unittest.cc", | 146 "content/capture_resolution_chooser_unittest.cc", |
141 "content/feedback_signal_accumulator_unittest.cc", | 147 "content/feedback_signal_accumulator_unittest.cc", |
142 "content/smooth_event_sampler_unittest.cc", | 148 "content/smooth_event_sampler_unittest.cc", |
143 "content/video_capture_oracle_unittest.cc", | 149 "content/video_capture_oracle_unittest.cc", |
144 "system_message_window_win_unittest.cc", | 150 "system_message_window_win_unittest.cc", |
145 "video/fake_video_capture_device_unittest.cc", | 151 "video/fake_video_capture_device_unittest.cc", |
146 "video/mac/video_capture_device_factory_mac_unittest.mm", | 152 "video/mac/video_capture_device_factory_mac_unittest.mm", |
147 "video/video_capture_device_unittest.cc", | 153 "video/video_capture_device_unittest.cc", |
148 ] | 154 ] |
149 | 155 |
150 deps = [ | 156 deps = [ |
151 "//media/base:unittests", | 157 "//media/base:unittests", |
152 "//testing/gmock", | 158 "//testing/gmock", |
153 "//testing/gtest", | 159 "//testing/gtest", |
154 ] | 160 ] |
155 | 161 |
156 # TODO(mcasas): Fix size_t to int truncation warning-treated-as-errors. | 162 # TODO(mcasas): Fix size_t to int truncation warning-treated-as-errors. |
157 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 163 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
158 } | 164 } |
OLD | NEW |