2013-02-09 20:16:09 -08:00
|
|
|
use_relative_paths = True
|
|
|
|
|
2012-06-21 04:34:58 -07:00
|
|
|
vars = {
|
|
|
|
"libyuv_trunk" : "https://libyuv.googlecode.com/svn/trunk",
|
2013-02-09 20:16:09 -08:00
|
|
|
|
|
|
|
# Override root_dir in your .gclient's custom_vars to specify a custom root
|
|
|
|
# folder name.
|
|
|
|
"root_dir": "trunk",
|
|
|
|
"extra_gyp_flag": "-Dextra_gyp_flag=0",
|
|
|
|
|
2012-06-21 04:34:58 -07: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-02-09 20:16:09 -08:00
|
|
|
"chromium_trunk" : "http://src.chromium.org/svn/trunk",
|
2014-01-30 16:53:28 -08:00
|
|
|
# chrome://version/ for revision of canary Chrome.
|
|
|
|
"chromium_revision": "232627",
|
2012-06-21 04:34:58 -07:00
|
|
|
}
|
|
|
|
|
2013-02-09 20:16:09 -08:00
|
|
|
# NOTE: Prefer revision numbers to tags for svn deps. Use http rather than
|
|
|
|
# https; the latter can cause problems for users behind proxies.
|
2012-06-21 04:34:58 -07:00
|
|
|
deps = {
|
2013-02-09 20:16:09 -08:00
|
|
|
"../chromium_deps":
|
|
|
|
File(Var("chromium_trunk") + "/src/DEPS@" + Var("chromium_revision")),
|
|
|
|
|
|
|
|
"build":
|
2012-06-21 04:34:58 -07:00
|
|
|
Var("chromium_trunk") + "/src/build@" + Var("chromium_revision"),
|
|
|
|
|
2014-01-30 16:53:28 -08:00
|
|
|
# Needed by common.gypi.
|
|
|
|
"google_apis/build":
|
|
|
|
Var("chromium_trunk") + "/src/google_apis/build@" + Var("chromium_revision"),
|
|
|
|
|
2013-02-09 20:16:09 -08:00
|
|
|
"testing":
|
2012-06-21 04:34:58 -07:00
|
|
|
Var("chromium_trunk") + "/src/testing@" + Var("chromium_revision"),
|
|
|
|
|
2013-02-09 20:16:09 -08:00
|
|
|
"testing/gtest":
|
|
|
|
From("chromium_deps", "src/testing/gtest"),
|
|
|
|
|
|
|
|
"tools/clang":
|
|
|
|
Var("chromium_trunk") + "/src/tools/clang@" + Var("chromium_revision"),
|
|
|
|
|
|
|
|
"tools/gyp":
|
|
|
|
From("chromium_deps", "src/tools/gyp"),
|
2012-06-21 04:34:58 -07:00
|
|
|
|
2013-02-09 20:16:09 -08:00
|
|
|
"tools/python":
|
|
|
|
Var("chromium_trunk") + "/src/tools/python@" + Var("chromium_revision"),
|
|
|
|
|
|
|
|
"tools/valgrind":
|
|
|
|
Var("chromium_trunk") + "/src/tools/valgrind@" + Var("chromium_revision"),
|
2012-06-21 04:34:58 -07:00
|
|
|
|
2012-10-04 09:09:31 -07:00
|
|
|
# Needed by build/common.gypi.
|
2013-02-09 20:16:09 -08:00
|
|
|
"tools/win/supalink":
|
2012-10-04 09:09:31 -07:00
|
|
|
Var("chromium_trunk") + "/src/tools/win/supalink@" + Var("chromium_revision"),
|
|
|
|
|
2013-02-09 20:16:09 -08:00
|
|
|
"third_party/libjpeg_turbo":
|
|
|
|
From("chromium_deps", "src/third_party/libjpeg_turbo"),
|
2012-10-04 09:09:31 -07:00
|
|
|
|
|
|
|
# Yasm assember required for libjpeg_turbo
|
2013-02-09 20:16:09 -08:00
|
|
|
"third_party/yasm":
|
2014-01-30 16:53:28 -08:00
|
|
|
Var("chromium_trunk") + "/src/third_party/yasm@" + Var("chromium_revision"),
|
2012-10-04 09:09:31 -07:00
|
|
|
|
2013-02-09 20:16:09 -08:00
|
|
|
"third_party/yasm/source/patched-yasm":
|
2014-01-30 16:53:28 -08:00
|
|
|
Var("chromium_trunk") + "/deps/third_party/yasm/patched-yasm@" + Var("chromium_revision"),
|
2012-06-21 04:34:58 -07:00
|
|
|
}
|
|
|
|
|
2012-10-04 09:09:31 -07:00
|
|
|
deps_os = {
|
|
|
|
"win": {
|
2013-02-09 20:16:09 -08:00
|
|
|
# Use WebRTC's, stripped down, version of Cygwin (required by GYP).
|
|
|
|
"third_party/cygwin":
|
|
|
|
(Var("googlecode_url") % "webrtc") + "/deps/third_party/cygwin@2672",
|
|
|
|
|
|
|
|
# Used by libjpeg-turbo.
|
|
|
|
# TODO(fbarchard): Remove binaries and run yasm from build folder.
|
|
|
|
"third_party/yasm/binaries":
|
2014-01-30 16:53:28 -08:00
|
|
|
Var("chromium_trunk") + "/deps/third_party/yasm/binaries@" + Var("chromium_revision"),
|
2013-02-09 20:16:09 -08:00
|
|
|
"third_party/yasm": None,
|
|
|
|
},
|
|
|
|
"unix": {
|
|
|
|
"third_party/gold":
|
|
|
|
From("chromium_deps", "src/third_party/gold"),
|
|
|
|
},
|
2014-01-30 16:53:28 -08:00
|
|
|
"android": {
|
|
|
|
"third_party/android_tools":
|
|
|
|
From("chromium_deps", "src/third_party/android_tools"),
|
|
|
|
|
|
|
|
"third_party/libjpeg":
|
|
|
|
From("chromium_deps", "src/third_party/libjpeg"),
|
|
|
|
},
|
|
|
|
"ios": {
|
|
|
|
# NSS, for SSLClientSocketNSS.
|
|
|
|
"third_party/nss":
|
|
|
|
From("chromium_deps", "src/third_party/nss"),
|
|
|
|
|
|
|
|
"net/third_party/nss":
|
|
|
|
Var("chromium_trunk") + "/src/net/third_party/nss@" + Var("chromium_revision"),
|
|
|
|
|
|
|
|
# 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"),
|
|
|
|
},
|
2012-10-04 09:09:31 -07:00
|
|
|
}
|
2012-06-21 04:34:58 -07:00
|
|
|
|
|
|
|
hooks = [
|
|
|
|
{
|
2013-02-09 20:16:09 -08: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", Var("root_dir") + "/tools/clang/scripts/update.py",
|
|
|
|
"--mac-only"],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
# A change to a .gyp, .gypi, or to GYP itself should run the generator.
|
2012-06-21 04:34:58 -07:00
|
|
|
"pattern": ".",
|
2013-02-09 20:16:09 -08:00
|
|
|
"action": ["python", Var("root_dir") + "/build/gyp_chromium",
|
2014-01-30 16:53:28 -08:00
|
|
|
"--depth=" + Var("root_dir"), Var("root_dir") + "/all.gyp",
|
2013-02-09 20:16:09 -08:00
|
|
|
Var("extra_gyp_flag")],
|
2012-06-21 04:34:58 -07:00
|
|
|
},
|
2014-01-30 16:53:28 -08: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-06-21 04:34:58 -07:00
|
|
|
]
|