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

Side by Side Diff: webrtc/examples/BUILD.gn

Issue 2862543002: Split iOS sdk in to separate targets (Closed)
Patch Set: rebase and minor fixes Created 3 years, 7 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/BUILD.gn ('k') | webrtc/modules/audio_device/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) 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("../webrtc.gni") 9 import("../webrtc.gni")
10 if (is_android) { 10 if (is_android) {
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 156
157 rtc_static_library("apprtc_common") { 157 rtc_static_library("apprtc_common") {
158 testonly = true 158 testonly = true
159 sources = [ 159 sources = [
160 "objc/AppRTCMobile/common/ARDUtilities.h", 160 "objc/AppRTCMobile/common/ARDUtilities.h",
161 "objc/AppRTCMobile/common/ARDUtilities.m", 161 "objc/AppRTCMobile/common/ARDUtilities.m",
162 ] 162 ]
163 public_configs = [ ":apprtc_common_config" ] 163 public_configs = [ ":apprtc_common_config" ]
164 164
165 deps = [ 165 deps = [
166 "//webrtc/sdk:rtc_sdk_common_objc", 166 "//webrtc/sdk:objc_common",
167 "//webrtc/system_wrappers:field_trial_default", 167 "//webrtc/system_wrappers:field_trial_default",
168 "//webrtc/system_wrappers:metrics_default", 168 "//webrtc/system_wrappers:metrics_default",
169 ] 169 ]
170 } 170 }
171 171
172 config("apprtc_signaling_config") { 172 config("apprtc_signaling_config") {
173 include_dirs = [ "objc/AppRTCMobile" ] 173 include_dirs = [ "objc/AppRTCMobile" ]
174 174
175 # GN orders flags on a target before flags from configs. The default config 175 # GN orders flags on a target before flags from configs. The default config
176 # adds these flags so to cancel them out they need to come from a config and 176 # adds these flags so to cancel them out they need to come from a config and
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 "objc/AppRTCMobile/RTCMediaConstraints+JSON.m", 225 "objc/AppRTCMobile/RTCMediaConstraints+JSON.m",
226 "objc/AppRTCMobile/RTCSessionDescription+JSON.h", 226 "objc/AppRTCMobile/RTCSessionDescription+JSON.h",
227 "objc/AppRTCMobile/RTCSessionDescription+JSON.m", 227 "objc/AppRTCMobile/RTCSessionDescription+JSON.m",
228 ] 228 ]
229 public_configs = [ ":apprtc_signaling_config" ] 229 public_configs = [ ":apprtc_signaling_config" ]
230 deps = [ 230 deps = [
231 ":apprtc_common", 231 ":apprtc_common",
232 ":socketrocket", 232 ":socketrocket",
233 ] 233 ]
234 public_deps = [ 234 public_deps = [
235 "//webrtc/sdk:rtc_sdk_peerconnection_objc", 235 "//webrtc/sdk:objc_peerconnection",
236 ] 236 ]
237 libs = [ "QuartzCore.framework" ] 237 libs = [ "QuartzCore.framework" ]
238 } 238 }
239 239
240 if (is_ios) { 240 if (is_ios) {
241 rtc_static_library("AppRTCMobile_lib") { 241 rtc_static_library("AppRTCMobile_lib") {
242 testonly = true 242 testonly = true
243 sources = [ 243 sources = [
244 "objc/AppRTCMobile/ios/ARDAppDelegate.m", 244 "objc/AppRTCMobile/ios/ARDAppDelegate.m",
245 "objc/AppRTCMobile/ios/ARDMainView.h", 245 "objc/AppRTCMobile/ios/ARDMainView.h",
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 ":AppRTCMobile_lib", 283 ":AppRTCMobile_lib",
284 ] 284 ]
285 285
286 if (target_cpu == "x86") { 286 if (target_cpu == "x86") {
287 deps += [ "//testing/iossim:iossim" ] 287 deps += [ "//testing/iossim:iossim" ]
288 } 288 }
289 } 289 }
290 290
291 bundle_data("AppRTCMobile_ios_frameworks") { 291 bundle_data("AppRTCMobile_ios_frameworks") {
292 public_deps = [ 292 public_deps = [
293 "//webrtc/sdk:rtc_sdk_framework_objc+link", 293 "//webrtc/sdk:objc_framework+link",
294 ] 294 ]
295 sources = [ 295 sources = [
296 "$root_out_dir/WebRTC.framework", 296 "$root_out_dir/WebRTC.framework",
297 ] 297 ]
298 outputs = [ 298 outputs = [
299 "{{bundle_resources_dir}}/Frameworks/{{source_file_part}}", 299 "{{bundle_resources_dir}}/Frameworks/{{source_file_part}}",
300 ] 300 ]
301 } 301 }
302 302
303 bundle_data("AppRTCMobile_ios_bundle_data") { 303 bundle_data("AppRTCMobile_ios_bundle_data") {
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 653
654 deps = [ 654 deps = [
655 "../base:rtc_base", 655 "../base:rtc_base",
656 "../base:rtc_base_approved", 656 "../base:rtc_base_approved",
657 "../p2p:libstunprober", 657 "../p2p:libstunprober",
658 "../p2p:rtc_p2p", 658 "../p2p:rtc_p2p",
659 "../system_wrappers:field_trial_default", 659 "../system_wrappers:field_trial_default",
660 ] 660 ]
661 } 661 }
662 } 662 }
OLDNEW
« no previous file with comments | « webrtc/BUILD.gn ('k') | webrtc/modules/audio_device/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698