blob: 6047c8e42e670731699eedb52d0d23c0e8e99e8a [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.orgd3131ed2011-12-21 16:25:30 +00006 "chromium_revision": "114939",
mflodman@webrtc.orga4863db2011-12-22 08:51:52 +00007 "libjingle_revision": "101",
andrew@webrtc.orgf1a605c2011-10-21 15:29:16 +00008
kjellander@webrtc.org0c80c7f2011-11-23 14:11:16 +00009 # External resources like video and audio files used for testing purposes.
andrew@webrtc.orgc4ac3572011-11-23 18:37:51 +000010 # Downloaded on demand when needed.
kjellander@webrtc.org08dec7f2011-12-16 10:31:38 +000011 "webrtc_resources_revision": "4",
andrew@webrtc.org29f91592011-09-16 05:26:16 +000012}
13
andrew@webrtc.org82f66a72011-09-27 10:47:25 +000014# NOTE: Prefer revision numbers to tags for svn deps.
andrew@webrtc.org29f91592011-09-16 05:26:16 +000015deps = {
16 "trunk/build":
17 Var("chromium_trunk") + "/src/build@" + Var("chromium_revision"),
18
19 "trunk/testing":
20 Var("chromium_trunk") + "/src/testing@" + Var("chromium_revision"),
21
22 "trunk/testing/gtest":
23 (Var("googlecode_url") % "googletest") + "/trunk@573",
24
25 "trunk/testing/gmock":
26 (Var("googlecode_url") % "googlemock") + "/trunk@386",
27
28 "trunk/tools/gyp":
andrew@webrtc.orgd3131ed2011-12-21 16:25:30 +000029 (Var("googlecode_url") % "gyp") + "/trunk@1107",
andrew@webrtc.orgf1a605c2011-10-21 15:29:16 +000030
31 # Needed by build/common.gypi.
32 "trunk/tools/win/supalink":
33 Var("chromium_trunk") + "/src/tools/win/supalink@" + Var("chromium_revision"),
34
35 "trunk/tools/clang/scripts":
36 Var("chromium_trunk") + "/src/tools/clang/scripts@" + Var("chromium_revision"),
andrew@webrtc.org29f91592011-09-16 05:26:16 +000037
kjellander@webrtc.orgf7824d92011-11-25 14:13:27 +000038 "trunk/tools/python":
39 Var("chromium_trunk") + "/src/tools/python@" + Var("chromium_revision"),
40
41 "trunk/tools/valgrind":
42 Var("chromium_trunk") + "/src/tools/valgrind@" + Var("chromium_revision"),
43
andrew@webrtc.org29f91592011-09-16 05:26:16 +000044 "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",
andrew@webrtc.orgbbea7162011-12-09 19:43:12 +000079
mikhal@webrtc.org2cdb2d32011-11-28 18:09:41 +000080 "trunk/third_party/libyuv":
andrew@webrtc.org981d74d2011-12-12 05:48:56 +000081 (Var("googlecode_url") % "libyuv") + "/trunk@101",
andrew@webrtc.org29f91592011-09-16 05:26:16 +000082}
83
84deps_os = {
85 "win": {
86 "trunk/third_party/cygwin/":
87 Var("chromium_trunk") + "/deps/third_party/cygwin@66844",
88 }
89}
90
91hooks = [
92 {
93 # Create a supplement.gypi file under trunk/. This file will be picked up
94 # by gyp and we use it to set Chromium related variables (inside_chromium_build)
95 # to 0 and enable the standalone build.
96 "pattern": ".",
97 "action": ["python", "trunk/tools/create_supplement_gypi.py", "trunk/src/supplement.gypi"],
98 },
andrew@webrtc.org29f91592011-09-16 05:26:16 +000099 {
andrew@webrtc.orgf1a605c2011-10-21 15:29:16 +0000100 # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
101 # zero seconds to run. If something changed, it downloads a prebuilt clang.
102 "pattern": ".",
103 "action": ["python", "trunk/tools/clang/scripts/update.py", "--mac-only"],
104 },
105 {
kjellander@webrtc.org0c80c7f2011-11-23 14:11:16 +0000106 # Download test resources, i.e. video and audio files. If the latest
107 # version is already downloaded, this takes zero seconds to run.
108 # If a newer version or no current download exists, it will download
andrew@webrtc.orgc4ac3572011-11-23 18:37:51 +0000109 # the resources and extract them.
kjellander@webrtc.org0c80c7f2011-11-23 14:11:16 +0000110 "pattern": ".",
111 "action": ["python", "trunk/tools/resources/update.py"],
112 },
113 {
andrew@webrtc.orgf1a605c2011-10-21 15:29:16 +0000114 # A change to a .gyp, .gypi, or to GYP itself should run the generator.
andrew@webrtc.org29f91592011-09-16 05:26:16 +0000115 "pattern": ".",
116 "action": ["python", "trunk/build/gyp_chromium", "--depth=trunk", "trunk/webrtc.gyp"],
117 },
118]
119