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 | 6241bee | 2012-02-23 21:32:37 +0000 | [diff] [blame] | 6 | "chromium_revision": "122775", |
andrew@webrtc.org | f1a605c | 2011-10-21 15:29:16 +0000 | [diff] [blame] | 7 | |
kjellander@webrtc.org | 0c80c7f | 2011-11-23 14:11:16 +0000 | [diff] [blame] | 8 | # External resources like video and audio files used for testing purposes. |
andrew@webrtc.org | c4ac357 | 2011-11-23 18:37:51 +0000 | [diff] [blame] | 9 | # Downloaded on demand when needed. |
andrew@webrtc.org | daacee8 | 2012-02-07 00:01:04 +0000 | [diff] [blame] | 10 | "webrtc_resources_revision": "8", |
andrew@webrtc.org | 29f9159 | 2011-09-16 05:26:16 +0000 | [diff] [blame] | 11 | } |
| 12 | |
andrew@webrtc.org | 57193f0 | 2012-02-16 01:20:15 +0000 | [diff] [blame] | 13 | # NOTE: Prefer revision numbers to tags for svn deps. Use http rather than |
| 14 | # https; the latter can cause problems for users behind proxies. |
andrew@webrtc.org | 29f9159 | 2011-09-16 05:26:16 +0000 | [diff] [blame] | 15 | deps = { |
andrew@webrtc.org | 6241bee | 2012-02-23 21:32:37 +0000 | [diff] [blame] | 16 | "trunk/chromium_deps": |
| 17 | File(Var("chromium_trunk") + "/src/DEPS@" + Var("chromium_revision")), |
| 18 | |
andrew@webrtc.org | 29f9159 | 2011-09-16 05:26:16 +0000 | [diff] [blame] | 19 | "trunk/build": |
| 20 | Var("chromium_trunk") + "/src/build@" + Var("chromium_revision"), |
| 21 | |
| 22 | "trunk/testing": |
| 23 | Var("chromium_trunk") + "/src/testing@" + Var("chromium_revision"), |
| 24 | |
andrew@webrtc.org | 29f9159 | 2011-09-16 05:26:16 +0000 | [diff] [blame] | 25 | "trunk/testing/gmock": |
andrew@webrtc.org | 6241bee | 2012-02-23 21:32:37 +0000 | [diff] [blame] | 26 | From("trunk/chromium_deps", "src/testing/gmock"), |
| 27 | |
| 28 | "trunk/testing/gtest": |
| 29 | From("trunk/chromium_deps", "src/testing/gtest"), |
| 30 | |
| 31 | "trunk/third_party/expat": |
| 32 | Var("chromium_trunk") + "/src/third_party/expat@" + Var("chromium_revision"), |
| 33 | |
andrew@webrtc.org | 6241bee | 2012-02-23 21:32:37 +0000 | [diff] [blame] | 34 | "trunk/third_party/google-gflags/src": |
| 35 | (Var("googlecode_url") % "google-gflags") + "/trunk/src@45", |
| 36 | |
| 37 | # Used by tools/quality_tracking/dashboard and tools/python_charts. |
| 38 | "trunk/third_party/google-visualization-python": |
| 39 | (Var("googlecode_url") % "google-visualization-python") + "/trunk@15", |
| 40 | |
| 41 | "trunk/third_party/libjpeg": |
| 42 | Var("chromium_trunk") + "/src/third_party/libjpeg@" + Var("chromium_revision"), |
| 43 | |
| 44 | "trunk/third_party/libjpeg_turbo": |
| 45 | From("trunk/chromium_deps", "src/third_party/libjpeg_turbo"), |
| 46 | |
| 47 | "trunk/third_party/libvpx/source/libvpx": |
stefan@webrtc.org | c8e4886 | 2012-03-21 16:52:03 +0000 | [diff] [blame^] | 48 | "http://git.chromium.org/webm/libvpx.git@6b66c01c", |
andrew@webrtc.org | 6241bee | 2012-02-23 21:32:37 +0000 | [diff] [blame] | 49 | |
| 50 | "trunk/third_party/libyuv": |
mflodman@webrtc.org | 007a832 | 2012-03-01 11:53:17 +0000 | [diff] [blame] | 51 | (Var("googlecode_url") % "libyuv") + "/trunk@192", |
andrew@webrtc.org | 6241bee | 2012-02-23 21:32:37 +0000 | [diff] [blame] | 52 | |
| 53 | "trunk/third_party/protobuf": |
| 54 | Var("chromium_trunk") + "/src/third_party/protobuf@" + Var("chromium_revision"), |
| 55 | |
andrew@webrtc.org | 6241bee | 2012-02-23 21:32:37 +0000 | [diff] [blame] | 56 | "trunk/third_party/yasm": |
phoglund@webrtc.org | 41be9be | 2012-03-21 08:01:05 +0000 | [diff] [blame] | 57 | Var("chromium_trunk") + "/src/third_party/yasm@" + Var("chromium_revision"), |
andrew@webrtc.org | 6241bee | 2012-02-23 21:32:37 +0000 | [diff] [blame] | 58 | |
| 59 | "trunk/third_party/yasm/source/patched-yasm": |
phoglund@webrtc.org | 41be9be | 2012-03-21 08:01:05 +0000 | [diff] [blame] | 60 | From("trunk/chromium_deps", "src/third_party/yasm/source/patched-yasm"), |
andrew@webrtc.org | 6241bee | 2012-02-23 21:32:37 +0000 | [diff] [blame] | 61 | |
| 62 | "trunk/tools/clang": |
| 63 | Var("chromium_trunk") + "/src/tools/clang@" + Var("chromium_revision"), |
andrew@webrtc.org | 29f9159 | 2011-09-16 05:26:16 +0000 | [diff] [blame] | 64 | |
| 65 | "trunk/tools/gyp": |
andrew@webrtc.org | 6241bee | 2012-02-23 21:32:37 +0000 | [diff] [blame] | 66 | From("trunk/chromium_deps", "src/tools/gyp"), |
andrew@webrtc.org | 29f9159 | 2011-09-16 05:26:16 +0000 | [diff] [blame] | 67 | |
kjellander@webrtc.org | f7824d9 | 2011-11-25 14:13:27 +0000 | [diff] [blame] | 68 | "trunk/tools/python": |
| 69 | Var("chromium_trunk") + "/src/tools/python@" + Var("chromium_revision"), |
| 70 | |
| 71 | "trunk/tools/valgrind": |
| 72 | Var("chromium_trunk") + "/src/tools/valgrind@" + Var("chromium_revision"), |
| 73 | |
andrew@webrtc.org | 6241bee | 2012-02-23 21:32:37 +0000 | [diff] [blame] | 74 | # Needed by build/common.gypi. |
| 75 | "trunk/tools/win/supalink": |
| 76 | Var("chromium_trunk") + "/src/tools/win/supalink@" + Var("chromium_revision"), |
andrew@webrtc.org | 29f9159 | 2011-09-16 05:26:16 +0000 | [diff] [blame] | 77 | } |
| 78 | |
| 79 | deps_os = { |
| 80 | "win": { |
andrew@webrtc.org | 6241bee | 2012-02-23 21:32:37 +0000 | [diff] [blame] | 81 | "trunk/third_party/cygwin": |
andrew@webrtc.org | 29f9159 | 2011-09-16 05:26:16 +0000 | [diff] [blame] | 82 | Var("chromium_trunk") + "/deps/third_party/cygwin@66844", |
andrew@webrtc.org | 6241bee | 2012-02-23 21:32:37 +0000 | [diff] [blame] | 83 | |
| 84 | # Used by libjpeg-turbo. |
| 85 | "trunk/third_party/yasm/binaries": |
| 86 | From("trunk/chromium_deps", "src/third_party/yasm/binaries"), |
| 87 | }, |
| 88 | "unix": { |
| 89 | "trunk/third_party/gold": |
| 90 | From("trunk/chromium_deps", "src/third_party/gold"), |
| 91 | }, |
andrew@webrtc.org | 29f9159 | 2011-09-16 05:26:16 +0000 | [diff] [blame] | 92 | } |
| 93 | |
| 94 | hooks = [ |
| 95 | { |
| 96 | # Create a supplement.gypi file under trunk/. This file will be picked up |
| 97 | # by gyp and we use it to set Chromium related variables (inside_chromium_build) |
| 98 | # to 0 and enable the standalone build. |
| 99 | "pattern": ".", |
| 100 | "action": ["python", "trunk/tools/create_supplement_gypi.py", "trunk/src/supplement.gypi"], |
| 101 | }, |
andrew@webrtc.org | 29f9159 | 2011-09-16 05:26:16 +0000 | [diff] [blame] | 102 | { |
andrew@webrtc.org | f1a605c | 2011-10-21 15:29:16 +0000 | [diff] [blame] | 103 | # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes |
| 104 | # zero seconds to run. If something changed, it downloads a prebuilt clang. |
| 105 | "pattern": ".", |
| 106 | "action": ["python", "trunk/tools/clang/scripts/update.py", "--mac-only"], |
| 107 | }, |
| 108 | { |
kjellander@webrtc.org | 0c80c7f | 2011-11-23 14:11:16 +0000 | [diff] [blame] | 109 | # Download test resources, i.e. video and audio files. If the latest |
| 110 | # version is already downloaded, this takes zero seconds to run. |
| 111 | # 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] | 112 | # the resources and extract them. |
kjellander@webrtc.org | 0c80c7f | 2011-11-23 14:11:16 +0000 | [diff] [blame] | 113 | "pattern": ".", |
| 114 | "action": ["python", "trunk/tools/resources/update.py"], |
| 115 | }, |
| 116 | { |
andrew@webrtc.org | f1a605c | 2011-10-21 15:29:16 +0000 | [diff] [blame] | 117 | # 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] | 118 | "pattern": ".", |
| 119 | "action": ["python", "trunk/build/gyp_chromium", "--depth=trunk", "trunk/webrtc.gyp"], |
| 120 | }, |
| 121 | ] |
| 122 | |