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

Side by Side Diff: webrtc/modules/video_coding/BUILD.gn

Issue 2347263002: GN: Enable rtc_common_config for more targets. (Closed)
Patch Set: GN: Enable rtc_common_config for more targets. 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 | « webrtc/examples/BUILD.gn ('k') | webrtc/sdk/BUILD.gn » ('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 (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 10
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 ] 162 ]
163 deps += [ 163 deps += [
164 "../../common_video", 164 "../../common_video",
165 "//third_party/ffmpeg:ffmpeg", 165 "//third_party/ffmpeg:ffmpeg",
166 "//third_party/openh264:encoder", 166 "//third_party/openh264:encoder",
167 ] 167 ]
168 } 168 }
169 } 169 }
170 170
171 if (is_ios) { 171 if (is_ios) {
172 config("webrtc_h264_video_toolbox_warnings_config") {
173 if (is_clang) {
174 # TODO(tkchin): Make webrtc_h264_video_toolbox compile with the standard s et
175 # of warnings.
176 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=6307
177 cflags = [ "-Wno-thread-safety-analysis" ]
178 }
179 }
180
172 rtc_source_set("webrtc_h264_video_toolbox") { 181 rtc_source_set("webrtc_h264_video_toolbox") {
173 sources = [ 182 sources = [
174 "codecs/h264/h264_video_toolbox_decoder.cc", 183 "codecs/h264/h264_video_toolbox_decoder.cc",
175 "codecs/h264/h264_video_toolbox_decoder.h", 184 "codecs/h264/h264_video_toolbox_decoder.h",
176 "codecs/h264/h264_video_toolbox_encoder.h", 185 "codecs/h264/h264_video_toolbox_encoder.h",
177 "codecs/h264/h264_video_toolbox_encoder.mm", 186 "codecs/h264/h264_video_toolbox_encoder.mm",
178 "codecs/h264/h264_video_toolbox_nalu.cc", 187 "codecs/h264/h264_video_toolbox_nalu.cc",
179 "codecs/h264/h264_video_toolbox_nalu.h", 188 "codecs/h264/h264_video_toolbox_nalu.h",
180 ] 189 ]
181 190
182 configs += [ 191 configs += [
192 ":webrtc_h264_video_toolbox_warnings_config",
183 "../..:common_objc", 193 "../..:common_objc",
184 "//build/config/compiler:enable_arc", 194 "//build/config/compiler:enable_arc",
185 ] 195 ]
186 196
187 # TODO(hbos): Make webrtc_h264_video_toolbox compile with the standard set
188 # of warnings.
189 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=6307
190 suppressed_configs += [ rtc_common_config ]
191
192 deps = [ 197 deps = [
193 "../../sdk:rtc_sdk_common_objc", 198 "../../sdk:rtc_sdk_common_objc",
194 ] 199 ]
195 200
196 libs = [ 201 libs = [
197 "CoreFoundation.framework", 202 "CoreFoundation.framework",
198 "CoreMedia.framework", 203 "CoreMedia.framework",
199 "CoreVideo.framework", 204 "CoreVideo.framework",
200 "VideoToolbox.framework", 205 "VideoToolbox.framework",
201 ] 206 ]
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 # Suppress warnings from Chrome's Clang plugins. 324 # Suppress warnings from Chrome's Clang plugins.
320 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 325 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
321 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 326 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
322 } 327 }
323 328
324 deps = [ 329 deps = [
325 "../../test:test_support", 330 "../../test:test_support",
326 ] 331 ]
327 } 332 }
328 } 333 }
OLDNEW
« no previous file with comments | « webrtc/examples/BUILD.gn ('k') | webrtc/sdk/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698