1 # DEPS files look like -*- Python -*-
4 # These revisions are slices of the chromium repository.
5 # Because they come from separate sub-slices, their hashes do not match at
6 # equivalent revisions. When updating them, use the roll-dep script
7 # to move them to equivalent revisions. Additionally, because not all
8 # directories contain commits at each revision, you will need to select
9 # revisions at latest revision up to a high watermark from each slice.
10 # Document the high watermark here:
12 "build_rev": "80d1bcf5591e724463be35b794ffe3261a5b9006", # from cr commit position 1039183
13 "buildtools_revision": "dbde006685de56293b98deda3130a5bcf73c354b", # from cr commit position 1038197
14 "clang_rev": "0fc72d33cae3fefb8ced28631f9a8cf7e54fa873", # from cr commit position 1038345
16 # build_overrides/ is a separate, NaCl-specific repo *forked* from
17 # chromium/src/build_overrides/. It may need to be updated if
18 # //build_overrides/build.gni changes in Chromium.
19 "build_overrides_rev": "3a801f70d2dad1d2b4c935103cc44b6f16144f8d",
21 # Three lines of non-changing comments so that
22 # the commit queue can handle CLs rolling lss
23 # and whatever else without interference from each other.
24 "lss_revision": "3f6478ac95edf86cd3da300c2c0d34a438f5dbeb",
26 "breakpad_rev": "54fa71efbe50fb2b58096d871575b59e12edba6d",
28 # GN CIPD package version.
29 "gn_version": "git_revision:b79031308cc878488202beb99883ec1f2efd9a6d",
31 # Separately pinned repositories, update with roll-dep individually.
32 "gtest_rev": "2d3543f81d6d4583332f8b60768ade18e0f96220",
33 "gyp_rev": "e7079f0e0e14108ab0dba58728ff219637458563",
34 "mingw_rev": "3cc8b140b883a9fe4986d12cfd46c16a093d3527", # from svn revision 7064
35 "lcov_rev": "b37daf5968200da8ff520ce65c4e5bce4047dd15", # from svn revision 149720
36 "gnu_binutils_rev": "f4003433b61b25666565690caf3d7a7a1a4ec436", # from svn revision 8151
37 "nsis_rev": "21b6ad22daa7bfc04b9f1c1805a34622e2607a93", # from svn revision 7071
38 "ragel_rev": "da42bb33f1b67c2d70b38ec1d2edf5263271b635", # from svn revision 9010
39 "third_party_rev": "d6b76289219c3183f0be9b5fc0be9daedda20e04",
40 "validator_snapshots_rev": "ef053694ef9b0d98d9bed0b9bb649963084bfc81",
42 # Dummy variables for compatibility with //build.
43 "build_with_chromium": False,
44 "cros_boards": Str(""),
45 "cros_boards_with_qemu_images": Str(""),
47 "chromium_git": "https://chromium.googlesource.com",
50 gclient_gn_args_file = 'build/config/gclient_args.gni'
52 'build_with_chromium',
53 'checkout_android', # this is provided by gclient
55 'cros_boards_with_qemu_images',
61 Var("chromium_git") + "/breakpad/breakpad.git@" +
64 Var("chromium_git") + "/chromium/src/buildtools.git@" +
65 Var("buildtools_revision"),
67 Var("chromium_git") + "/chromium/src/build.git@" +
70 Var("chromium_git") + "/native_client/src/build_overrides.git@" +
71 Var("build_overrides_rev"),
73 (Var("chromium_git") + "/external/github.com/google/googletest.git@" +
76 Var("chromium_git") + "/native_client/src/third_party.git@" +
77 Var("third_party_rev"),
78 "validator_snapshots":
79 (Var("chromium_git") + "/native_client/src/validator_snapshots.git@" +
80 Var("validator_snapshots_rev")),
82 Var("chromium_git") + "/chromium/src/third_party/lcov.git@" +
85 Var("chromium_git") + "/linux-syscall-support.git@" +
87 'third_party/ninja': {
90 # https://chrome-infra-packages.appspot.com/p/infra/3pp/tools/ninja
91 'package': 'infra/3pp/tools/ninja/${{platform}}',
92 'version': 'version:2@1.8.2.chromium.3',
98 Var("chromium_git") + "/chromium/src/tools/clang.git@" + Var("clang_rev"),
100 Var("chromium_git") + "/external/gyp.git@" + Var("gyp_rev"),
102 'buildtools/linux64': {
105 'package': 'gn/gn/linux-amd64',
106 'version': Var('gn_version'),
110 'condition': 'host_os == "linux"',
115 'package': 'gn/gn/mac-amd64',
116 'version': Var('gn_version'),
120 'condition': 'host_os == "mac"',
125 'package': 'gn/gn/windows-amd64',
126 'version': Var('gn_version'),
130 'condition': 'host_os == "win"',
136 # GNU binutils assembler for x86-32.
137 "third_party/gnu_binutils":
138 Var("chromium_git") +
139 "/native_client/deps/third_party/gnu_binutils.git@" +
140 Var("gnu_binutils_rev"),
141 # GNU binutils assembler for x86-64.
142 "third_party/mingw-w64/mingw/bin":
143 Var("chromium_git") +
144 "/native_client/deps/third_party/mingw-w64/mingw/bin.git@" +
147 Var("chromium_git") + "/native_client/deps/third_party/NSIS.git@" +
151 # Ragel for validator_ragel
153 Var("chromium_git") + "/native_client/deps/third_party/ragel.git@" +
160 ### From here until the similar marker below, these clauses are copied
161 ### almost verbatim from chromium/src/DEPS. They are modified to drop
162 ### the src/ prefix on file names but otherwise they should stay identical.
166 'name': 'sysroot_arm',
168 'condition': 'checkout_linux',
169 'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py',
173 'name': 'sysroot_arm64',
175 'condition': 'checkout_linux',
176 'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py',
180 # Downloads the current stable linux sysroot to build/linux/ if needed.
181 # This sysroot updates at about the same rate that the chrome build deps
182 # change. This script is a no-op except for linux users who are doing
183 # official chrome builds or cross compiling.
184 'name': 'sysroot_x64',
186 'condition': 'checkout_linux',
187 'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py',
191 'name': 'sysroot_x86',
193 'condition': 'checkout_linux',
194 'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py',
198 # Update the Windows toolchain if necessary.
199 'name': 'win_toolchain',
201 'condition': 'checkout_win',
202 'action': ['python3', 'build/vs_toolchain.py', 'update'],
205 # Update the Mac toolchain if necessary.
206 'name': 'mac_toolchain',
208 'condition': 'checkout_mac',
209 'action': ['python3', 'build/mac_toolchain.py'],
212 # Pull clang if needed or requested via GYP_DEFINES.
213 # Note: On Win, this should run after win_toolchain, as it may use it.
216 'action': ['python3', 'tools/clang/scripts/update.py'],
220 'name': 'lastchange',
222 'action': ['python3', 'build/util/lastchange.py',
223 '-o', 'build/util/LASTCHANGE'],
225 # Pull clang-format binaries using checked-in hashes.
227 'name': 'clang_format_win',
229 'condition': 'host_os == "win"',
230 'action': [ 'download_from_google_storage',
233 '--bucket', 'chromium-clang-format',
234 '-s', 'buildtools/win/clang-format.exe.sha1',
238 'name': 'clang_format_mac',
240 'condition': 'host_os == "mac"',
241 'action': [ 'download_from_google_storage',
244 '--bucket', 'chromium-clang-format',
245 '-s', 'buildtools/mac/clang-format.x64.sha1',
249 'name': 'clang_format_linux',
251 'condition': 'host_os == "linux"',
252 'action': [ 'download_from_google_storage',
255 '--bucket', 'chromium-clang-format',
256 '-s', 'buildtools/linux64/clang-format.sha1',
261 ### End of clauses copied (almost verbatim) from chromium/src/DEPS.
264 # Pull NaCl Toolchain binaries.
267 "action": ["python3",
268 "native_client/build/package_version/package_version.py",
272 # Cleanup any stale package_version files.
275 "action": ["python3",
276 "native_client/build/package_version/package_version.py",
283 "+native_client/src/include",