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",
|
2013-08-20 11:19:16 +02:00
|
|
|
"sourceforge_url": "http://svn.code.sf.net/p/%(repo)s/code",
|
2012-07-31 23:54:13 +02:00
|
|
|
"chromium_trunk" : "http://src.chromium.org/svn/trunk",
|
2014-04-01 12:40:03 +02:00
|
|
|
"chromium_revision": "260462",
|
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")),
|
|
|
|
|
2014-01-14 18:48:34 +01:00
|
|
|
"../chromium_gn":
|
|
|
|
File(Var("chromium_trunk") + "/src/.gn@" + 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
|
|
|
|
2014-02-04 02:45:10 +01:00
|
|
|
"third_party/clang_format":
|
|
|
|
Var("chromium_trunk") + "/src/third_party/clang_format@" + Var("chromium_revision"),
|
|
|
|
|
2014-02-09 19:38:31 +01:00
|
|
|
"third_party/clang_format/script":
|
|
|
|
From("chromium_deps", "src/third_party/clang_format/script"),
|
|
|
|
|
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"),
|
|
|
|
|
2013-08-20 18:18:35 +02:00
|
|
|
# When rolling gflags, also update deps/third_party/webrtc/webrtc.DEPS/DEPS
|
|
|
|
# in Chromium's repo.
|
2013-08-16 01:31:30 +02:00
|
|
|
"third_party/gflags/src":
|
|
|
|
(Var("googlecode_url") % "gflags") + "/trunk/src@84",
|
2012-07-31 23:54:13 +02:00
|
|
|
|
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":
|
2013-08-20 11:19:16 +02:00
|
|
|
(Var("sourceforge_url") % {"repo": "jsoncpp"}) + "/trunk/jsoncpp@248",
|
2013-07-23 20:15:11 +02:00
|
|
|
|
|
|
|
"third_party/junit/":
|
|
|
|
(Var("googlecode_url") % "webrtc") + "/deps/third_party/junit@3367",
|
2013-09-27 18:57:10 +02:00
|
|
|
|
2013-08-30 18:30:53 +02:00
|
|
|
"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"),
|
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":
|
2014-04-17 22:35:03 +02:00
|
|
|
Var("chromium_trunk") + "/deps/third_party/libvpx@264320",
|
2012-07-31 23:54:13 +02:00
|
|
|
|
2012-08-07 08:03:22 +02:00
|
|
|
"third_party/libyuv":
|
2014-04-22 00:06:06 +02:00
|
|
|
(Var("googlecode_url") % "libyuv") + "/trunk@1000",
|
2012-07-31 23:54:13 +02:00
|
|
|
|
2012-10-25 14:37:08 +02:00
|
|
|
"third_party/opus":
|
2014-03-25 17:12:43 +01:00
|
|
|
Var("chromium_trunk") + "/src/third_party/opus@258909",
|
2012-10-25 14:37:08 +02:00
|
|
|
|
|
|
|
"third_party/opus/src":
|
2014-03-25 17:12:43 +01:00
|
|
|
Var("chromium_trunk") + "/deps/third_party/opus@256783",
|
2012-10-25 14:37:08 +02:00
|
|
|
|
2012-08-07 08:03:22 +02:00
|
|
|
"third_party/protobuf":
|
2014-03-25 13:43:58 +01:00
|
|
|
Var("chromium_trunk") + "/src/third_party/protobuf@251211",
|
2012-07-31 23:54:13 +02:00
|
|
|
|
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"),
|
|
|
|
|
2014-01-14 18:48:34 +01:00
|
|
|
"tools/gn":
|
|
|
|
Var("chromium_trunk") + "/src/tools/gn@" + 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"),
|
|
|
|
|
2013-12-11 14:37:12 +01:00
|
|
|
"tools/swarming_client":
|
|
|
|
From("chromium_deps", "src/tools/swarming_client"),
|
2013-08-22 09:57:00 +02:00
|
|
|
|
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"),
|
2014-01-29 18:45:53 +01:00
|
|
|
|
|
|
|
"net/third_party/nss":
|
|
|
|
Var("chromium_trunk") + "/src/net/third_party/nss@" + Var("chromium_revision"),
|
|
|
|
|
|
|
|
"third_party/usrsctp/":
|
|
|
|
Var("chromium_trunk") + "/src/third_party/usrsctp@" + Var("chromium_revision"),
|
|
|
|
|
|
|
|
"third_party/usrsctp/usrsctplib":
|
|
|
|
(Var("googlecode_url") % "sctp-refimpl") + "/trunk/KERN/usrsctp/usrsctplib@8723",
|
2012-07-31 23:54:13 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
deps_os = {
|
|
|
|
"win": {
|
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"),
|
2013-10-10 13:56:09 +02:00
|
|
|
|
|
|
|
# SyzyASan to make it possible to run tests under ASan on Windows.
|
|
|
|
"third_party/syzygy/binaries":
|
|
|
|
From("chromium_deps", "src/third_party/syzygy/binaries"),
|
2014-03-10 10:51:17 +01:00
|
|
|
|
|
|
|
"tools/find_depot_tools":
|
|
|
|
File(Var("chromium_trunk") + "/src/tools/find_depot_tools.py@" + Var("chromium_revision")),
|
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"),
|
2014-04-15 22:26:41 +02:00
|
|
|
|
|
|
|
# TODO(kjellander): remove once bug 2152 is fixed.
|
|
|
|
# This needs to specify the path directly (instead of using the
|
|
|
|
# chromium_deps version) because chromium_deps only defines this for ios.
|
|
|
|
"testing/iossim/third_party/class-dump":
|
|
|
|
Var("chromium_trunk") + "/deps/third_party/class-dump@199203",
|
2013-07-23 20:15:11 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
"ios": {
|
|
|
|
# NSS, for SSLClientSocketNSS.
|
|
|
|
"third_party/nss":
|
|
|
|
From("chromium_deps", "src/third_party/nss"),
|
2013-08-01 20:29:45 +02:00
|
|
|
|
|
|
|
# class-dump utility to generate header files for undocumented SDKs.
|
|
|
|
"testing/iossim/third_party/class-dump":
|
|
|
|
From("chromium_deps", "src/testing/iossim/third_party/class-dump"),
|
|
|
|
|
|
|
|
# Helper for running under the simulator.
|
|
|
|
"testing/iossim":
|
|
|
|
Var("chromium_trunk") + "/src/testing/iossim@" + Var("chromium_revision"),
|
2013-07-23 20:15:11 +02:00
|
|
|
},
|
|
|
|
|
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
|
|
|
},
|
2014-01-29 18:45:53 +01: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-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 = [
|
2014-01-14 18:48:34 +01:00
|
|
|
{
|
|
|
|
# Copy .gn from temporary place (../chromium_gn) to root_dir.
|
|
|
|
"name": "copy .gn",
|
|
|
|
"pattern": ".",
|
|
|
|
"action": ["python", Var("root_dir") + "/build/cp.py",
|
|
|
|
Var("root_dir") + "/../chromium_gn/.gn",
|
|
|
|
Var("root_dir")],
|
|
|
|
},
|
|
|
|
# Pull GN binaries. This needs to be before running GYP below.
|
|
|
|
{
|
|
|
|
"name": "gn_win",
|
|
|
|
"pattern": "tools/gn/bin/win/gn.exe.sha1",
|
|
|
|
"action": [ "download_from_google_storage",
|
|
|
|
"--no_resume",
|
|
|
|
"--platform=win32",
|
|
|
|
"--no_auth",
|
|
|
|
"--bucket", "chromium-gn",
|
|
|
|
"-s", Var("root_dir") + "/tools/gn/bin/win/gn.exe.sha1",
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "gn_mac",
|
|
|
|
"pattern": "tools/gn/bin/mac/gn.sha1",
|
|
|
|
"action": [ "download_from_google_storage",
|
|
|
|
"--no_resume",
|
|
|
|
"--platform=darwin",
|
|
|
|
"--no_auth",
|
|
|
|
"--bucket", "chromium-gn",
|
|
|
|
"-s", Var("root_dir") + "/tools/gn/bin/mac/gn.sha1",
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "gn_linux",
|
|
|
|
"pattern": "tools/gn/bin/linux/gn.sha1",
|
|
|
|
"action": [ "download_from_google_storage",
|
|
|
|
"--no_resume",
|
|
|
|
"--platform=linux*",
|
|
|
|
"--no_auth",
|
|
|
|
"--bucket", "chromium-gn",
|
|
|
|
"-s", Var("root_dir") + "/tools/gn/bin/linux/gn.sha1",
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "gn_linux32",
|
|
|
|
"pattern": "tools/gn/bin/linux/gn32.sha1",
|
|
|
|
"action": [ "download_from_google_storage",
|
|
|
|
"--no_resume",
|
|
|
|
"--platform=linux*",
|
|
|
|
"--no_auth",
|
|
|
|
"--bucket", "chromium-gn",
|
|
|
|
"-s", Var("root_dir") + "/tools/gn/bin/linux/gn32.sha1",
|
|
|
|
],
|
|
|
|
},
|
2014-02-04 02:45:10 +01:00
|
|
|
# Pull clang-format binaries using checked-in hashes.
|
|
|
|
{
|
|
|
|
"name": "clang_format_win",
|
|
|
|
"pattern": "third_party/clang_format/bin/win/clang-format.exe.sha1",
|
|
|
|
"action": [ "download_from_google_storage",
|
|
|
|
"--no_resume",
|
|
|
|
"--platform=win32",
|
|
|
|
"--no_auth",
|
|
|
|
"--bucket", "chromium-clang-format",
|
|
|
|
"-s", Var("root_dir") + "/third_party/clang_format/bin/win/clang-format.exe.sha1",
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "clang_format_mac",
|
|
|
|
"pattern": "third_party/clang_format/bin/mac/clang-format.sha1",
|
|
|
|
"action": [ "download_from_google_storage",
|
|
|
|
"--no_resume",
|
|
|
|
"--platform=darwin",
|
|
|
|
"--no_auth",
|
|
|
|
"--bucket", "chromium-clang-format",
|
|
|
|
"-s", Var("root_dir") + "/third_party/clang_format/bin/mac/clang-format.sha1",
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "clang_format_linux",
|
|
|
|
"pattern": "third_party/clang_format/bin/linux/clang-format.sha1",
|
|
|
|
"action": [ "download_from_google_storage",
|
|
|
|
"--no_resume",
|
|
|
|
"--platform=linux*",
|
|
|
|
"--no_auth",
|
|
|
|
"--bucket", "chromium-clang-format",
|
|
|
|
"-s", Var("root_dir") + "/third_party/clang_format/bin/linux/clang-format.sha1",
|
|
|
|
],
|
|
|
|
},
|
2012-07-31 23:54:13 +02:00
|
|
|
{
|
2014-04-01 12:40:03 +02:00
|
|
|
# Pull clang if on Mac or clang is requested via GYP_DEFINES.
|
2012-07-31 23:54:13 +02:00
|
|
|
"pattern": ".",
|
2012-08-07 08:03:22 +02:00
|
|
|
"action": ["python", Var("root_dir") + "/tools/clang/scripts/update.py",
|
2014-04-01 12:40:03 +02:00
|
|
|
"--if-needed"],
|
2012-07-31 23:54:13 +02:00
|
|
|
},
|
|
|
|
{
|
2013-11-04 13:07:57 +01:00
|
|
|
# Download test resources, i.e. video and audio files from Google Storage.
|
|
|
|
"pattern": "\\.sha1",
|
|
|
|
"action": ["download_from_google_storage",
|
|
|
|
"--directory",
|
|
|
|
"--recursive",
|
|
|
|
"--num_threads=10",
|
2014-01-27 20:55:16 +01:00
|
|
|
"--no_auth",
|
2013-11-04 13:07:57 +01:00
|
|
|
"--bucket", "chromium-webrtc-resources",
|
|
|
|
Var("root_dir") + "/resources"],
|
2012-07-31 23:54:13 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
# A change to a .gyp, .gypi, or to GYP itself should run the generator.
|
2014-03-10 10:51:17 +01:00
|
|
|
"name": "gyp",
|
2012-07-31 23:54:13 +02:00
|
|
|
"pattern": ".",
|
2014-01-31 10:34:51 +01:00
|
|
|
"action": ["python", Var("root_dir") + "/webrtc/build/gyp_webrtc",
|
2012-08-09 19:37:03 +02:00
|
|
|
Var("extra_gyp_flag")],
|
2012-07-31 23:54:13 +02:00
|
|
|
},
|
|
|
|
]
|
|
|
|
|