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",
|
2011-12-21 17:25:30 +01:00
|
|
|
"chromium_revision": "114939",
|
2011-12-22 09:51:52 +01:00
|
|
|
"libjingle_revision": "101",
|
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.
|
2011-12-16 11:31:38 +01:00
|
|
|
"webrtc_resources_revision": "4",
|
2011-09-16 07:26:16 +02:00
|
|
|
}
|
|
|
|
|
2011-09-27 12:47:25 +02:00
|
|
|
# NOTE: Prefer revision numbers to tags for svn deps.
|
2011-09-16 07:26:16 +02:00
|
|
|
deps = {
|
|
|
|
"trunk/build":
|
|
|
|
Var("chromium_trunk") + "/src/build@" + Var("chromium_revision"),
|
|
|
|
|
|
|
|
"trunk/testing":
|
|
|
|
Var("chromium_trunk") + "/src/testing@" + Var("chromium_revision"),
|
|
|
|
|
|
|
|
"trunk/testing/gtest":
|
|
|
|
(Var("googlecode_url") % "googletest") + "/trunk@573",
|
|
|
|
|
|
|
|
"trunk/testing/gmock":
|
|
|
|
(Var("googlecode_url") % "googlemock") + "/trunk@386",
|
|
|
|
|
|
|
|
"trunk/tools/gyp":
|
2011-12-21 17:25:30 +01:00
|
|
|
(Var("googlecode_url") % "gyp") + "/trunk@1107",
|
2011-10-21 17:29:16 +02:00
|
|
|
|
|
|
|
# Needed by build/common.gypi.
|
|
|
|
"trunk/tools/win/supalink":
|
|
|
|
Var("chromium_trunk") + "/src/tools/win/supalink@" + Var("chromium_revision"),
|
|
|
|
|
|
|
|
"trunk/tools/clang/scripts":
|
|
|
|
Var("chromium_trunk") + "/src/tools/clang/scripts@" + Var("chromium_revision"),
|
2011-09-16 07:26:16 +02:00
|
|
|
|
2011-11-25 15:13:27 +01:00
|
|
|
"trunk/tools/python":
|
|
|
|
Var("chromium_trunk") + "/src/tools/python@" + Var("chromium_revision"),
|
|
|
|
|
|
|
|
"trunk/tools/valgrind":
|
|
|
|
Var("chromium_trunk") + "/src/tools/valgrind@" + Var("chromium_revision"),
|
|
|
|
|
2011-09-16 07:26:16 +02:00
|
|
|
"trunk/third_party/protobuf/":
|
|
|
|
Var("chromium_trunk") + "/src/third_party/protobuf@" + Var("chromium_revision"),
|
|
|
|
|
|
|
|
"trunk/third_party/libvpx/source/libvpx":
|
2011-11-18 01:29:26 +01:00
|
|
|
"http://git.chromium.org/webm/libvpx.git@bdd35c13",
|
2011-09-16 07:26:16 +02:00
|
|
|
|
|
|
|
"trunk/third_party/libjpeg_turbo/":
|
|
|
|
Var("chromium_trunk") + "/deps/third_party/libjpeg_turbo@95800",
|
|
|
|
|
|
|
|
"trunk/third_party/libjpeg/":
|
|
|
|
Var("chromium_trunk") + "/src/third_party/libjpeg@" + Var("chromium_revision"),
|
|
|
|
|
|
|
|
"trunk/third_party/yasm/":
|
|
|
|
Var("chromium_trunk") + "/src/third_party/yasm@" + Var("chromium_revision"),
|
|
|
|
|
|
|
|
"trunk/third_party/expat/":
|
|
|
|
Var("chromium_trunk") + "/src/third_party/expat@" + Var("chromium_revision"),
|
|
|
|
|
|
|
|
"trunk/third_party/libjingle/":
|
|
|
|
Var("chromium_trunk") + "/src/third_party/libjingle@" + Var("chromium_revision"),
|
|
|
|
|
|
|
|
"trunk/third_party/google-gflags/src":
|
|
|
|
(Var("googlecode_url") % "google-gflags") + "/trunk/src@45",
|
|
|
|
|
|
|
|
"trunk/third_party/libjingle/source":
|
|
|
|
(Var("googlecode_url") % "libjingle") + "/trunk@" + Var("libjingle_revision"),
|
|
|
|
|
|
|
|
"trunk/third_party/yasm/source/patched-yasm":
|
|
|
|
Var("chromium_trunk") + "/deps/third_party/yasm/patched-yasm@73761",
|
|
|
|
# Used by libjpeg-turbo
|
|
|
|
"trunk/third_party/yasm/binaries":
|
|
|
|
Var("chromium_trunk") + "/deps/third_party/yasm/binaries@74228",
|
|
|
|
|
|
|
|
"trunk/third_party/jsoncpp/":
|
|
|
|
"http://jsoncpp.svn.sourceforge.net/svnroot/jsoncpp/trunk/jsoncpp@246",
|
2011-12-09 20:43:12 +01:00
|
|
|
|
2011-11-28 19:09:41 +01:00
|
|
|
"trunk/third_party/libyuv":
|
2011-12-12 06:48:56 +01:00
|
|
|
(Var("googlecode_url") % "libyuv") + "/trunk@101",
|
2011-09-16 07:26:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
deps_os = {
|
|
|
|
"win": {
|
|
|
|
"trunk/third_party/cygwin/":
|
|
|
|
Var("chromium_trunk") + "/deps/third_party/cygwin@66844",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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"],
|
|
|
|
},
|
|
|
|
]
|
|
|
|
|