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

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

Issue 2344123002: ImageCapture: Implement TakePhoto() for Linux/CrOs (Closed)
Patch Set: v4l2_capture_delegate.cc l.152: Added back '&0xf0' Created 4 years, 3 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
« no previous file with comments | « no previous file | media/capture/video/linux/v4l2_capture_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 13 matching lines...) Expand all
24 "content/video_capture_oracle.h", 24 "content/video_capture_oracle.h",
25 "video/fake_video_capture_device.cc", 25 "video/fake_video_capture_device.cc",
26 "video/fake_video_capture_device.h", 26 "video/fake_video_capture_device.h",
27 "video/fake_video_capture_device_factory.cc", 27 "video/fake_video_capture_device_factory.cc",
28 "video/fake_video_capture_device_factory.h", 28 "video/fake_video_capture_device_factory.h",
29 "video/file_video_capture_device.cc", 29 "video/file_video_capture_device.cc",
30 "video/file_video_capture_device.h", 30 "video/file_video_capture_device.h",
31 "video/file_video_capture_device_factory.cc", 31 "video/file_video_capture_device_factory.cc",
32 "video/file_video_capture_device_factory.h", 32 "video/file_video_capture_device_factory.h",
33 "video/linux/v4l2_capture_delegate.cc", 33 "video/linux/v4l2_capture_delegate.cc",
34 "video/linux/v4l2_capture_delegate.h",
34 "video/linux/video_capture_device_chromeos.cc", 35 "video/linux/video_capture_device_chromeos.cc",
35 "video/linux/video_capture_device_chromeos.h", 36 "video/linux/video_capture_device_chromeos.h",
36 "video/linux/video_capture_device_factory_linux.cc", 37 "video/linux/video_capture_device_factory_linux.cc",
37 "video/linux/video_capture_device_factory_linux.h", 38 "video/linux/video_capture_device_factory_linux.h",
38 "video/linux/video_capture_device_linux.cc", 39 "video/linux/video_capture_device_linux.cc",
39 "video/linux/video_capture_device_linux.h", 40 "video/linux/video_capture_device_linux.h",
40 "video/mac/video_capture_device_avfoundation_mac.h", 41 "video/mac/video_capture_device_avfoundation_mac.h",
41 "video/mac/video_capture_device_avfoundation_mac.mm", 42 "video/mac/video_capture_device_avfoundation_mac.mm",
42 "video/mac/video_capture_device_decklink_mac.h", 43 "video/mac/video_capture_device_decklink_mac.h",
43 "video/mac/video_capture_device_decklink_mac.mm", 44 "video/mac/video_capture_device_decklink_mac.mm",
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 ] 125 ]
125 ldflags = [ 126 ldflags = [
126 "/DELAYLOAD:mf.dll", 127 "/DELAYLOAD:mf.dll",
127 "/DELAYLOAD:mfplat.dll", 128 "/DELAYLOAD:mfplat.dll",
128 "/DELAYLOAD:mfreadwrite.dll", 129 "/DELAYLOAD:mfreadwrite.dll",
129 ] 130 ]
130 131
131 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. 132 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations.
132 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 133 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
133 } 134 }
135
136 if (is_linux || is_chromeos) {
137 deps += [ "//third_party/libyuv" ]
138 }
134 } 139 }
135 140
136 test("capture_unittests") { 141 test("capture_unittests") {
137 sources = [ 142 sources = [
138 "content/animated_content_sampler_unittest.cc", 143 "content/animated_content_sampler_unittest.cc",
139 "content/capture_resolution_chooser_unittest.cc", 144 "content/capture_resolution_chooser_unittest.cc",
140 "content/smooth_event_sampler_unittest.cc", 145 "content/smooth_event_sampler_unittest.cc",
141 "content/video_capture_oracle_unittest.cc", 146 "content/video_capture_oracle_unittest.cc",
142 "video/fake_video_capture_device_unittest.cc", 147 "video/fake_video_capture_device_unittest.cc",
143 "video/mac/video_capture_device_factory_mac_unittest.mm", 148 "video/mac/video_capture_device_factory_mac_unittest.mm",
(...skipping 16 matching lines...) Expand all
160 "//media/capture/video/android", 165 "//media/capture/video/android",
161 "//media/capture/video/android:capture_java", 166 "//media/capture/video/android:capture_java",
162 ] 167 ]
163 } 168 }
164 169
165 if (is_win) { 170 if (is_win) {
166 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations. 171 # TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations.
167 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 172 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
168 } 173 }
169 } 174 }
OLDNEW
« no previous file with comments | « no previous file | media/capture/video/linux/v4l2_capture_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698