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-04-15 07:52:57 +02:00
|
|
|
"chromium_revision": "193311",
|
2012-07-31 23:54:13 +02:00
|
|
|
|
|
|
|
# External resources like video and audio files used for testing purposes.
|
|
|
|
# Downloaded on demand when needed.
|
2013-04-16 12:31:56 +02:00
|
|
|
"webrtc_resources_revision": "16",
|
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",
|
|
|
|
|
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-02-12 20:35:18 +01:00
|
|
|
"third_party/libvpx":
|
2013-04-12 23:43:48 +02:00
|
|
|
Var("chromium_trunk") + "/deps/third_party/libvpx@192165",
|
2012-07-31 23:54:13 +02:00
|
|
|
|
2012-08-07 08:03:22 +02:00
|
|
|
"third_party/libyuv":
|
2013-03-24 03:58:00 +01:00
|
|
|
(Var("googlecode_url") % "libyuv") + "/trunk@618",
|
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"),
|
|
|
|
|
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
|
|
|
|
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"),
|
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"),
|
2012-07-31 23:54:13 +02:00
|
|
|
},
|
2013-02-11 18:43:19 +01:00
|
|
|
"android": {
|
|
|
|
"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"),
|
|
|
|
|
|
|
|
"third_party/WebKit/Tools/Scripts":
|
|
|
|
From("chromium_deps", "src/third_party/WebKit/Tools/Scripts"),
|
|
|
|
},
|
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": ".",
|
2012-08-07 08:03:22 +02:00
|
|
|
"action": ["python", Var("root_dir") + "/tools/resources/update.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",
|
2012-08-09 19:37:03 +02:00
|
|
|
"--depth=" + Var("root_dir"), Var("root_dir") + "/webrtc.gyp",
|
|
|
|
Var("extra_gyp_flag")],
|
2012-07-31 23:54:13 +02:00
|
|
|
},
|
|
|
|
]
|
|
|
|
|