| 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 # Include tests in standalone checkout. | 160 # Include tests in standalone checkout. |
| 161 rtc_include_tests = !build_with_chromium | 161 rtc_include_tests = !build_with_chromium |
| 162 } | 162 } |
| 163 | 163 |
| 164 # Make it possible to provide custom locations for some libraries (move these | 164 # Make it possible to provide custom locations for some libraries (move these |
| 165 # up into declare_args should we need to actually use them for the GN build). | 165 # up into declare_args should we need to actually use them for the GN build). |
| 166 rtc_libvpx_dir = "//third_party/libvpx" | 166 rtc_libvpx_dir = "//third_party/libvpx" |
| 167 rtc_libyuv_dir = "//third_party/libyuv" | 167 rtc_libyuv_dir = "//third_party/libyuv" |
| 168 rtc_opus_dir = "//third_party/opus" | 168 rtc_opus_dir = "//third_party/opus" |
| 169 | 169 |
| 170 # Desktop capturer is supported only on Windows, OSX and Linux. |
| 171 rtc_desktop_capture_supported = is_win || is_mac || is_linux |
| 172 |
| 170 ############################################################################### | 173 ############################################################################### |
| 171 # Templates | 174 # Templates |
| 172 # | 175 # |
| 173 | 176 |
| 174 # 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 |
| 175 # chromium. | 178 # chromium. |
| 176 # 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 |
| 177 # different subdirectories. | 180 # different subdirectories. |
| 178 webrtc_root = get_path_info("../", "abspath") | 181 webrtc_root = get_path_info("../", "abspath") |
| 179 | 182 |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 _rebased_sources = rebase_path(invoker.sources, root_build_dir) | 349 _rebased_sources = rebase_path(invoker.sources, root_build_dir) |
| 347 | 350 |
| 348 args = [ "--srcjar=$_rebased_srcjar_path" ] + _rebased_sources | 351 args = [ "--srcjar=$_rebased_srcjar_path" ] + _rebased_sources |
| 349 | 352 |
| 350 outputs = [ | 353 outputs = [ |
| 351 _srcjar_path, | 354 _srcjar_path, |
| 352 ] | 355 ] |
| 353 } | 356 } |
| 354 } | 357 } |
| 355 } | 358 } |
| OLD | NEW |