media/libyuv/DEPS
author Gijs Kruitbosch <gijskruitbosch@gmail.com>
Wed, 13 Jul 2016 12:05:22 +0100
changeset 347232 fb5fa9e3a52bf056d922c36f38d4ab8a55380307
parent 346926 92c15211f59b03279452759986e8b896a2a1a42f
child 347727 a6428db384f619ce265ce7a7c5860f4cb7a96a9c
permissions -rw-r--r--
Bug 1281787, r=bz MozReview-Commit-ID: JLdLD57pF87

vars = {
  # Override root_dir in your .gclient's custom_vars to specify a custom root
  # folder name.
  'root_dir': 'libyuv',
  'extra_gyp_flag': '-Dextra_gyp_flag=0',
  'chromium_git': 'https://chromium.googlesource.com',

  # Roll the Chromium Git hash to pick up newer versions of all the
  # dependencies and tools linked to in setup_links.py.
  'chromium_revision': '2a818f54130d8c93f81490adce5a1e87307bf5f0',
}

# NOTE: Prefer revision numbers to tags for svn deps. Use http rather than
# https; the latter can cause problems for users behind proxies.
deps = {
  Var('root_dir') + '/third_party/gflags/src':
    Var('chromium_git') + '/external/github.com/gflags/gflags@03bebcb065c83beff83d50ae025a55a4bf94dfca',
}

# Define rules for which include paths are allowed in our source.
include_rules = [ '+gflags' ]

hooks = [
  {
    # Clone chromium and its deps.
    'name': 'sync chromium',
    'pattern': '.',
    'action': ['python', '-u', Var('root_dir') + '/sync_chromium.py',
               '--target-revision', Var('chromium_revision')],
  },
  {
    # Create links to shared dependencies in Chromium.
    'name': 'setup_links',
    'pattern': '.',
    'action': ['python', Var('root_dir') + '/setup_links.py'],
  },
  {
    # A change to a .gyp, .gypi, or to GYP itself should run the generator.
    'pattern': '.',
    'action': ['python', Var('root_dir') + '/gyp_libyuv'],
  },
]