media/libyuv/DEPS

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

michael@0 1 use_relative_paths = True
michael@0 2
michael@0 3 vars = {
michael@0 4 "libyuv_trunk" : "https://libyuv.googlecode.com/svn/trunk",
michael@0 5
michael@0 6 # Override root_dir in your .gclient's custom_vars to specify a custom root
michael@0 7 # folder name.
michael@0 8 "root_dir": "trunk",
michael@0 9 "extra_gyp_flag": "-Dextra_gyp_flag=0",
michael@0 10
michael@0 11 # Use this googlecode_url variable only if there is an internal mirror for it.
michael@0 12 # If you do not know, use the full path while defining your new deps entry.
michael@0 13 "googlecode_url": "http://%s.googlecode.com/svn",
michael@0 14 "chromium_trunk" : "http://src.chromium.org/svn/trunk",
michael@0 15 # chrome://version/ for revision of canary Chrome.
michael@0 16 "chromium_revision": "232627",
michael@0 17 }
michael@0 18
michael@0 19 # NOTE: Prefer revision numbers to tags for svn deps. Use http rather than
michael@0 20 # https; the latter can cause problems for users behind proxies.
michael@0 21 deps = {
michael@0 22 "../chromium_deps":
michael@0 23 File(Var("chromium_trunk") + "/src/DEPS@" + Var("chromium_revision")),
michael@0 24
michael@0 25 "build":
michael@0 26 Var("chromium_trunk") + "/src/build@" + Var("chromium_revision"),
michael@0 27
michael@0 28 # Needed by common.gypi.
michael@0 29 "google_apis/build":
michael@0 30 Var("chromium_trunk") + "/src/google_apis/build@" + Var("chromium_revision"),
michael@0 31
michael@0 32 "testing":
michael@0 33 Var("chromium_trunk") + "/src/testing@" + Var("chromium_revision"),
michael@0 34
michael@0 35 "testing/gtest":
michael@0 36 From("chromium_deps", "src/testing/gtest"),
michael@0 37
michael@0 38 "tools/clang":
michael@0 39 Var("chromium_trunk") + "/src/tools/clang@" + Var("chromium_revision"),
michael@0 40
michael@0 41 "tools/gyp":
michael@0 42 From("chromium_deps", "src/tools/gyp"),
michael@0 43
michael@0 44 "tools/python":
michael@0 45 Var("chromium_trunk") + "/src/tools/python@" + Var("chromium_revision"),
michael@0 46
michael@0 47 "tools/valgrind":
michael@0 48 Var("chromium_trunk") + "/src/tools/valgrind@" + Var("chromium_revision"),
michael@0 49
michael@0 50 # Needed by build/common.gypi.
michael@0 51 "tools/win/supalink":
michael@0 52 Var("chromium_trunk") + "/src/tools/win/supalink@" + Var("chromium_revision"),
michael@0 53
michael@0 54 "third_party/libjpeg_turbo":
michael@0 55 From("chromium_deps", "src/third_party/libjpeg_turbo"),
michael@0 56
michael@0 57 # Yasm assember required for libjpeg_turbo
michael@0 58 "third_party/yasm":
michael@0 59 Var("chromium_trunk") + "/src/third_party/yasm@" + Var("chromium_revision"),
michael@0 60
michael@0 61 "third_party/yasm/source/patched-yasm":
michael@0 62 Var("chromium_trunk") + "/deps/third_party/yasm/patched-yasm@" + Var("chromium_revision"),
michael@0 63 }
michael@0 64
michael@0 65 deps_os = {
michael@0 66 "win": {
michael@0 67 # Use WebRTC's, stripped down, version of Cygwin (required by GYP).
michael@0 68 "third_party/cygwin":
michael@0 69 (Var("googlecode_url") % "webrtc") + "/deps/third_party/cygwin@2672",
michael@0 70
michael@0 71 # Used by libjpeg-turbo.
michael@0 72 # TODO(fbarchard): Remove binaries and run yasm from build folder.
michael@0 73 "third_party/yasm/binaries":
michael@0 74 Var("chromium_trunk") + "/deps/third_party/yasm/binaries@" + Var("chromium_revision"),
michael@0 75 "third_party/yasm": None,
michael@0 76 },
michael@0 77 "unix": {
michael@0 78 "third_party/gold":
michael@0 79 From("chromium_deps", "src/third_party/gold"),
michael@0 80 },
michael@0 81 "android": {
michael@0 82 "third_party/android_tools":
michael@0 83 From("chromium_deps", "src/third_party/android_tools"),
michael@0 84
michael@0 85 "third_party/libjpeg":
michael@0 86 From("chromium_deps", "src/third_party/libjpeg"),
michael@0 87 },
michael@0 88 "ios": {
michael@0 89 # NSS, for SSLClientSocketNSS.
michael@0 90 "third_party/nss":
michael@0 91 From("chromium_deps", "src/third_party/nss"),
michael@0 92
michael@0 93 "net/third_party/nss":
michael@0 94 Var("chromium_trunk") + "/src/net/third_party/nss@" + Var("chromium_revision"),
michael@0 95
michael@0 96 # class-dump utility to generate header files for undocumented SDKs.
michael@0 97 "testing/iossim/third_party/class-dump":
michael@0 98 From("chromium_deps", "src/testing/iossim/third_party/class-dump"),
michael@0 99
michael@0 100 # Helper for running under the simulator.
michael@0 101 "testing/iossim":
michael@0 102 Var("chromium_trunk") + "/src/testing/iossim@" + Var("chromium_revision"),
michael@0 103 },
michael@0 104 }
michael@0 105
michael@0 106 hooks = [
michael@0 107 {
michael@0 108 # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
michael@0 109 # zero seconds to run. If something changed, it downloads a prebuilt clang.
michael@0 110 "pattern": ".",
michael@0 111 "action": ["python", Var("root_dir") + "/tools/clang/scripts/update.py",
michael@0 112 "--mac-only"],
michael@0 113 },
michael@0 114 {
michael@0 115 # A change to a .gyp, .gypi, or to GYP itself should run the generator.
michael@0 116 "pattern": ".",
michael@0 117 "action": ["python", Var("root_dir") + "/build/gyp_chromium",
michael@0 118 "--depth=" + Var("root_dir"), Var("root_dir") + "/all.gyp",
michael@0 119 Var("extra_gyp_flag")],
michael@0 120 },
michael@0 121 {
michael@0 122 # Update the cygwin mount on Windows.
michael@0 123 # This is necessary to get the correct mapping between e.g. /bin and the
michael@0 124 # cygwin path on Windows. Without it we can't run bash scripts in actions.
michael@0 125 # Ideally this should be solved in "pylib/gyp/msvs_emulation.py".
michael@0 126 "pattern": ".",
michael@0 127 "action": ["python", Var("root_dir") + "/build/win/setup_cygwin_mount.py",
michael@0 128 "--win-only"],
michael@0 129 },
michael@0 130 ]

mercurial