blob: ce715a32969f38c5dbb27124f8556578ed254717 [file] [log] [blame]
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +00001use_relative_paths = True
2
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +00003vars = {
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +00004 # Override root_dir in your .gclient's custom_vars to specify a custom root
5 # folder name.
6 "root_dir": "trunk",
7
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +00008 # Use this googlecode_url variable only if there is an internal mirror for it.
9 # If you do not know, use the full path while defining your new deps entry.
10 "googlecode_url": "http://%s.googlecode.com/svn",
11 "chromium_trunk" : "http://src.chromium.org/svn/trunk",
12 "chromium_revision": "143348",
13
14 # External resources like video and audio files used for testing purposes.
15 # Downloaded on demand when needed.
16 "webrtc_resources_revision": "9",
17}
18
19# NOTE: Prefer revision numbers to tags for svn deps. Use http rather than
20# https; the latter can cause problems for users behind proxies.
21deps = {
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +000022 "../chromium_deps":
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000023 File(Var("chromium_trunk") + "/src/DEPS@" + Var("chromium_revision")),
24
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +000025 "build":
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000026 Var("chromium_trunk") + "/src/build@" + Var("chromium_revision"),
27
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +000028 "testing":
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000029 Var("chromium_trunk") + "/src/testing@" + Var("chromium_revision"),
30
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +000031 "testing/gmock":
32 From("chromium_deps", "src/testing/gmock"),
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000033
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +000034 "testing/gtest":
35 From("chromium_deps", "src/testing/gtest"),
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000036
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +000037 "third_party/expat":
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000038 Var("chromium_trunk") + "/src/third_party/expat@" + Var("chromium_revision"),
39
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +000040 "third_party/google-gflags/src":
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000041 (Var("googlecode_url") % "google-gflags") + "/trunk/src@45",
42
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +000043 "third_party/libjpeg":
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000044 Var("chromium_trunk") + "/src/third_party/libjpeg@" + Var("chromium_revision"),
45
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +000046 "third_party/libjpeg_turbo":
47 From("chromium_deps", "src/third_party/libjpeg_turbo"),
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000048
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +000049 "third_party/libvpx/source/libvpx":
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000050 "http://git.chromium.org/webm/libvpx.git@cab6ac16",
51
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +000052 "third_party/libyuv":
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000053 (Var("googlecode_url") % "libyuv") + "/trunk@255",
54
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +000055 "third_party/protobuf":
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000056 Var("chromium_trunk") + "/src/third_party/protobuf@" + Var("chromium_revision"),
57
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +000058 "third_party/yasm":
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000059 Var("chromium_trunk") + "/src/third_party/yasm@" + Var("chromium_revision"),
60
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +000061 "third_party/yasm/source/patched-yasm":
62 From("chromium_deps", "src/third_party/yasm/source/patched-yasm"),
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000063
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +000064 "tools/clang":
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000065 Var("chromium_trunk") + "/src/tools/clang@" + Var("chromium_revision"),
66
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +000067 "tools/gyp":
68 From("chromium_deps", "src/tools/gyp"),
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000069
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +000070 "tools/python":
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000071 Var("chromium_trunk") + "/src/tools/python@" + Var("chromium_revision"),
72
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +000073 "tools/valgrind":
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000074 Var("chromium_trunk") + "/src/tools/valgrind@" + Var("chromium_revision"),
75
76 # Needed by build/common.gypi.
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +000077 "tools/win/supalink":
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000078 Var("chromium_trunk") + "/src/tools/win/supalink@" + Var("chromium_revision"),
79}
80
81deps_os = {
82 "win": {
83 # Use our own, stripped down, version of Cygwin (required by GYP).
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +000084 "third_party/cygwin":
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000085 (Var("googlecode_url") % "webrtc") + "/deps/third_party/cygwin",
86
87 # Used by libjpeg-turbo.
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +000088 "third_party/yasm/binaries":
89 From("chromium_deps", "src/third_party/yasm/binaries"),
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000090 },
91 "unix": {
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +000092 "third_party/gold":
93 From("chromium_deps", "src/third_party/gold"),
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000094 },
95}
96
97hooks = [
98 {
99 # Create a supplement.gypi file under trunk/src. This file will be picked
100 # up by gyp and used to enable the standalone build.
101 "pattern": ".",
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +0000102 "action": ["python", Var("root_dir") + "/tools/create_supplement_gypi.py",
103 Var("root_dir") + "/src/supplement.gypi"],
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +0000104 },
105 {
106 # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
107 # zero seconds to run. If something changed, it downloads a prebuilt clang.
108 "pattern": ".",
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +0000109 "action": ["python", Var("root_dir") + "/tools/clang/scripts/update.py",
110 "--mac-only"],
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +0000111 },
112 {
113 # Download test resources, i.e. video and audio files. If the latest
114 # version is already downloaded, this takes zero seconds to run.
115 # If a newer version or no current download exists, it will download
116 # the resources and extract them.
117 "pattern": ".",
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +0000118 "action": ["python", Var("root_dir") + "/tools/resources/update.py"],
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +0000119 },
120 {
121 # A change to a .gyp, .gypi, or to GYP itself should run the generator.
122 "pattern": ".",
andrew@webrtc.org9a3f83f2012-08-07 06:03:22 +0000123 "action": ["python", Var("root_dir") + "/build/gyp_chromium",
124 "--depth=" + Var("root_dir"), Var("root_dir") + "/webrtc.gyp"],
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +0000125 },
126]
127