niklase@google.com | a24fc54 | 2011-05-30 11:13:19 +0000 | [diff] [blame] | 1 | vars = { |
| 2 | "webrtc_trunk" : "https://webrtc.googlecode.com/svn/trunk", |
| 3 | "chromium_trunk" : "http://src.chromium.org/svn/trunk", |
henrika@google.com | 3ec7798 | 2011-05-31 10:27:37 +0000 | [diff] [blame] | 4 | "chromium_revision": "86252", |
niklase@google.com | a24fc54 | 2011-05-30 11:13:19 +0000 | [diff] [blame] | 5 | # Use this googlecode_url variable only if there is an internal mirror for it. |
| 6 | # If you do not know, use the full path while defining your new deps entry. |
| 7 | "googlecode_url": "http://%s.googlecode.com/svn", |
| 8 | "libjingle_revision": "59", |
| 9 | } |
| 10 | |
| 11 | deps = { |
| 12 | "build": |
| 13 | Var("chromium_trunk") + "/src/build@" + Var("chromium_revision"), |
| 14 | |
| 15 | "testing": |
| 16 | Var("chromium_trunk") + "/src/testing@" + Var("chromium_revision"), |
| 17 | |
| 18 | "testing/gtest": |
| 19 | "http://googletest.googlecode.com/svn/trunk@539", |
| 20 | |
| 21 | "tools/gyp": |
henrika@google.com | 3ec7798 | 2011-05-31 10:27:37 +0000 | [diff] [blame] | 22 | "http://gyp.googlecode.com/svn/trunk@930", |
niklase@google.com | a24fc54 | 2011-05-30 11:13:19 +0000 | [diff] [blame] | 23 | |
| 24 | "third_party/libvpx/": |
| 25 | "git://review.webmproject.org/libvpx.git@v0.9.6", |
| 26 | |
| 27 | "third_party/libjpeg_turbo/": |
| 28 | Var("chromium_trunk") + "/deps/third_party/libjpeg_turbo@78340", |
| 29 | |
| 30 | "third_party/yasm/": |
| 31 | Var("chromium_trunk") + "/src/third_party/yasm@" + Var("chromium_revision"), |
| 32 | |
| 33 | "third_party/expat/": |
| 34 | Var("chromium_trunk") + "/src/third_party/expat@" + Var("chromium_revision"), |
| 35 | |
| 36 | "third_party/libjingle/": |
| 37 | Var("chromium_trunk") + "/src/third_party/libjingle@" + Var("chromium_revision"), |
| 38 | |
| 39 | "third_party/libjingle/source": |
| 40 | (Var("googlecode_url") % "libjingle") + "/branches/chrome-sandbox@" + Var("libjingle_revision"), |
| 41 | |
| 42 | "third_party/yasm/source/patched-yasm": |
| 43 | Var("chromium_trunk") + "/deps/third_party/yasm/patched-yasm@73761", |
| 44 | # Used by libjpeg-turbo |
| 45 | "third_party/yasm/binaries": |
| 46 | Var("chromium_trunk") + "/deps/third_party/yasm/binaries@74228", |
| 47 | |
| 48 | "third_party/jsoncpp/": |
| 49 | "https://jsoncpp.svn.sourceforge.net/svnroot/jsoncpp/tags/jsoncpp/0.5.0", |
| 50 | } |
| 51 | |
| 52 | deps_os = { |
| 53 | "win": { |
| 54 | "third_party/cygwin/": |
| 55 | Var("chromium_trunk") + "/deps/third_party/cygwin@66844", |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | hooks = [ |
| 60 | { |
| 61 | "pattern": ".", |
| 62 | "action": ["svn", "export", Var("webrtc_trunk") + "/third_party_mods/libvpx/libvpx.gyp", "third_party/libvpx/libvpx.gyp", "--force"], |
| 63 | }, |
| 64 | { |
| 65 | "pattern": ".", |
| 66 | "action": ["svn", "export", Var("webrtc_trunk") + "/third_party_mods/libvpx/source/config", "third_party/libvpx/config", "--force"], |
| 67 | }, |
| 68 | { |
| 69 | "pattern": ".", |
| 70 | "action": ["svn", "export", Var("webrtc_trunk") + "/third_party_mods/libjingle", "third_party/libjingle", "--force"], |
| 71 | }, |
| 72 | { |
| 73 | "pattern": ".", |
| 74 | "action": ["svn", "export", Var("webrtc_trunk") + "/third_party_mods/jsoncpp", "third_party/jsoncpp", "--force"], |
| 75 | }, |
| 76 | { |
| 77 | # Create a supplement.gypi file under trunk/. This file will be picked up |
| 78 | # by gyp and we use it to set Chromium related variables (inside_chromium_build) |
| 79 | # to 0 and enable the standalone build. |
| 80 | "pattern": ".", |
| 81 | "action": ["python", "trunk/tools/create_supplement_gypi.py", "trunk/supplement.gypi"], |
| 82 | }, |
| 83 | # A change to a .gyp, .gypi, or to GYP itself should run the generator. |
| 84 | { |
| 85 | "pattern": ".", |
| 86 | "action": ["python", "build/gyp_chromium", "--depth=.", "trunk/webrtc.gyp"], |
| 87 | }, |
| 88 | ] |
| 89 | |