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. |
fgalligan@google.com | 3155f2b | 2014-07-25 18:58:26 +0000 | [diff] [blame] | 16 | "chromium_revision": "285412", |
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": |
| 165 | Var("chromium_trunk") + "/src/net/third_party/nss@" + Var("chromium_revision"), |
| 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 | 430464c | 2013-06-04 16:29:45 +0000 | [diff] [blame] | 231 | |
| 232 | "third_party/WebKit/Tools/Scripts": |
| 233 | Var("webkit_trunk") + "/Tools/Scripts@151677", |
henrike@webrtc.org | 8d27a1c | 2013-07-23 18:15:11 +0000 | [diff] [blame] | 234 | |
solenberg@webrtc.org | fc8b087 | 2014-07-29 15:23:59 +0000 | [diff] [blame] | 235 | "third_party/boringssl": |
| 236 | Var("chromium_trunk") + "/src/third_party/boringssl@" + Var("chromium_revision"), |
kjellander@webrtc.org | 18a21a0 | 2013-02-11 17:43:19 +0000 | [diff] [blame] | 237 | }, |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 238 | } |
| 239 | |
| 240 | hooks = [ |
| 241 | { |
wjia@webrtc.org | 03cfde2 | 2014-01-14 17:48:34 +0000 | [diff] [blame] | 242 | # Copy .gn from temporary place (../chromium_gn) to root_dir. |
| 243 | "name": "copy .gn", |
| 244 | "pattern": ".", |
| 245 | "action": ["python", Var("root_dir") + "/build/cp.py", |
| 246 | Var("root_dir") + "/../chromium_gn/.gn", |
| 247 | Var("root_dir")], |
| 248 | }, |
kjellander@webrtc.org | 11bea89 | 2014-07-03 17:04:12 +0000 | [diff] [blame] | 249 | { |
| 250 | # Copy BUILD.gn from temporary place (third_party/build_gn) to third_party. |
| 251 | "name": "copy third_party/BUILD.gn", |
| 252 | "pattern": ".", |
| 253 | "action": ["python", Var("root_dir") + "/build/cp.py", |
| 254 | Var("root_dir") + "/third_party/build_gn/BUILD.gn", |
| 255 | Var("root_dir") + "/third_party"], |
| 256 | }, |
wjia@webrtc.org | 03cfde2 | 2014-01-14 17:48:34 +0000 | [diff] [blame] | 257 | # Pull GN binaries. This needs to be before running GYP below. |
| 258 | { |
| 259 | "name": "gn_win", |
kjellander@webrtc.org | 1d1e40f | 2014-06-26 14:02:16 +0000 | [diff] [blame] | 260 | "pattern": ".", |
wjia@webrtc.org | 03cfde2 | 2014-01-14 17:48:34 +0000 | [diff] [blame] | 261 | "action": [ "download_from_google_storage", |
| 262 | "--no_resume", |
| 263 | "--platform=win32", |
| 264 | "--no_auth", |
| 265 | "--bucket", "chromium-gn", |
kjellander@webrtc.org | 1d1e40f | 2014-06-26 14:02:16 +0000 | [diff] [blame] | 266 | "-s", Var("root_dir") + "/buildtools/win/gn.exe.sha1", |
wjia@webrtc.org | 03cfde2 | 2014-01-14 17:48:34 +0000 | [diff] [blame] | 267 | ], |
| 268 | }, |
| 269 | { |
| 270 | "name": "gn_mac", |
kjellander@webrtc.org | 1d1e40f | 2014-06-26 14:02:16 +0000 | [diff] [blame] | 271 | "pattern": ".", |
wjia@webrtc.org | 03cfde2 | 2014-01-14 17:48:34 +0000 | [diff] [blame] | 272 | "action": [ "download_from_google_storage", |
| 273 | "--no_resume", |
| 274 | "--platform=darwin", |
| 275 | "--no_auth", |
| 276 | "--bucket", "chromium-gn", |
kjellander@webrtc.org | 1d1e40f | 2014-06-26 14:02:16 +0000 | [diff] [blame] | 277 | "-s", Var("root_dir") + "/buildtools/mac/gn.sha1", |
wjia@webrtc.org | 03cfde2 | 2014-01-14 17:48:34 +0000 | [diff] [blame] | 278 | ], |
| 279 | }, |
| 280 | { |
| 281 | "name": "gn_linux", |
kjellander@webrtc.org | 1d1e40f | 2014-06-26 14:02:16 +0000 | [diff] [blame] | 282 | "pattern": ".", |
wjia@webrtc.org | 03cfde2 | 2014-01-14 17:48:34 +0000 | [diff] [blame] | 283 | "action": [ "download_from_google_storage", |
| 284 | "--no_resume", |
| 285 | "--platform=linux*", |
| 286 | "--no_auth", |
| 287 | "--bucket", "chromium-gn", |
kjellander@webrtc.org | 1d1e40f | 2014-06-26 14:02:16 +0000 | [diff] [blame] | 288 | "-s", Var("root_dir") + "/buildtools/linux64/gn.sha1", |
wjia@webrtc.org | 03cfde2 | 2014-01-14 17:48:34 +0000 | [diff] [blame] | 289 | ], |
| 290 | }, |
| 291 | { |
| 292 | "name": "gn_linux32", |
kjellander@webrtc.org | 1d1e40f | 2014-06-26 14:02:16 +0000 | [diff] [blame] | 293 | "pattern": ".", |
wjia@webrtc.org | 03cfde2 | 2014-01-14 17:48:34 +0000 | [diff] [blame] | 294 | "action": [ "download_from_google_storage", |
| 295 | "--no_resume", |
| 296 | "--platform=linux*", |
| 297 | "--no_auth", |
| 298 | "--bucket", "chromium-gn", |
kjellander@webrtc.org | 1d1e40f | 2014-06-26 14:02:16 +0000 | [diff] [blame] | 299 | "-s", Var("root_dir") + "/buildtools/linux32/gn.sha1", |
wjia@webrtc.org | 03cfde2 | 2014-01-14 17:48:34 +0000 | [diff] [blame] | 300 | ], |
| 301 | }, |
kjellander@webrtc.org | 35d46fb | 2014-06-27 07:54:02 +0000 | [diff] [blame] | 302 | { |
| 303 | # Remove GN binaries from tools/gn/bin that aren't used anymore. |
| 304 | # TODO(kjellander) remove after the end of July, 2014. |
| 305 | "name": "remove_old_gn_binaries", |
| 306 | "pattern": ".", |
| 307 | "action": ["python", Var("root_dir") + "/tools/gn/bin/rm_binaries.py"], |
| 308 | }, |
andrew@webrtc.org | 36291da | 2014-02-04 01:45:10 +0000 | [diff] [blame] | 309 | # Pull clang-format binaries using checked-in hashes. |
| 310 | { |
| 311 | "name": "clang_format_win", |
| 312 | "pattern": "third_party/clang_format/bin/win/clang-format.exe.sha1", |
| 313 | "action": [ "download_from_google_storage", |
| 314 | "--no_resume", |
| 315 | "--platform=win32", |
| 316 | "--no_auth", |
| 317 | "--bucket", "chromium-clang-format", |
henrikg@webrtc.org | 0f42668 | 2014-07-11 08:10:19 +0000 | [diff] [blame] | 318 | "-s", Var("root_dir") + "/buildtools/win/clang-format.exe.sha1", |
andrew@webrtc.org | 36291da | 2014-02-04 01:45:10 +0000 | [diff] [blame] | 319 | ], |
| 320 | }, |
| 321 | { |
| 322 | "name": "clang_format_mac", |
| 323 | "pattern": "third_party/clang_format/bin/mac/clang-format.sha1", |
| 324 | "action": [ "download_from_google_storage", |
| 325 | "--no_resume", |
| 326 | "--platform=darwin", |
| 327 | "--no_auth", |
| 328 | "--bucket", "chromium-clang-format", |
henrikg@webrtc.org | 0f42668 | 2014-07-11 08:10:19 +0000 | [diff] [blame] | 329 | "-s", Var("root_dir") + "/buildtools/mac/clang-format.sha1", |
andrew@webrtc.org | 36291da | 2014-02-04 01:45:10 +0000 | [diff] [blame] | 330 | ], |
| 331 | }, |
| 332 | { |
| 333 | "name": "clang_format_linux", |
| 334 | "pattern": "third_party/clang_format/bin/linux/clang-format.sha1", |
| 335 | "action": [ "download_from_google_storage", |
| 336 | "--no_resume", |
| 337 | "--platform=linux*", |
| 338 | "--no_auth", |
| 339 | "--bucket", "chromium-clang-format", |
henrikg@webrtc.org | 0f42668 | 2014-07-11 08:10:19 +0000 | [diff] [blame] | 340 | "-s", Var("root_dir") + "/buildtools/linux64/clang-format.sha1", |
andrew@webrtc.org | 36291da | 2014-02-04 01:45:10 +0000 | [diff] [blame] | 341 | ], |
| 342 | }, |
wjia@webrtc.org | 03cfde2 | 2014-01-14 17:48:34 +0000 | [diff] [blame] | 343 | { |
kjellander@webrtc.org | d10bdd3 | 2014-04-01 10:40:03 +0000 | [diff] [blame] | 344 | # 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] | 345 | "pattern": ".", |
andrew@webrtc.org | 9a3f83f | 2012-08-07 06:03:22 +0000 | [diff] [blame] | 346 | "action": ["python", Var("root_dir") + "/tools/clang/scripts/update.py", |
kjellander@webrtc.org | d10bdd3 | 2014-04-01 10:40:03 +0000 | [diff] [blame] | 347 | "--if-needed"], |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 348 | }, |
| 349 | { |
kjellander@webrtc.org | 59343ee | 2014-04-29 09:36:40 +0000 | [diff] [blame] | 350 | # Update the Windows toolchain if necessary. |
| 351 | "name": "win_toolchain", |
| 352 | "pattern": ".", |
| 353 | "action": ["python", |
| 354 | Var("root_dir") + "/webrtc/build/download_vs_toolchain.py", |
| 355 | "update"], |
| 356 | }, |
| 357 | { |
| 358 | # Pull binutils for gold. |
| 359 | "name": "binutils", |
| 360 | "pattern": ".", |
| 361 | "action": ["python", Var("root_dir") + "/third_party/binutils/download.py"], |
| 362 | }, |
| 363 | { |
kjellander@webrtc.org | 31f967c | 2014-06-09 07:30:37 +0000 | [diff] [blame] | 364 | "name": "drmemory", |
| 365 | "pattern": ".", |
| 366 | "action": [ "download_from_google_storage", |
| 367 | "--no_resume", |
| 368 | "--platform=win32", |
| 369 | "--no_auth", |
| 370 | "--bucket", "chromium-drmemory", |
| 371 | "-s", Var("root_dir") + "/third_party/drmemory/drmemory-windows-sfx.exe.sha1", |
| 372 | ], |
| 373 | }, |
| 374 | { |
kjellander@webrtc.org | 27ab19d | 2014-06-21 19:30:29 +0000 | [diff] [blame] | 375 | # Pull the Syzygy binaries, used for optimization and instrumentation. |
| 376 | "name": "syzygy-binaries", |
| 377 | "pattern": ".", |
| 378 | "action": ["python", |
| 379 | Var("root_dir") + "/build/get_syzygy_binaries.py", |
| 380 | "--output-dir=%s/third_party/syzygy/binaries" % Var("root_dir"), |
| 381 | "--revision=b08fb72610963d31cc3eae33f746a04e263bd860", |
| 382 | "--overwrite", |
| 383 | ], |
| 384 | }, |
| 385 | { |
kjellander@webrtc.org | 8017458 | 2013-11-04 12:07:57 +0000 | [diff] [blame] | 386 | # Download test resources, i.e. video and audio files from Google Storage. |
| 387 | "pattern": "\\.sha1", |
| 388 | "action": ["download_from_google_storage", |
| 389 | "--directory", |
| 390 | "--recursive", |
| 391 | "--num_threads=10", |
wjia@webrtc.org | 776d8df | 2014-01-27 19:55:16 +0000 | [diff] [blame] | 392 | "--no_auth", |
kjellander@webrtc.org | 8017458 | 2013-11-04 12:07:57 +0000 | [diff] [blame] | 393 | "--bucket", "chromium-webrtc-resources", |
| 394 | Var("root_dir") + "/resources"], |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 395 | }, |
| 396 | { |
| 397 | # 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] | 398 | "name": "gyp", |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 399 | "pattern": ".", |
kjellander@webrtc.org | 7d7f089 | 2014-01-31 09:34:51 +0000 | [diff] [blame] | 400 | "action": ["python", Var("root_dir") + "/webrtc/build/gyp_webrtc", |
andrew@webrtc.org | ea5d0e5 | 2012-08-09 17:37:03 +0000 | [diff] [blame] | 401 | Var("extra_gyp_flag")], |
andrew@webrtc.org | 4ce52bb | 2012-07-31 21:54:13 +0000 | [diff] [blame] | 402 | }, |
| 403 | ] |
| 404 | |