blob: 550f4ba910420c51933c75b0a0ed7aebb7a98b44 [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.orgf1a605c2011-10-21 15:29:16 +00006 "chromium_revision": "106036",
wu@webrtc.org6c2d7102011-10-13 16:58:50 +00007 "libjingle_revision": "87",
andrew@webrtc.orgf1a605c2011-10-21 15:29:16 +00008
9 # Note: On most bots, clang is not checked out via DEPS but by
10 # tools/clang/scripts/update.sh. The script reads this line here.
11 # Do NOT CHANGE this if you don't know what you're doing -- see
12 # http://code.google.com/p/chromium/wiki/UpdatingClang
13 "clang_revision": "142072",
kjellander@webrtc.org0c80c7f2011-11-23 14:11:16 +000014
15 # External resources like video and audio files used for testing purposes.
andrew@webrtc.orgc4ac3572011-11-23 18:37:51 +000016 # Downloaded on demand when needed.
kjellander@webrtc.org0c80c7f2011-11-23 14:11:16 +000017 "webrtc_resources_revision": "1",
andrew@webrtc.org29f91592011-09-16 05:26:16 +000018}
19
andrew@webrtc.org82f66a72011-09-27 10:47:25 +000020# NOTE: Prefer revision numbers to tags for svn deps.
andrew@webrtc.org29f91592011-09-16 05:26:16 +000021deps = {
22 "trunk/build":
23 Var("chromium_trunk") + "/src/build@" + Var("chromium_revision"),
24
25 "trunk/testing":
26 Var("chromium_trunk") + "/src/testing@" + Var("chromium_revision"),
27
28 "trunk/testing/gtest":
29 (Var("googlecode_url") % "googletest") + "/trunk@573",
30
31 "trunk/testing/gmock":
32 (Var("googlecode_url") % "googlemock") + "/trunk@386",
33
34 "trunk/tools/gyp":
andrew@webrtc.orgf1a605c2011-10-21 15:29:16 +000035 (Var("googlecode_url") % "gyp") + "/trunk@1080",
36
37 # Needed by build/common.gypi.
38 "trunk/tools/win/supalink":
39 Var("chromium_trunk") + "/src/tools/win/supalink@" + Var("chromium_revision"),
40
41 "trunk/tools/clang/scripts":
42 Var("chromium_trunk") + "/src/tools/clang/scripts@" + Var("chromium_revision"),
andrew@webrtc.org29f91592011-09-16 05:26:16 +000043
44 "trunk/third_party/protobuf/":
45 Var("chromium_trunk") + "/src/third_party/protobuf@" + Var("chromium_revision"),
46
andrew@webrtc.org29f91592011-09-16 05:26:16 +000047 "trunk/third_party/libvpx/source/libvpx":
mikhal@webrtc.org3041c622011-11-18 00:29:26 +000048 "http://git.chromium.org/webm/libvpx.git@bdd35c13",
andrew@webrtc.org29f91592011-09-16 05:26:16 +000049
50 "trunk/third_party/libjpeg_turbo/":
51 Var("chromium_trunk") + "/deps/third_party/libjpeg_turbo@95800",
52
53 "trunk/third_party/libjpeg/":
54 Var("chromium_trunk") + "/src/third_party/libjpeg@" + Var("chromium_revision"),
55
56 "trunk/third_party/yasm/":
57 Var("chromium_trunk") + "/src/third_party/yasm@" + Var("chromium_revision"),
58
59 "trunk/third_party/expat/":
60 Var("chromium_trunk") + "/src/third_party/expat@" + Var("chromium_revision"),
61
62 "trunk/third_party/libjingle/":
63 Var("chromium_trunk") + "/src/third_party/libjingle@" + Var("chromium_revision"),
64
65 "trunk/third_party/google-gflags/src":
66 (Var("googlecode_url") % "google-gflags") + "/trunk/src@45",
67
68 "trunk/third_party/libjingle/source":
69 (Var("googlecode_url") % "libjingle") + "/trunk@" + Var("libjingle_revision"),
70
71 "trunk/third_party/yasm/source/patched-yasm":
72 Var("chromium_trunk") + "/deps/third_party/yasm/patched-yasm@73761",
73 # Used by libjpeg-turbo
74 "trunk/third_party/yasm/binaries":
75 Var("chromium_trunk") + "/deps/third_party/yasm/binaries@74228",
76
77 "trunk/third_party/jsoncpp/":
78 "http://jsoncpp.svn.sourceforge.net/svnroot/jsoncpp/trunk/jsoncpp@246",
79}
80
81deps_os = {
82 "win": {
83 "trunk/third_party/cygwin/":
84 Var("chromium_trunk") + "/deps/third_party/cygwin@66844",
85 }
86}
87
88hooks = [
89 {
90 # Create a supplement.gypi file under trunk/. This file will be picked up
91 # by gyp and we use it to set Chromium related variables (inside_chromium_build)
92 # to 0 and enable the standalone build.
93 "pattern": ".",
94 "action": ["python", "trunk/tools/create_supplement_gypi.py", "trunk/src/supplement.gypi"],
95 },
andrew@webrtc.org29f91592011-09-16 05:26:16 +000096 {
andrew@webrtc.orgf1a605c2011-10-21 15:29:16 +000097 # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
98 # zero seconds to run. If something changed, it downloads a prebuilt clang.
99 "pattern": ".",
100 "action": ["python", "trunk/tools/clang/scripts/update.py", "--mac-only"],
101 },
102 {
kjellander@webrtc.org0c80c7f2011-11-23 14:11:16 +0000103 # Download test resources, i.e. video and audio files. If the latest
104 # version is already downloaded, this takes zero seconds to run.
105 # If a newer version or no current download exists, it will download
andrew@webrtc.orgc4ac3572011-11-23 18:37:51 +0000106 # the resources and extract them.
kjellander@webrtc.org0c80c7f2011-11-23 14:11:16 +0000107 "pattern": ".",
108 "action": ["python", "trunk/tools/resources/update.py"],
109 },
110 {
andrew@webrtc.orgf1a605c2011-10-21 15:29:16 +0000111 # A change to a .gyp, .gypi, or to GYP itself should run the generator.
andrew@webrtc.org29f91592011-09-16 05:26:16 +0000112 "pattern": ".",
113 "action": ["python", "trunk/build/gyp_chromium", "--depth=trunk", "trunk/webrtc.gyp"],
114 },
115]
116