| 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 if (is_mac) { | 10 if (is_mac) { |
| 11 import("//build/config/mac/mac_sdk.gni") | 11 import("//build/config/mac/mac_sdk.gni") |
| 12 import("//build/config/mac/rules.gni") | 12 import("//build/config/mac/rules.gni") |
| 13 } | 13 } |
| 14 if (is_ios) { | 14 if (is_ios) { |
| 15 import("//build/config/ios/rules.gni") | 15 import("//build/config/ios/rules.gni") |
| 16 } | 16 } |
| 17 | 17 |
| 18 group("sdk") { | 18 group("sdk") { |
| 19 if (is_ios || (is_mac && mac_deployment_target == "10.7")) { | 19 if (is_ios || is_mac) { |
| 20 public_deps = [ | 20 public_deps = [ |
| 21 ":rtc_sdk_framework_objc", | 21 ":rtc_sdk_framework_objc", |
| 22 ] | 22 ] |
| 23 } | 23 } |
| 24 } | 24 } |
| 25 | 25 |
| 26 if (is_ios || (is_mac && mac_deployment_target == "10.7")) { | 26 if (is_ios || is_mac) { |
| 27 config("rtc_sdk_common_objc_config") { | 27 config("rtc_sdk_common_objc_config") { |
| 28 include_dirs = [ | 28 include_dirs = [ |
| 29 "objc/Framework/Classes", | 29 "objc/Framework/Classes", |
| 30 "objc/Framework/Headers", | 30 "objc/Framework/Headers", |
| 31 ] | 31 ] |
| 32 } | 32 } |
| 33 config("webrtc_h264_video_toolbox_warnings_config") { | 33 config("webrtc_h264_video_toolbox_warnings_config") { |
| 34 if (is_clang) { | 34 if (is_clang) { |
| 35 # TODO(tkchin): Make webrtc_h264_video_toolbox compile with the standard s
et | 35 # TODO(tkchin): Make webrtc_h264_video_toolbox compile with the standard s
et |
| 36 # of warnings. | 36 # of warnings. |
| (...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 406 deps += [ "$rtc_libyuv_dir" ] | 406 deps += [ "$rtc_libyuv_dir" ] |
| 407 public_deps = [ | 407 public_deps = [ |
| 408 "$rtc_libyuv_dir", | 408 "$rtc_libyuv_dir", |
| 409 ] | 409 ] |
| 410 } else { | 410 } else { |
| 411 # Need to add a directory normally exported by libyuv. | 411 # Need to add a directory normally exported by libyuv. |
| 412 include_dirs = [ "$rtc_libyuv_dir/include" ] | 412 include_dirs = [ "$rtc_libyuv_dir/include" ] |
| 413 } | 413 } |
| 414 } | 414 } |
| 415 } | 415 } |
| OLD | NEW |