| 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/arm.gni") | 9 import("//build/config/arm.gni") |
| 10 import("//build/config/features.gni") | 10 import("//build/config/features.gni") |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 # native code is built as part of Chromium. | 185 # native code is built as part of Chromium. |
| 186 rtc_common_configs = [ webrtc_root + ":common_config" ] | 186 rtc_common_configs = [ webrtc_root + ":common_config" ] |
| 187 | 187 |
| 188 # Global public configuration that should be applied to all WebRTC targets. You | 188 # Global public configuration that should be applied to all WebRTC targets. You |
| 189 # normally shouldn't need to include this in your target as it's automatically | 189 # normally shouldn't need to include this in your target as it's automatically |
| 190 # included when using the rtc_* templates. It set the defines, include paths and | 190 # included when using the rtc_* templates. It set the defines, include paths and |
| 191 # compilation warnings that should be propagated to dependents of the targets | 191 # compilation warnings that should be propagated to dependents of the targets |
| 192 # depending on the target having this config. | 192 # depending on the target having this config. |
| 193 rtc_common_inherited_config = webrtc_root + ":common_inherited_config" | 193 rtc_common_inherited_config = webrtc_root + ":common_inherited_config" |
| 194 | 194 |
| 195 if (is_ios) { | |
| 196 rtc_common_configs += [ webrtc_root + "/build/ios:rtc_ios_common_config" ] | |
| 197 } | |
| 198 | |
| 199 # Common configs to remove or add in all rtc targets. | 195 # Common configs to remove or add in all rtc targets. |
| 200 rtc_remove_configs = [] | 196 rtc_remove_configs = [] |
| 201 rtc_add_configs = rtc_common_configs | 197 rtc_add_configs = rtc_common_configs |
| 202 | 198 |
| 203 set_defaults("rtc_test") { | 199 set_defaults("rtc_test") { |
| 204 configs = rtc_add_configs | 200 configs = rtc_add_configs |
| 205 suppressed_configs = [] | 201 suppressed_configs = [] |
| 206 } | 202 } |
| 207 | 203 |
| 208 set_defaults("rtc_source_set") { | 204 set_defaults("rtc_source_set") { |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 _rebased_sources = rebase_path(invoker.sources, root_build_dir) | 342 _rebased_sources = rebase_path(invoker.sources, root_build_dir) |
| 347 | 343 |
| 348 args = [ "--srcjar=$_rebased_srcjar_path" ] + _rebased_sources | 344 args = [ "--srcjar=$_rebased_srcjar_path" ] + _rebased_sources |
| 349 | 345 |
| 350 outputs = [ | 346 outputs = [ |
| 351 _srcjar_path, | 347 _srcjar_path, |
| 352 ] | 348 ] |
| 353 } | 349 } |
| 354 } | 350 } |
| 355 } | 351 } |
| OLD | NEW |