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

Side by Side Diff: webrtc/BUILD.gn

Issue 2054903002: GN: Enable api,media,pc and p2p for the 'webrtc' target. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 6 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 | webrtc/modules/utility/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 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330. 9 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330.
10 10
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 "config.h", 238 "config.h",
239 "transport.h", 239 "transport.h",
240 ] 240 ]
241 241
242 defines = [] 242 defines = []
243 configs += [ ":common_config" ] 243 configs += [ ":common_config" ]
244 public_configs = [ ":common_inherited_config" ] 244 public_configs = [ ":common_inherited_config" ]
245 245
246 deps = [ 246 deps = [
247 ":webrtc_common", 247 ":webrtc_common",
248
249 #"api", # TODO(kjellander): Enable when bugs.webrtc.org/4256 is fixed.
250 "audio", 248 "audio",
251 "base:rtc_base", 249 "base:rtc_base",
252 "call", 250 "call",
253 "common_audio", 251 "common_audio",
254 "common_video", 252 "common_video",
255
256 #"media", # TODO(kjellander): Enable when bugs.webrtc.org/4256 is fixed.
257 "modules/audio_coding", 253 "modules/audio_coding",
258 "modules/audio_conference_mixer", 254 "modules/audio_conference_mixer",
259 "modules/audio_device", 255 "modules/audio_device",
260 "modules/audio_processing", 256 "modules/audio_processing",
261 "modules/bitrate_controller", 257 "modules/bitrate_controller",
262 "modules/desktop_capture", 258 "modules/desktop_capture",
263 "modules/media_file", 259 "modules/media_file",
264 "modules/rtp_rtcp", 260 "modules/rtp_rtcp",
265 "modules/utility", 261 "modules/utility",
266 "modules/video_coding", 262 "modules/video_coding",
267 "modules/video_processing", 263 "modules/video_processing",
268
269 #"p2p", # TODO(kjellander): Enable when bugs.webrtc.org/4256 is fixed.
270 #"pc", # TODO(kjellander): Enable when bugs.webrtc.org/4256 is fixed.
271 "system_wrappers", 264 "system_wrappers",
272 "tools", 265 "tools",
273 "video", 266 "video",
274 "voice_engine", 267 "voice_engine",
275 ] 268 ]
276 269
277 if (build_with_chromium) { 270 if (build_with_chromium) {
278 deps += [ "modules/video_capture" ] 271 deps += [ "modules/video_capture" ]
272 } else {
273 # TODO(kjellander): Enable for Chromium as well when bugs.webrtc.org/4256 is
274 # fixed. Right now it's not possible due to circular dependencies.
275 deps += [
276 "api",
277 "media",
278 "p2p",
279 "pc",
280 ]
279 } 281 }
280 282
281 if (rtc_enable_protobuf) { 283 if (rtc_enable_protobuf) {
282 defines += [ "ENABLE_RTC_EVENT_LOG" ] 284 defines += [ "ENABLE_RTC_EVENT_LOG" ]
283 deps += [ ":rtc_event_log_proto" ] 285 deps += [ ":rtc_event_log_proto" ]
284 } 286 }
285 } 287 }
286 288
287 if (!build_with_chromium) { 289 if (!build_with_chromium) {
288 executable("webrtc_tests") { 290 executable("webrtc_tests") {
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 # TODO(tkchin): Cleanup this warning. 596 # TODO(tkchin): Cleanup this warning.
595 cflags = [ "-Wno-objc-property-no-attribute" ] 597 cflags = [ "-Wno-objc-property-no-attribute" ]
596 598
597 # |-ObjC| flag needed to make sure category method implementations 599 # |-ObjC| flag needed to make sure category method implementations
598 # are included: 600 # are included:
599 # https://developer.apple.com/library/mac/qa/qa1490/_index.html 601 # https://developer.apple.com/library/mac/qa/qa1490/_index.html
600 ldflags = [ "-ObjC" ] 602 ldflags = [ "-ObjC" ]
601 } 603 }
602 } 604 }
603 } 605 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/utility/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698