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

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

Issue 1978243002: Disable libyuv jpeg support on Android (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 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/features.gni") 10 import("//build/config/features.gni")
(...skipping 18 matching lines...) Expand all
29 # Enable data logging. Produces text files with data logged within engines 29 # Enable data logging. Produces text files with data logged within engines
30 # which can be easily parsed for offline processing. 30 # which can be easily parsed for offline processing.
31 rtc_enable_data_logging = false 31 rtc_enable_data_logging = false
32 32
33 # Enables the use of protocol buffers for debug recordings. 33 # Enables the use of protocol buffers for debug recordings.
34 rtc_enable_protobuf = true 34 rtc_enable_protobuf = true
35 35
36 # Disable these to not build components which can be externally provided. 36 # Disable these to not build components which can be externally provided.
37 rtc_build_expat = true 37 rtc_build_expat = true
38 rtc_build_json = true 38 rtc_build_json = true
39 rtc_build_libjpeg = true
40 rtc_build_libvpx = true 39 rtc_build_libvpx = true
41 rtc_build_libyuv = true 40 rtc_build_libyuv = true
42 rtc_build_openmax_dl = true 41 rtc_build_openmax_dl = true
43 rtc_build_opus = true 42 rtc_build_opus = true
44 rtc_build_ssl = true 43 rtc_build_ssl = true
45 44
46 # Disable by default. 45 # Disable by default.
47 rtc_have_dbus_glib = false 46 rtc_have_dbus_glib = false
48 47
49 # Enable to use the Mozilla internal settings. 48 # Enable to use the Mozilla internal settings.
50 build_with_mozilla = false 49 build_with_mozilla = false
51 50
52 rtc_enable_android_opensl = false 51 rtc_enable_android_opensl = false
53 52
54 # Link-Time Optimizations. 53 # Link-Time Optimizations.
55 # Executes code generation at link-time instead of compile-time. 54 # Executes code generation at link-time instead of compile-time.
56 # https://gcc.gnu.org/wiki/LinkTimeOptimization 55 # https://gcc.gnu.org/wiki/LinkTimeOptimization
57 rtc_use_lto = false 56 rtc_use_lto = false
58 57
59 rtc_include_tests = false 58 rtc_include_tests = false
60 rtc_restrict_logging = true 59 rtc_restrict_logging = true
61 60
62 if (is_ios) { 61 if (is_ios) {
63 rtc_build_libjpeg = false
64 rtc_enable_protobuf = false 62 rtc_enable_protobuf = false
65 } 63 }
66 64
67 if (current_cpu == "arm" || current_cpu == "arm64") { 65 if (current_cpu == "arm" || current_cpu == "arm64") {
68 rtc_prefer_fixed_point = true 66 rtc_prefer_fixed_point = true
69 } 67 }
70 68
71 # TODO(ljubomir): Unset rtc_use_openmax_dl for mips64el once mips64el gets 69 # TODO(ljubomir): Unset rtc_use_openmax_dl for mips64el once mips64el gets
72 # supported in GN (since openmax_dl is not supported for mips64el). 70 # supported in GN (since openmax_dl is not supported for mips64el).
73 if (!is_ios && (current_cpu != "arm" || arm_version >= 7)) { 71 if (!is_ios && (current_cpu != "arm" || arm_version >= 7)) {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 declare_args() { 107 declare_args() {
110 # Include the iLBC audio codec? 108 # Include the iLBC audio codec?
111 rtc_include_ilbc = !(build_with_chromium || build_with_mozilla) 109 rtc_include_ilbc = !(build_with_chromium || build_with_mozilla)
112 } 110 }
113 111
114 # Make it possible to provide custom locations for some libraries (move these 112 # Make it possible to provide custom locations for some libraries (move these
115 # up into declare_args should we need to actually use them for the GN build). 113 # up into declare_args should we need to actually use them for the GN build).
116 rtc_libvpx_dir = "//third_party/libvpx" 114 rtc_libvpx_dir = "//third_party/libvpx"
117 rtc_libyuv_dir = "//third_party/libyuv" 115 rtc_libyuv_dir = "//third_party/libyuv"
118 rtc_opus_dir = "//third_party/opus" 116 rtc_opus_dir = "//third_party/opus"
OLDNEW
« no previous file with comments | « webrtc/build/common.gypi ('k') | webrtc/supplement.gypi » ('j') | webrtc/supplement.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698