blob: e93fa59d65fe8094fcc1b8303ff48104bee4ac57 [file] [log] [blame]
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +00001vars = {
2 # Use this googlecode_url variable only if there is an internal mirror for it.
3 # If you do not know, use the full path while defining your new deps entry.
4 "googlecode_url": "http://%s.googlecode.com/svn",
5 "chromium_trunk" : "http://src.chromium.org/svn/trunk",
6 "chromium_revision": "143348",
7
8 # External resources like video and audio files used for testing purposes.
9 # Downloaded on demand when needed.
10 "webrtc_resources_revision": "9",
11}
12
13# NOTE: Prefer revision numbers to tags for svn deps. Use http rather than
14# https; the latter can cause problems for users behind proxies.
15deps = {
16 "trunk/chromium_deps":
17 File(Var("chromium_trunk") + "/src/DEPS@" + Var("chromium_revision")),
18
19 "trunk/build":
20 Var("chromium_trunk") + "/src/build@" + Var("chromium_revision"),
21
22 "trunk/testing":
23 Var("chromium_trunk") + "/src/testing@" + Var("chromium_revision"),
24
25 "trunk/testing/gmock":
26 From("trunk/chromium_deps", "src/testing/gmock"),
27
28 "trunk/testing/gtest":
29 From("trunk/chromium_deps", "src/testing/gtest"),
30
31 "trunk/third_party/expat":
32 Var("chromium_trunk") + "/src/third_party/expat@" + Var("chromium_revision"),
33
34 "trunk/third_party/google-gflags/src":
35 (Var("googlecode_url") % "google-gflags") + "/trunk/src@45",
36
37 "trunk/third_party/libjpeg":
38 Var("chromium_trunk") + "/src/third_party/libjpeg@" + Var("chromium_revision"),
39
40 "trunk/third_party/libjpeg_turbo":
41 From("trunk/chromium_deps", "src/third_party/libjpeg_turbo"),
42
43 "trunk/third_party/libvpx/source/libvpx":
44 "http://git.chromium.org/webm/libvpx.git@cab6ac16",
45
46 "trunk/third_party/libyuv":
47 (Var("googlecode_url") % "libyuv") + "/trunk@255",
48
49 "trunk/third_party/protobuf":
50 Var("chromium_trunk") + "/src/third_party/protobuf@" + Var("chromium_revision"),
51
52 "trunk/third_party/yasm":
53 Var("chromium_trunk") + "/src/third_party/yasm@" + Var("chromium_revision"),
54
55 "trunk/third_party/yasm/source/patched-yasm":
56 From("trunk/chromium_deps", "src/third_party/yasm/source/patched-yasm"),
57
58 "trunk/tools/clang":
59 Var("chromium_trunk") + "/src/tools/clang@" + Var("chromium_revision"),
60
61 "trunk/tools/gyp":
62 From("trunk/chromium_deps", "src/tools/gyp"),
63
64 "trunk/tools/python":
65 Var("chromium_trunk") + "/src/tools/python@" + Var("chromium_revision"),
66
67 "trunk/tools/valgrind":
68 Var("chromium_trunk") + "/src/tools/valgrind@" + Var("chromium_revision"),
69
70 # Needed by build/common.gypi.
71 "trunk/tools/win/supalink":
72 Var("chromium_trunk") + "/src/tools/win/supalink@" + Var("chromium_revision"),
73}
74
75deps_os = {
76 "win": {
77 # Use our own, stripped down, version of Cygwin (required by GYP).
78 "trunk/third_party/cygwin":
79 (Var("googlecode_url") % "webrtc") + "/deps/third_party/cygwin",
80
81 # Used by libjpeg-turbo.
82 "trunk/third_party/yasm/binaries":
83 From("trunk/chromium_deps", "src/third_party/yasm/binaries"),
84 },
85 "unix": {
86 "trunk/third_party/gold":
87 From("trunk/chromium_deps", "src/third_party/gold"),
88 },
89}
90
91hooks = [
92 {
93 # Create a supplement.gypi file under trunk/src. This file will be picked
94 # up by gyp and used to enable the standalone build.
95 "pattern": ".",
96 "action": ["python", "trunk/tools/create_supplement_gypi.py", "trunk/src/supplement.gypi"],
97 },
98 {
99 # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
100 # zero seconds to run. If something changed, it downloads a prebuilt clang.
101 "pattern": ".",
102 "action": ["python", "trunk/tools/clang/scripts/update.py", "--mac-only"],
103 },
104 {
105 # Download test resources, i.e. video and audio files. If the latest
106 # version is already downloaded, this takes zero seconds to run.
107 # If a newer version or no current download exists, it will download
108 # the resources and extract them.
109 "pattern": ".",
110 "action": ["python", "trunk/tools/resources/update.py"],
111 },
112 {
113 # A change to a .gyp, .gypi, or to GYP itself should run the generator.
114 "pattern": ".",
115 "action": ["python", "trunk/build/gyp_chromium", "--depth=trunk", "trunk/webrtc.gyp"],
116 },
117]
118