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

Side by Side Diff: webrtc/modules/video_capture/video_capture.gypi

Issue 2375273004: Reland of Unify the macOS and iOS capturer implementations (Closed)
Patch Set: fix gyp build 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
« no previous file with comments | « webrtc/modules/video_capture/objc/video_capture.mm ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 { 9 {
10 'targets': [ 10 'targets': [
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 ], 61 ],
62 }], 62 }],
63 ['OS=="linux"', { 63 ['OS=="linux"', {
64 'sources': [ 64 'sources': [
65 'linux/device_info_linux.cc', 65 'linux/device_info_linux.cc',
66 'linux/device_info_linux.h', 66 'linux/device_info_linux.h',
67 'linux/video_capture_linux.cc', 67 'linux/video_capture_linux.cc',
68 'linux/video_capture_linux.h', 68 'linux/video_capture_linux.h',
69 ], 69 ],
70 }], # linux 70 }], # linux
71 ['OS=="mac"', {
72 'sources': [
73 'mac/qtkit/video_capture_qtkit.h',
74 'mac/qtkit/video_capture_qtkit.mm',
75 'mac/qtkit/video_capture_qtkit_info.h',
76 'mac/qtkit/video_capture_qtkit_info.mm',
77 'mac/qtkit/video_capture_qtkit_info_objc.h',
78 'mac/qtkit/video_capture_qtkit_info_objc.mm',
79 'mac/qtkit/video_capture_qtkit_objc.h',
80 'mac/qtkit/video_capture_qtkit_objc.mm',
81 'mac/qtkit/video_capture_qtkit_utility.h',
82 'mac/video_capture_mac.mm',
83 ],
84 'link_settings': {
85 'xcode_settings': {
86 'OTHER_LDFLAGS': [
87 '-framework Cocoa',
88 '-framework CoreVideo',
89 '-framework QTKit',
90 ],
91 },
92 },
93 }], # mac
94 ['OS=="win"', { 71 ['OS=="win"', {
95 'dependencies': [ 72 'dependencies': [
96 '<(DEPTH)/third_party/winsdk_samples/winsdk_samples.gyp:directsh ow_baseclasses', 73 '<(DEPTH)/third_party/winsdk_samples/winsdk_samples.gyp:directsh ow_baseclasses',
97 ], 74 ],
98 'sources': [ 75 'sources': [
99 'windows/device_info_ds.cc', 76 'windows/device_info_ds.cc',
100 'windows/device_info_ds.h', 77 'windows/device_info_ds.h',
101 'windows/device_info_mf.cc', 78 'windows/device_info_mf.cc',
102 'windows/device_info_mf.h', 79 'windows/device_info_mf.h',
103 'windows/help_functions_ds.cc', 80 'windows/help_functions_ds.cc',
(...skipping 22 matching lines...) Expand all
126 '-Wno-ignored-attributes', 103 '-Wno-ignored-attributes',
127 '-Wno-microsoft-extra-qualification', 104 '-Wno-microsoft-extra-qualification',
128 '-Wno-missing-braces', 105 '-Wno-missing-braces',
129 '-Wno-overloaded-virtual', 106 '-Wno-overloaded-virtual',
130 '-Wno-reorder', 107 '-Wno-reorder',
131 '-Wno-writable-strings', 108 '-Wno-writable-strings',
132 ], 109 ],
133 }, 110 },
134 }, 111 },
135 }], 112 }],
136 ['OS=="ios"', { 113 ['OS=="ios" or OS=="mac"', {
137 'sources': [ 114 'sources': [
138 'ios/device_info_ios.h', 115 'objc/device_info.h',
139 'ios/device_info_ios.mm', 116 'objc/device_info.mm',
140 'ios/device_info_ios_objc.h', 117 'objc/device_info_objc.h',
141 'ios/device_info_ios_objc.mm', 118 'objc/device_info_objc.mm',
142 'ios/rtc_video_capture_ios_objc.h', 119 'objc/rtc_video_capture_objc.h',
143 'ios/rtc_video_capture_ios_objc.mm', 120 'objc/rtc_video_capture_objc.mm',
144 'ios/video_capture_ios.h', 121 'objc/video_capture.h',
145 'ios/video_capture_ios.mm', 122 'objc/video_capture.mm',
146 ], 123 ],
147 'xcode_settings': { 124 'xcode_settings': {
148 'CLANG_ENABLE_OBJC_ARC': 'YES', 125 'CLANG_ENABLE_OBJC_ARC': 'YES',
149 }, 126 },
150 'all_dependent_settings': { 127 'all_dependent_settings': {
151 'xcode_settings': { 128 'xcode_settings': {
152 'OTHER_LDFLAGS': [ 129 'OTHER_LDFLAGS': [
153 '-framework AVFoundation', 130 '-framework AVFoundation',
154 '-framework CoreMedia', 131 '-framework CoreMedia',
155 '-framework CoreVideo', 132 '-framework CoreVideo',
133 ],
134 },
135 },
136 }], # ios
137 ['OS=="ios"', {
138 'all_dependent_settings': {
139 'xcode_settings': {
140 'OTHER_LDFLAGS': [
156 '-framework UIKit', 141 '-framework UIKit',
157 ], 142 ],
158 }, 143 },
159 }, 144 },
160 }], # ios 145 }], # ios
161 ], # conditions 146 ], # conditions
162 }, 147 },
163 ], 148 ],
164 }], # build_with_chromium==0 149 }], # build_with_chromium==0
165 ], 150 ],
166 } 151 }
167 152
OLDNEW
« no previous file with comments | « webrtc/modules/video_capture/objc/video_capture.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698