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

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

Issue 2001913002: Split TaskQueue out into a separate build target. (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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 rtc_enable_android_opensl = false 51 rtc_enable_android_opensl = false
52 52
53 # Link-Time Optimizations. 53 # Link-Time Optimizations.
54 # Executes code generation at link-time instead of compile-time. 54 # Executes code generation at link-time instead of compile-time.
55 # https://gcc.gnu.org/wiki/LinkTimeOptimization 55 # https://gcc.gnu.org/wiki/LinkTimeOptimization
56 rtc_use_lto = false 56 rtc_use_lto = false
57 57
58 rtc_include_tests = false 58 rtc_include_tests = false
59 rtc_restrict_logging = true 59 rtc_restrict_logging = true
60 60
61 # Enable libevent task queues on platforms that support it.
62 if (is_win || is_mac || is_ios || is_nacl) {
tommi 2016/05/21 20:10:04 this 'is_nacl' check is now gone.
phoglund 2016/05/23 08:23:32 Please put this back, we need gn and gyp to be as
tommi 2016/05/23 15:37:19 Done. I restored this but left the 'is_nacl' chec
63 rtc_enable_libevent = false
64 rtc_build_libevent = false
65 } else {
66 rtc_enable_libevent = true
67 rtc_build_libevent = true
68 }
69
70 if (is_ios) { 61 if (is_ios) {
71 rtc_enable_protobuf = false 62 rtc_enable_protobuf = false
72 } 63 }
73 64
74 if (current_cpu == "arm" || current_cpu == "arm64") { 65 if (current_cpu == "arm" || current_cpu == "arm64") {
75 rtc_prefer_fixed_point = true 66 rtc_prefer_fixed_point = true
76 } 67 }
77 68
78 # 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
79 # supported in GN (since openmax_dl is not supported for mips64el). 70 # supported in GN (since openmax_dl is not supported for mips64el).
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 declare_args() { 106 declare_args() {
116 # Include the iLBC audio codec? 107 # Include the iLBC audio codec?
117 rtc_include_ilbc = !(build_with_chromium || build_with_mozilla) 108 rtc_include_ilbc = !(build_with_chromium || build_with_mozilla)
118 } 109 }
119 110
120 # Make it possible to provide custom locations for some libraries (move these 111 # Make it possible to provide custom locations for some libraries (move these
121 # up into declare_args should we need to actually use them for the GN build). 112 # up into declare_args should we need to actually use them for the GN build).
122 rtc_libvpx_dir = "//third_party/libvpx" 113 rtc_libvpx_dir = "//third_party/libvpx"
123 rtc_libyuv_dir = "//third_party/libyuv" 114 rtc_libyuv_dir = "//third_party/libyuv"
124 rtc_opus_dir = "//third_party/opus" 115 rtc_opus_dir = "//third_party/opus"
OLDNEW
« webrtc/base/BUILD.gn ('K') | « webrtc/base/base.gyp ('k') | webrtc/webrtc_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698