diff --git a/.gitignore b/.gitignore index a96f2f256..17d8f835e 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,10 +60,8 @@ /third_party/libyuv /third_party/llvm-build /third_party/oauth2 -/third_party/openssl /third_party/opus /third_party/protobuf -/third_party/sqlite /third_party/valgrind /third_party/winsdk_samples/src /third_party/yasm diff --git a/DEPS b/DEPS index 7fc3b460f..a19bc26ab 100644 --- a/DEPS +++ b/DEPS @@ -10,7 +10,7 @@ vars = { # 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 @@ deps = { "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@211873", @@ -80,9 +65,6 @@ deps = { "third_party/protobuf": Var("chromium_trunk") + "/src/third_party/protobuf@" + Var("chromium_revision"), - "third_party/sqlite/": - Var("chromium_trunk") + "/src/third_party/sqlite@" + Var("chromium_revision"), - "third_party/yasm": Var("chromium_trunk") + "/src/third_party/yasm@" + Var("chromium_revision"), @@ -121,30 +103,10 @@ deps_os = { # Used by libjpeg-turbo. "third_party/yasm/binaries": From("chromium_deps", "src/third_party/yasm/binaries"), - - # NSS, for SSLClientSocketNSS. - "third_party/nss": - From("chromium_deps", "src/third_party/nss"), }, - - "mac": { - # NSS, for SSLClientSocketNSS. - "third_party/nss": - From("chromium_deps", "src/third_party/nss"), - }, - - "ios": { - # NSS, for SSLClientSocketNSS. - "third_party/nss": - From("chromium_deps", "src/third_party/nss"), - }, - "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 @@ -163,9 +125,6 @@ deps_os = { "third_party/WebKit/Tools/Scripts": Var("webkit_trunk") + "/Tools/Scripts@151677", - - "third_party/openssl": - From("chromium_deps", "src/third_party/openssl"), }, } @@ -205,7 +164,7 @@ hooks = [ # 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 8d22edfdb..000000000 --- a/all.gyp +++ /dev/null @@ -1,30 +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:*', - ], - # TODO(henrike): fix build errors on 64 bit Mac for libjingle. See issue - # 2124 - 'conditions': [ - ['OS!="mac" or target_arch!="x64"', { - 'dependencies': [ - '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 000000000..1bfa2df09 --- /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/webrtc.gyp b/webrtc.gyp similarity index 52% rename from webrtc/webrtc.gyp rename to webrtc.gyp index 086d4831a..7daaf8d98 100644 --- a/webrtc/webrtc.gyp +++ b/webrtc.gyp @@ -7,21 +7,21 @@ # be found in the AUTHORS file in the root of the source tree. { - 'includes': ['build/common.gypi',], + 'includes': ['webrtc/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/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': 'webrtc', + 'target_name': 'All', 'type': 'none', 'dependencies': [ '<@(webrtc_all_dependencies)', @@ -29,17 +29,17 @@ '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:*', + '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:*', + 'tools/android/android_tools_precompiled.gyp:*', + 'tools/android-dummy-test/android_dummy_test.gyp:*', ], }], ],