2012-08-07 08:03:22 +02:00
|
|
|
use_relative_paths = True
|
|
|
|
|
2012-07-31 23:54:13 +02:00
|
|
|
vars = {
|
2012-08-07 08:03:22 +02:00
|
|
|
# Override root_dir in your .gclient's custom_vars to specify a custom root
|
|
|
|
# folder name.
|
|
|
|
"root_dir": "trunk",
|
2012-08-09 19:37:03 +02:00
|
|
|
"extra_gyp_flag": "-Dextra_gyp_flag=0",
|
2012-08-07 08:03:22 +02:00
|
|
|
|
2012-07-31 23:54:13 +02:00
|
|
|
# Use this googlecode_url variable only if there is an internal mirror for it.
|
|
|
|
# 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",
|
2013-07-25 22:49:59 +02:00
|
|
|
"chromium_revision": "212975",
|
2012-07-31 23:54:13 +02:00
|
|
|
|
2013-06-04 18:29:45 +02:00
|
|
|
# A small subset of WebKit is needed for the Android Python test framework.
|
|
|
|
"webkit_trunk": "http://src.chromium.org/blink/trunk",
|
2012-07-31 23:54:13 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
# NOTE: Prefer revision numbers to tags for svn deps. Use http rather than
|
|
|
|
# https; the latter can cause problems for users behind proxies.
|
|
|
|
deps = {
|
2012-08-07 08:03:22 +02:00
|
|
|
"../chromium_deps":
|
2012-07-31 23:54:13 +02:00
|
|
|
File(Var("chromium_trunk") + "/src/DEPS@" + Var("chromium_revision")),
|
|
|
|
|
2012-08-07 08:03:22 +02:00
|
|
|
"build":
|
2012-07-31 23:54:13 +02:00
|
|
|
Var("chromium_trunk") + "/src/build@" + Var("chromium_revision"),
|
|
|
|
|
2012-09-20 01:08:50 +02:00
|
|
|
# Needed by common.gypi.
|
|
|
|
"google_apis/build":
|
|
|
|
Var("chromium_trunk") + "/src/google_apis/build@" + Var("chromium_revision"),
|
|
|
|
|
2012-08-07 08:03:22 +02:00
|
|
|
"testing":
|
2012-07-31 23:54:13 +02:00
|
|
|
Var("chromium_trunk") + "/src/testing@" + Var("chromium_revision"),
|
|
|
|
|
2012-08-07 08:03:22 +02:00
|
|
|
"testing/gmock":
|
|
|
|
From("chromium_deps", "src/testing/gmock"),
|
2012-07-31 23:54:13 +02:00
|
|
|
|
2012-08-07 08:03:22 +02:00
|
|
|
"testing/gtest":
|
|
|
|
From("chromium_deps", "src/testing/gtest"),
|
2012-07-31 23:54:13 +02:00
|
|
|
|
2012-08-07 08:03:22 +02:00
|
|
|
"third_party/expat":
|
2012-07-31 23:54:13 +02:00
|
|
|
Var("chromium_trunk") + "/src/third_party/expat@" + Var("chromium_revision"),
|
|
|
|
|
2012-08-07 08:03:22 +02:00
|
|
|
"third_party/google-gflags/src":
|
2012-07-31 23:54:13 +02:00
|
|
|
(Var("googlecode_url") % "google-gflags") + "/trunk/src@45",
|
|
|
|
|
2013-07-23 20:15:11 +02:00
|
|
|
"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",
|
|
|
|
|
2012-08-07 08:03:22 +02:00
|
|
|
"third_party/libjpeg":
|
2012-07-31 23:54:13 +02:00
|
|
|
Var("chromium_trunk") + "/src/third_party/libjpeg@" + Var("chromium_revision"),
|
|
|
|
|
2012-08-07 08:03:22 +02:00
|
|
|
"third_party/libjpeg_turbo":
|
|
|
|
From("chromium_deps", "src/third_party/libjpeg_turbo"),
|
2012-07-31 23:54:13 +02:00
|
|
|
|
2013-07-23 20:15:11 +02:00
|
|
|
"third_party/libsrtp/":
|
|
|
|
From("chromium_deps", "src/third_party/libsrtp"),
|
|
|
|
|
2013-02-12 20:35:18 +01:00
|
|
|
"third_party/libvpx":
|
2013-07-25 19:48:24 +02:00
|
|
|
Var("chromium_trunk") + "/deps/third_party/libvpx@211873",
|
2012-07-31 23:54:13 +02:00
|
|
|
|
2012-08-07 08:03:22 +02:00
|
|
|
"third_party/libyuv":
|
2013-06-12 00:03:29 +02:00
|
|
|
(Var("googlecode_url") % "libyuv") + "/trunk@723",
|
2012-07-31 23:54:13 +02:00
|
|
|
|
2012-10-25 14:37:08 +02:00
|
|
|
"third_party/opus":
|
2013-03-22 13:39:54 +01:00
|
|
|
Var("chromium_trunk") + "/src/third_party/opus@185405",
|
2012-10-25 14:37:08 +02:00
|
|
|
|
|
|
|
"third_party/opus/src":
|
2013-03-22 13:39:54 +01:00
|
|
|
Var("chromium_trunk") + "/deps/third_party/opus@185324",
|
2012-10-25 14:37:08 +02:00
|
|
|
|
2012-08-07 08:03:22 +02:00
|
|
|
"third_party/protobuf":
|
2012-07-31 23:54:13 +02:00
|
|
|
Var("chromium_trunk") + "/src/third_party/protobuf@" + Var("chromium_revision"),
|
|
|
|
|
2013-07-23 20:15:11 +02:00
|
|
|
"third_party/sqlite/":
|
|
|
|
Var("chromium_trunk") + "/src/third_party/sqlite@" + Var("chromium_revision"),
|
|
|
|
|
2012-08-07 08:03:22 +02:00
|
|
|
"third_party/yasm":
|
2012-07-31 23:54:13 +02:00
|
|
|
Var("chromium_trunk") + "/src/third_party/yasm@" + Var("chromium_revision"),
|
|
|
|
|
2012-08-07 08:03:22 +02:00
|
|
|
"third_party/yasm/source/patched-yasm":
|
|
|
|
From("chromium_deps", "src/third_party/yasm/source/patched-yasm"),
|
2012-07-31 23:54:13 +02:00
|
|
|
|
2012-08-07 08:03:22 +02:00
|
|
|
"tools/clang":
|
2012-07-31 23:54:13 +02:00
|
|
|
Var("chromium_trunk") + "/src/tools/clang@" + Var("chromium_revision"),
|
|
|
|
|
2012-08-07 08:03:22 +02:00
|
|
|
"tools/gyp":
|
|
|
|
From("chromium_deps", "src/tools/gyp"),
|
2012-07-31 23:54:13 +02:00
|
|
|
|
2013-05-20 23:12:58 +02:00
|
|
|
"tools/protoc_wrapper":
|
|
|
|
Var("chromium_trunk") + "/src/tools/protoc_wrapper@" + Var("chromium_revision"),
|
|
|
|
|
2012-08-07 08:03:22 +02:00
|
|
|
"tools/python":
|
2012-07-31 23:54:13 +02:00
|
|
|
Var("chromium_trunk") + "/src/tools/python@" + Var("chromium_revision"),
|
|
|
|
|
2012-08-07 08:03:22 +02:00
|
|
|
"tools/valgrind":
|
2012-07-31 23:54:13 +02:00
|
|
|
Var("chromium_trunk") + "/src/tools/valgrind@" + Var("chromium_revision"),
|
|
|
|
|
|
|
|
# Needed by build/common.gypi.
|
2012-08-07 08:03:22 +02:00
|
|
|
"tools/win/supalink":
|
2012-07-31 23:54:13 +02:00
|
|
|
Var("chromium_trunk") + "/src/tools/win/supalink@" + Var("chromium_revision"),
|
|
|
|
}
|
|
|
|
|
|
|
|
deps_os = {
|
|
|
|
"win": {
|
|
|
|
# Use our own, stripped down, version of Cygwin (required by GYP).
|
2012-08-07 08:03:22 +02:00
|
|
|
"third_party/cygwin":
|
2012-08-28 17:56:40 +02:00
|
|
|
(Var("googlecode_url") % "webrtc") + "/deps/third_party/cygwin@2672",
|
2012-07-31 23:54:13 +02:00
|
|
|
|
2012-11-21 19:46:45 +01:00
|
|
|
"third_party/winsdk_samples/src":
|
|
|
|
(Var("googlecode_url") % "webrtc") + "/deps/third_party/winsdk_samples_v71@3145",
|
|
|
|
|
2012-07-31 23:54:13 +02:00
|
|
|
# Used by libjpeg-turbo.
|
2012-08-07 08:03:22 +02:00
|
|
|
"third_party/yasm/binaries":
|
|
|
|
From("chromium_deps", "src/third_party/yasm/binaries"),
|
2013-07-23 20:15:11 +02:00
|
|
|
|
|
|
|
# NSS, for SSLClientSocketNSS.
|
|
|
|
"third_party/nss":
|
|
|
|
From("chromium_deps", "src/third_party/nss"),
|
2012-07-31 23:54:13 +02:00
|
|
|
},
|
2013-07-23 20:15:11 +02:00
|
|
|
|
|
|
|
"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"),
|
|
|
|
},
|
|
|
|
|
2012-07-31 23:54:13 +02:00
|
|
|
"unix": {
|
2012-08-07 08:03:22 +02:00
|
|
|
"third_party/gold":
|
|
|
|
From("chromium_deps", "src/third_party/gold"),
|
2013-07-23 20:15:11 +02:00
|
|
|
|
|
|
|
"third_party/openssl":
|
|
|
|
From("chromium_deps", "src/third_party/openssl"),
|
2012-07-31 23:54:13 +02:00
|
|
|
},
|
2013-02-11 18:43:19 +01:00
|
|
|
"android": {
|
2013-06-18 09:14:33 +02:00
|
|
|
# Precompiled tools needed for Android test execution. Needed since we can't
|
|
|
|
# compile them from source in WebRTC since they depend on Chromium's base.
|
|
|
|
"tools/android":
|
2013-07-18 03:57:04 +02:00
|
|
|
(Var("googlecode_url") % "webrtc") + "/deps/tools/android@4258",
|
2013-06-18 09:14:33 +02:00
|
|
|
|
2013-06-19 11:10:49 +02:00
|
|
|
"tools/android-dummy-test":
|
|
|
|
(Var("googlecode_url") % "webrtc") + "/deps/tools/android-dummy-test@4244",
|
|
|
|
|
2013-02-11 18:43:19 +01:00
|
|
|
"third_party/android_tools":
|
|
|
|
From("chromium_deps", "src/third_party/android_tools"),
|
|
|
|
|
|
|
|
"third_party/android_testrunner":
|
|
|
|
Var("chromium_trunk") + "/src/third_party/android_testrunner@" + Var("chromium_revision"),
|
2013-06-04 18:29:45 +02:00
|
|
|
|
|
|
|
"third_party/WebKit/Tools/Scripts":
|
|
|
|
Var("webkit_trunk") + "/Tools/Scripts@151677",
|
2013-07-23 20:15:11 +02:00
|
|
|
|
|
|
|
"third_party/openssl":
|
|
|
|
From("chromium_deps", "src/third_party/openssl"),
|
2013-02-11 18:43:19 +01:00
|
|
|
},
|
2012-07-31 23:54:13 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
hooks = [
|
|
|
|
{
|
2012-10-22 20:19:23 +02:00
|
|
|
# Create a supplement.gypi file under trunk/webrtc. This file will be picked
|
2012-07-31 23:54:13 +02:00
|
|
|
# up by gyp and used to enable the standalone build.
|
|
|
|
"pattern": ".",
|
2012-08-07 08:03:22 +02:00
|
|
|
"action": ["python", Var("root_dir") + "/tools/create_supplement_gypi.py",
|
2012-10-22 20:19:23 +02:00
|
|
|
Var("root_dir") + "/webrtc/supplement.gypi"],
|
2012-07-31 23:54:13 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
# Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
|
|
|
|
# zero seconds to run. If something changed, it downloads a prebuilt clang.
|
|
|
|
"pattern": ".",
|
2012-08-07 08:03:22 +02:00
|
|
|
"action": ["python", Var("root_dir") + "/tools/clang/scripts/update.py",
|
|
|
|
"--mac-only"],
|
2012-07-31 23:54:13 +02:00
|
|
|
},
|
2012-08-17 08:57:58 +02:00
|
|
|
{
|
|
|
|
# Update the cygwin mount on Windows.
|
|
|
|
# This is necessary to get the correct mapping between e.g. /bin and the
|
|
|
|
# cygwin path on Windows. Without it we can't run bash scripts in actions.
|
|
|
|
# Ideally this should be solved in "pylib/gyp/msvs_emulation.py".
|
|
|
|
"pattern": ".",
|
|
|
|
"action": ["python", Var("root_dir") + "/build/win/setup_cygwin_mount.py",
|
|
|
|
"--win-only"],
|
|
|
|
},
|
2012-07-31 23:54:13 +02:00
|
|
|
{
|
|
|
|
# Download test resources, i.e. video and audio files. If the latest
|
|
|
|
# version is already downloaded, this takes zero seconds to run.
|
|
|
|
# If a newer version or no current download exists, it will download
|
|
|
|
# the resources and extract them.
|
|
|
|
"pattern": ".",
|
2013-07-08 16:55:23 +02:00
|
|
|
"action": ["python", Var("root_dir") + "/webrtc/tools/update_resources.py"],
|
2012-07-31 23:54:13 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
# A change to a .gyp, .gypi, or to GYP itself should run the generator.
|
|
|
|
"pattern": ".",
|
2012-08-07 08:03:22 +02:00
|
|
|
"action": ["python", Var("root_dir") + "/build/gyp_chromium",
|
2013-07-23 20:15:11 +02:00
|
|
|
"--depth=" + Var("root_dir"), Var("root_dir") + "/all.gyp",
|
2012-08-09 19:37:03 +02:00
|
|
|
Var("extra_gyp_flag")],
|
2012-07-31 23:54:13 +02:00
|
|
|
},
|
|
|
|
]
|
|
|
|
|