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

Unified Diff: third_party/libjingle/libjingle.gyp

Issue 429113002: Webrtc deps roll. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: DEPS file Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: third_party/libjingle/libjingle.gyp
diff --git a/third_party/libjingle/libjingle.gyp b/third_party/libjingle/libjingle.gyp
index 4ec4641429eef1e8f64381e15dfd431576529e9e..6837876c8fb83367b31bb0516b080d6e6398299e 100644
--- a/third_party/libjingle/libjingle.gyp
+++ b/third_party/libjingle/libjingle.gyp
@@ -22,7 +22,7 @@
'HAVE_SRTP',
'HAVE_WEBRTC_VIDEO',
'HAVE_WEBRTC_VOICE',
- 'LOGGING_INSIDE_LIBJINGLE',
+ 'LOGGING_INSIDE_WEBRTC',
'NO_MAIN_THREAD_WRAPPING',
'NO_SOUND_SYSTEM',
'SRTP_RELATIVE_PATH',
@@ -39,15 +39,13 @@
}
},
'include_dirs': [
- './overrides',
- './<(libjingle_source)',
'../../third_party/webrtc/overrides',
+ './<(libjingle_source)',
'../..',
'../../testing/gtest/include',
'../../third_party',
'../../third_party/libyuv/include',
'../../third_party/usrsctp',
- '../../third_party/webrtc',
],
'dependencies': [
'<(DEPTH)/base/base.gyp:base',
@@ -59,13 +57,12 @@
],
'direct_dependent_settings': {
'include_dirs': [
+ '../../third_party/webrtc/overrides',
'./overrides',
'./<(libjingle_source)',
- '../../third_party/webrtc/overrides',
'../..',
'../../testing/gtest/include',
'../../third_party',
- '../../third_party/webrtc',
],
'defines': [
'FEATURE_ENABLE_SSL',
@@ -98,11 +95,25 @@
['OS=="linux"', {
'defines': [
'LINUX',
+ 'WEBRTC_LINUX',
],
}],
['OS=="mac"', {
'defines': [
'OSX',
+ 'WEBRTC_MAC',
+ ],
+ }],
+ ['OS=="ios"', {
+ 'defines': [
+ 'IOS',
+ 'WEBRTC_MAC',
+ 'WEBRTC_IOS',
+ ],
+ }],
+ ['OS=="win"', {
+ 'defines': [
+ 'WEBRTC_WIN',
],
}],
['OS=="android"', {
@@ -113,6 +124,7 @@
['os_posix==1', {
'defines': [
'POSIX',
+ 'WEBRTC_POSIX',
],
}],
['os_bsd==1', {
@@ -207,21 +219,31 @@
['OS=="linux"', {
'defines': [
'LINUX',
+ 'WEBRTC_LINUX',
],
}],
['OS=="mac"', {
'defines': [
'OSX',
+ 'WEBRTC_MAC',
+ ],
+ }],
+ ['OS=="win"', {
+ 'defines': [
+ 'WEBRTC_WIN',
],
}],
['OS=="ios"', {
'defines': [
'IOS',
+ 'WEBRTC_MAC',
+ 'WEBRTC_IOS',
],
}],
['os_posix == 1', {
'defines': [
'POSIX',
+ 'WEBRTC_POSIX',
],
}],
['os_bsd==1', {
@@ -246,26 +268,13 @@
'target_name': 'libjingle',
'type': 'static_library',
'includes': [ 'libjingle_common.gypi' ],
- 'sources': [
- 'overrides/talk/base/basictypes.h',
- 'overrides/talk/base/constructormagic.h',
- 'overrides/talk/base/win32socketinit.cc',
-
- # Overrides logging.h/.cc because libjingle logging should be done to
- # the same place as the chromium logging.
- 'overrides/talk/base/logging.cc',
- 'overrides/talk/base/logging.h',
- ],
'sources!' : [
# Compiled as part of libjingle_p2p_constants.
'<(libjingle_source)/talk/p2p/base/constants.cc',
'<(libjingle_source)/talk/p2p/base/constants.h',
-
- # Replaced with logging.cc in the overrides.
- '<(libjingle_source)/talk/base/logging.h',
- '<(libjingle_source)/talk/base/logging.cc',
],
'dependencies': [
+ '<(DEPTH)/third_party/webrtc/base/base.gyp:webrtc_base',
'libjingle_p2p_constants',
'<@(libjingle_additional_deps)',
],
@@ -513,10 +522,6 @@
'conditions': [
['OS=="win"', {
'sources': [
- '<(libjingle_source)/talk/base/win32window.cc',
- '<(libjingle_source)/talk/base/win32window.h',
- '<(libjingle_source)/talk/base/win32windowpicker.cc',
- '<(libjingle_source)/talk/base/win32windowpicker.h',
'<(libjingle_source)/talk/media/devices/win32deviceinfo.cc',
'<(libjingle_source)/talk/media/devices/win32devicemanager.cc',
'<(libjingle_source)/talk/media/devices/win32devicemanager.h',
@@ -524,8 +529,6 @@
}],
['OS=="linux"', {
'sources': [
- '<(libjingle_source)/talk/base/linuxwindowpicker.cc',
- '<(libjingle_source)/talk/base/linuxwindowpicker.h',
'<(libjingle_source)/talk/media/devices/libudevsymboltable.cc',
'<(libjingle_source)/talk/media/devices/libudevsymboltable.h',
'<(libjingle_source)/talk/media/devices/linuxdeviceinfo.cc',

Powered by Google App Engine
This is Rietveld 408576698