Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Side by Side Diff: webrtc/build/webrtc.gni

Issue 1578953003: Add a gyp/gn variable for whether to use iLBC or not (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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")
11 import("//build_overrides/webrtc.gni") 11 import("//build_overrides/webrtc.gni")
12 12
13 declare_args() { 13 declare_args() {
14 build_with_libjingle = true 14 build_with_libjingle = true
15 15
16 # Disable this to avoid building the Opus audio codec. 16 # Disable this to avoid building the Opus audio codec.
17 rtc_include_opus = true 17 rtc_include_opus = true
18 18
19 # Include the iLBC audio codec?
20 rtc_include_ilbc = false
21
19 # Used to specify an external Jsoncpp include path when not compiling the 22 # Used to specify an external Jsoncpp include path when not compiling the
20 # library that comes with WebRTC (i.e. rtc_build_json == 0). 23 # library that comes with WebRTC (i.e. rtc_build_json == 0).
21 rtc_jsoncpp_root = "//third_party/jsoncpp/source/include" 24 rtc_jsoncpp_root = "//third_party/jsoncpp/source/include"
22 25
23 # Used to specify an external OpenSSL include path when not compiling the 26 # Used to specify an external OpenSSL include path when not compiling the
24 # library that comes with WebRTC (i.e. rtc_build_ssl == 0). 27 # library that comes with WebRTC (i.e. rtc_build_ssl == 0).
25 rtc_ssl_root = "" 28 rtc_ssl_root = ""
26 29
27 # Selects fixed-point code where possible. 30 # Selects fixed-point code where possible.
28 rtc_prefer_fixed_point = false 31 rtc_prefer_fixed_point = false
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 # CHECK THE OPENH264, FFMPEG AND H.264 LICENSES/PATENTS BEFORE BUILDING. 104 # CHECK THE OPENH264, FFMPEG AND H.264 LICENSES/PATENTS BEFORE BUILDING.
102 # http://www.openh264.org, https://www.ffmpeg.org/ 105 # http://www.openh264.org, https://www.ffmpeg.org/
103 use_third_party_h264 = false # TODO(hbos): To be used in follow-up CL(s). 106 use_third_party_h264 = false # TODO(hbos): To be used in follow-up CL(s).
104 } 107 }
105 108
106 # Make it possible to provide custom locations for some libraries (move these 109 # 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). 110 # up into declare_args should we need to actually use them for the GN build).
108 rtc_libvpx_dir = "//third_party/libvpx_new" 111 rtc_libvpx_dir = "//third_party/libvpx_new"
109 rtc_libyuv_dir = "//third_party/libyuv" 112 rtc_libyuv_dir = "//third_party/libyuv"
110 rtc_opus_dir = "//third_party/opus" 113 rtc_opus_dir = "//third_party/opus"
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698