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("../webrtc.gni") | 9 import("../webrtc.gni") |
10 if (is_android) { | 10 if (is_android) { |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 if (is_ios) { | 165 if (is_ios) { |
166 deps = [ | 166 deps = [ |
167 ":AppRTCMobile_ios_frameworks", | 167 ":AppRTCMobile_ios_frameworks", |
168 ] | 168 ] |
169 } else { | 169 } else { |
170 deps = [ | 170 deps = [ |
171 "../sdk:objc_common", | 171 "../sdk:common_objc", |
172 "../system_wrappers:field_trial_default", | 172 "../system_wrappers:field_trial_default", |
173 "../system_wrappers:metrics_default", | 173 "../system_wrappers:metrics_default", |
174 ] | 174 ] |
175 } | 175 } |
176 } | 176 } |
177 | 177 |
178 config("apprtc_signaling_config") { | 178 config("apprtc_signaling_config") { |
179 include_dirs = [ "objc/AppRTCMobile" ] | 179 include_dirs = [ "objc/AppRTCMobile" ] |
180 | 180 |
181 # GN orders flags on a target before flags from configs. The default config | 181 # GN orders flags on a target before flags from configs. The default config |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 ] | 234 ] |
235 public_configs = [ ":apprtc_signaling_config" ] | 235 public_configs = [ ":apprtc_signaling_config" ] |
236 deps = [ | 236 deps = [ |
237 ":apprtc_common", | 237 ":apprtc_common", |
238 ":socketrocket", | 238 ":socketrocket", |
239 ] | 239 ] |
240 if (is_ios) { | 240 if (is_ios) { |
241 deps += [ ":AppRTCMobile_ios_frameworks" ] | 241 deps += [ ":AppRTCMobile_ios_frameworks" ] |
242 } else { | 242 } else { |
243 public_deps = [ | 243 public_deps = [ |
244 "../sdk:objc_peerconnection", | 244 "../sdk:peerconnection_objc", |
245 ] | 245 ] |
246 } | 246 } |
247 libs = [ "QuartzCore.framework" ] | 247 libs = [ "QuartzCore.framework" ] |
248 } | 248 } |
249 | 249 |
250 if (is_ios) { | 250 if (is_ios) { |
251 rtc_static_library("AppRTCMobile_lib") { | 251 rtc_static_library("AppRTCMobile_lib") { |
252 testonly = true | 252 testonly = true |
253 sources = [ | 253 sources = [ |
254 "objc/AppRTCMobile/ios/ARDAppDelegate.m", | 254 "objc/AppRTCMobile/ios/ARDAppDelegate.m", |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 ":AppRTCMobile_lib", | 293 ":AppRTCMobile_lib", |
294 ] | 294 ] |
295 | 295 |
296 if (target_cpu == "x86") { | 296 if (target_cpu == "x86") { |
297 deps += [ "//testing/iossim:iossim" ] | 297 deps += [ "//testing/iossim:iossim" ] |
298 } | 298 } |
299 } | 299 } |
300 | 300 |
301 bundle_data("AppRTCMobile_ios_frameworks") { | 301 bundle_data("AppRTCMobile_ios_frameworks") { |
302 public_deps = [ | 302 public_deps = [ |
303 "../sdk:objc_framework+link", | 303 "../sdk:framework_objc+link", |
304 ] | 304 ] |
305 sources = [ | 305 sources = [ |
306 "$root_out_dir/WebRTC.framework", | 306 "$root_out_dir/WebRTC.framework", |
307 ] | 307 ] |
308 outputs = [ | 308 outputs = [ |
309 "{{bundle_resources_dir}}/Frameworks/{{source_file_part}}", | 309 "{{bundle_resources_dir}}/Frameworks/{{source_file_part}}", |
310 ] | 310 ] |
311 } | 311 } |
312 | 312 |
313 bundle_data("AppRTCMobile_ios_bundle_data") { | 313 bundle_data("AppRTCMobile_ios_bundle_data") { |
(...skipping 29 matching lines...) Expand all Loading... |
343 sources = [ | 343 sources = [ |
344 "objc/AppRTCMobile/mac/APPRTCAppDelegate.h", | 344 "objc/AppRTCMobile/mac/APPRTCAppDelegate.h", |
345 "objc/AppRTCMobile/mac/APPRTCAppDelegate.m", | 345 "objc/AppRTCMobile/mac/APPRTCAppDelegate.m", |
346 "objc/AppRTCMobile/mac/APPRTCViewController.h", | 346 "objc/AppRTCMobile/mac/APPRTCViewController.h", |
347 "objc/AppRTCMobile/mac/APPRTCViewController.m", | 347 "objc/AppRTCMobile/mac/APPRTCViewController.m", |
348 ] | 348 ] |
349 configs += [ "..:common_objc" ] | 349 configs += [ "..:common_objc" ] |
350 deps = [ | 350 deps = [ |
351 ":apprtc_common", | 351 ":apprtc_common", |
352 ":apprtc_signaling", | 352 ":apprtc_signaling", |
353 "../sdk:objc_ui", | 353 "../sdk:ui_objc", |
354 ] | 354 ] |
355 } | 355 } |
356 | 356 |
357 mac_app_bundle("AppRTCMobile") { | 357 mac_app_bundle("AppRTCMobile") { |
358 testonly = true | 358 testonly = true |
359 output_name = "AppRTCMobile" | 359 output_name = "AppRTCMobile" |
360 | 360 |
361 sources = [ | 361 sources = [ |
362 "objc/AppRTCMobile/mac/main.m", | 362 "objc/AppRTCMobile/mac/main.m", |
363 ] | 363 ] |
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
704 | 704 |
705 deps = [ | 705 deps = [ |
706 "../p2p:libstunprober", | 706 "../p2p:libstunprober", |
707 "../p2p:rtc_p2p", | 707 "../p2p:rtc_p2p", |
708 "../rtc_base:rtc_base", | 708 "../rtc_base:rtc_base", |
709 "../rtc_base:rtc_base_approved", | 709 "../rtc_base:rtc_base_approved", |
710 "../system_wrappers:field_trial_default", | 710 "../system_wrappers:field_trial_default", |
711 ] | 711 ] |
712 } | 712 } |
713 } | 713 } |
OLD | NEW |