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

Side by Side Diff: webrtc/BUILD.gn

Issue 1973313002: Reland of GN: Add BUILD.gn files for webrtc/{api,media,libjingle,p2p,pc} (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixes 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 | « no previous file | webrtc/api/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 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330. 9 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330.
10 10
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 if (rtc_have_dbus_glib) { 77 if (rtc_have_dbus_glib) {
78 defines += [ "HAVE_DBUS_GLIB" ] 78 defines += [ "HAVE_DBUS_GLIB" ]
79 79
80 # TODO(kjellander): Investigate this, it seems like include <dbus/dbus.h> 80 # TODO(kjellander): Investigate this, it seems like include <dbus/dbus.h>
81 # is still not found even if the execution of 81 # is still not found even if the execution of
82 # build/config/linux/pkg-config.py dbus-glib-1 returns correct include 82 # build/config/linux/pkg-config.py dbus-glib-1 returns correct include
83 # dirs on Linux. 83 # dirs on Linux.
84 all_dependent_configs = [ "dbus-glib" ] 84 all_dependent_configs = [ "dbus-glib" ]
85 } 85 }
86 86
87 if (rtc_relative_path) {
88 defines += [ "EXPAT_RELATIVE_PATH" ]
89 }
90
87 if (build_with_chromium) { 91 if (build_with_chromium) {
88 defines += [ "LOGGING_INSIDE_WEBRTC" ] 92 defines += [ "LOGGING_INSIDE_WEBRTC" ]
89 } else { 93 } else {
90 if (is_posix) { 94 if (is_posix) {
91 # -Wextra is currently disabled in Chromium"s common.gypi. Enable 95 # -Wextra is currently disabled in Chromium"s common.gypi. Enable
92 # for targets that can handle it. For Android/arm64 right now 96 # for targets that can handle it. For Android/arm64 right now
93 # there will be an "enumeral and non-enumeral type in conditional 97 # there will be an "enumeral and non-enumeral type in conditional
94 # expression" warning in android_tools/ndk_experimental"s version 98 # expression" warning in android_tools/ndk_experimental"s version
95 # of stlport. 99 # of stlport.
96 # See: https://code.google.com/p/chromium/issues/detail?id=379699 100 # See: https://code.google.com/p/chromium/issues/detail?id=379699
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 "config.h", 179 "config.h",
176 "transport.h", 180 "transport.h",
177 ] 181 ]
178 182
179 defines = [] 183 defines = []
180 configs += [ ":common_config" ] 184 configs += [ ":common_config" ]
181 public_configs = [ ":common_inherited_config" ] 185 public_configs = [ ":common_inherited_config" ]
182 186
183 deps = [ 187 deps = [
184 ":webrtc_common", 188 ":webrtc_common",
189 "api",
185 "audio", 190 "audio",
186 "base:rtc_base", 191 "base:rtc_base",
187 "call", 192 "call",
188 "common_audio", 193 "common_audio",
189 "common_video", 194 "common_video",
195 "media",
190 "modules/audio_coding", 196 "modules/audio_coding",
191 "modules/audio_conference_mixer", 197 "modules/audio_conference_mixer",
192 "modules/audio_device", 198 "modules/audio_device",
193 "modules/audio_processing", 199 "modules/audio_processing",
194 "modules/bitrate_controller", 200 "modules/bitrate_controller",
195 "modules/desktop_capture", 201 "modules/desktop_capture",
196 "modules/media_file", 202 "modules/media_file",
197 "modules/rtp_rtcp", 203 "modules/rtp_rtcp",
198 "modules/utility", 204 "modules/utility",
199 "modules/video_coding", 205 "modules/video_coding",
200 "modules/video_processing", 206 "modules/video_processing",
207 "p2p",
208 "pc",
201 "system_wrappers", 209 "system_wrappers",
202 "tools", 210 "tools",
203 "video", 211 "video",
204 "voice_engine", 212 "voice_engine",
205 ] 213 ]
206 214
207 if (build_with_chromium) { 215 if (build_with_chromium) {
208 deps += [ "modules/video_capture" ] 216 deps += [ "modules/video_capture" ]
209 } 217 }
210 218
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 if (use_libfuzzer || use_drfuzz) { 316 if (use_libfuzzer || use_drfuzz) {
309 # This target is only here for gn to discover fuzzer build targets under 317 # This target is only here for gn to discover fuzzer build targets under
310 # webrtc/test/fuzzers/. 318 # webrtc/test/fuzzers/.
311 group("webrtc_fuzzers_dummy") { 319 group("webrtc_fuzzers_dummy") {
312 testonly = true 320 testonly = true
313 deps = [ 321 deps = [
314 "test/fuzzers:webrtc_fuzzer_main", 322 "test/fuzzers:webrtc_fuzzer_main",
315 ] 323 ]
316 } 324 }
317 } 325 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/api/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698