aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkjellander@webrtc.org <kjellander@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-06-10 05:46:31 +0000
committerkjellander@webrtc.org <kjellander@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-06-10 05:46:31 +0000
commit02386829842bd38d70cb3016227b78c46c06620e (patch)
tree621efa66d9b728651656b6d4174434c1c0232641
parent7b82c1897976cc00876fd1aa25cfec37bb21285f (diff)
downloadwebrtc-02386829842bd38d70cb3016227b78c46c06620e.tar.gz
Replace libjingle_root with talk_root variable.
This CL is similar to https://review.webrtc.org/9019004/ It is needed in order to be able to build with different copies of libjingle. Having the libjingle_root variable didn't make this possible, since relative paths in the .isolate files ended up at the wrong directory level and .isolate files doesn't support all the normal GYP variables like <(DEPTH). BUG=chromium:343106 TEST=trybots passing compile step with clobber. R=tommi@webrtc.org, wu@webrtc.org Review URL: https://webrtc-codereview.appspot.com/15709004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6380 4adac7df-926f-26a2-2b94-8c16560cd09d
-rw-r--r--all.gyp8
-rw-r--r--talk/build/common.gypi6
2 files changed, 7 insertions, 7 deletions
diff --git a/all.gyp b/all.gyp
index bd8ee13014..a399a78720 100644
--- a/all.gyp
+++ b/all.gyp
@@ -8,7 +8,7 @@
{
'variables': {
- 'libjingle_root%': '<(DEPTH)',
+ 'talk_root%': '<(DEPTH)/talk',
},
'targets': [
{
@@ -17,9 +17,9 @@
'dependencies': [
'third_party/openmax_dl/dl/dl.gyp:*',
'webrtc/webrtc.gyp:*',
- '<(libjingle_root)/talk/libjingle.gyp:*',
- '<(libjingle_root)/talk/libjingle_examples.gyp:*',
- '<(libjingle_root)/talk/libjingle_tests.gyp:*',
+ '<(talk_root)/libjingle.gyp:*',
+ '<(talk_root)/libjingle_examples.gyp:*',
+ '<(talk_root)/libjingle_tests.gyp:*',
],
'conditions': [
['OS=="android"', {
diff --git a/talk/build/common.gypi b/talk/build/common.gypi
index 8261c2085e..85d2f58714 100644
--- a/talk/build/common.gypi
+++ b/talk/build/common.gypi
@@ -30,8 +30,8 @@
{
'variables': {
'webrtc_root%': '<(DEPTH)/webrtc',
- # TODO(ronghuawu): Chromium build will need a different libjingle_root.
- 'libjingle_root%': '<(DEPTH)',
+ # TODO(ronghuawu): Chromium build will need a different talk_root.
+ 'talk_root%': '<(DEPTH)/talk',
# TODO(ronghuawu): For now, disable the Chrome plugins, which causes a
# flood of chromium-style warnings.
'clang_use_chrome_plugins%': 0,
@@ -46,7 +46,7 @@
},
'target_defaults': {
'include_dirs': [
- '<(libjingle_root)',
+ '<(talk_root)/..',
'<(DEPTH)',
'../../third_party',
'../../third_party/webrtc',