blob: 4590ae4626ffa20cc7668a8673082102e067d9fb [file] [log] [blame]
andrew@webrtc.org29f91592011-09-16 05:26:16 +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",
andrew@webrtc.org29f91592011-09-16 05:26:16 +00005 "chromium_trunk" : "http://src.chromium.org/svn/trunk",
andrew@webrtc.orgfed18942012-05-01 21:03:10 +00006 "chromium_revision": "134666",
andrew@webrtc.orgf1a605c2011-10-21 15:29:16 +00007
kjellander@webrtc.org0c80c7f2011-11-23 14:11:16 +00008 # External resources like video and audio files used for testing purposes.
andrew@webrtc.orgc4ac3572011-11-23 18:37:51 +00009 # Downloaded on demand when needed.
tina.legrand@webrtc.orgfaa0ab82012-04-18 17:59:53 +000010 "webrtc_resources_revision": "9",
andrew@webrtc.org29f91592011-09-16 05:26:16 +000011}
12
andrew@webrtc.org57193f02012-02-16 01:20:15 +000013# NOTE: Prefer revision numbers to tags for svn deps. Use http rather than
14# https; the latter can cause problems for users behind proxies.
andrew@webrtc.org29f91592011-09-16 05:26:16 +000015deps = {
andrew@webrtc.org6241bee2012-02-23 21:32:37 +000016 "trunk/chromium_deps":
17 File(Var("chromium_trunk") + "/src/DEPS@" + Var("chromium_revision")),
18
andrew@webrtc.org29f91592011-09-16 05:26:16 +000019 "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
andrew@webrtc.org29f91592011-09-16 05:26:16 +000025 "trunk/testing/gmock":
andrew@webrtc.org6241bee2012-02-23 21:32:37 +000026 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
andrew@webrtc.org6241bee2012-02-23 21:32:37 +000034 "trunk/third_party/google-gflags/src":
35 (Var("googlecode_url") % "google-gflags") + "/trunk/src@45",
36
andrew@webrtc.org6241bee2012-02-23 21:32:37 +000037 "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":
stefan@webrtc.orgda12dde2012-04-25 19:16:00 +000044 "http://git.chromium.org/webm/libvpx.git@dba05389",
andrew@webrtc.org6241bee2012-02-23 21:32:37 +000045
46 "trunk/third_party/libyuv":
fbarchard@google.comefecc182012-05-02 00:41:29 +000047 (Var("googlecode_url") % "libyuv") + "/trunk@255",
andrew@webrtc.org6241bee2012-02-23 21:32:37 +000048
49 "trunk/third_party/protobuf":
50 Var("chromium_trunk") + "/src/third_party/protobuf@" + Var("chromium_revision"),
51
andrew@webrtc.org6241bee2012-02-23 21:32:37 +000052 "trunk/third_party/yasm":
phoglund@webrtc.org41be9be2012-03-21 08:01:05 +000053 Var("chromium_trunk") + "/src/third_party/yasm@" + Var("chromium_revision"),
andrew@webrtc.org6241bee2012-02-23 21:32:37 +000054
55 "trunk/third_party/yasm/source/patched-yasm":
phoglund@webrtc.org41be9be2012-03-21 08:01:05 +000056 From("trunk/chromium_deps", "src/third_party/yasm/source/patched-yasm"),
andrew@webrtc.org6241bee2012-02-23 21:32:37 +000057
58 "trunk/tools/clang":
59 Var("chromium_trunk") + "/src/tools/clang@" + Var("chromium_revision"),
andrew@webrtc.org29f91592011-09-16 05:26:16 +000060
61 "trunk/tools/gyp":
andrew@webrtc.org6241bee2012-02-23 21:32:37 +000062 From("trunk/chromium_deps", "src/tools/gyp"),
andrew@webrtc.org29f91592011-09-16 05:26:16 +000063
kjellander@webrtc.orgf7824d92011-11-25 14:13:27 +000064 "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
andrew@webrtc.org6241bee2012-02-23 21:32:37 +000070 # Needed by build/common.gypi.
71 "trunk/tools/win/supalink":
72 Var("chromium_trunk") + "/src/tools/win/supalink@" + Var("chromium_revision"),
andrew@webrtc.org29f91592011-09-16 05:26:16 +000073}
74
75deps_os = {
76 "win": {
andrew@webrtc.org6241bee2012-02-23 21:32:37 +000077 "trunk/third_party/cygwin":
andrew@webrtc.org336d52d2012-04-17 01:19:27 +000078 From("trunk/chromium_deps", "src/third_party/cygwin"),
andrew@webrtc.org6241bee2012-02-23 21:32:37 +000079
80 # Used by libjpeg-turbo.
81 "trunk/third_party/yasm/binaries":
82 From("trunk/chromium_deps", "src/third_party/yasm/binaries"),
83 },
84 "unix": {
85 "trunk/third_party/gold":
86 From("trunk/chromium_deps", "src/third_party/gold"),
87 },
andrew@webrtc.org29f91592011-09-16 05:26:16 +000088}
89
90hooks = [
91 {
andrew@webrtc.org710eac72012-05-08 18:00:57 +000092 # Create a supplement.gypi file under trunk/src. This file will be picked
93 # up by gyp and used to enable the standalone build.
andrew@webrtc.org29f91592011-09-16 05:26:16 +000094 "pattern": ".",
95 "action": ["python", "trunk/tools/create_supplement_gypi.py", "trunk/src/supplement.gypi"],
96 },
andrew@webrtc.org29f91592011-09-16 05:26:16 +000097 {
andrew@webrtc.orgf1a605c2011-10-21 15:29:16 +000098 # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
99 # zero seconds to run. If something changed, it downloads a prebuilt clang.
100 "pattern": ".",
101 "action": ["python", "trunk/tools/clang/scripts/update.py", "--mac-only"],
102 },
103 {
kjellander@webrtc.org0c80c7f2011-11-23 14:11:16 +0000104 # Download test resources, i.e. video and audio files. If the latest
105 # version is already downloaded, this takes zero seconds to run.
106 # If a newer version or no current download exists, it will download
andrew@webrtc.orgc4ac3572011-11-23 18:37:51 +0000107 # the resources and extract them.
kjellander@webrtc.org0c80c7f2011-11-23 14:11:16 +0000108 "pattern": ".",
109 "action": ["python", "trunk/tools/resources/update.py"],
110 },
111 {
andrew@webrtc.orgf1a605c2011-10-21 15:29:16 +0000112 # A change to a .gyp, .gypi, or to GYP itself should run the generator.
andrew@webrtc.org29f91592011-09-16 05:26:16 +0000113 "pattern": ".",
114 "action": ["python", "trunk/build/gyp_chromium", "--depth=trunk", "trunk/webrtc.gyp"],
115 },
116]
117