blob: 50ab1f5bd19bc4ff030e2bd0a108b6fe637f1761 [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",
andrew@webrtc.org29f91592011-09-16 05:26:16 +000014}
15
andrew@webrtc.org82f66a72011-09-27 10:47:25 +000016# NOTE: Prefer revision numbers to tags for svn deps.
andrew@webrtc.org29f91592011-09-16 05:26:16 +000017deps = {
18 "trunk/build":
19 Var("chromium_trunk") + "/src/build@" + Var("chromium_revision"),
20
21 "trunk/testing":
22 Var("chromium_trunk") + "/src/testing@" + Var("chromium_revision"),
23
24 "trunk/testing/gtest":
25 (Var("googlecode_url") % "googletest") + "/trunk@573",
26
27 "trunk/testing/gmock":
28 (Var("googlecode_url") % "googlemock") + "/trunk@386",
29
30 "trunk/tools/gyp":
andrew@webrtc.orgf1a605c2011-10-21 15:29:16 +000031 (Var("googlecode_url") % "gyp") + "/trunk@1080",
32
33 # Needed by build/common.gypi.
34 "trunk/tools/win/supalink":
35 Var("chromium_trunk") + "/src/tools/win/supalink@" + Var("chromium_revision"),
36
37 "trunk/tools/clang/scripts":
38 Var("chromium_trunk") + "/src/tools/clang/scripts@" + Var("chromium_revision"),
andrew@webrtc.org29f91592011-09-16 05:26:16 +000039
40 "trunk/third_party/protobuf/":
41 Var("chromium_trunk") + "/src/third_party/protobuf@" + Var("chromium_revision"),
42
andrew@webrtc.org29f91592011-09-16 05:26:16 +000043 "trunk/third_party/libvpx/source/libvpx":
marpan@webrtc.org41f38552011-11-10 02:13:38 +000044 "http://git.chromium.org/webm/libvpx.git@b615a6d4",
andrew@webrtc.org29f91592011-09-16 05:26:16 +000045
46 "trunk/third_party/libjpeg_turbo/":
47 Var("chromium_trunk") + "/deps/third_party/libjpeg_turbo@95800",
48
49 "trunk/third_party/libjpeg/":
50 Var("chromium_trunk") + "/src/third_party/libjpeg@" + 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/expat/":
56 Var("chromium_trunk") + "/src/third_party/expat@" + Var("chromium_revision"),
57
58 "trunk/third_party/libjingle/":
59 Var("chromium_trunk") + "/src/third_party/libjingle@" + Var("chromium_revision"),
60
61 "trunk/third_party/google-gflags/src":
62 (Var("googlecode_url") % "google-gflags") + "/trunk/src@45",
63
64 "trunk/third_party/libjingle/source":
65 (Var("googlecode_url") % "libjingle") + "/trunk@" + Var("libjingle_revision"),
66
67 "trunk/third_party/yasm/source/patched-yasm":
68 Var("chromium_trunk") + "/deps/third_party/yasm/patched-yasm@73761",
69 # Used by libjpeg-turbo
70 "trunk/third_party/yasm/binaries":
71 Var("chromium_trunk") + "/deps/third_party/yasm/binaries@74228",
72
73 "trunk/third_party/jsoncpp/":
74 "http://jsoncpp.svn.sourceforge.net/svnroot/jsoncpp/trunk/jsoncpp@246",
75}
76
77deps_os = {
78 "win": {
79 "trunk/third_party/cygwin/":
80 Var("chromium_trunk") + "/deps/third_party/cygwin@66844",
81 }
82}
83
84hooks = [
85 {
86 # Create a supplement.gypi file under trunk/. This file will be picked up
87 # by gyp and we use it to set Chromium related variables (inside_chromium_build)
88 # to 0 and enable the standalone build.
89 "pattern": ".",
90 "action": ["python", "trunk/tools/create_supplement_gypi.py", "trunk/src/supplement.gypi"],
91 },
andrew@webrtc.org29f91592011-09-16 05:26:16 +000092 {
andrew@webrtc.orgf1a605c2011-10-21 15:29:16 +000093 # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
94 # zero seconds to run. If something changed, it downloads a prebuilt clang.
95 "pattern": ".",
96 "action": ["python", "trunk/tools/clang/scripts/update.py", "--mac-only"],
97 },
98 {
99 # A change to a .gyp, .gypi, or to GYP itself should run the generator.
andrew@webrtc.org29f91592011-09-16 05:26:16 +0000100 "pattern": ".",
101 "action": ["python", "trunk/build/gyp_chromium", "--depth=trunk", "trunk/webrtc.gyp"],
102 },
103]
104