media/webrtc/trunk/DEPS

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     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",
     5   "chromium_trunk" : "http://src.chromium.org/svn/trunk",
     6   "chromium_revision": "162524",
     7   # Still needs the libjingle_revision here because some of
     8   # the deps have to be pulled from libjingle repository.
     9   "libjingle_revision": "204",
    10 }
    12 # NOTE: Prefer revision numbers to tags for svn deps. Use http rather than
    13 # https; the latter can cause problems for users behind proxies.
    14 deps = {
    15   "trunk/chromium_deps":
    16     File(Var("chromium_trunk") + "/src/DEPS@" + Var("chromium_revision")),
    18   "trunk/third_party/webrtc":
    19     From("trunk/chromium_deps", "src/third_party/webrtc"),
    21   # WebRTC deps.
    22   "trunk/third_party/libvpx":
    23     From("trunk/chromium_deps", "src/third_party/libvpx"),
    25   "trunk/third_party/opus/source":
    26     "http://git.opus-codec.org/opus.git",
    28   "trunk/build":
    29     Var("chromium_trunk") + "/src/build@" + Var("chromium_revision"),
    31   # Needed by common.gypi.
    32   "trunk/google_apis/build":
    33     Var("chromium_trunk") + "/src/google_apis/build@" + Var("chromium_revision"),
    35   "trunk/testing/gtest":
    36     From("trunk/chromium_deps", "src/testing/gtest"),
    38   "trunk/tools/gyp":
    39     From("trunk/chromium_deps", "src/tools/gyp"),
    41   "trunk/tools/clang":
    42     Var("chromium_trunk") + "/src/tools/clang@" + Var("chromium_revision"),
    44   # Needed by build/common.gypi.
    45   "trunk/tools/win/supalink":
    46     Var("chromium_trunk") + "/src/tools/win/supalink@" + Var("chromium_revision"),
    48   "trunk/third_party/protobuf":
    49     Var("chromium_trunk") + "/src/third_party/protobuf@" + Var("chromium_revision"),
    51   "trunk/third_party/libjpeg_turbo/":
    52     From("trunk/chromium_deps", "src/third_party/libjpeg_turbo"),
    54   "trunk/third_party/libjpeg":
    55     Var("chromium_trunk") + "/src/third_party/libjpeg@" + Var("chromium_revision"),
    57   "trunk/third_party/yasm":
    58     Var("chromium_trunk") + "/src/third_party/yasm@" + Var("chromium_revision"),
    60   "trunk/third_party/expat":
    61     Var("chromium_trunk") + "/src/third_party/expat@" + Var("chromium_revision"),
    63   "trunk/third_party/yasm/source/patched-yasm":
    64     From("trunk/chromium_deps", "src/third_party/yasm/source/patched-yasm"),
    66   "trunk/third_party/libyuv":
    67     From("trunk/chromium_deps", "src/third_party/libyuv"),
    69   # libjingle deps.
    70   "trunk/third_party/libjingle/":
    71     File(Var("chromium_trunk") + "/src/third_party/libjingle/libjingle.gyp@" + Var("chromium_revision")),
    73   "trunk/third_party/libjingle/source":
    74     From("trunk/chromium_deps", "src/third_party/libjingle/source"),
    76   "trunk/third_party/libjingle/overrides/talk/base":
    77     (Var("googlecode_url") % "libjingle") + "/trunk/talk/base@" + Var("libjingle_revision"),
    79   "trunk/third_party/libsrtp/":
    80     From("trunk/chromium_deps", "src/third_party/libsrtp"),
    82   "trunk/third_party/jsoncpp/":
    83     Var("chromium_trunk") + "/src/third_party/jsoncpp@" + Var("chromium_revision"),
    85   "trunk/third_party/jsoncpp/source":
    86     "http://jsoncpp.svn.sourceforge.net/svnroot/jsoncpp/trunk/jsoncpp@248",
    87 }
    89 deps_os = {
    90   "win": {
    91     "trunk/third_party/cygwin/":
    92       Var("chromium_trunk") + "/deps/third_party/cygwin@66844",
    94     # Used by libjpeg-turbo
    95     "trunk/third_party/yasm/binaries":
    96       From("trunk/chromium_deps", "src/third_party/yasm/binaries"),
    97   },
    98   "unix": {
    99     "trunk/third_party/gold":
   100       From("trunk/chromium_deps", "src/third_party/gold"),
   101   },
   102 }
   104 hooks = [
   105   {
   106     # Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
   107     # zero seconds to run. If something changed, it downloads a prebuilt clang.
   108     "pattern": ".",
   109     "action": ["python", "trunk/tools/clang/scripts/update.py", "--mac-only"],
   110   },
   111   {
   112     # Update the cygwin mount on Windows.
   113     # This is necessary to get the correct mapping between e.g. /bin and the
   114     # cygwin path on Windows. Without it we can't run bash scripts in actions.
   115     # Ideally this should be solved in "pylib/gyp/msvs_emulation.py".
   116     "pattern": ".",
   117     "action": ["python", "trunk/build/win/setup_cygwin_mount.py",
   118                "--win-only"],
   119   },
   120   {
   121     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
   122     "pattern": ".",
   123     "action": ["python", "trunk/build/gyp_chromium", "--depth=trunk", "trunk/peerconnection_all.gyp"],
   124   },
   125 ]

mercurial