summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorhenrike@webrtc.org <henrike@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-05-12 18:03:09 +0000
committerhenrike@webrtc.org <henrike@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-05-12 18:03:09 +0000
commit04e6703292802f1f2dffe5f1486fd4a78b0abc5f (patch)
treeaf0acfd5cebfb60e88de0d05b9193a610500683b /build
parent7f5e2973967c6ef5859334eb4ccac2c7c0020565 (diff)
downloadwebrtc-04e6703292802f1f2dffe5f1486fd4a78b0abc5f.tar.gz
Adds a modified copy of talk/base to webrtc/base. It is the first step in migrating talk/base to webrtc/base.
BUG=N/A R=andrew@webrtc.org, wu@webrtc.org Review URL: https://webrtc-codereview.appspot.com/12199004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6107 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi43
-rw-r--r--build/merge_libs.gyp1
2 files changed, 38 insertions, 6 deletions
diff --git a/build/common.gypi b/build/common.gypi
index a0771140..233b1b8c 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -89,6 +89,9 @@
'build_libyuv%': 1,
'build_libvpx%': 1,
+ # Disable by default
+ 'have_dbus_glib%': 0,
+
# Enable to use the Mozilla internal settings.
'build_with_mozilla%': 0,
@@ -144,9 +147,6 @@
},
'target_defaults': {
'include_dirs': [
- # Allow includes to be prefixed with webrtc/ in case it is not an
- # immediate subdirectory of <(DEPTH).
- '../..',
# To include the top-level directory when building in Chrome, so we can
# use full paths (e.g. headers inside testing/ or third_party/).
'<(DEPTH)',
@@ -161,6 +161,14 @@
'WEBRTC_MOZILLA_BUILD',
],
}],
+ ['have_dbus_glib==1', {
+ 'defines': [
+ 'HAVE_DBUS_GLIB',
+ ],
+ 'cflags': [
+ '<!@(pkg-config --cflags dbus-glib-1)',
+ ],
+ }],
['enable_video==1', {
'defines': ['WEBRTC_MODULE_UTILITY_VIDEO',],
}],
@@ -168,6 +176,15 @@
'defines': [
# Changes settings for Chromium build.
'WEBRTC_CHROMIUM_BUILD',
+ 'LOGGING_INSIDE_WEBRTC',
+ ],
+ 'include_dirs': [
+ # overrides must be included first as that is the mechanism for
+ # selecting the override headers in Chromium.
+ '../overrides',
+ # Allow includes to be prefixed with webrtc/ in case it is not an
+ # immediate subdirectory of <(DEPTH).
+ '../..',
],
}, {
'conditions': [
@@ -330,9 +347,6 @@
}],
], # conditions
'direct_dependent_settings': {
- 'include_dirs': [
- '../..',
- ],
'conditions': [
['build_with_mozilla==1', {
'defines': [
@@ -345,6 +359,16 @@
# Changes settings for Chromium build.
'WEBRTC_CHROMIUM_BUILD',
],
+ 'include_dirs': [
+ # overrides must be included first as that is the mechanism for
+ # selecting the override headers in Chromium.
+ '../overrides',
+ '../..',
+ ],
+ }, {
+ 'include_dirs': [
+ '../..',
+ ],
}],
['OS=="mac"', {
'defines': [
@@ -380,6 +404,13 @@
}]
],
}],
+ ['os_posix==1', {
+ # For access to standard POSIXish features, use WEBRTC_POSIX instead
+ # of a more specific macro.
+ 'defines': [
+ 'WEBRTC_POSIX',
+ ],
+ }],
],
},
}, # target_defaults
diff --git a/build/merge_libs.gyp b/build/merge_libs.gyp
index 4f8cdac8..02f420b7 100644
--- a/build/merge_libs.gyp
+++ b/build/merge_libs.gyp
@@ -10,6 +10,7 @@
'includes': ['common.gypi',],
'variables': {
'merge_libs_dependencies': [
+ '../base/base_tests.gyp:webrtc_base_tests_utils',
'../webrtc.gyp:webrtc',
],
},