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