| 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 } | 155 } |
| 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 = [ | |
| 166 "../system_wrappers:field_trial_default", | |
| 167 "../system_wrappers:metrics_default", | |
| 168 ] | |
| 169 if (is_ios) { | 165 if (is_ios) { |
| 170 deps += [ ":AppRTCMobile_ios_frameworks" ] | 166 deps = [ |
| 167 ":AppRTCMobile_ios_frameworks", |
| 168 ] |
| 171 } else { | 169 } else { |
| 172 deps += [ "../sdk:objc_common" ] | 170 deps = [ |
| 171 "../sdk:objc_common", |
| 172 "../system_wrappers:field_trial_default", |
| 173 "../system_wrappers:metrics_default", |
| 174 ] |
| 173 } | 175 } |
| 174 } | 176 } |
| 175 | 177 |
| 176 config("apprtc_signaling_config") { | 178 config("apprtc_signaling_config") { |
| 177 include_dirs = [ "objc/AppRTCMobile" ] | 179 include_dirs = [ "objc/AppRTCMobile" ] |
| 178 | 180 |
| 179 # 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 |
| 180 # adds these flags so to cancel them out they need to come from a config and | 182 # adds these flags so to cancel them out they need to come from a config and |
| 181 # cannot be on the target directly. | 183 # cannot be on the target directly. |
| 182 cflags = [ | 184 cflags = [ |
| (...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 702 | 704 |
| 703 deps = [ | 705 deps = [ |
| 704 "../p2p:libstunprober", | 706 "../p2p:libstunprober", |
| 705 "../p2p:rtc_p2p", | 707 "../p2p:rtc_p2p", |
| 706 "../rtc_base:rtc_base", | 708 "../rtc_base:rtc_base", |
| 707 "../rtc_base:rtc_base_approved", | 709 "../rtc_base:rtc_base_approved", |
| 708 "../system_wrappers:field_trial_default", | 710 "../system_wrappers:field_trial_default", |
| 709 ] | 711 ] |
| 710 } | 712 } |
| 711 } | 713 } |
| OLD | NEW |