| 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 rtc_desktop_capture_supported = is_win || is_mac || is_linux | 171 rtc_desktop_capture_supported = is_win || is_mac || is_linux |
| 172 | 172 |
| 173 ############################################################################### | 173 ############################################################################### |
| 174 # Templates | 174 # Templates |
| 175 # | 175 # |
| 176 | 176 |
| 177 # Points to //webrtc/ in webrtc stand-alone or to //third_party/webrtc/ in | 177 # Points to //webrtc/ in webrtc stand-alone or to //third_party/webrtc/ in |
| 178 # chromium. | 178 # chromium. |
| 179 # We need absolute paths for all configs in templates as they are shared in | 179 # We need absolute paths for all configs in templates as they are shared in |
| 180 # different subdirectories. | 180 # different subdirectories. |
| 181 webrtc_root = get_path_info("../", "abspath") | 181 webrtc_root = get_path_info(".", "abspath") |
| 182 | 182 |
| 183 # Global configuration that should be applied to all WebRTC targets. | 183 # Global configuration that should be applied to all WebRTC targets. |
| 184 # You normally shouldn't need to include this in your target as it's | 184 # You normally shouldn't need to include this in your target as it's |
| 185 # automatically included when using the rtc_* templates. | 185 # automatically included when using the rtc_* templates. |
| 186 # It sets defines, include paths and compilation warnings accordingly, | 186 # It sets defines, include paths and compilation warnings accordingly, |
| 187 # both for WebRTC stand-alone builds and for the scenario when WebRTC | 187 # both for WebRTC stand-alone builds and for the scenario when WebRTC |
| 188 # native code is built as part of Chromium. | 188 # native code is built as part of Chromium. |
| 189 rtc_common_configs = [ webrtc_root + ":common_config" ] | 189 rtc_common_configs = [ webrtc_root + ":common_config" ] |
| 190 | 190 |
| 191 # Global public configuration that should be applied to all WebRTC targets. You | 191 # Global public configuration that should be applied to all WebRTC targets. You |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 ]) | 316 ]) |
| 317 configs += invoker.configs | 317 configs += invoker.configs |
| 318 configs -= rtc_remove_configs | 318 configs -= rtc_remove_configs |
| 319 configs -= invoker.suppressed_configs | 319 configs -= invoker.suppressed_configs |
| 320 public_configs = [ rtc_common_inherited_config ] | 320 public_configs = [ rtc_common_inherited_config ] |
| 321 if (defined(invoker.public_configs)) { | 321 if (defined(invoker.public_configs)) { |
| 322 public_configs += invoker.public_configs | 322 public_configs += invoker.public_configs |
| 323 } | 323 } |
| 324 } | 324 } |
| 325 } | 325 } |
| OLD | NEW |