blob: 8397a92f5fcea2971ea3e7efa4560a28945e16f0 [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
34 # Used by tools/quality_tracking.
35 "trunk/third_party/gaeunit":
36 "http://code.google.com/p/gaeunit.git@e16d5bd4",
37
38 "trunk/third_party/google-gflags/src":
39 (Var("googlecode_url") % "google-gflags") + "/trunk/src@45",
40
41 # Used by tools/quality_tracking/dashboard and tools/python_charts.
42 "trunk/third_party/google-visualization-python":
43 (Var("googlecode_url") % "google-visualization-python") + "/trunk@15",
44
45 "trunk/third_party/libjpeg":
46 Var("chromium_trunk") + "/src/third_party/libjpeg@" + Var("chromium_revision"),
47
48 "trunk/third_party/libjpeg_turbo":
49 From("trunk/chromium_deps", "src/third_party/libjpeg_turbo"),
50
51 "trunk/third_party/libvpx/source/libvpx":
52 "http://git.chromium.org/webm/libvpx.git@v1.0.0",
53
54 "trunk/third_party/libyuv":
mflodman@webrtc.org007a8322012-03-01 11:53:17 +000055 (Var("googlecode_url") % "libyuv") + "/trunk@192",
andrew@webrtc.org6241bee2012-02-23 21:32:37 +000056
57 "trunk/third_party/protobuf":
58 Var("chromium_trunk") + "/src/third_party/protobuf@" + Var("chromium_revision"),
59
60 # Used by tools/quality_tracking.
61 "trunk/third_party/oauth2":
62 "http://github.com/simplegeo/python-oauth2.git@a83f4a29",
63
64 "trunk/third_party/yasm":
65 Var("chromium_trunk") + "/src/third_party/yasm@" + Var("chromium_revision"),
66
67 "trunk/third_party/yasm/source/patched-yasm":
68 From("trunk/chromium_deps", "src/third_party/yasm/source/patched-yasm"),
69
70 "trunk/tools/clang":
71 Var("chromium_trunk") + "/src/tools/clang@" + Var("chromium_revision"),
andrew@webrtc.org29f91592011-09-16 05:26:16 +000072
73 "trunk/tools/gyp":
andrew@webrtc.org6241bee2012-02-23 21:32:37 +000074 From("trunk/chromium_deps", "src/tools/gyp"),
andrew@webrtc.org29f91592011-09-16 05:26:16 +000075
kjellander@webrtc.orgf7824d92011-11-25 14:13:27 +000076 "trunk/tools/python":
77 Var("chromium_trunk") + "/src/tools/python@" + Var("chromium_revision"),
78
79 "trunk/tools/valgrind":
80 Var("chromium_trunk") + "/src/tools/valgrind@" + Var("chromium_revision"),
81
andrew@webrtc.org6241bee2012-02-23 21:32:37 +000082 # Needed by build/common.gypi.
83 "trunk/tools/win/supalink":
84 Var("chromium_trunk") + "/src/tools/win/supalink@" + Var("chromium_revision"),
andrew@webrtc.org29f91592011-09-16 05:26:16 +000085}
86
87deps_os = {
88 "win": {
andrew@webrtc.org6241bee2012-02-23 21:32:37 +000089 "trunk/third_party/cygwin":
andrew@webrtc.org29f91592011-09-16 05:26:16 +000090 Var("chromium_trunk") + "/deps/third_party/cygwin@66844",
andrew@webrtc.org6241bee2012-02-23 21:32:37 +000091
92 # Used by libjpeg-turbo.
93 "trunk/third_party/yasm/binaries":
94 From("trunk/chromium_deps", "src/third_party/yasm/binaries"),
95 },
96 "unix": {
97 "trunk/third_party/gold":
98 From("trunk/chromium_deps", "src/third_party/gold"),
99 },
andrew@webrtc.org29f91592011-09-16 05:26:16 +0000100}
101
102hooks = [
103 {
104 # Create a supplement.gypi file under trunk/. This file will be picked up
105 # by gyp and we use it to set Chromium related variables (inside_chromium_build)
106 # to 0 and enable the standalone build.
107 "pattern": ".",
108 "action": ["python", "trunk/tools/create_supplement_gypi.py", "trunk/src/supplement.gypi"],
109 },
andrew@webrtc.org29f91592011-09-16 05:26:16 +0000110 {
andrew@webrtc.orgf1a605c2011-10-21 15:29:16 +0000111 # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
112 # zero seconds to run. If something changed, it downloads a prebuilt clang.
113 "pattern": ".",
114 "action": ["python", "trunk/tools/clang/scripts/update.py", "--mac-only"],
115 },
116 {
kjellander@webrtc.org0c80c7f2011-11-23 14:11:16 +0000117 # Download test resources, i.e. video and audio files. If the latest
118 # version is already downloaded, this takes zero seconds to run.
119 # If a newer version or no current download exists, it will download
andrew@webrtc.orgc4ac3572011-11-23 18:37:51 +0000120 # the resources and extract them.
kjellander@webrtc.org0c80c7f2011-11-23 14:11:16 +0000121 "pattern": ".",
122 "action": ["python", "trunk/tools/resources/update.py"],
123 },
124 {
andrew@webrtc.orgf1a605c2011-10-21 15:29:16 +0000125 # A change to a .gyp, .gypi, or to GYP itself should run the generator.
andrew@webrtc.org29f91592011-09-16 05:26:16 +0000126 "pattern": ".",
127 "action": ["python", "trunk/build/gyp_chromium", "--depth=trunk", "trunk/webrtc.gyp"],
128 },
129]
130