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", |
fbarchard@google.com | b01ce14 | 2014-08-04 18:07:19 +0000 | [diff] [blame] | 14 | # chrome://version/ for revision of canary Chrome. |
| 15 | # http://chromium-status.appspot.com/lkgr is a last known good revision. |
kjellander@webrtc.org | 34a865a | 2014-08-16 18:49:55 +0000 | [diff] [blame] | 16 | "chromium_revision": "289723", |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 17 | } |
| 18 | |
| 19 | # NOTE: Prefer revision numbers to tags for svn deps. Use http rather than |
| 20 | # https; the latter can cause problems for users behind proxies. |
| 21 | deps = { |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 22 | "../chromium_deps": |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 23 | File(Var("chromium_trunk") + "/src/DEPS@" + Var("chromium_revision")), |
| 24 | |
wjia@webrtc.org | 03cfde2 | 2014-01-14 17:48:34 +0000 | [diff] [blame] | 25 | "../chromium_gn": |
| 26 | File(Var("chromium_trunk") + "/src/.gn@" + Var("chromium_revision")), |
| 27 | |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 28 | "build": |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 29 | Var("chromium_trunk") + "/src/build@" + Var("chromium_revision"), |
| 30 | |
kjellander@webrtc.org | 1d1e40f | 2014-06-26 14:02:16 +0000 | [diff] [blame] | 31 | "buildtools": |
| 32 | From("chromium_deps", "src/buildtools"), |
| 33 | |
andrew@webrtc.org | b9d2064 | 2012-09-19 23:08:50 +0000 | [diff] [blame] | 34 | # Needed by common.gypi. |
| 35 | "google_apis/build": |
| 36 | Var("chromium_trunk") + "/src/google_apis/build@" + Var("chromium_revision"), |
| 37 | |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 38 | "testing": |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 39 | Var("chromium_trunk") + "/src/testing@" + Var("chromium_revision"), |
| 40 | |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 41 | "testing/gmock": |
| 42 | From("chromium_deps", "src/testing/gmock"), |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 43 | |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 44 | "testing/gtest": |
| 45 | From("chromium_deps", "src/testing/gtest"), |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 46 | |
kjellander@webrtc.org | 59343ee | 2014-04-29 09:36:40 +0000 | [diff] [blame] | 47 | "third_party/binutils": |
| 48 | Var("chromium_trunk") + "/src/third_party/binutils@" + Var("chromium_revision"), |
| 49 | |
kjellander@webrtc.org | 11bea89 | 2014-07-03 17:04:12 +0000 | [diff] [blame] | 50 | "third_party/build_gn": |
| 51 | File(Var("chromium_trunk") + "/src/third_party/BUILD.gn@" + Var("chromium_revision")), |
| 52 | |
kjellander@webrtc.org | c70b2f9 | 2014-06-21 19:54:15 +0000 | [diff] [blame] | 53 | "third_party/colorama/src": |
| 54 | From("chromium_deps", "src/third_party/colorama/src"), |
| 55 | |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 56 | "third_party/expat": |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 57 | Var("chromium_trunk") + "/src/third_party/expat@" + Var("chromium_revision"), |
| 58 | |
kjellander@webrtc.org | cbdb9d1 | 2013-08-20 16:18:35 +0000 | [diff] [blame] | 59 | # When rolling gflags, also update deps/third_party/webrtc/webrtc.DEPS/DEPS |
| 60 | # in Chromium's repo. |
fischman@webrtc.org | dde7d4c | 2013-08-15 23:31:30 +0000 | [diff] [blame] | 61 | "third_party/gflags/src": |
| 62 | (Var("googlecode_url") % "gflags") + "/trunk/src@84", |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 63 | |
henrike@webrtc.org | 8d27a1c | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 64 | "third_party/icu/": |
| 65 | From("chromium_deps", "src/third_party/icu"), |
| 66 | |
| 67 | "third_party/jsoncpp/": |
| 68 | Var("chromium_trunk") + "/src/third_party/jsoncpp@" + Var("chromium_revision"), |
| 69 | |
| 70 | "third_party/jsoncpp/source": |
pbos@webrtc.org | 62e5af4 | 2013-08-20 09:19:16 +0000 | [diff] [blame] | 71 | (Var("sourceforge_url") % {"repo": "jsoncpp"}) + "/trunk/jsoncpp@248", |
henrike@webrtc.org | 8d27a1c | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 72 | |
| 73 | "third_party/junit/": |
| 74 | (Var("googlecode_url") % "webrtc") + "/deps/third_party/junit@3367", |
kjellander@webrtc.org | 287f07b | 2013-09-27 16:57:10 +0000 | [diff] [blame] | 75 | |
kjellander@webrtc.org | 59343ee | 2014-04-29 09:36:40 +0000 | [diff] [blame] | 76 | "third_party/libc++": |
| 77 | Var("chromium_trunk") + "/src/third_party/libc++@" + Var("chromium_revision"), |
| 78 | |
| 79 | "third_party/libc++/trunk": |
| 80 | From("chromium_deps", "src/third_party/libc++/trunk"), |
| 81 | |
| 82 | "third_party/libc++abi": |
| 83 | Var("chromium_trunk") + "/src/third_party/libc++abi@" + Var("chromium_revision"), |
| 84 | |
| 85 | "third_party/libc++abi/trunk": |
| 86 | From("chromium_deps", "src/third_party/libc++abi/trunk"), |
| 87 | |
turaj@webrtc.org | 560dce5 | 2014-05-01 18:53:51 +0000 | [diff] [blame] | 88 | "third_party/openmax_dl/": |
turaj@webrtc.org | e14ffaa | 2014-05-09 21:40:23 +0000 | [diff] [blame] | 89 | (Var("googlecode_url") % "webrtc") + "/deps/third_party/openmax@6096", |
turaj@webrtc.org | 560dce5 | 2014-05-01 18:53:51 +0000 | [diff] [blame] | 90 | |
mikhal@webrtc.org | 0b960cf | 2013-08-30 16:30:53 +0000 | [diff] [blame] | 91 | "third_party/libjpeg": |
| 92 | Var("chromium_trunk") + "/src/third_party/libjpeg@" + Var("chromium_revision"), |
| 93 | |
| 94 | "third_party/libjpeg_turbo": |
| 95 | From("chromium_deps", "src/third_party/libjpeg_turbo"), |
henrike@webrtc.org | 8d27a1c | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 96 | |
henrike@webrtc.org | 8d27a1c | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 97 | "third_party/libsrtp/": |
| 98 | From("chromium_deps", "src/third_party/libsrtp"), |
| 99 | |
andrew@webrtc.org | e6e344a | 2013-02-12 19:35:18 +0000 | [diff] [blame] | 100 | "third_party/libvpx": |
andrew@webrtc.org | b3c188f | 2014-06-28 17:49:31 +0000 | [diff] [blame] | 101 | From("chromium_deps", "src/third_party/libvpx"), |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 102 | |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 103 | "third_party/libyuv": |
fbarchard@google.com | 901debd | 2014-07-29 18:07:07 +0000 | [diff] [blame] | 104 | (Var("googlecode_url") % "libyuv") + "/trunk@1038", |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 105 | |
tina.legrand@webrtc.org | 1f8c02a | 2012-10-25 12:37:08 +0000 | [diff] [blame] | 106 | "third_party/opus": |
tina.legrand@webrtc.org | d8440f7 | 2014-07-04 12:13:08 +0000 | [diff] [blame] | 107 | Var("chromium_trunk") + "/src/third_party/opus@" + Var("chromium_revision"), |
tina.legrand@webrtc.org | 1f8c02a | 2012-10-25 12:37:08 +0000 | [diff] [blame] | 108 | |
| 109 | "third_party/opus/src": |
tina.legrand@webrtc.org | d8440f7 | 2014-07-04 12:13:08 +0000 | [diff] [blame] | 110 | From("chromium_deps", "src/third_party/opus/src"), |
tina.legrand@webrtc.org | 1f8c02a | 2012-10-25 12:37:08 +0000 | [diff] [blame] | 111 | |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 112 | "third_party/protobuf": |
solenberg@webrtc.org | c6db88b | 2014-06-04 17:15:42 +0000 | [diff] [blame] | 113 | Var("chromium_trunk") + "/src/third_party/protobuf@" + Var("chromium_revision"), |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 114 | |
henrike@webrtc.org | 8d27a1c | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 115 | "third_party/sqlite/": |
| 116 | Var("chromium_trunk") + "/src/third_party/sqlite@" + Var("chromium_revision"), |
| 117 | |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 118 | "third_party/yasm": |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 119 | Var("chromium_trunk") + "/src/third_party/yasm@" + Var("chromium_revision"), |
| 120 | |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 121 | "third_party/yasm/source/patched-yasm": |
| 122 | From("chromium_deps", "src/third_party/yasm/source/patched-yasm"), |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 123 | |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 124 | "tools/clang": |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 125 | Var("chromium_trunk") + "/src/tools/clang@" + Var("chromium_revision"), |
| 126 | |
kjellander@webrtc.org | 851a09e | 2014-06-17 08:54:03 +0000 | [diff] [blame] | 127 | "tools/generate_library_loader": |
| 128 | Var("chromium_trunk") + "/src/tools/generate_library_loader@" + Var("chromium_revision"), |
| 129 | |
wjia@webrtc.org | 03cfde2 | 2014-01-14 17:48:34 +0000 | [diff] [blame] | 130 | "tools/gn": |
| 131 | Var("chromium_trunk") + "/src/tools/gn@" + Var("chromium_revision"), |
| 132 | |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 133 | "tools/gyp": |
| 134 | From("chromium_deps", "src/tools/gyp"), |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 135 | |
kjellander@webrtc.org | 35d46fb | 2014-06-27 07:54:02 +0000 | [diff] [blame] | 136 | "tools/memory": |
| 137 | Var("chromium_trunk") + "/src/tools/memory@" + Var("chromium_revision"), |
| 138 | |
andrew@webrtc.org | 225f2b8 | 2013-05-20 21:12:58 +0000 | [diff] [blame] | 139 | "tools/protoc_wrapper": |
| 140 | Var("chromium_trunk") + "/src/tools/protoc_wrapper@" + Var("chromium_revision"), |
| 141 | |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 142 | "tools/python": |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 143 | Var("chromium_trunk") + "/src/tools/python@" + Var("chromium_revision"), |
| 144 | |
kjellander@webrtc.org | 27ab19d | 2014-06-21 19:30:29 +0000 | [diff] [blame] | 145 | "tools/sanitizer_options": |
| 146 | File(Var("chromium_trunk") + "/src/base/debug/sanitizer_options.cc@" + Var("chromium_revision")), |
| 147 | |
kjellander@webrtc.org | f9bdbe3 | 2013-12-11 13:37:12 +0000 | [diff] [blame] | 148 | "tools/swarming_client": |
| 149 | From("chromium_deps", "src/tools/swarming_client"), |
kjellander@webrtc.org | 3365422 | 2013-08-22 07:57:00 +0000 | [diff] [blame] | 150 | |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 151 | "tools/valgrind": |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 152 | Var("chromium_trunk") + "/src/tools/valgrind@" + Var("chromium_revision"), |
| 153 | |
| 154 | # Needed by build/common.gypi. |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 155 | "tools/win/supalink": |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 156 | Var("chromium_trunk") + "/src/tools/win/supalink@" + Var("chromium_revision"), |
jiayl@webrtc.org | a576faf | 2014-01-29 17:45:53 +0000 | [diff] [blame] | 157 | |
| 158 | "net/third_party/nss": |
henrike@webrtc.org | 6ac22e6 | 2014-08-11 21:06:30 +0000 | [diff] [blame] | 159 | Var("chromium_trunk") + "/src/net/third_party/nss@" + Var("chromium_revision"), |
| 160 | |
| 161 | "third_party/boringssl": |
| 162 | Var("chromium_trunk") + "/src/third_party/boringssl@" + Var("chromium_revision"), |
| 163 | |
| 164 | "third_party/boringssl/src": |
| 165 | From("chromium_deps", "src/third_party/boringssl/src"), |
jiayl@webrtc.org | a576faf | 2014-01-29 17:45:53 +0000 | [diff] [blame] | 166 | |
| 167 | "third_party/usrsctp/": |
| 168 | Var("chromium_trunk") + "/src/third_party/usrsctp@" + Var("chromium_revision"), |
| 169 | |
| 170 | "third_party/usrsctp/usrsctplib": |
tkchin@webrtc.org | b038c72 | 2014-07-14 20:24:09 +0000 | [diff] [blame] | 171 | From("chromium_deps", "src/third_party/usrsctp/usrsctplib"), |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 172 | } |
| 173 | |
| 174 | deps_os = { |
| 175 | "win": { |
kjellander@webrtc.org | 31f967c | 2014-06-09 07:30:37 +0000 | [diff] [blame] | 176 | "third_party/drmemory": |
kjellander@webrtc.org | 27ab19d | 2014-06-21 19:30:29 +0000 | [diff] [blame] | 177 | Var("chromium_trunk") + "/src/third_party/drmemory@" + Var("chromium_revision"), |
kjellander@webrtc.org | 31f967c | 2014-06-09 07:30:37 +0000 | [diff] [blame] | 178 | |
andrew@webrtc.org | 8cd18c5 | 2012-11-21 18:46:45 +0000 | [diff] [blame] | 179 | "third_party/winsdk_samples/src": |
| 180 | (Var("googlecode_url") % "webrtc") + "/deps/third_party/winsdk_samples_v71@3145", |
| 181 | |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 182 | # Used by libjpeg-turbo. |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 183 | "third_party/yasm/binaries": |
| 184 | From("chromium_deps", "src/third_party/yasm/binaries"), |
henrike@webrtc.org | 8d27a1c | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 185 | |
| 186 | # NSS, for SSLClientSocketNSS. |
| 187 | "third_party/nss": |
| 188 | From("chromium_deps", "src/third_party/nss"), |
kjellander@webrtc.org | 4c61792 | 2013-10-10 11:56:09 +0000 | [diff] [blame] | 189 | |
kjellander@webrtc.org | 6b0cbcb | 2014-03-10 09:51:17 +0000 | [diff] [blame] | 190 | "tools/find_depot_tools": |
| 191 | File(Var("chromium_trunk") + "/src/tools/find_depot_tools.py@" + Var("chromium_revision")), |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 192 | }, |
henrike@webrtc.org | 8d27a1c | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 193 | |
| 194 | "mac": { |
| 195 | # NSS, for SSLClientSocketNSS. |
| 196 | "third_party/nss": |
| 197 | From("chromium_deps", "src/third_party/nss"), |
fischman@webrtc.org | ca539bb | 2014-04-15 20:26:41 +0000 | [diff] [blame] | 198 | |
| 199 | # TODO(kjellander): remove once bug 2152 is fixed. |
| 200 | # This needs to specify the path directly (instead of using the |
| 201 | # chromium_deps version) because chromium_deps only defines this for ios. |
| 202 | "testing/iossim/third_party/class-dump": |
| 203 | Var("chromium_trunk") + "/deps/third_party/class-dump@199203", |
henrike@webrtc.org | 8d27a1c | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 204 | }, |
| 205 | |
| 206 | "ios": { |
| 207 | # NSS, for SSLClientSocketNSS. |
| 208 | "third_party/nss": |
| 209 | From("chromium_deps", "src/third_party/nss"), |
fischman@webrtc.org | 1bc1954 | 2013-08-01 18:29:45 +0000 | [diff] [blame] | 210 | |
fischman@webrtc.org | 1bc1954 | 2013-08-01 18:29:45 +0000 | [diff] [blame] | 211 | # class-dump utility to generate header files for undocumented SDKs. |
| 212 | "testing/iossim/third_party/class-dump": |
| 213 | From("chromium_deps", "src/testing/iossim/third_party/class-dump"), |
| 214 | |
| 215 | # Helper for running under the simulator. |
| 216 | "testing/iossim": |
| 217 | Var("chromium_trunk") + "/src/testing/iossim@" + Var("chromium_revision"), |
henrike@webrtc.org | 8d27a1c | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 218 | }, |
| 219 | |
kjellander@webrtc.org | 18a21a0 | 2013-02-11 17:43:19 +0000 | [diff] [blame] | 220 | "android": { |
kjellander@webrtc.org | 6cfe178 | 2013-06-18 07:14:33 +0000 | [diff] [blame] | 221 | # Precompiled tools needed for Android test execution. Needed since we can't |
| 222 | # compile them from source in WebRTC since they depend on Chromium's base. |
| 223 | "tools/android": |
solenberg@webrtc.org | c6db88b | 2014-06-04 17:15:42 +0000 | [diff] [blame] | 224 | (Var("googlecode_url") % "webrtc") + "/deps/tools/android@6306", |
kjellander@webrtc.org | 6cfe178 | 2013-06-18 07:14:33 +0000 | [diff] [blame] | 225 | |
kjellander@webrtc.org | 18a21a0 | 2013-02-11 17:43:19 +0000 | [diff] [blame] | 226 | "third_party/android_tools": |
| 227 | From("chromium_deps", "src/third_party/android_tools"), |
| 228 | |
| 229 | "third_party/android_testrunner": |
| 230 | Var("chromium_trunk") + "/src/third_party/android_testrunner@" + Var("chromium_revision"), |
kjellander@webrtc.org | 18a21a0 | 2013-02-11 17:43:19 +0000 | [diff] [blame] | 231 | }, |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 232 | } |
| 233 | |
| 234 | hooks = [ |
| 235 | { |
wjia@webrtc.org | 03cfde2 | 2014-01-14 17:48:34 +0000 | [diff] [blame] | 236 | # Copy .gn from temporary place (../chromium_gn) to root_dir. |
| 237 | "name": "copy .gn", |
| 238 | "pattern": ".", |
| 239 | "action": ["python", Var("root_dir") + "/build/cp.py", |
| 240 | Var("root_dir") + "/../chromium_gn/.gn", |
| 241 | Var("root_dir")], |
| 242 | }, |
kjellander@webrtc.org | 11bea89 | 2014-07-03 17:04:12 +0000 | [diff] [blame] | 243 | { |
| 244 | # Copy BUILD.gn from temporary place (third_party/build_gn) to third_party. |
| 245 | "name": "copy third_party/BUILD.gn", |
| 246 | "pattern": ".", |
| 247 | "action": ["python", Var("root_dir") + "/build/cp.py", |
| 248 | Var("root_dir") + "/third_party/build_gn/BUILD.gn", |
| 249 | Var("root_dir") + "/third_party"], |
| 250 | }, |
wjia@webrtc.org | 03cfde2 | 2014-01-14 17:48:34 +0000 | [diff] [blame] | 251 | # Pull GN binaries. This needs to be before running GYP below. |
| 252 | { |
| 253 | "name": "gn_win", |
kjellander@webrtc.org | 1d1e40f | 2014-06-26 14:02:16 +0000 | [diff] [blame] | 254 | "pattern": ".", |
wjia@webrtc.org | 03cfde2 | 2014-01-14 17:48:34 +0000 | [diff] [blame] | 255 | "action": [ "download_from_google_storage", |
| 256 | "--no_resume", |
| 257 | "--platform=win32", |
| 258 | "--no_auth", |
| 259 | "--bucket", "chromium-gn", |
kjellander@webrtc.org | 1d1e40f | 2014-06-26 14:02:16 +0000 | [diff] [blame] | 260 | "-s", Var("root_dir") + "/buildtools/win/gn.exe.sha1", |
wjia@webrtc.org | 03cfde2 | 2014-01-14 17:48:34 +0000 | [diff] [blame] | 261 | ], |
| 262 | }, |
| 263 | { |
| 264 | "name": "gn_mac", |
kjellander@webrtc.org | 1d1e40f | 2014-06-26 14:02:16 +0000 | [diff] [blame] | 265 | "pattern": ".", |
wjia@webrtc.org | 03cfde2 | 2014-01-14 17:48:34 +0000 | [diff] [blame] | 266 | "action": [ "download_from_google_storage", |
| 267 | "--no_resume", |
| 268 | "--platform=darwin", |
| 269 | "--no_auth", |
| 270 | "--bucket", "chromium-gn", |
kjellander@webrtc.org | 1d1e40f | 2014-06-26 14:02:16 +0000 | [diff] [blame] | 271 | "-s", Var("root_dir") + "/buildtools/mac/gn.sha1", |
wjia@webrtc.org | 03cfde2 | 2014-01-14 17:48:34 +0000 | [diff] [blame] | 272 | ], |
| 273 | }, |
| 274 | { |
| 275 | "name": "gn_linux", |
kjellander@webrtc.org | 1d1e40f | 2014-06-26 14:02:16 +0000 | [diff] [blame] | 276 | "pattern": ".", |
wjia@webrtc.org | 03cfde2 | 2014-01-14 17:48:34 +0000 | [diff] [blame] | 277 | "action": [ "download_from_google_storage", |
| 278 | "--no_resume", |
| 279 | "--platform=linux*", |
| 280 | "--no_auth", |
| 281 | "--bucket", "chromium-gn", |
kjellander@webrtc.org | 1d1e40f | 2014-06-26 14:02:16 +0000 | [diff] [blame] | 282 | "-s", Var("root_dir") + "/buildtools/linux64/gn.sha1", |
wjia@webrtc.org | 03cfde2 | 2014-01-14 17:48:34 +0000 | [diff] [blame] | 283 | ], |
| 284 | }, |
| 285 | { |
| 286 | "name": "gn_linux32", |
kjellander@webrtc.org | 1d1e40f | 2014-06-26 14:02:16 +0000 | [diff] [blame] | 287 | "pattern": ".", |
wjia@webrtc.org | 03cfde2 | 2014-01-14 17:48:34 +0000 | [diff] [blame] | 288 | "action": [ "download_from_google_storage", |
| 289 | "--no_resume", |
| 290 | "--platform=linux*", |
| 291 | "--no_auth", |
| 292 | "--bucket", "chromium-gn", |
kjellander@webrtc.org | 1d1e40f | 2014-06-26 14:02:16 +0000 | [diff] [blame] | 293 | "-s", Var("root_dir") + "/buildtools/linux32/gn.sha1", |
wjia@webrtc.org | 03cfde2 | 2014-01-14 17:48:34 +0000 | [diff] [blame] | 294 | ], |
| 295 | }, |
andrew@webrtc.org | 36291da | 2014-02-04 01:45:10 +0000 | [diff] [blame] | 296 | # Pull clang-format binaries using checked-in hashes. |
| 297 | { |
| 298 | "name": "clang_format_win", |
kjellander@webrtc.org | 58c1c98 | 2014-08-20 10:47:47 +0000 | [diff] [blame^] | 299 | "pattern": ".", |
andrew@webrtc.org | 36291da | 2014-02-04 01:45:10 +0000 | [diff] [blame] | 300 | "action": [ "download_from_google_storage", |
| 301 | "--no_resume", |
| 302 | "--platform=win32", |
| 303 | "--no_auth", |
| 304 | "--bucket", "chromium-clang-format", |
henrikg@webrtc.org | 0f42668 | 2014-07-11 08:10:19 +0000 | [diff] [blame] | 305 | "-s", Var("root_dir") + "/buildtools/win/clang-format.exe.sha1", |
andrew@webrtc.org | 36291da | 2014-02-04 01:45:10 +0000 | [diff] [blame] | 306 | ], |
| 307 | }, |
| 308 | { |
| 309 | "name": "clang_format_mac", |
kjellander@webrtc.org | 58c1c98 | 2014-08-20 10:47:47 +0000 | [diff] [blame^] | 310 | "pattern": ".", |
andrew@webrtc.org | 36291da | 2014-02-04 01:45:10 +0000 | [diff] [blame] | 311 | "action": [ "download_from_google_storage", |
| 312 | "--no_resume", |
| 313 | "--platform=darwin", |
| 314 | "--no_auth", |
| 315 | "--bucket", "chromium-clang-format", |
henrikg@webrtc.org | 0f42668 | 2014-07-11 08:10:19 +0000 | [diff] [blame] | 316 | "-s", Var("root_dir") + "/buildtools/mac/clang-format.sha1", |
andrew@webrtc.org | 36291da | 2014-02-04 01:45:10 +0000 | [diff] [blame] | 317 | ], |
| 318 | }, |
| 319 | { |
| 320 | "name": "clang_format_linux", |
kjellander@webrtc.org | 58c1c98 | 2014-08-20 10:47:47 +0000 | [diff] [blame^] | 321 | "pattern": ".", |
andrew@webrtc.org | 36291da | 2014-02-04 01:45:10 +0000 | [diff] [blame] | 322 | "action": [ "download_from_google_storage", |
| 323 | "--no_resume", |
| 324 | "--platform=linux*", |
| 325 | "--no_auth", |
| 326 | "--bucket", "chromium-clang-format", |
henrikg@webrtc.org | 0f42668 | 2014-07-11 08:10:19 +0000 | [diff] [blame] | 327 | "-s", Var("root_dir") + "/buildtools/linux64/clang-format.sha1", |
andrew@webrtc.org | 36291da | 2014-02-04 01:45:10 +0000 | [diff] [blame] | 328 | ], |
| 329 | }, |
wjia@webrtc.org | 03cfde2 | 2014-01-14 17:48:34 +0000 | [diff] [blame] | 330 | { |
kjellander@webrtc.org | d10bdd3 | 2014-04-01 10:40:03 +0000 | [diff] [blame] | 331 | # Pull clang if on Mac or clang is requested via GYP_DEFINES. |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 332 | "pattern": ".", |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 333 | "action": ["python", Var("root_dir") + "/tools/clang/scripts/update.py", |
kjellander@webrtc.org | d10bdd3 | 2014-04-01 10:40:03 +0000 | [diff] [blame] | 334 | "--if-needed"], |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 335 | }, |
| 336 | { |
kjellander@webrtc.org | 59343ee | 2014-04-29 09:36:40 +0000 | [diff] [blame] | 337 | # Update the Windows toolchain if necessary. |
| 338 | "name": "win_toolchain", |
| 339 | "pattern": ".", |
| 340 | "action": ["python", |
| 341 | Var("root_dir") + "/webrtc/build/download_vs_toolchain.py", |
| 342 | "update"], |
| 343 | }, |
| 344 | { |
| 345 | # Pull binutils for gold. |
| 346 | "name": "binutils", |
| 347 | "pattern": ".", |
| 348 | "action": ["python", Var("root_dir") + "/third_party/binutils/download.py"], |
| 349 | }, |
| 350 | { |
kjellander@webrtc.org | 31f967c | 2014-06-09 07:30:37 +0000 | [diff] [blame] | 351 | "name": "drmemory", |
| 352 | "pattern": ".", |
| 353 | "action": [ "download_from_google_storage", |
| 354 | "--no_resume", |
| 355 | "--platform=win32", |
| 356 | "--no_auth", |
| 357 | "--bucket", "chromium-drmemory", |
| 358 | "-s", Var("root_dir") + "/third_party/drmemory/drmemory-windows-sfx.exe.sha1", |
| 359 | ], |
| 360 | }, |
| 361 | { |
kjellander@webrtc.org | 27ab19d | 2014-06-21 19:30:29 +0000 | [diff] [blame] | 362 | # Pull the Syzygy binaries, used for optimization and instrumentation. |
| 363 | "name": "syzygy-binaries", |
| 364 | "pattern": ".", |
| 365 | "action": ["python", |
| 366 | Var("root_dir") + "/build/get_syzygy_binaries.py", |
| 367 | "--output-dir=%s/third_party/syzygy/binaries" % Var("root_dir"), |
| 368 | "--revision=b08fb72610963d31cc3eae33f746a04e263bd860", |
| 369 | "--overwrite", |
| 370 | ], |
| 371 | }, |
| 372 | { |
kjellander@webrtc.org | 8017458 | 2013-11-04 12:07:57 +0000 | [diff] [blame] | 373 | # Download test resources, i.e. video and audio files from Google Storage. |
| 374 | "pattern": "\\.sha1", |
| 375 | "action": ["download_from_google_storage", |
| 376 | "--directory", |
| 377 | "--recursive", |
| 378 | "--num_threads=10", |
wjia@webrtc.org | 776d8df | 2014-01-27 19:55:16 +0000 | [diff] [blame] | 379 | "--no_auth", |
kjellander@webrtc.org | 8017458 | 2013-11-04 12:07:57 +0000 | [diff] [blame] | 380 | "--bucket", "chromium-webrtc-resources", |
| 381 | Var("root_dir") + "/resources"], |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 382 | }, |
| 383 | { |
| 384 | # A change to a .gyp, .gypi, or to GYP itself should run the generator. |
kjellander@webrtc.org | 6b0cbcb | 2014-03-10 09:51:17 +0000 | [diff] [blame] | 385 | "name": "gyp", |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 386 | "pattern": ".", |
kjellander@webrtc.org | 7d7f089 | 2014-01-31 09:34:51 +0000 | [diff] [blame] | 387 | "action": ["python", Var("root_dir") + "/webrtc/build/gyp_webrtc", |
andrew@webrtc.org | ea5d0e5 | 2012-08-09 17:37:03 +0000 | [diff] [blame] | 388 | Var("extra_gyp_flag")], |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 389 | }, |
| 390 | ] |
| 391 | |