andrew@webrtc.org | 29f9159 | 2011-09-16 05:26:16 +0000 | [diff] [blame] | 1 | vars = { |
| 2 | # Use this googlecode_url variable only if there is an internal mirror for it. |
| 3 | # If you do not know, use the full path while defining your new deps entry. |
| 4 | "googlecode_url": "http://%s.googlecode.com/svn", |
andrew@webrtc.org | 29f9159 | 2011-09-16 05:26:16 +0000 | [diff] [blame] | 5 | "chromium_trunk" : "http://src.chromium.org/svn/trunk", |
andrew@webrtc.org | d3131ed | 2011-12-21 16:25:30 +0000 | [diff] [blame] | 6 | "chromium_revision": "114939", |
mflodman@webrtc.org | a4863db | 2011-12-22 08:51:52 +0000 | [diff] [blame] | 7 | "libjingle_revision": "101", |
andrew@webrtc.org | f1a605c | 2011-10-21 15:29:16 +0000 | [diff] [blame] | 8 | |
kjellander@webrtc.org | 0c80c7f | 2011-11-23 14:11:16 +0000 | [diff] [blame] | 9 | # External resources like video and audio files used for testing purposes. |
andrew@webrtc.org | c4ac357 | 2011-11-23 18:37:51 +0000 | [diff] [blame] | 10 | # Downloaded on demand when needed. |
kjellander@webrtc.org | 08dec7f | 2011-12-16 10:31:38 +0000 | [diff] [blame] | 11 | "webrtc_resources_revision": "4", |
andrew@webrtc.org | 29f9159 | 2011-09-16 05:26:16 +0000 | [diff] [blame] | 12 | } |
| 13 | |
andrew@webrtc.org | 82f66a7 | 2011-09-27 10:47:25 +0000 | [diff] [blame] | 14 | # NOTE: Prefer revision numbers to tags for svn deps. |
andrew@webrtc.org | 29f9159 | 2011-09-16 05:26:16 +0000 | [diff] [blame] | 15 | deps = { |
| 16 | "trunk/build": |
| 17 | Var("chromium_trunk") + "/src/build@" + Var("chromium_revision"), |
| 18 | |
| 19 | "trunk/testing": |
| 20 | Var("chromium_trunk") + "/src/testing@" + Var("chromium_revision"), |
| 21 | |
| 22 | "trunk/testing/gtest": |
| 23 | (Var("googlecode_url") % "googletest") + "/trunk@573", |
| 24 | |
| 25 | "trunk/testing/gmock": |
| 26 | (Var("googlecode_url") % "googlemock") + "/trunk@386", |
| 27 | |
| 28 | "trunk/tools/gyp": |
andrew@webrtc.org | d3131ed | 2011-12-21 16:25:30 +0000 | [diff] [blame] | 29 | (Var("googlecode_url") % "gyp") + "/trunk@1107", |
andrew@webrtc.org | f1a605c | 2011-10-21 15:29:16 +0000 | [diff] [blame] | 30 | |
| 31 | # Needed by build/common.gypi. |
| 32 | "trunk/tools/win/supalink": |
| 33 | Var("chromium_trunk") + "/src/tools/win/supalink@" + Var("chromium_revision"), |
| 34 | |
| 35 | "trunk/tools/clang/scripts": |
| 36 | Var("chromium_trunk") + "/src/tools/clang/scripts@" + Var("chromium_revision"), |
andrew@webrtc.org | 29f9159 | 2011-09-16 05:26:16 +0000 | [diff] [blame] | 37 | |
kjellander@webrtc.org | f7824d9 | 2011-11-25 14:13:27 +0000 | [diff] [blame] | 38 | "trunk/tools/python": |
| 39 | Var("chromium_trunk") + "/src/tools/python@" + Var("chromium_revision"), |
| 40 | |
| 41 | "trunk/tools/valgrind": |
| 42 | Var("chromium_trunk") + "/src/tools/valgrind@" + Var("chromium_revision"), |
| 43 | |
andrew@webrtc.org | 29f9159 | 2011-09-16 05:26:16 +0000 | [diff] [blame] | 44 | "trunk/third_party/protobuf/": |
| 45 | Var("chromium_trunk") + "/src/third_party/protobuf@" + Var("chromium_revision"), |
| 46 | |
andrew@webrtc.org | 29f9159 | 2011-09-16 05:26:16 +0000 | [diff] [blame] | 47 | "trunk/third_party/libvpx/source/libvpx": |
mikhal@webrtc.org | 3041c62 | 2011-11-18 00:29:26 +0000 | [diff] [blame] | 48 | "http://git.chromium.org/webm/libvpx.git@bdd35c13", |
andrew@webrtc.org | 29f9159 | 2011-09-16 05:26:16 +0000 | [diff] [blame] | 49 | |
| 50 | "trunk/third_party/libjpeg_turbo/": |
| 51 | Var("chromium_trunk") + "/deps/third_party/libjpeg_turbo@95800", |
| 52 | |
| 53 | "trunk/third_party/libjpeg/": |
| 54 | Var("chromium_trunk") + "/src/third_party/libjpeg@" + Var("chromium_revision"), |
| 55 | |
| 56 | "trunk/third_party/yasm/": |
| 57 | Var("chromium_trunk") + "/src/third_party/yasm@" + Var("chromium_revision"), |
| 58 | |
| 59 | "trunk/third_party/expat/": |
| 60 | Var("chromium_trunk") + "/src/third_party/expat@" + Var("chromium_revision"), |
| 61 | |
| 62 | "trunk/third_party/libjingle/": |
| 63 | Var("chromium_trunk") + "/src/third_party/libjingle@" + Var("chromium_revision"), |
| 64 | |
| 65 | "trunk/third_party/google-gflags/src": |
| 66 | (Var("googlecode_url") % "google-gflags") + "/trunk/src@45", |
| 67 | |
| 68 | "trunk/third_party/libjingle/source": |
| 69 | (Var("googlecode_url") % "libjingle") + "/trunk@" + Var("libjingle_revision"), |
| 70 | |
| 71 | "trunk/third_party/yasm/source/patched-yasm": |
| 72 | Var("chromium_trunk") + "/deps/third_party/yasm/patched-yasm@73761", |
| 73 | # Used by libjpeg-turbo |
| 74 | "trunk/third_party/yasm/binaries": |
| 75 | Var("chromium_trunk") + "/deps/third_party/yasm/binaries@74228", |
| 76 | |
| 77 | "trunk/third_party/jsoncpp/": |
| 78 | "http://jsoncpp.svn.sourceforge.net/svnroot/jsoncpp/trunk/jsoncpp@246", |
andrew@webrtc.org | bbea716 | 2011-12-09 19:43:12 +0000 | [diff] [blame] | 79 | |
mikhal@webrtc.org | 2cdb2d3 | 2011-11-28 18:09:41 +0000 | [diff] [blame] | 80 | "trunk/third_party/libyuv": |
andrew@webrtc.org | 981d74d | 2011-12-12 05:48:56 +0000 | [diff] [blame] | 81 | (Var("googlecode_url") % "libyuv") + "/trunk@101", |
andrew@webrtc.org | 29f9159 | 2011-09-16 05:26:16 +0000 | [diff] [blame] | 82 | } |
| 83 | |
| 84 | deps_os = { |
| 85 | "win": { |
| 86 | "trunk/third_party/cygwin/": |
| 87 | Var("chromium_trunk") + "/deps/third_party/cygwin@66844", |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | hooks = [ |
| 92 | { |
| 93 | # Create a supplement.gypi file under trunk/. This file will be picked up |
| 94 | # by gyp and we use it to set Chromium related variables (inside_chromium_build) |
| 95 | # to 0 and enable the standalone build. |
| 96 | "pattern": ".", |
| 97 | "action": ["python", "trunk/tools/create_supplement_gypi.py", "trunk/src/supplement.gypi"], |
| 98 | }, |
andrew@webrtc.org | 29f9159 | 2011-09-16 05:26:16 +0000 | [diff] [blame] | 99 | { |
andrew@webrtc.org | f1a605c | 2011-10-21 15:29:16 +0000 | [diff] [blame] | 100 | # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes |
| 101 | # zero seconds to run. If something changed, it downloads a prebuilt clang. |
| 102 | "pattern": ".", |
| 103 | "action": ["python", "trunk/tools/clang/scripts/update.py", "--mac-only"], |
| 104 | }, |
| 105 | { |
kjellander@webrtc.org | 0c80c7f | 2011-11-23 14:11:16 +0000 | [diff] [blame] | 106 | # Download test resources, i.e. video and audio files. If the latest |
| 107 | # version is already downloaded, this takes zero seconds to run. |
| 108 | # If a newer version or no current download exists, it will download |
andrew@webrtc.org | c4ac357 | 2011-11-23 18:37:51 +0000 | [diff] [blame] | 109 | # the resources and extract them. |
kjellander@webrtc.org | 0c80c7f | 2011-11-23 14:11:16 +0000 | [diff] [blame] | 110 | "pattern": ".", |
| 111 | "action": ["python", "trunk/tools/resources/update.py"], |
| 112 | }, |
| 113 | { |
andrew@webrtc.org | f1a605c | 2011-10-21 15:29:16 +0000 | [diff] [blame] | 114 | # A change to a .gyp, .gypi, or to GYP itself should run the generator. |
andrew@webrtc.org | 29f9159 | 2011-09-16 05:26:16 +0000 | [diff] [blame] | 115 | "pattern": ".", |
| 116 | "action": ["python", "trunk/build/gyp_chromium", "--depth=trunk", "trunk/webrtc.gyp"], |
| 117 | }, |
| 118 | ] |
| 119 | |