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

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

Issue 1980003002: Separate building and enabling libevent. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Fix target defines 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
« no previous file with comments | « webrtc/build/common.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 rtc_enable_android_opensl = false 52 rtc_enable_android_opensl = false
53 53
54 # Link-Time Optimizations. 54 # Link-Time Optimizations.
55 # Executes code generation at link-time instead of compile-time. 55 # Executes code generation at link-time instead of compile-time.
56 # https://gcc.gnu.org/wiki/LinkTimeOptimization 56 # https://gcc.gnu.org/wiki/LinkTimeOptimization
57 rtc_use_lto = false 57 rtc_use_lto = false
58 58
59 rtc_include_tests = false 59 rtc_include_tests = false
60 rtc_restrict_logging = true 60 rtc_restrict_logging = true
61 61
62 # Enable libevent task queues on platforms that support it.
63 if (is_win || is_mac || is_ios || is_nacl) {
64 rtc_enable_libevent = false
65 rtc_build_libevent = false
66 } else {
67 rtc_enable_libevent = true
68 rtc_build_libevent = true
69 }
70
62 if (is_ios) { 71 if (is_ios) {
63 rtc_build_libjpeg = false 72 rtc_build_libjpeg = false
64 rtc_enable_protobuf = false 73 rtc_enable_protobuf = false
65 } 74 }
66 75
67 if (current_cpu == "arm" || current_cpu == "arm64") { 76 if (current_cpu == "arm" || current_cpu == "arm64") {
68 rtc_prefer_fixed_point = true 77 rtc_prefer_fixed_point = true
69 } 78 }
70 79
71 # TODO(ljubomir): Unset rtc_use_openmax_dl for mips64el once mips64el gets 80 # TODO(ljubomir): Unset rtc_use_openmax_dl for mips64el once mips64el gets
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 declare_args() { 118 declare_args() {
110 # Include the iLBC audio codec? 119 # Include the iLBC audio codec?
111 rtc_include_ilbc = !(build_with_chromium || build_with_mozilla) 120 rtc_include_ilbc = !(build_with_chromium || build_with_mozilla)
112 } 121 }
113 122
114 # Make it possible to provide custom locations for some libraries (move these 123 # 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). 124 # up into declare_args should we need to actually use them for the GN build).
116 rtc_libvpx_dir = "//third_party/libvpx" 125 rtc_libvpx_dir = "//third_party/libvpx"
117 rtc_libyuv_dir = "//third_party/libyuv" 126 rtc_libyuv_dir = "//third_party/libyuv"
118 rtc_opus_dir = "//third_party/opus" 127 rtc_opus_dir = "//third_party/opus"
OLDNEW
« no previous file with comments | « webrtc/build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698