blob: 255ce4f09a496dd2c4dfdfa5b807a46a17d4488f [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",
6 "chromium_revision": "98568",
wu@webrtc.orgcb99f782011-09-19 21:59:33 +00007 "libjingle_revision": "85",
andrew@webrtc.org29f91592011-09-16 05:26:16 +00008}
9
andrew@webrtc.org82f66a72011-09-27 10:47:25 +000010# NOTE: Prefer revision numbers to tags for svn deps.
andrew@webrtc.org29f91592011-09-16 05:26:16 +000011deps = {
12 "trunk/build":
13 Var("chromium_trunk") + "/src/build@" + Var("chromium_revision"),
14
15 "trunk/testing":
16 Var("chromium_trunk") + "/src/testing@" + Var("chromium_revision"),
17
18 "trunk/testing/gtest":
19 (Var("googlecode_url") % "googletest") + "/trunk@573",
20
21 "trunk/testing/gmock":
22 (Var("googlecode_url") % "googlemock") + "/trunk@386",
23
24 "trunk/tools/gyp":
25 (Var("googlecode_url") % "gyp") + "/trunk@1012",
26
27 "trunk/third_party/protobuf/":
28 Var("chromium_trunk") + "/src/third_party/protobuf@" + Var("chromium_revision"),
29
andrew@webrtc.org29f91592011-09-16 05:26:16 +000030 "trunk/third_party/libvpx/source/libvpx":
andrew@webrtc.org82f66a72011-09-27 10:47:25 +000031 "http://git.chromium.org/webm/libvpx.git@v0.9.7-p1",
andrew@webrtc.org29f91592011-09-16 05:26:16 +000032
33 "trunk/third_party/libjpeg_turbo/":
34 Var("chromium_trunk") + "/deps/third_party/libjpeg_turbo@95800",
35
36 "trunk/third_party/libjpeg/":
37 Var("chromium_trunk") + "/src/third_party/libjpeg@" + Var("chromium_revision"),
38
39 "trunk/third_party/yasm/":
40 Var("chromium_trunk") + "/src/third_party/yasm@" + Var("chromium_revision"),
41
42 "trunk/third_party/expat/":
43 Var("chromium_trunk") + "/src/third_party/expat@" + Var("chromium_revision"),
44
45 "trunk/third_party/libjingle/":
46 Var("chromium_trunk") + "/src/third_party/libjingle@" + Var("chromium_revision"),
47
48 "trunk/third_party/google-gflags/src":
49 (Var("googlecode_url") % "google-gflags") + "/trunk/src@45",
50
51 "trunk/third_party/libjingle/source":
52 (Var("googlecode_url") % "libjingle") + "/trunk@" + Var("libjingle_revision"),
53
54 "trunk/third_party/yasm/source/patched-yasm":
55 Var("chromium_trunk") + "/deps/third_party/yasm/patched-yasm@73761",
56 # Used by libjpeg-turbo
57 "trunk/third_party/yasm/binaries":
58 Var("chromium_trunk") + "/deps/third_party/yasm/binaries@74228",
59
60 "trunk/third_party/jsoncpp/":
61 "http://jsoncpp.svn.sourceforge.net/svnroot/jsoncpp/trunk/jsoncpp@246",
62}
63
64deps_os = {
65 "win": {
66 "trunk/third_party/cygwin/":
67 Var("chromium_trunk") + "/deps/third_party/cygwin@66844",
68 }
69}
70
71hooks = [
72 {
73 # Create a supplement.gypi file under trunk/. This file will be picked up
74 # by gyp and we use it to set Chromium related variables (inside_chromium_build)
75 # to 0 and enable the standalone build.
76 "pattern": ".",
77 "action": ["python", "trunk/tools/create_supplement_gypi.py", "trunk/src/supplement.gypi"],
78 },
79 # A change to a .gyp, .gypi, or to GYP itself should run the generator.
80 {
81 "pattern": ".",
82 "action": ["python", "trunk/build/gyp_chromium", "--depth=trunk", "trunk/webrtc.gyp"],
83 },
84]
85