Revert 4372 "Makes webrtc and libjingle build from the same gyp-..."

> Makes webrtc and libjingle build from the same gyp-file. Also, the libjingle and webrtc DEPS revisions were mismatching. This cl takes the most recent revision of mismatches.
> 
> TESTED=git try
> BUG=1932
> R=andrew@webrtc.org, fischman@webrtc.org
> 
> Review URL: https://webrtc-codereview.appspot.com/1804004

TBR=henrike@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/1835004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4373 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/.gitignore b/.gitignore
index ccba828..17d8f83 100644
--- a/.gitignore
+++ b/.gitignore
@@ -51,9 +51,7 @@
 /third_party/gold
 /third_party/google-gflags/src
 /third_party/google-visualization-python
-/third_party/icu
 /third_party/jsoncpp
-/third_party/junit
 /third_party/libjingle
 /third_party/libjpeg
 /third_party/libjpeg_turbo
@@ -62,7 +60,6 @@
 /third_party/libyuv
 /third_party/llvm-build
 /third_party/oauth2
-/third_party/openssl
 /third_party/opus
 /third_party/protobuf
 /third_party/valgrind
diff --git a/DEPS b/DEPS
index d3e6bda..64a08c8 100644
--- a/DEPS
+++ b/DEPS
@@ -10,7 +10,7 @@
   # If you do not know, use the full path while defining your new deps entry.
   "googlecode_url": "http://%s.googlecode.com/svn",
   "chromium_trunk" : "http://src.chromium.org/svn/trunk",
-  "chromium_revision": "205140",
+  "chromium_revision": "203806",
 
   # A small subset of WebKit is needed for the Android Python test framework.
   "webkit_trunk": "http://src.chromium.org/blink/trunk",
@@ -44,27 +44,12 @@
   "third_party/google-gflags/src":
     (Var("googlecode_url") % "google-gflags") + "/trunk/src@45",
 
-  "third_party/icu/":
-    From("chromium_deps", "src/third_party/icu"),
-
-  "third_party/jsoncpp/":
-    Var("chromium_trunk") + "/src/third_party/jsoncpp@" + Var("chromium_revision"),
-
-  "third_party/jsoncpp/source":
-    "http://jsoncpp.svn.sourceforge.net/svnroot/jsoncpp/trunk/jsoncpp@248",
-
-  "third_party/junit/":
-    (Var("googlecode_url") % "webrtc") + "/deps/third_party/junit@3367",
-
   "third_party/libjpeg":
     Var("chromium_trunk") + "/src/third_party/libjpeg@" + Var("chromium_revision"),
 
   "third_party/libjpeg_turbo":
     From("chromium_deps", "src/third_party/libjpeg_turbo"),
 
-  "third_party/libsrtp/":
-    From("chromium_deps", "src/third_party/libsrtp"),
-
   "third_party/libvpx":
     Var("chromium_trunk") + "/deps/third_party/libvpx@208227",
 
@@ -122,9 +107,6 @@
   "unix": {
     "third_party/gold":
       From("chromium_deps", "src/third_party/gold"),
-
-    "third_party/openssl":
-      From("chromium_deps", "src/third_party/openssl"),
   },
   "android": {
     # Precompiled tools needed for Android test execution. Needed since we can't
@@ -143,9 +125,6 @@
 
     "third_party/WebKit/Tools/Scripts":
       Var("webkit_trunk") + "/Tools/Scripts@151677",
-
-    "third_party/openssl":
-      From("chromium_deps", "src/third_party/openssl"),
   },
 }
 
@@ -185,7 +164,7 @@
     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
     "pattern": ".",
     "action": ["python", Var("root_dir") + "/build/gyp_chromium",
-               "--depth=" + Var("root_dir"), Var("root_dir") + "/all.gyp",
+               "--depth=" + Var("root_dir"), Var("root_dir") + "/webrtc.gyp",
                Var("extra_gyp_flag")],
   },
 ]
diff --git a/all.gyp b/all.gyp
deleted file mode 100644
index f2d6e30..0000000
--- a/all.gyp
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
-#
-# Use of this source code is governed by a BSD-style license
-# that can be found in the LICENSE file in the root of the source
-# tree. An additional intellectual property rights grant can be found
-# in the file PATENTS.  All contributing project authors may
-# be found in the AUTHORS file in the root of the source tree.
-
-{
-  'targets': [
-    {
-      'target_name': 'All',
-      'type': 'none',
-      'dependencies': [
-        'webrtc/webrtc.gyp:*',
-        'talk/libjingle.gyp:*',
-        'talk/libjingle_examples.gyp:*',
-        'talk/libjingle_tests.gyp:*',
-      ],
-    },
-  ],
-}
diff --git a/talk/libjingle_all.gyp b/talk/libjingle_all.gyp
new file mode 100644
index 0000000..1bfa2df
--- /dev/null
+++ b/talk/libjingle_all.gyp
@@ -0,0 +1,40 @@
+#
+# libjingle
+# Copyright 2012, Google Inc.
+#
+# Redistribution and use in source and binary forms, with or without 
+# modification, are permitted provided that the following conditions are met:
+#
+#  1. Redistributions of source code must retain the above copyright notice, 
+#     this list of conditions and the following disclaimer.
+#  2. Redistributions in binary form must reproduce the above copyright notice,
+#     this list of conditions and the following disclaimer in the documentation
+#     and/or other materials provided with the distribution.
+#  3. The name of the author may not be used to endorse or promote products 
+#     derived from this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+
+{
+  'targets': [
+    {
+      'target_name': 'All', 
+      'type': 'none',   
+      'dependencies': [ 
+        'libjingle.gyp:*',  
+        'libjingle_examples.gyp:*',  
+        'libjingle_tests.gyp:*',  
+      ],
+    },
+  ],
+}
diff --git a/webrtc.gyp b/webrtc.gyp
new file mode 100644
index 0000000..7daaf8d
--- /dev/null
+++ b/webrtc.gyp
@@ -0,0 +1,48 @@
+# Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
+#
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file in the root of the source
+# tree. An additional intellectual property rights grant can be found
+# in the file PATENTS.  All contributing project authors may
+# be found in the AUTHORS file in the root of the source tree.
+
+{
+  'includes': ['webrtc/build/common.gypi',],
+  'variables': {
+    'webrtc_all_dependencies': [
+      'webrtc/common_audio/common_audio.gyp:*',
+      'webrtc/common_video/common_video.gyp:*',
+      'webrtc/modules/modules.gyp:*',
+      'webrtc/system_wrappers/source/system_wrappers.gyp:*',
+      'webrtc/video_engine/video_engine.gyp:*',
+      'webrtc/voice_engine/voice_engine.gyp:*',
+      '<(webrtc_vp8_dir)/vp8.gyp:*',
+    ],
+  },
+  'targets': [
+    {
+      'target_name': 'All',
+      'type': 'none',
+      'dependencies': [
+        '<@(webrtc_all_dependencies)',
+      ],
+      'conditions': [
+        ['include_tests==1', {
+          'dependencies': [
+            'webrtc/system_wrappers/source/system_wrappers_tests.gyp:*',
+            'webrtc/test/metrics.gyp:*',
+            'webrtc/test/test.gyp:*',
+            'webrtc/tools/tools.gyp:*',
+            'tools/e2e_quality/e2e_quality.gyp:*',
+          ],
+        }],
+        ['OS=="android"', {
+          'dependencies': [
+            'tools/android/android_tools_precompiled.gyp:*',
+            'tools/android-dummy-test/android_dummy_test.gyp:*',
+          ],
+        }],
+      ],
+    },
+  ],
+}
diff --git a/webrtc/webrtc.gyp b/webrtc/webrtc.gyp
deleted file mode 100644
index 086d483..0000000
--- a/webrtc/webrtc.gyp
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
-#
-# Use of this source code is governed by a BSD-style license
-# that can be found in the LICENSE file in the root of the source
-# tree. An additional intellectual property rights grant can be found
-# in the file PATENTS.  All contributing project authors may
-# be found in the AUTHORS file in the root of the source tree.
-
-{
-  'includes': ['build/common.gypi',],
-  'variables': {
-    'webrtc_all_dependencies': [
-      'common_audio/common_audio.gyp:*',
-      'common_video/common_video.gyp:*',
-      'modules/modules.gyp:*',
-      'system_wrappers/source/system_wrappers.gyp:*',
-      'video_engine/video_engine.gyp:*',
-      'voice_engine/voice_engine.gyp:*',
-      '<(webrtc_vp8_dir)/vp8.gyp:*',
-    ],
-  },
-  'targets': [
-    {
-      'target_name': 'webrtc',
-      'type': 'none',
-      'dependencies': [
-        '<@(webrtc_all_dependencies)',
-      ],
-      'conditions': [
-        ['include_tests==1', {
-          'dependencies': [
-            'system_wrappers/source/system_wrappers_tests.gyp:*',
-            'test/metrics.gyp:*',
-            'test/test.gyp:*',
-            'tools/tools.gyp:*',
-            '../tools/e2e_quality/e2e_quality.gyp:*',
-          ],
-        }],
-        ['OS=="android"', {
-          'dependencies': [
-            '../tools/android/android_tools_precompiled.gyp:*',
-            '../tools/android-dummy-test/android_dummy_test.gyp:*',
-          ],
-        }],
-      ],
-    },
-  ],
-}