DEPS 1.37 KB
Newer Older
1
vars = {
kjellander@google.com's avatar
kjellander@google.com committed
2 3
  # Override root_dir in your .gclient's custom_vars to specify a custom root
  # folder name.
4 5 6
  'root_dir': 'libyuv',
  'extra_gyp_flag': '-Dextra_gyp_flag=0',
  'chromium_git': 'https://chromium.googlesource.com',
kjellander@google.com's avatar
kjellander@google.com committed
7

8 9
  # Roll the Chromium Git hash to pick up newer versions of all the
  # dependencies and tools linked to in setup_links.py.
10
  'chromium_revision': 'ec6107434ebf366554bb2af162d602ff34d480c1',
11 12
}

13 14 15
# NOTE: Prefer revision numbers to tags for svn deps. Use http rather than
# https; the latter can cause problems for users behind proxies.
deps = {
16
  Var('root_dir') + '/third_party/gflags/src':
17 18 19 20 21 22
    Var('chromium_git') + '/external/gflags/src@e7390f9185c75f8d902c05ed7d20bb94eb914d0c', # from svn revision 82
}

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

23
hooks = [
24
  {
25
    # Clone chromium and its deps.
26 27 28 29
    'name': 'sync chromium',
    'pattern': '.',
    'action': ['python', '-u', Var('root_dir') + '/sync_chromium.py',
               '--target-revision', Var('chromium_revision')],
30
  },
31
  {
32
    # Create links to shared dependencies in Chromium.
33 34 35
    'name': 'setup_links',
    'pattern': '.',
    'action': ['python', Var('root_dir') + '/setup_links.py'],
36
  },
kjellander@google.com's avatar
kjellander@google.com committed
37 38
  {
    # A change to a .gyp, .gypi, or to GYP itself should run the generator.
39 40
    'pattern': '.',
    'action': ['python', Var('root_dir') + '/gyp_libyuv'],
41
  },
42
]