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

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

Issue 2041233006: GN: Add modules_unittests (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Correct path to base.gyp Created 4 years, 6 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.gn ('k') | webrtc/modules/BUILD.gn » ('j') | 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 24 matching lines...) Expand all
35 35
36 # Enables the use of protocol buffers for debug recordings. 36 # Enables the use of protocol buffers for debug recordings.
37 rtc_enable_protobuf = true 37 rtc_enable_protobuf = true
38 38
39 # Disable these to not build components which can be externally provided. 39 # Disable these to not build components which can be externally provided.
40 rtc_build_expat = true 40 rtc_build_expat = true
41 rtc_build_json = true 41 rtc_build_json = true
42 rtc_build_libjpeg = true 42 rtc_build_libjpeg = true
43 rtc_build_libsrtp = true 43 rtc_build_libsrtp = true
44 rtc_build_libvpx = true 44 rtc_build_libvpx = true
45 rtc_libvpx_build_vp9 = true
45 rtc_build_libyuv = true 46 rtc_build_libyuv = true
46 rtc_build_openmax_dl = true 47 rtc_build_openmax_dl = true
47 rtc_build_opus = true 48 rtc_build_opus = true
48 rtc_build_ssl = true 49 rtc_build_ssl = true
49 rtc_build_usrsctp = true 50 rtc_build_usrsctp = true
50 51
51 # Disable by default. 52 # Disable by default.
52 rtc_have_dbus_glib = false 53 rtc_have_dbus_glib = false
53 54
54 # Enable to use the Mozilla internal settings. 55 # Enable to use the Mozilla internal settings.
(...skipping 11 matching lines...) Expand all
66 67
67 # Enable libevent task queues on platforms that support it. 68 # Enable libevent task queues on platforms that support it.
68 if (is_win || is_mac || is_ios || is_nacl) { 69 if (is_win || is_mac || is_ios || is_nacl) {
69 rtc_enable_libevent = false 70 rtc_enable_libevent = false
70 rtc_build_libevent = false 71 rtc_build_libevent = false
71 } else { 72 } else {
72 rtc_enable_libevent = true 73 rtc_enable_libevent = true
73 rtc_build_libevent = true 74 rtc_build_libevent = true
74 } 75 }
75 76
76 if (is_ios) {
77 rtc_enable_protobuf = false
78 }
79
80 if (current_cpu == "arm" || current_cpu == "arm64") { 77 if (current_cpu == "arm" || current_cpu == "arm64") {
81 rtc_prefer_fixed_point = true 78 rtc_prefer_fixed_point = true
82 } 79 }
83 80
84 if (!is_ios && (current_cpu != "arm" || arm_version >= 7) && 81 if (!is_ios && (current_cpu != "arm" || arm_version >= 7) &&
85 current_cpu != "mips64el") { 82 current_cpu != "mips64el") {
86 rtc_use_openmax_dl = true 83 rtc_use_openmax_dl = true
87 } else { 84 } else {
88 rtc_use_openmax_dl = false 85 rtc_use_openmax_dl = false
89 } 86 }
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 declare_args() { 124 declare_args() {
128 # Include the iLBC audio codec? 125 # Include the iLBC audio codec?
129 rtc_include_ilbc = !(build_with_chromium || build_with_mozilla) 126 rtc_include_ilbc = !(build_with_chromium || build_with_mozilla)
130 } 127 }
131 128
132 # Make it possible to provide custom locations for some libraries (move these 129 # Make it possible to provide custom locations for some libraries (move these
133 # up into declare_args should we need to actually use them for the GN build). 130 # up into declare_args should we need to actually use them for the GN build).
134 rtc_libvpx_dir = "//third_party/libvpx" 131 rtc_libvpx_dir = "//third_party/libvpx"
135 rtc_libyuv_dir = "//third_party/libyuv" 132 rtc_libyuv_dir = "//third_party/libyuv"
136 rtc_opus_dir = "//third_party/opus" 133 rtc_opus_dir = "//third_party/opus"
OLDNEW
« no previous file with comments | « webrtc/BUILD.gn ('k') | webrtc/modules/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698