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 = [ |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 "video/linux/video_capture_device_linux.h", | 47 "video/linux/video_capture_device_linux.h", |
48 "video/mac/platform_video_capturing_mac.h", | 48 "video/mac/platform_video_capturing_mac.h", |
49 "video/mac/video_capture_device_avfoundation_mac.h", | 49 "video/mac/video_capture_device_avfoundation_mac.h", |
50 "video/mac/video_capture_device_avfoundation_mac.mm", | 50 "video/mac/video_capture_device_avfoundation_mac.mm", |
51 "video/mac/video_capture_device_decklink_mac.h", | 51 "video/mac/video_capture_device_decklink_mac.h", |
52 "video/mac/video_capture_device_decklink_mac.mm", | 52 "video/mac/video_capture_device_decklink_mac.mm", |
53 "video/mac/video_capture_device_factory_mac.h", | 53 "video/mac/video_capture_device_factory_mac.h", |
54 "video/mac/video_capture_device_factory_mac.mm", | 54 "video/mac/video_capture_device_factory_mac.mm", |
55 "video/mac/video_capture_device_mac.h", | 55 "video/mac/video_capture_device_mac.h", |
56 "video/mac/video_capture_device_mac.mm", | 56 "video/mac/video_capture_device_mac.mm", |
57 "video/mac/video_capture_device_qtkit_mac.h", | |
58 "video/mac/video_capture_device_qtkit_mac.mm", | |
59 "video/video_capture_device.cc", | 57 "video/video_capture_device.cc", |
60 "video/video_capture_device.h", | 58 "video/video_capture_device.h", |
61 "video/video_capture_device_factory.cc", | 59 "video/video_capture_device_factory.cc", |
62 "video/video_capture_device_factory.h", | 60 "video/video_capture_device_factory.h", |
63 "video/video_capture_device_info.cc", | 61 "video/video_capture_device_info.cc", |
64 "video/video_capture_device_info.h", | 62 "video/video_capture_device_info.h", |
65 "video/win/capability_list_win.cc", | 63 "video/win/capability_list_win.cc", |
66 "video/win/capability_list_win.h", | 64 "video/win/capability_list_win.h", |
67 "video/win/filter_base_win.cc", | 65 "video/win/filter_base_win.cc", |
68 "video/win/filter_base_win.h", | 66 "video/win/filter_base_win.h", |
(...skipping 29 matching lines...) Expand all Loading... |
98 if (is_android) { | 96 if (is_android) { |
99 public_deps += [ "video/android" ] | 97 public_deps += [ "video/android" ] |
100 deps += [ "video/android:capture_jni_headers" ] | 98 deps += [ "video/android:capture_jni_headers" ] |
101 } | 99 } |
102 | 100 |
103 if (is_mac) { | 101 if (is_mac) { |
104 deps += [ | 102 deps += [ |
105 "//media/base/mac", | 103 "//media/base/mac", |
106 "//third_party/decklink", | 104 "//third_party/decklink", |
107 ] | 105 ] |
108 libs = [ "QTKit.framework" ] | |
109 } | 106 } |
110 | 107 |
111 if (use_udev) { | 108 if (use_udev) { |
112 deps += [ "//device/udev_linux" ] | 109 deps += [ "//device/udev_linux" ] |
113 sources += [ | 110 sources += [ |
114 "device_monitor_udev.cc", | 111 "device_monitor_udev.cc", |
115 "device_monitor_udev.h", | 112 "device_monitor_udev.h", |
116 ] | 113 ] |
117 } | 114 } |
118 | 115 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 | 147 |
151 deps = [ | 148 deps = [ |
152 "//media/base:unittests", | 149 "//media/base:unittests", |
153 "//testing/gmock", | 150 "//testing/gmock", |
154 "//testing/gtest", | 151 "//testing/gtest", |
155 ] | 152 ] |
156 | 153 |
157 # TODO(mcasas): Fix size_t to int truncation warning-treated-as-errors. | 154 # TODO(mcasas): Fix size_t to int truncation warning-treated-as-errors. |
158 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 155 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
159 } | 156 } |
OLD | NEW |