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@" +
88 Var("chromium_git") + "/chromium/src/tools/clang.git@" + Var("clang_rev"),
90 Var("chromium_git") + "/external/gyp.git@" + Var("gyp_rev"),
92 'buildtools/linux64': {
95 'package': 'gn/gn/linux-amd64',
96 'version': Var('gn_version'),
100 'condition': 'host_os == "linux"',
105 'package': 'gn/gn/mac-amd64',
106 'version': Var('gn_version'),
110 'condition': 'host_os == "mac"',
115 'package': 'gn/gn/windows-amd64',
116 'version': Var('gn_version'),
120 'condition': 'host_os == "win"',
126 # GNU binutils assembler for x86-32.
127 "third_party/gnu_binutils":
128 Var("chromium_git") +
129 "/native_client/deps/third_party/gnu_binutils.git@" +
130 Var("gnu_binutils_rev"),
131 # GNU binutils assembler for x86-64.
132 "third_party/mingw-w64/mingw/bin":
133 Var("chromium_git") +
134 "/native_client/deps/third_party/mingw-w64/mingw/bin.git@" +
137 Var("chromium_git") + "/native_client/deps/third_party/NSIS.git@" +
141 # Ragel for validator_ragel
143 Var("chromium_git") + "/native_client/deps/third_party/ragel.git@" +
150 ### From here until the similar marker below, these clauses are copied
151 ### almost verbatim from chromium/src/DEPS. They are modified to drop
152 ### the src/ prefix on file names but otherwise they should stay identical.
156 'name': 'sysroot_arm',
158 'condition': 'checkout_linux',
159 'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py',
163 'name': 'sysroot_arm64',
165 'condition': 'checkout_linux',
166 'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py',
170 # Downloads the current stable linux sysroot to build/linux/ if needed.
171 # This sysroot updates at about the same rate that the chrome build deps
172 # change. This script is a no-op except for linux users who are doing
173 # official chrome builds or cross compiling.
174 'name': 'sysroot_x64',
176 'condition': 'checkout_linux',
177 'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py',
181 'name': 'sysroot_x86',
183 'condition': 'checkout_linux',
184 'action': ['python3', 'build/linux/sysroot_scripts/install-sysroot.py',
188 # Update the Windows toolchain if necessary.
189 'name': 'win_toolchain',
191 'condition': 'checkout_win',
192 'action': ['python3', 'build/vs_toolchain.py', 'update'],
195 # Update the Mac toolchain if necessary.
196 'name': 'mac_toolchain',
198 'condition': 'checkout_mac',
199 'action': ['python3', 'build/mac_toolchain.py'],
202 # Pull clang if needed or requested via GYP_DEFINES.
203 # Note: On Win, this should run after win_toolchain, as it may use it.
206 'action': ['python3', 'tools/clang/scripts/update.py'],
210 'name': 'lastchange',
212 'action': ['python3', 'build/util/lastchange.py',
213 '-o', 'build/util/LASTCHANGE'],
215 # Pull clang-format binaries using checked-in hashes.
217 'name': 'clang_format_win',
219 'condition': 'host_os == "win"',
220 'action': [ 'download_from_google_storage',
223 '--bucket', 'chromium-clang-format',
224 '-s', 'buildtools/win/clang-format.exe.sha1',
228 'name': 'clang_format_mac',
230 'condition': 'host_os == "mac"',
231 'action': [ 'download_from_google_storage',
234 '--bucket', 'chromium-clang-format',
235 '-s', 'buildtools/mac/clang-format.x64.sha1',
239 'name': 'clang_format_linux',
241 'condition': 'host_os == "linux"',
242 'action': [ 'download_from_google_storage',
245 '--bucket', 'chromium-clang-format',
246 '-s', 'buildtools/linux64/clang-format.sha1',
251 ### End of clauses copied (almost verbatim) from chromium/src/DEPS.
254 # Pull NaCl Toolchain binaries.
257 "action": ["python3",
258 "native_client/build/package_version/package_version.py",
262 # Cleanup any stale package_version files.
265 "action": ["python3",
266 "native_client/build/package_version/package_version.py",
273 "+native_client/src/include",