DEPS 7.1 KB
Newer Older
A
Adam Barth 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
# This file is automatically processed to create .DEPS.git which is the file
# that gclient uses under git.
#
# See http://code.google.com/p/chromium/wiki/UsingGit
#
# To test manually, run:
#   python tools/deps2git/deps2git.py -o .DEPS.git -w <gclientdir>
# where <gcliendir> is the absolute path to the directory containing the
# .gclient file (the parent of 'src').
#
# Then commit .DEPS.git locally (gclient doesn't like dirty trees) and run
#   gclient sync
# Verify the thing happened you wanted. Then revert your .DEPS.git change
# DO NOT CHECK IN CHANGES TO .DEPS.git upstream. It will be automatically
# updated by a bot when you modify this one.
#
# When adding a new dependency, please update the top-level .gitignore file
# to list the dependency's destination directory.

vars = {
  'chromium_git': 'https://chromium.googlesource.com',
A
Adam Barth 已提交
22
  'fuchsia_git': 'https://fuchsia.googlesource.com',
23
  'skia_git': 'https://skia.googlesource.com',
24
  'github_git': 'https://github.com',
A
Adam Barth 已提交
25
  'base_revision': 'b2412302ed4e45bfb47d7b5c0c3418077009e1ce',
26
  'skia_revision': '130a118cc68f8f9973e9572356011de378463fea',
C
Chinmay Garde 已提交
27 28 29

  # Note: When updating the Dart revision, ensure that all entries that are
  # dependencies of dart are also updated
30
  'dart_revision': 'b46af1e75f9d124ce0e5f8226d570e93ac87d3a9',
31 32
  'dart_boringssl_gen_revision': '1a810313a0290e1caace9da73fa3ab89995ad2c7',
  'dart_boringssl_revision': 'd519bf6be0b447fb80fbc539d4bff4479b5482a2',
33
  'dart_observatory_packages_revision': '26aad88f1c1915d39bbcbff3cad589e2402fdcf1',
34
  'dart_root_certificates_revision': '0068d8911140e591ebb750af296e81940a9906f5',
A
Adam Barth 已提交
35

36
  'buildtools_revision': '5655267acc2b1c672aec43bfbd28c645908fcd74',
A
Adam Barth 已提交
37 38 39 40 41 42
}

# Only these hosts are allowed for dependencies in this DEPS file.
# If you need to add a new host, contact chrome infrastructure team.
allowed_hosts = [
  'chromium.googlesource.com',
A
Adam Barth 已提交
43
  'fuchsia.googlesource.com',
J
James Robinson 已提交
44
  'github.com',
45
  'skia.googlesource.com',
A
Adam Barth 已提交
46 47 48
]

deps = {
49
  'src': 'https://github.com/flutter/buildroot.git' + '@' + '62de2ab9a1e6ffdaec93b74f6e0b4adf57c3f571',
50

A
Adam Barth 已提交
51 52 53 54 55 56 57
   # Fuchsia compatibility
   #
   # The dependencies in this section should match the layout in the Fuchsia gn
   # build. Eventually, we'll manage these dependencies together with Fuchsia
   # and not have to specific specific hashes.

  'src/lib/ftl':
J
Jason Simmons 已提交
58
   Var('fuchsia_git') + '/ftl' + '@' + 'bb82d5f52ecca65650817a1c31c1f49eca54237a',
A
Adam Barth 已提交
59

A
Adam Barth 已提交
60
  'src/lib/tonic':
61
   Var('fuchsia_git') + '/tonic' + '@' + '4214b35e02a1286a5fb98895d0c480fa0da10f6d',
A
Adam Barth 已提交
62

A
Adam Barth 已提交
63
  'src/lib/zip':
J
Jason Simmons 已提交
64
   Var('fuchsia_git') + '/zip' + '@' + '92dc87ca645fe8e9f5151ef6dac86d8311a7222f',
A
Adam Barth 已提交
65

A
Adam Barth 已提交
66 67 68
  'src/third_party/gtest':
   Var('fuchsia_git') + '/third_party/gtest' + '@' + 'c00f82917331efbbd27124b537e4ccc915a02b72',

69 70 71
  'src/third_party/rapidjson':
   Var('fuchsia_git') + '/third_party/rapidjson' + '@' + '9defbb0209a534ffeb3a2b79d5ee440a77407292',

A
Adam Barth 已提交
72 73 74 75 76
   # Chromium-style
   #
   # As part of integrating with Fuchsia, we should eventually remove all these
   # Chromium-style dependencies.

77
  'src/base':
78
   Var('github_git') + '/flutter/base.git' + '@' +  Var('base_revision'),
79

A
Adam Barth 已提交
80
  'src/buildtools':
81
   Var('fuchsia_git') + '/buildtools' + '@' +  Var('buildtools_revision'),
A
Adam Barth 已提交
82

A
Adam Barth 已提交
83
  # TODO(abarth): Remove in favor of //third_party/gtest
A
Adam Barth 已提交
84
  'src/testing/gtest':
A
Adam Barth 已提交
85
   Var('chromium_git') + '/external/googletest.git' + '@' + '23574bf2333f834ff665f894c97bef8a5b33a0a9',
A
Adam Barth 已提交
86 87

  'src/testing/gmock':
A
Adam Barth 已提交
88
   Var('chromium_git') + '/external/googlemock.git' + '@' + '29763965ab52f24565299976b936d1265cb6a271',
A
Adam Barth 已提交
89 90

  'src/third_party/icu':
A
Adam Barth 已提交
91
   Var('chromium_git') + '/chromium/deps/icu.git' + '@' + 'c3f79166089e5360c09e3053fce50e6e296c3204',
A
Adam Barth 已提交
92 93 94 95

  'src/dart':
    Var('chromium_git') + '/external/github.com/dart-lang/sdk.git' + '@' + Var('dart_revision'),

96 97 98 99 100
  'src/third_party/boringssl':
    Var('github_git') + '/dart-lang/boringssl_gen.git' + '@' + Var('dart_boringssl_gen_revision'),

  'src/third_party/boringssl/src':
   'https://boringssl.googlesource.com/boringssl.git' + '@' + Var('dart_boringssl_revision'),
101

A
Adam Barth 已提交
102
  'src/dart/third_party/observatory_pub_packages':
103 104 105
   Var('chromium_git') +
   '/external/github.com/dart-lang/observatory_pub_packages' + '@' +
   Var('dart_observatory_packages_revision'),
A
Adam Barth 已提交
106

107
  'src/third_party/root_certificates':
C
Chinmay Garde 已提交
108 109 110 111
   Var('chromium_git') +
   '/external/github.com/dart-lang/root_certificates' + '@' +
   Var('dart_root_certificates_revision'),

A
Adam Barth 已提交
112
  'src/third_party/skia':
113
   Var('skia_git') + '/skia.git' + '@' +  Var('skia_revision'),
A
Adam Barth 已提交
114

115
  'src/third_party/yasm/source/patched-yasm':
A
Adam Barth 已提交
116
   Var('chromium_git') + '/chromium/deps/yasm/patched-yasm.git' + '@' + '4671120cd8558ce62ee8672ebf3eb6f5216f909b',
117

118 119
  'src/third_party/libjpeg-turbo':
   Var('skia_git') + '/third_party/libjpeg-turbo.git' + '@' + 'debddedc75850bcdeb8a57258572f48b802a4bb3',
120

121 122 123
  'src/third_party/gyp':
   Var('chromium_git') + '/external/gyp.git' + '@' + '6ee91ad8659871916f9aa840d42e1513befdf638',

124 125 126
   # Headers for Vulkan 1.0
   'src/third_party/vulkan':
   Var('github_git') + '/KhronosGroup/Vulkan-Docs.git' + '@' + 'e29c2489e238509c41aeb8c7bce9d669a496344b',
A
Adam Barth 已提交
127 128
}

129 130 131 132
recursedeps = [
  'src/buildtools',
]

A
Adam Barth 已提交
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149
deps_os = {
  'android': {
    'src/third_party/colorama/src':
     Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8',

    'src/third_party/jsr-305/src':
        Var('chromium_git') + '/external/jsr-305.git' + '@' + '642c508235471f7220af6d5df2d3210e3bfc0919',

    'src/third_party/junit/src':
      Var('chromium_git') + '/external/junit.git' + '@' + '45a44647e7306262162e1346b750c3209019f2e1',

    'src/third_party/mockito/src':
      Var('chromium_git') + '/external/mockito/mockito.git' + '@' + 'ed99a52e94a84bd7c467f2443b475a22fcc6ba8e',

    'src/third_party/robolectric/lib':
      Var('chromium_git') + '/chromium/third_party/robolectric.git' + '@' + '6b63c99a8b6967acdb42cbed0adb067c80efc810',

150
    'src/third_party/freetype2':
151
       Var('fuchsia_git') + '/third_party/freetype2' + '@' + 'e23a030e9b43c648249477fdf7bf5305d2cc8f59',
A
Adam Barth 已提交
152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167
  },
}


hooks = [
  {
    # This clobbers when necessary (based on get_landmines.py). It must be the
    # first hook so that other things that get/generate into the output
    # directory will not subsequently be clobbered.
    'name': 'landmines',
    'pattern': '.',
    'action': [
        'python',
        'src/build/landmines.py',
    ],
  },
168 169 170 171 172 173
  {
    # Update the Windows toolchain if necessary.
    'name': 'win_toolchain',
    'pattern': '.',
    'action': ['python', 'src/build/vs_toolchain.py', 'update'],
  },
174 175 176 177 178 179 180 181
  {
    'name': 'download_android_tools',
    'pattern': '.',
    'action': [
        'python',
        'src/tools/android/download_android_tools.py',
    ],
  },
A
Adam Barth 已提交
182
  {
183
    'name': 'buildtools',
A
Adam Barth 已提交
184
    'pattern': '.',
185
    'action': ['python', 'src/tools/buildtools/update.py'],
A
Adam Barth 已提交
186
  },
187 188 189 190 191 192
  {
    # Pull dart sdk if needed
    'name': 'dart',
    'pattern': '.',
    'action': ['python', 'src/tools/dart/update.py'],
  },
A
Adam Barth 已提交
193 194 195 196 197 198 199 200 201 202 203 204
  {
    # Ensure that we don't accidentally reference any .pyc files whose
    # corresponding .py files have already been deleted.
    'name': 'remove_stale_pyc_files',
    'pattern': 'src/tools/.*\\.py',
    'action': [
        'python',
        'src/tools/remove_stale_pyc_files.py',
        'src/tools',
    ],
  },
]