blob: 2b96146d95581f1db978e52633a1d755a3de9d3e [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.org6241bee2012-02-23 21:32:37 +00006 "chromium_revision": "122775",
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.
andrew@webrtc.orgdaacee82012-02-07 00:01:04 +000010 "webrtc_resources_revision": "8",
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
37 # Used by tools/quality_tracking/dashboard and tools/python_charts.
38 "trunk/third_party/google-visualization-python":
39 (Var("googlecode_url") % "google-visualization-python") + "/trunk@15",
40
41 "trunk/third_party/libjpeg":
42 Var("chromium_trunk") + "/src/third_party/libjpeg@" + Var("chromium_revision"),
43
44 "trunk/third_party/libjpeg_turbo":
45 From("trunk/chromium_deps", "src/third_party/libjpeg_turbo"),
46
47 "trunk/third_party/libvpx/source/libvpx":
stefan@webrtc.orgc8e48862012-03-21 16:52:03 +000048 "http://git.chromium.org/webm/libvpx.git@6b66c01c",
andrew@webrtc.org6241bee2012-02-23 21:32:37 +000049
50 "trunk/third_party/libyuv":
mflodman@webrtc.org007a8322012-03-01 11:53:17 +000051 (Var("googlecode_url") % "libyuv") + "/trunk@192",
andrew@webrtc.org6241bee2012-02-23 21:32:37 +000052
53 "trunk/third_party/protobuf":
54 Var("chromium_trunk") + "/src/third_party/protobuf@" + Var("chromium_revision"),
55
andrew@webrtc.org6241bee2012-02-23 21:32:37 +000056 "trunk/third_party/yasm":
phoglund@webrtc.org41be9be2012-03-21 08:01:05 +000057 Var("chromium_trunk") + "/src/third_party/yasm@" + Var("chromium_revision"),
andrew@webrtc.org6241bee2012-02-23 21:32:37 +000058
59 "trunk/third_party/yasm/source/patched-yasm":
phoglund@webrtc.org41be9be2012-03-21 08:01:05 +000060 From("trunk/chromium_deps", "src/third_party/yasm/source/patched-yasm"),
andrew@webrtc.org6241bee2012-02-23 21:32:37 +000061
62 "trunk/tools/clang":
63 Var("chromium_trunk") + "/src/tools/clang@" + Var("chromium_revision"),
andrew@webrtc.org29f91592011-09-16 05:26:16 +000064
65 "trunk/tools/gyp":
andrew@webrtc.org6241bee2012-02-23 21:32:37 +000066 From("trunk/chromium_deps", "src/tools/gyp"),
andrew@webrtc.org29f91592011-09-16 05:26:16 +000067
kjellander@webrtc.orgf7824d92011-11-25 14:13:27 +000068 "trunk/tools/python":
69 Var("chromium_trunk") + "/src/tools/python@" + Var("chromium_revision"),
70
71 "trunk/tools/valgrind":
72 Var("chromium_trunk") + "/src/tools/valgrind@" + Var("chromium_revision"),
73
andrew@webrtc.org6241bee2012-02-23 21:32:37 +000074 # Needed by build/common.gypi.
75 "trunk/tools/win/supalink":
76 Var("chromium_trunk") + "/src/tools/win/supalink@" + Var("chromium_revision"),
andrew@webrtc.org29f91592011-09-16 05:26:16 +000077}
78
79deps_os = {
80 "win": {
andrew@webrtc.org6241bee2012-02-23 21:32:37 +000081 "trunk/third_party/cygwin":
andrew@webrtc.org29f91592011-09-16 05:26:16 +000082 Var("chromium_trunk") + "/deps/third_party/cygwin@66844",
andrew@webrtc.org6241bee2012-02-23 21:32:37 +000083
84 # Used by libjpeg-turbo.
85 "trunk/third_party/yasm/binaries":
86 From("trunk/chromium_deps", "src/third_party/yasm/binaries"),
87 },
88 "unix": {
89 "trunk/third_party/gold":
90 From("trunk/chromium_deps", "src/third_party/gold"),
91 },
andrew@webrtc.org29f91592011-09-16 05:26:16 +000092}
93
94hooks = [
95 {
96 # Create a supplement.gypi file under trunk/. This file will be picked up
97 # by gyp and we use it to set Chromium related variables (inside_chromium_build)
98 # to 0 and enable the standalone build.
99 "pattern": ".",
100 "action": ["python", "trunk/tools/create_supplement_gypi.py", "trunk/src/supplement.gypi"],
101 },
andrew@webrtc.org29f91592011-09-16 05:26:16 +0000102 {
andrew@webrtc.orgf1a605c2011-10-21 15:29:16 +0000103 # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
104 # zero seconds to run. If something changed, it downloads a prebuilt clang.
105 "pattern": ".",
106 "action": ["python", "trunk/tools/clang/scripts/update.py", "--mac-only"],
107 },
108 {
kjellander@webrtc.org0c80c7f2011-11-23 14:11:16 +0000109 # Download test resources, i.e. video and audio files. If the latest
110 # version is already downloaded, this takes zero seconds to run.
111 # If a newer version or no current download exists, it will download
andrew@webrtc.orgc4ac3572011-11-23 18:37:51 +0000112 # the resources and extract them.
kjellander@webrtc.org0c80c7f2011-11-23 14:11:16 +0000113 "pattern": ".",
114 "action": ["python", "trunk/tools/resources/update.py"],
115 },
116 {
andrew@webrtc.orgf1a605c2011-10-21 15:29:16 +0000117 # A change to a .gyp, .gypi, or to GYP itself should run the generator.
andrew@webrtc.org29f91592011-09-16 05:26:16 +0000118 "pattern": ".",
119 "action": ["python", "trunk/build/gyp_chromium", "--depth=trunk", "trunk/webrtc.gyp"],
120 },
121]
122