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/mips.gni") | 10 import("//build/config/mips.gni") |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 # and FFmpeg have to be correctly enabled separately. | 96 # and FFmpeg have to be correctly enabled separately. |
97 # - use_openh264=true is required for OpenH264 targets to be defined. | 97 # - use_openh264=true is required for OpenH264 targets to be defined. |
98 # - ffmpeg_branding="Chrome" is one way to support H.264 decoding in FFmpeg. | 98 # - ffmpeg_branding="Chrome" is one way to support H.264 decoding in FFmpeg. |
99 # FFmpeg can be built with/without H.264 support, see 'ffmpeg_branding'. | 99 # FFmpeg can be built with/without H.264 support, see 'ffmpeg_branding'. |
100 # Without it, it compiles but H264DecoderImpl fails to initialize. | 100 # Without it, it compiles but H264DecoderImpl fails to initialize. |
101 # CHECK THE OPENH264, FFMPEG AND H.264 LICENSES/PATENTS BEFORE BUILDING. | 101 # CHECK THE OPENH264, FFMPEG AND H.264 LICENSES/PATENTS BEFORE BUILDING. |
102 # http://www.openh264.org, https://www.ffmpeg.org/ | 102 # http://www.openh264.org, https://www.ffmpeg.org/ |
103 use_third_party_h264 = false # TODO(hbos): To be used in follow-up CL(s). | 103 use_third_party_h264 = false # TODO(hbos): To be used in follow-up CL(s). |
104 } | 104 } |
105 | 105 |
| 106 # A second declare_args block, so that declarations within it can |
| 107 # depend on the possibly overridden variables in the first |
| 108 # declare_args block. |
| 109 declare_args() { |
| 110 # Include the iLBC audio codec? |
| 111 rtc_include_ilbc = !(build_with_chromium || build_with_mozilla) |
| 112 } |
| 113 |
106 # Make it possible to provide custom locations for some libraries (move these | 114 # Make it possible to provide custom locations for some libraries (move these |
107 # up into declare_args should we need to actually use them for the GN build). | 115 # up into declare_args should we need to actually use them for the GN build). |
108 rtc_libvpx_dir = "//third_party/libvpx_new" | 116 rtc_libvpx_dir = "//third_party/libvpx_new" |
109 rtc_libyuv_dir = "//third_party/libyuv" | 117 rtc_libyuv_dir = "//third_party/libyuv" |
110 rtc_opus_dir = "//third_party/opus" | 118 rtc_opus_dir = "//third_party/opus" |
OLD | NEW |