| OLD | NEW |
| 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2016 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 if (is_android) { | 10 if (is_android) { |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 | 136 |
| 137 rtc_source_set("apprtc_common") { | 137 rtc_source_set("apprtc_common") { |
| 138 sources = [ | 138 sources = [ |
| 139 "objc/AppRTCDemo/common/ARDUtilities.h", | 139 "objc/AppRTCDemo/common/ARDUtilities.h", |
| 140 "objc/AppRTCDemo/common/ARDUtilities.m", | 140 "objc/AppRTCDemo/common/ARDUtilities.m", |
| 141 ] | 141 ] |
| 142 configs += [ | 142 configs += [ |
| 143 ":warnings_config", | 143 ":warnings_config", |
| 144 "//build/config/compiler:enable_arc", | 144 "//build/config/compiler:enable_arc", |
| 145 ] | 145 ] |
| 146 public_configs = [ | 146 public_configs = [ ":apprtc_common_config" ] |
| 147 "..:common_inherited_config", | |
| 148 ":apprtc_common_config", | |
| 149 ] | |
| 150 | 147 |
| 151 deps = [ | 148 deps = [ |
| 152 "../sdk:rtc_sdk_common_objc", | 149 "../sdk:rtc_sdk_common_objc", |
| 153 "../system_wrappers:field_trial_default", | 150 "../system_wrappers:field_trial_default", |
| 154 "../system_wrappers:metrics_default", | 151 "../system_wrappers:metrics_default", |
| 155 ] | 152 ] |
| 156 } | 153 } |
| 157 | 154 |
| 158 config("apprtc_signaling_config") { | 155 config("apprtc_signaling_config") { |
| 159 include_dirs = [ "objc/AppRTCDemo" ] | 156 include_dirs = [ "objc/AppRTCDemo" ] |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 "objc/AppRTCDemo/RTCIceServer+JSON.m", | 201 "objc/AppRTCDemo/RTCIceServer+JSON.m", |
| 205 "objc/AppRTCDemo/RTCMediaConstraints+JSON.h", | 202 "objc/AppRTCDemo/RTCMediaConstraints+JSON.h", |
| 206 "objc/AppRTCDemo/RTCMediaConstraints+JSON.m", | 203 "objc/AppRTCDemo/RTCMediaConstraints+JSON.m", |
| 207 "objc/AppRTCDemo/RTCSessionDescription+JSON.h", | 204 "objc/AppRTCDemo/RTCSessionDescription+JSON.h", |
| 208 "objc/AppRTCDemo/RTCSessionDescription+JSON.m", | 205 "objc/AppRTCDemo/RTCSessionDescription+JSON.m", |
| 209 ] | 206 ] |
| 210 configs += [ | 207 configs += [ |
| 211 "//build/config/compiler:enable_arc", | 208 "//build/config/compiler:enable_arc", |
| 212 ":warnings_config", | 209 ":warnings_config", |
| 213 ] | 210 ] |
| 214 public_configs = [ | 211 public_configs = [ ":apprtc_signaling_config" ] |
| 215 "..:common_inherited_config", | |
| 216 ":apprtc_signaling_config", | |
| 217 ] | |
| 218 deps = [ | 212 deps = [ |
| 219 ":apprtc_common", | 213 ":apprtc_common", |
| 220 ":socketrocket", | 214 ":socketrocket", |
| 221 ] | 215 ] |
| 222 public_deps = [ | 216 public_deps = [ |
| 223 "../sdk:rtc_sdk_peerconnection_objc", | 217 "../sdk:rtc_sdk_peerconnection_objc", |
| 224 ] | 218 ] |
| 225 libs = [ "QuartzCore.framework" ] | 219 libs = [ "QuartzCore.framework" ] |
| 226 } | 220 } |
| 227 | 221 |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 | 347 |
| 354 rtc_source_set("socketrocket") { | 348 rtc_source_set("socketrocket") { |
| 355 sources = [ | 349 sources = [ |
| 356 "objc/AppRTCDemo/third_party/SocketRocket/SRWebSocket.h", | 350 "objc/AppRTCDemo/third_party/SocketRocket/SRWebSocket.h", |
| 357 "objc/AppRTCDemo/third_party/SocketRocket/SRWebSocket.m", | 351 "objc/AppRTCDemo/third_party/SocketRocket/SRWebSocket.m", |
| 358 ] | 352 ] |
| 359 configs += [ | 353 configs += [ |
| 360 "//build/config/compiler:enable_arc", | 354 "//build/config/compiler:enable_arc", |
| 361 ":socketrocket_warning_config", | 355 ":socketrocket_warning_config", |
| 362 ] | 356 ] |
| 363 public_configs = [ | 357 public_configs = [ ":socketrocket_include_config" ] |
| 364 "..:common_inherited_config", | |
| 365 ":socketrocket_include_config", | |
| 366 ] | |
| 367 | 358 |
| 368 libs = [ | 359 libs = [ |
| 369 "CFNetwork.framework", | 360 "CFNetwork.framework", |
| 370 "icucore", | 361 "icucore", |
| 371 ] | 362 ] |
| 372 } | 363 } |
| 373 } | 364 } |
| 374 | 365 |
| 375 if (is_linux || is_win) { | 366 if (is_linux || is_win) { |
| 376 if (is_linux) { | 367 if (is_linux) { |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 517 "//webrtc/system_wrappers:field_trial_default", | 508 "//webrtc/system_wrappers:field_trial_default", |
| 518 "//webrtc/system_wrappers:metrics_default", | 509 "//webrtc/system_wrappers:metrics_default", |
| 519 ] | 510 ] |
| 520 if (is_clang) { | 511 if (is_clang) { |
| 521 # Suppress warnings from the Chromium Clang plugin. | 512 # Suppress warnings from the Chromium Clang plugin. |
| 522 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 513 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 523 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 514 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 524 } | 515 } |
| 525 } | 516 } |
| 526 } | 517 } |
| OLD | NEW |