1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/media/libyuv/DEPS Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,130 @@ 1.4 +use_relative_paths = True 1.5 + 1.6 +vars = { 1.7 + "libyuv_trunk" : "https://libyuv.googlecode.com/svn/trunk", 1.8 + 1.9 + # Override root_dir in your .gclient's custom_vars to specify a custom root 1.10 + # folder name. 1.11 + "root_dir": "trunk", 1.12 + "extra_gyp_flag": "-Dextra_gyp_flag=0", 1.13 + 1.14 + # Use this googlecode_url variable only if there is an internal mirror for it. 1.15 + # If you do not know, use the full path while defining your new deps entry. 1.16 + "googlecode_url": "http://%s.googlecode.com/svn", 1.17 + "chromium_trunk" : "http://src.chromium.org/svn/trunk", 1.18 + # chrome://version/ for revision of canary Chrome. 1.19 + "chromium_revision": "232627", 1.20 +} 1.21 + 1.22 +# NOTE: Prefer revision numbers to tags for svn deps. Use http rather than 1.23 +# https; the latter can cause problems for users behind proxies. 1.24 +deps = { 1.25 + "../chromium_deps": 1.26 + File(Var("chromium_trunk") + "/src/DEPS@" + Var("chromium_revision")), 1.27 + 1.28 + "build": 1.29 + Var("chromium_trunk") + "/src/build@" + Var("chromium_revision"), 1.30 + 1.31 + # Needed by common.gypi. 1.32 + "google_apis/build": 1.33 + Var("chromium_trunk") + "/src/google_apis/build@" + Var("chromium_revision"), 1.34 + 1.35 + "testing": 1.36 + Var("chromium_trunk") + "/src/testing@" + Var("chromium_revision"), 1.37 + 1.38 + "testing/gtest": 1.39 + From("chromium_deps", "src/testing/gtest"), 1.40 + 1.41 + "tools/clang": 1.42 + Var("chromium_trunk") + "/src/tools/clang@" + Var("chromium_revision"), 1.43 + 1.44 + "tools/gyp": 1.45 + From("chromium_deps", "src/tools/gyp"), 1.46 + 1.47 + "tools/python": 1.48 + Var("chromium_trunk") + "/src/tools/python@" + Var("chromium_revision"), 1.49 + 1.50 + "tools/valgrind": 1.51 + Var("chromium_trunk") + "/src/tools/valgrind@" + Var("chromium_revision"), 1.52 + 1.53 + # Needed by build/common.gypi. 1.54 + "tools/win/supalink": 1.55 + Var("chromium_trunk") + "/src/tools/win/supalink@" + Var("chromium_revision"), 1.56 + 1.57 + "third_party/libjpeg_turbo": 1.58 + From("chromium_deps", "src/third_party/libjpeg_turbo"), 1.59 + 1.60 + # Yasm assember required for libjpeg_turbo 1.61 + "third_party/yasm": 1.62 + Var("chromium_trunk") + "/src/third_party/yasm@" + Var("chromium_revision"), 1.63 + 1.64 + "third_party/yasm/source/patched-yasm": 1.65 + Var("chromium_trunk") + "/deps/third_party/yasm/patched-yasm@" + Var("chromium_revision"), 1.66 +} 1.67 + 1.68 +deps_os = { 1.69 + "win": { 1.70 + # Use WebRTC's, stripped down, version of Cygwin (required by GYP). 1.71 + "third_party/cygwin": 1.72 + (Var("googlecode_url") % "webrtc") + "/deps/third_party/cygwin@2672", 1.73 + 1.74 + # Used by libjpeg-turbo. 1.75 + # TODO(fbarchard): Remove binaries and run yasm from build folder. 1.76 + "third_party/yasm/binaries": 1.77 + Var("chromium_trunk") + "/deps/third_party/yasm/binaries@" + Var("chromium_revision"), 1.78 + "third_party/yasm": None, 1.79 + }, 1.80 + "unix": { 1.81 + "third_party/gold": 1.82 + From("chromium_deps", "src/third_party/gold"), 1.83 + }, 1.84 + "android": { 1.85 + "third_party/android_tools": 1.86 + From("chromium_deps", "src/third_party/android_tools"), 1.87 + 1.88 + "third_party/libjpeg": 1.89 + From("chromium_deps", "src/third_party/libjpeg"), 1.90 + }, 1.91 + "ios": { 1.92 + # NSS, for SSLClientSocketNSS. 1.93 + "third_party/nss": 1.94 + From("chromium_deps", "src/third_party/nss"), 1.95 + 1.96 + "net/third_party/nss": 1.97 + Var("chromium_trunk") + "/src/net/third_party/nss@" + Var("chromium_revision"), 1.98 + 1.99 + # class-dump utility to generate header files for undocumented SDKs. 1.100 + "testing/iossim/third_party/class-dump": 1.101 + From("chromium_deps", "src/testing/iossim/third_party/class-dump"), 1.102 + 1.103 + # Helper for running under the simulator. 1.104 + "testing/iossim": 1.105 + Var("chromium_trunk") + "/src/testing/iossim@" + Var("chromium_revision"), 1.106 + }, 1.107 +} 1.108 + 1.109 +hooks = [ 1.110 + { 1.111 + # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes 1.112 + # zero seconds to run. If something changed, it downloads a prebuilt clang. 1.113 + "pattern": ".", 1.114 + "action": ["python", Var("root_dir") + "/tools/clang/scripts/update.py", 1.115 + "--mac-only"], 1.116 + }, 1.117 + { 1.118 + # A change to a .gyp, .gypi, or to GYP itself should run the generator. 1.119 + "pattern": ".", 1.120 + "action": ["python", Var("root_dir") + "/build/gyp_chromium", 1.121 + "--depth=" + Var("root_dir"), Var("root_dir") + "/all.gyp", 1.122 + Var("extra_gyp_flag")], 1.123 + }, 1.124 + { 1.125 + # Update the cygwin mount on Windows. 1.126 + # This is necessary to get the correct mapping between e.g. /bin and the 1.127 + # cygwin path on Windows. Without it we can't run bash scripts in actions. 1.128 + # Ideally this should be solved in "pylib/gyp/msvs_emulation.py". 1.129 + "pattern": ".", 1.130 + "action": ["python", Var("root_dir") + "/build/win/setup_cygwin_mount.py", 1.131 + "--win-only"], 1.132 + }, 1.133 +]