OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 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/config/crypto.gni") | 9 import("//build/config/crypto.gni") |
10 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
610 ] | 610 ] |
611 } | 611 } |
612 | 612 |
613 if (is_nacl) { | 613 if (is_nacl) { |
614 deps += [ "//native_client_sdk/src/libraries/nacl_io" ] | 614 deps += [ "//native_client_sdk/src/libraries/nacl_io" ] |
615 defines += [ "timezone=_timezone" ] | 615 defines += [ "timezone=_timezone" ] |
616 sources -= [ "ifaddrs_converter.cc" ] | 616 sources -= [ "ifaddrs_converter.cc" ] |
617 } | 617 } |
618 } | 618 } |
619 | 619 |
620 if (is_ios) { | 620 if (is_ios || is_mac) { |
621 source_set("rtc_base_objc") { | 621 source_set("rtc_base_objc") { |
622 deps = [ | 622 deps = [ |
623 ":rtc_base", | 623 ":rtc_base", |
624 ] | 624 ] |
625 cflags = [ "-fobjc-arc" ] | 625 cflags = [ "-fobjc-arc" ] |
626 configs += [ "..:common_config" ] | 626 configs += [ "..:common_config" ] |
627 public_configs = [ "..:common_inherited_config" ] | 627 public_configs = [ "..:common_inherited_config" ] |
628 | 628 |
629 sources = [ | 629 sources = [ |
630 "objc/NSString+StdString.h", | 630 "objc/NSString+StdString.h", |
631 "objc/NSString+StdString.mm", | 631 "objc/NSString+StdString.mm", |
632 "objc/RTCCameraPreviewView.h", | 632 "objc/RTCCameraPreviewView.h", |
633 "objc/RTCCameraPreviewView.m", | 633 "objc/RTCCameraPreviewView.m", |
634 "objc/RTCDispatcher.h", | 634 "objc/RTCDispatcher.h", |
635 "objc/RTCDispatcher.m", | 635 "objc/RTCDispatcher.m", |
636 "objc/RTCLogging.h", | 636 "objc/RTCLogging.h", |
637 "objc/RTCLogging.mm", | 637 "objc/RTCLogging.mm", |
638 "objc/RTCSSLAdapter.h", | 638 "objc/RTCSSLAdapter.h", |
639 "objc/RTCSSLAdapter.mm", | 639 "objc/RTCSSLAdapter.mm", |
640 ] | 640 ] |
641 } | 641 } |
642 } | 642 } |
OLD | NEW |