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