Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(298)

Side by Side Diff: media/capture/BUILD.gn

Issue 2428263004: 16 bpp video stream capture, render and createImageBitmap(video) using (CPU) shared memory buffers (Closed)
Patch Set: fixes Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 "/DELAYLOAD:mfplat.dll", 139 "/DELAYLOAD:mfplat.dll",
140 "/DELAYLOAD:mfreadwrite.dll", 140 "/DELAYLOAD:mfreadwrite.dll",
141 ] 141 ]
142 142
143 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. 143 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations.
144 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 144 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
145 } 145 }
146 146
147 if (is_linux || is_chromeos || is_win) { 147 if (is_linux || is_chromeos || is_win) {
148 sources += [ 148 sources += [
149 "video/blob_utils.cc", 149 "video/video_capture_utils.cc",
150 "video/blob_utils.h", 150 "video/video_capture_utils.h",
151 ] 151 ]
152 } 152 }
153 } 153 }
154 154
155 test("capture_unittests") { 155 test("capture_unittests") {
156 sources = [ 156 sources = [
157 "content/animated_content_sampler_unittest.cc", 157 "content/animated_content_sampler_unittest.cc",
158 "content/capture_resolution_chooser_unittest.cc", 158 "content/capture_resolution_chooser_unittest.cc",
159 "content/smooth_event_sampler_unittest.cc", 159 "content/smooth_event_sampler_unittest.cc",
160 "content/video_capture_oracle_unittest.cc", 160 "content/video_capture_oracle_unittest.cc",
(...skipping 13 matching lines...) Expand all
174 "//ui/gfx:test_support", 174 "//ui/gfx:test_support",
175 ] 175 ]
176 176
177 if (is_android) { 177 if (is_android) {
178 deps += [ 178 deps += [
179 "//media/capture/video/android", 179 "//media/capture/video/android",
180 "//media/capture/video/android:capture_java", 180 "//media/capture/video/android:capture_java",
181 ] 181 ]
182 } 182 }
183 183
184 if (is_linux || is_chromeos) {
185 sources += [
186 "video/video_capture_utils.cc",
187 "video/video_capture_utils.h",
188 ]
189 deps += [ "//third_party/libyuv" ]
190 }
191
184 if (is_win) { 192 if (is_win) {
185 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. 193 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations.
186 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 194 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
187 } 195 }
188 } 196 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698