OLD | NEW |
1 # Copyright 2016 The WebRTC project authors. All Rights Reserved. | 1 # Copyright 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 import("//build_overrides/webrtc.gni") | 10 import("//build_overrides/webrtc.gni") |
11 import("//build/config/mac/mac_sdk.gni") | 11 import("//build/config/mac/mac_sdk.gni") |
12 | 12 |
13 if (is_ios || (is_mac && mac_deployment_target == "10.7")) { | 13 if (is_ios || (is_mac && mac_deployment_target == "10.7")) { |
14 config("rtc_sdk_common_objc_config") { | 14 config("rtc_sdk_common_objc_config") { |
15 include_dirs = [ | 15 include_dirs = [ |
16 "objc/Framework/Classes", | 16 "objc/Framework/Classes", |
17 "objc/Framework/Headers", | 17 "objc/Framework/Headers", |
18 ] | 18 ] |
19 } | 19 } |
20 | 20 |
21 rtc_source_set("rtc_sdk_common_objc") { | 21 rtc_source_set("rtc_sdk_common_objc") { |
22 deps = [ | 22 deps = [ |
23 "../base:rtc_base", | 23 "../base:rtc_base", |
24 ] | 24 ] |
25 configs += [ "//build/config/compiler:enable_arc" ] | 25 configs += [ "//build/config/compiler:enable_arc" ] |
26 public_configs = [ | 26 public_configs = [ ":rtc_sdk_common_objc_config" ] |
27 "..:common_inherited_config", | |
28 ":rtc_sdk_common_objc_config", | |
29 ] | |
30 sources = [ | 27 sources = [ |
31 "objc/Framework/Classes/NSString+StdString.h", | 28 "objc/Framework/Classes/NSString+StdString.h", |
32 "objc/Framework/Classes/NSString+StdString.mm", | 29 "objc/Framework/Classes/NSString+StdString.mm", |
33 "objc/Framework/Classes/RTCDispatcher.m", | 30 "objc/Framework/Classes/RTCDispatcher.m", |
34 "objc/Framework/Classes/RTCFieldTrials.mm", | 31 "objc/Framework/Classes/RTCFieldTrials.mm", |
35 "objc/Framework/Classes/RTCLogging.mm", | 32 "objc/Framework/Classes/RTCLogging.mm", |
36 "objc/Framework/Classes/RTCMetrics.mm", | 33 "objc/Framework/Classes/RTCMetrics.mm", |
37 "objc/Framework/Classes/RTCMetricsSampleInfo+Private.h", | 34 "objc/Framework/Classes/RTCMetricsSampleInfo+Private.h", |
38 "objc/Framework/Classes/RTCMetricsSampleInfo.mm", | 35 "objc/Framework/Classes/RTCMetricsSampleInfo.mm", |
39 "objc/Framework/Classes/RTCSSLAdapter.mm", | 36 "objc/Framework/Classes/RTCSSLAdapter.mm", |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 if (rtc_build_libyuv) { | 207 if (rtc_build_libyuv) { |
211 deps += [ "$rtc_libyuv_dir" ] | 208 deps += [ "$rtc_libyuv_dir" ] |
212 public_deps = [ | 209 public_deps = [ |
213 "$rtc_libyuv_dir", | 210 "$rtc_libyuv_dir", |
214 ] | 211 ] |
215 } | 212 } |
216 } | 213 } |
217 | 214 |
218 # TODO(tkchin): Add the rtc_sdk_framework_objc target. | 215 # TODO(tkchin): Add the rtc_sdk_framework_objc target. |
219 } | 216 } |
OLD | NEW |