2011-09-16 07:26:16 +02:00
|
|
|
vars = {
|
|
|
|
# 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",
|
2012-05-01 23:03:10 +02:00
|
|
|
"chromium_revision": "134666",
|
2011-10-21 17:29:16 +02:00
|
|
|
|
2011-11-23 15:11:16 +01:00
|
|
|
# External resources like video and audio files used for testing purposes.
|
2011-11-23 19:37:51 +01:00
|
|
|
# Downloaded on demand when needed.
|
2012-04-18 19:59:53 +02:00
|
|
|
"webrtc_resources_revision": "9",
|
2011-09-16 07:26:16 +02:00
|
|
|
}
|
|
|
|
|
2012-02-16 02:20:15 +01:00
|
|
|
# NOTE: Prefer revision numbers to tags for svn deps. Use http rather than
|
|
|
|
# https; the latter can cause problems for users behind proxies.
|
2011-09-16 07:26:16 +02:00
|
|
|
deps = {
|
2012-02-23 22:32:37 +01:00
|
|
|
"trunk/chromium_deps":
|
|
|
|
File(Var("chromium_trunk") + "/src/DEPS@" + Var("chromium_revision")),
|
|
|
|
|
2011-09-16 07:26:16 +02:00
|
|
|
"trunk/build":
|
|
|
|
Var("chromium_trunk") + "/src/build@" + Var("chromium_revision"),
|
|
|
|
|
|
|
|
"trunk/testing":
|
|
|
|
Var("chromium_trunk") + "/src/testing@" + Var("chromium_revision"),
|
|
|
|
|
|
|
|
"trunk/testing/gmock":
|
2012-02-23 22:32:37 +01:00
|
|
|
From("trunk/chromium_deps", "src/testing/gmock"),
|
2011-09-16 07:26:16 +02:00
|
|
|
|
2012-02-23 22:32:37 +01:00
|
|
|
"trunk/testing/gtest":
|
|
|
|
From("trunk/chromium_deps", "src/testing/gtest"),
|
2011-10-21 17:29:16 +02:00
|
|
|
|
2012-02-23 22:32:37 +01:00
|
|
|
"trunk/third_party/expat":
|
|
|
|
Var("chromium_trunk") + "/src/third_party/expat@" + Var("chromium_revision"),
|
2011-10-21 17:29:16 +02:00
|
|
|
|
2012-02-23 22:32:37 +01:00
|
|
|
"trunk/third_party/google-gflags/src":
|
|
|
|
(Var("googlecode_url") % "google-gflags") + "/trunk/src@45",
|
2011-11-25 15:13:27 +01:00
|
|
|
|
2012-02-23 22:32:37 +01:00
|
|
|
"trunk/third_party/libjpeg":
|
|
|
|
Var("chromium_trunk") + "/src/third_party/libjpeg@" + Var("chromium_revision"),
|
|
|
|
|
|
|
|
"trunk/third_party/libjpeg_turbo":
|
|
|
|
From("trunk/chromium_deps", "src/third_party/libjpeg_turbo"),
|
2011-09-16 07:26:16 +02:00
|
|
|
|
|
|
|
"trunk/third_party/libvpx/source/libvpx":
|
2012-04-25 21:16:00 +02:00
|
|
|
"http://git.chromium.org/webm/libvpx.git@dba05389",
|
2011-09-16 07:26:16 +02:00
|
|
|
|
2012-02-23 22:32:37 +01:00
|
|
|
"trunk/third_party/libyuv":
|
2012-05-02 02:41:29 +02:00
|
|
|
(Var("googlecode_url") % "libyuv") + "/trunk@255",
|
2011-09-16 07:26:16 +02:00
|
|
|
|
2012-02-23 22:32:37 +01:00
|
|
|
"trunk/third_party/protobuf":
|
|
|
|
Var("chromium_trunk") + "/src/third_party/protobuf@" + Var("chromium_revision"),
|
2011-09-16 07:26:16 +02:00
|
|
|
|
2012-02-23 22:32:37 +01:00
|
|
|
"trunk/third_party/yasm":
|
2012-03-21 09:01:05 +01:00
|
|
|
Var("chromium_trunk") + "/src/third_party/yasm@" + Var("chromium_revision"),
|
2011-09-16 07:26:16 +02:00
|
|
|
|
|
|
|
"trunk/third_party/yasm/source/patched-yasm":
|
2012-03-21 09:01:05 +01:00
|
|
|
From("trunk/chromium_deps", "src/third_party/yasm/source/patched-yasm"),
|
2012-01-25 18:50:12 +01:00
|
|
|
|
2012-02-23 22:32:37 +01:00
|
|
|
"trunk/tools/clang":
|
|
|
|
Var("chromium_trunk") + "/src/tools/clang@" + Var("chromium_revision"),
|
2011-09-16 07:26:16 +02:00
|
|
|
|
2012-02-23 22:32:37 +01:00
|
|
|
"trunk/tools/gyp":
|
|
|
|
From("trunk/chromium_deps", "src/tools/gyp"),
|
2012-01-24 15:44:51 +01:00
|
|
|
|
2012-02-23 22:32:37 +01:00
|
|
|
"trunk/tools/python":
|
|
|
|
Var("chromium_trunk") + "/src/tools/python@" + Var("chromium_revision"),
|
2012-01-24 15:44:51 +01:00
|
|
|
|
2012-02-23 22:32:37 +01:00
|
|
|
"trunk/tools/valgrind":
|
|
|
|
Var("chromium_trunk") + "/src/tools/valgrind@" + Var("chromium_revision"),
|
2012-02-06 11:55:12 +01:00
|
|
|
|
2012-02-23 22:32:37 +01:00
|
|
|
# Needed by build/common.gypi.
|
|
|
|
"trunk/tools/win/supalink":
|
|
|
|
Var("chromium_trunk") + "/src/tools/win/supalink@" + Var("chromium_revision"),
|
2011-09-16 07:26:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
deps_os = {
|
|
|
|
"win": {
|
2012-02-23 22:32:37 +01:00
|
|
|
"trunk/third_party/cygwin":
|
2012-04-17 03:19:27 +02:00
|
|
|
From("trunk/chromium_deps", "src/third_party/cygwin"),
|
2012-02-23 22:32:37 +01:00
|
|
|
|
|
|
|
# Used by libjpeg-turbo.
|
|
|
|
"trunk/third_party/yasm/binaries":
|
|
|
|
From("trunk/chromium_deps", "src/third_party/yasm/binaries"),
|
|
|
|
},
|
|
|
|
"unix": {
|
|
|
|
"trunk/third_party/gold":
|
|
|
|
From("trunk/chromium_deps", "src/third_party/gold"),
|
|
|
|
},
|
2011-09-16 07:26:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
hooks = [
|
|
|
|
{
|
|
|
|
# Create a supplement.gypi file under trunk/. This file will be picked up
|
|
|
|
# by gyp and we use it to set Chromium related variables (inside_chromium_build)
|
|
|
|
# to 0 and enable the standalone build.
|
|
|
|
"pattern": ".",
|
|
|
|
"action": ["python", "trunk/tools/create_supplement_gypi.py", "trunk/src/supplement.gypi"],
|
|
|
|
},
|
|
|
|
{
|
2011-10-21 17:29:16 +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": ".",
|
|
|
|
"action": ["python", "trunk/tools/clang/scripts/update.py", "--mac-only"],
|
|
|
|
},
|
2011-11-23 15:11:16 +01: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
|
2011-11-23 19:37:51 +01:00
|
|
|
# the resources and extract them.
|
2011-11-23 15:11:16 +01:00
|
|
|
"pattern": ".",
|
|
|
|
"action": ["python", "trunk/tools/resources/update.py"],
|
|
|
|
},
|
2011-10-21 17:29:16 +02:00
|
|
|
{
|
|
|
|
# A change to a .gyp, .gypi, or to GYP itself should run the generator.
|
2011-09-16 07:26:16 +02:00
|
|
|
"pattern": ".",
|
|
|
|
"action": ["python", "trunk/build/gyp_chromium", "--depth=trunk", "trunk/webrtc.gyp"],
|
|
|
|
},
|
|
|
|
]
|
|
|
|
|