OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 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 import("../../build/webrtc.gni") | 9 import("../../build/webrtc.gni") |
10 import("//testing/test.gni") | 10 import("//testing/test.gni") |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 "windows/video_capture_ds.h", | 129 "windows/video_capture_ds.h", |
130 "windows/video_capture_factory_windows.cc", | 130 "windows/video_capture_factory_windows.cc", |
131 "windows/video_capture_mf.cc", | 131 "windows/video_capture_mf.cc", |
132 "windows/video_capture_mf.h", | 132 "windows/video_capture_mf.h", |
133 ] | 133 ] |
134 | 134 |
135 libs = [ "Strmiids.lib" ] | 135 libs = [ "Strmiids.lib" ] |
136 | 136 |
137 deps += [ "//third_party/winsdk_samples" ] | 137 deps += [ "//third_party/winsdk_samples" ] |
138 } | 138 } |
| 139 if (is_win && is_clang) { |
| 140 cflags = [ |
| 141 "-Wno-comment", |
| 142 "-Wno-ignored-attributes", |
| 143 "-Wno-microsoft-extra-qualification", |
| 144 "-Wno-missing-braces", |
| 145 "-Wno-overloaded-virtual", |
| 146 "-Wno-reorder", |
| 147 "-Wno-writable-strings", |
| 148 ] |
| 149 } |
139 if (is_ios) { | 150 if (is_ios) { |
140 sources = [ | 151 sources = [ |
141 "ios/device_info_ios.h", | 152 "ios/device_info_ios.h", |
142 "ios/device_info_ios.mm", | 153 "ios/device_info_ios.mm", |
143 "ios/device_info_ios_objc.h", | 154 "ios/device_info_ios_objc.h", |
144 "ios/device_info_ios_objc.mm", | 155 "ios/device_info_ios_objc.mm", |
145 "ios/rtc_video_capture_ios_objc.h", | 156 "ios/rtc_video_capture_ios_objc.h", |
146 "ios/rtc_video_capture_ios_objc.mm", | 157 "ios/rtc_video_capture_ios_objc.mm", |
147 "ios/video_capture_ios.h", | 158 "ios/video_capture_ios.h", |
148 "ios/video_capture_ios.mm", | 159 "ios/video_capture_ios.mm", |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 } | 223 } |
213 | 224 |
214 if (is_clang) { | 225 if (is_clang) { |
215 # Suppress warnings from Chrome's Clang plugins. | 226 # Suppress warnings from Chrome's Clang plugins. |
216 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 227 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
217 configs -= [ "//build/config/clang:find_bad_constructs" ] | 228 configs -= [ "//build/config/clang:find_bad_constructs" ] |
218 } | 229 } |
219 } | 230 } |
220 } | 231 } |
221 } | 232 } |
OLD | NEW |