andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 1 | use_relative_paths = True |
| 2 | |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 3 | vars = { |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 4 | # Override root_dir in your .gclient's custom_vars to specify a custom root |
| 5 | # folder name. |
| 6 | "root_dir": "trunk", |
andrew@webrtc.org | ea5d0e5 | 2012-08-09 17:37:03 +0000 | [diff] [blame] | 7 | "extra_gyp_flag": "-Dextra_gyp_flag=0", |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 8 | |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 9 | # Use this googlecode_url variable only if there is an internal mirror for it. |
| 10 | # If you do not know, use the full path while defining your new deps entry. |
| 11 | "googlecode_url": "http://%s.googlecode.com/svn", |
pbos@webrtc.org | 62e5af4 | 2013-08-20 09:19:16 +0000 | [diff] [blame] | 12 | "sourceforge_url": "http://svn.code.sf.net/p/%(repo)s/code", |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 13 | "chromium_trunk" : "http://src.chromium.org/svn/trunk", |
kjellander@webrtc.org | 58bcdee | 2013-11-04 09:40:03 +0000 | [diff] [blame] | 14 | "chromium_revision": "231713", |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 15 | |
kjellander@webrtc.org | 430464c | 2013-06-04 16:29:45 +0000 | [diff] [blame] | 16 | # A small subset of WebKit is needed for the Android Python test framework. |
| 17 | "webkit_trunk": "http://src.chromium.org/blink/trunk", |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 18 | } |
| 19 | |
| 20 | # NOTE: Prefer revision numbers to tags for svn deps. Use http rather than |
| 21 | # https; the latter can cause problems for users behind proxies. |
| 22 | deps = { |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 23 | "../chromium_deps": |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 24 | File(Var("chromium_trunk") + "/src/DEPS@" + Var("chromium_revision")), |
| 25 | |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 26 | "build": |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 27 | Var("chromium_trunk") + "/src/build@" + Var("chromium_revision"), |
| 28 | |
andrew@webrtc.org | b9d2064 | 2012-09-19 23:08:50 +0000 | [diff] [blame] | 29 | # Needed by common.gypi. |
| 30 | "google_apis/build": |
| 31 | Var("chromium_trunk") + "/src/google_apis/build@" + Var("chromium_revision"), |
| 32 | |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 33 | "testing": |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 34 | Var("chromium_trunk") + "/src/testing@" + Var("chromium_revision"), |
| 35 | |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 36 | "testing/gmock": |
| 37 | From("chromium_deps", "src/testing/gmock"), |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 38 | |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 39 | "testing/gtest": |
| 40 | From("chromium_deps", "src/testing/gtest"), |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 41 | |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 42 | "third_party/expat": |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 43 | Var("chromium_trunk") + "/src/third_party/expat@" + Var("chromium_revision"), |
| 44 | |
kjellander@webrtc.org | cbdb9d1 | 2013-08-20 16:18:35 +0000 | [diff] [blame] | 45 | # When rolling gflags, also update deps/third_party/webrtc/webrtc.DEPS/DEPS |
| 46 | # in Chromium's repo. |
fischman@webrtc.org | dde7d4c | 2013-08-15 23:31:30 +0000 | [diff] [blame] | 47 | "third_party/gflags/src": |
| 48 | (Var("googlecode_url") % "gflags") + "/trunk/src@84", |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 49 | |
henrike@webrtc.org | 8d27a1c | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 50 | "third_party/icu/": |
| 51 | From("chromium_deps", "src/third_party/icu"), |
| 52 | |
| 53 | "third_party/jsoncpp/": |
| 54 | Var("chromium_trunk") + "/src/third_party/jsoncpp@" + Var("chromium_revision"), |
| 55 | |
| 56 | "third_party/jsoncpp/source": |
pbos@webrtc.org | 62e5af4 | 2013-08-20 09:19:16 +0000 | [diff] [blame] | 57 | (Var("sourceforge_url") % {"repo": "jsoncpp"}) + "/trunk/jsoncpp@248", |
henrike@webrtc.org | 8d27a1c | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 58 | |
| 59 | "third_party/junit/": |
| 60 | (Var("googlecode_url") % "webrtc") + "/deps/third_party/junit@3367", |
kjellander@webrtc.org | 287f07b | 2013-09-27 16:57:10 +0000 | [diff] [blame] | 61 | |
mikhal@webrtc.org | 0b960cf | 2013-08-30 16:30:53 +0000 | [diff] [blame] | 62 | "third_party/libjpeg": |
| 63 | Var("chromium_trunk") + "/src/third_party/libjpeg@" + Var("chromium_revision"), |
| 64 | |
| 65 | "third_party/libjpeg_turbo": |
| 66 | From("chromium_deps", "src/third_party/libjpeg_turbo"), |
henrike@webrtc.org | 8d27a1c | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 67 | |
henrike@webrtc.org | 8d27a1c | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 68 | "third_party/libsrtp/": |
| 69 | From("chromium_deps", "src/third_party/libsrtp"), |
| 70 | |
andrew@webrtc.org | e6e344a | 2013-02-12 19:35:18 +0000 | [diff] [blame] | 71 | "third_party/libvpx": |
fischman@webrtc.org | 3223a3d | 2013-09-26 15:59:48 +0000 | [diff] [blame] | 72 | Var("chromium_trunk") + "/deps/third_party/libvpx@225010", |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 73 | |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 74 | "third_party/libyuv": |
wu@webrtc.org | ec4cccc | 2013-10-29 21:02:20 +0000 | [diff] [blame] | 75 | (Var("googlecode_url") % "libyuv") + "/trunk@832", |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 76 | |
tina.legrand@webrtc.org | 1f8c02a | 2012-10-25 12:37:08 +0000 | [diff] [blame] | 77 | "third_party/opus": |
tina.legrand@webrtc.org | e86f43b | 2013-03-22 12:39:54 +0000 | [diff] [blame] | 78 | Var("chromium_trunk") + "/src/third_party/opus@185405", |
tina.legrand@webrtc.org | 1f8c02a | 2012-10-25 12:37:08 +0000 | [diff] [blame] | 79 | |
| 80 | "third_party/opus/src": |
tina.legrand@webrtc.org | e86f43b | 2013-03-22 12:39:54 +0000 | [diff] [blame] | 81 | Var("chromium_trunk") + "/deps/third_party/opus@185324", |
tina.legrand@webrtc.org | 1f8c02a | 2012-10-25 12:37:08 +0000 | [diff] [blame] | 82 | |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 83 | "third_party/protobuf": |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 84 | Var("chromium_trunk") + "/src/third_party/protobuf@" + Var("chromium_revision"), |
| 85 | |
henrike@webrtc.org | 8d27a1c | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 86 | "third_party/sqlite/": |
| 87 | Var("chromium_trunk") + "/src/third_party/sqlite@" + Var("chromium_revision"), |
| 88 | |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 89 | "third_party/yasm": |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 90 | Var("chromium_trunk") + "/src/third_party/yasm@" + Var("chromium_revision"), |
| 91 | |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 92 | "third_party/yasm/source/patched-yasm": |
| 93 | From("chromium_deps", "src/third_party/yasm/source/patched-yasm"), |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 94 | |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 95 | "tools/clang": |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 96 | Var("chromium_trunk") + "/src/tools/clang@" + Var("chromium_revision"), |
| 97 | |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 98 | "tools/gyp": |
| 99 | From("chromium_deps", "src/tools/gyp"), |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 100 | |
andrew@webrtc.org | 225f2b8 | 2013-05-20 21:12:58 +0000 | [diff] [blame] | 101 | "tools/protoc_wrapper": |
| 102 | Var("chromium_trunk") + "/src/tools/protoc_wrapper@" + Var("chromium_revision"), |
| 103 | |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 104 | "tools/python": |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 105 | Var("chromium_trunk") + "/src/tools/python@" + Var("chromium_revision"), |
| 106 | |
kjellander@webrtc.org | 287f07b | 2013-09-27 16:57:10 +0000 | [diff] [blame] | 107 | "tools/sharding_supervisor": |
| 108 | Var("chromium_trunk") + "/src/tools/sharding_supervisor@" + Var("chromium_revision"), |
| 109 | |
kjellander@webrtc.org | 3365422 | 2013-08-22 07:57:00 +0000 | [diff] [blame] | 110 | "tools/swarm_client": |
| 111 | Var("chromium_trunk") + "/tools/swarm_client@" + Var("chromium_revision"), |
| 112 | |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 113 | "tools/valgrind": |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 114 | Var("chromium_trunk") + "/src/tools/valgrind@" + Var("chromium_revision"), |
| 115 | |
| 116 | # Needed by build/common.gypi. |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 117 | "tools/win/supalink": |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 118 | Var("chromium_trunk") + "/src/tools/win/supalink@" + Var("chromium_revision"), |
| 119 | } |
| 120 | |
| 121 | deps_os = { |
| 122 | "win": { |
| 123 | # Use our own, stripped down, version of Cygwin (required by GYP). |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 124 | "third_party/cygwin": |
andrew@webrtc.org | 7b2e919 | 2012-08-28 15:56:40 +0000 | [diff] [blame] | 125 | (Var("googlecode_url") % "webrtc") + "/deps/third_party/cygwin@2672", |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 126 | |
andrew@webrtc.org | 8cd18c5 | 2012-11-21 18:46:45 +0000 | [diff] [blame] | 127 | "third_party/winsdk_samples/src": |
| 128 | (Var("googlecode_url") % "webrtc") + "/deps/third_party/winsdk_samples_v71@3145", |
| 129 | |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 130 | # Used by libjpeg-turbo. |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 131 | "third_party/yasm/binaries": |
| 132 | From("chromium_deps", "src/third_party/yasm/binaries"), |
henrike@webrtc.org | 8d27a1c | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 133 | |
| 134 | # NSS, for SSLClientSocketNSS. |
| 135 | "third_party/nss": |
| 136 | From("chromium_deps", "src/third_party/nss"), |
kjellander@webrtc.org | 4c61792 | 2013-10-10 11:56:09 +0000 | [diff] [blame] | 137 | |
| 138 | # SyzyASan to make it possible to run tests under ASan on Windows. |
| 139 | "third_party/syzygy/binaries": |
| 140 | From("chromium_deps", "src/third_party/syzygy/binaries"), |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 141 | }, |
henrike@webrtc.org | 8d27a1c | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 142 | |
| 143 | "mac": { |
| 144 | # NSS, for SSLClientSocketNSS. |
| 145 | "third_party/nss": |
| 146 | From("chromium_deps", "src/third_party/nss"), |
fischman@webrtc.org | 1bc1954 | 2013-08-01 18:29:45 +0000 | [diff] [blame] | 147 | |
| 148 | # TODO(fischman): delete this in favor of the copy in "ios" below, once the |
| 149 | # webrtc iOS bots are fixed to target_os=['ios'] in their .gclient |
| 150 | # https://code.google.com/p/webrtc/issues/detail?id=2152 |
| 151 | "net/third_party/nss": |
| 152 | Var("chromium_trunk") + "/src/net/third_party/nss@" + Var("chromium_revision"), |
henrike@webrtc.org | 8d27a1c | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 153 | }, |
| 154 | |
| 155 | "ios": { |
| 156 | # NSS, for SSLClientSocketNSS. |
| 157 | "third_party/nss": |
| 158 | From("chromium_deps", "src/third_party/nss"), |
fischman@webrtc.org | 1bc1954 | 2013-08-01 18:29:45 +0000 | [diff] [blame] | 159 | |
| 160 | "net/third_party/nss": |
| 161 | Var("chromium_trunk") + "/src/net/third_party/nss@" + Var("chromium_revision"), |
| 162 | |
| 163 | # class-dump utility to generate header files for undocumented SDKs. |
| 164 | "testing/iossim/third_party/class-dump": |
| 165 | From("chromium_deps", "src/testing/iossim/third_party/class-dump"), |
| 166 | |
| 167 | # Helper for running under the simulator. |
| 168 | "testing/iossim": |
| 169 | Var("chromium_trunk") + "/src/testing/iossim@" + Var("chromium_revision"), |
henrike@webrtc.org | 8d27a1c | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 170 | }, |
| 171 | |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 172 | "unix": { |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 173 | "third_party/gold": |
| 174 | From("chromium_deps", "src/third_party/gold"), |
henrike@webrtc.org | 8d27a1c | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 175 | |
| 176 | "third_party/openssl": |
| 177 | From("chromium_deps", "src/third_party/openssl"), |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 178 | }, |
kjellander@webrtc.org | 18a21a0 | 2013-02-11 17:43:19 +0000 | [diff] [blame] | 179 | "android": { |
kjellander@webrtc.org | 6cfe178 | 2013-06-18 07:14:33 +0000 | [diff] [blame] | 180 | # Precompiled tools needed for Android test execution. Needed since we can't |
| 181 | # compile them from source in WebRTC since they depend on Chromium's base. |
| 182 | "tools/android": |
yujie.mao@webrtc.org | 9f07ea4 | 2013-07-18 01:57:04 +0000 | [diff] [blame] | 183 | (Var("googlecode_url") % "webrtc") + "/deps/tools/android@4258", |
kjellander@webrtc.org | 6cfe178 | 2013-06-18 07:14:33 +0000 | [diff] [blame] | 184 | |
kjellander@webrtc.org | 18a21a0 | 2013-02-11 17:43:19 +0000 | [diff] [blame] | 185 | "third_party/android_tools": |
| 186 | From("chromium_deps", "src/third_party/android_tools"), |
| 187 | |
| 188 | "third_party/android_testrunner": |
| 189 | Var("chromium_trunk") + "/src/third_party/android_testrunner@" + Var("chromium_revision"), |
kjellander@webrtc.org | 430464c | 2013-06-04 16:29:45 +0000 | [diff] [blame] | 190 | |
| 191 | "third_party/WebKit/Tools/Scripts": |
| 192 | Var("webkit_trunk") + "/Tools/Scripts@151677", |
henrike@webrtc.org | 8d27a1c | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 193 | |
| 194 | "third_party/openssl": |
| 195 | From("chromium_deps", "src/third_party/openssl"), |
kjellander@webrtc.org | 18a21a0 | 2013-02-11 17:43:19 +0000 | [diff] [blame] | 196 | }, |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 197 | } |
| 198 | |
| 199 | hooks = [ |
| 200 | { |
andrew@webrtc.org | 14b43be | 2012-10-22 18:19:23 +0000 | [diff] [blame] | 201 | # Create a supplement.gypi file under trunk/webrtc. This file will be picked |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 202 | # up by gyp and used to enable the standalone build. |
| 203 | "pattern": ".", |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 204 | "action": ["python", Var("root_dir") + "/tools/create_supplement_gypi.py", |
andrew@webrtc.org | 14b43be | 2012-10-22 18:19:23 +0000 | [diff] [blame] | 205 | Var("root_dir") + "/webrtc/supplement.gypi"], |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 206 | }, |
| 207 | { |
| 208 | # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes |
| 209 | # zero seconds to run. If something changed, it downloads a prebuilt clang. |
| 210 | "pattern": ".", |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 211 | "action": ["python", Var("root_dir") + "/tools/clang/scripts/update.py", |
| 212 | "--mac-only"], |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 213 | }, |
| 214 | { |
stefan@webrtc.org | c311583 | 2012-08-17 06:57:58 +0000 | [diff] [blame] | 215 | # Update the cygwin mount on Windows. |
| 216 | # This is necessary to get the correct mapping between e.g. /bin and the |
| 217 | # cygwin path on Windows. Without it we can't run bash scripts in actions. |
| 218 | # Ideally this should be solved in "pylib/gyp/msvs_emulation.py". |
| 219 | "pattern": ".", |
| 220 | "action": ["python", Var("root_dir") + "/build/win/setup_cygwin_mount.py", |
| 221 | "--win-only"], |
| 222 | }, |
| 223 | { |
kjellander@webrtc.org | 8017458 | 2013-11-04 12:07:57 +0000 | [diff] [blame^] | 224 | # Download test resources, i.e. video and audio files from Google Storage. |
| 225 | "pattern": "\\.sha1", |
| 226 | "action": ["download_from_google_storage", |
| 227 | "--directory", |
| 228 | "--recursive", |
| 229 | "--num_threads=10", |
| 230 | "--bucket", "chromium-webrtc-resources", |
| 231 | Var("root_dir") + "/resources"], |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 232 | }, |
| 233 | { |
| 234 | # A change to a .gyp, .gypi, or to GYP itself should run the generator. |
| 235 | "pattern": ".", |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 236 | "action": ["python", Var("root_dir") + "/build/gyp_chromium", |
henrike@webrtc.org | 8d27a1c | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 237 | "--depth=" + Var("root_dir"), Var("root_dir") + "/all.gyp", |
andrew@webrtc.org | ea5d0e5 | 2012-08-09 17:37:03 +0000 | [diff] [blame] | 238 | Var("extra_gyp_flag")], |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 239 | }, |
| 240 | ] |
| 241 | |