mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-14 04:14:18 +00:00
These use CIPD (from depot_tools) to download packages created by the Fuchsia team. The .ensure file is passed to `cipd` which currently include specificiations for the Fuchsia team's build of clang (which, because it's close to HEAD includes support for targeting Fuchsia), as well as the Fuchsia SDK. Both packages are specified as "latest" rather than pinning to a specific revision. At this early point in the process we don't have any good reason to pin, but that can be accomplished later by replacing that with a specific package's SHA1. Due to the (relatively new) 'condition': 'checkout_fuchsia', this DEPS step will only be run when .gclient includes 'fuchsia' in the target_os block at the top_level, e.g. $ cat .gclient solutions = [ { ... }, ] target_os = ['fuchsia'] Bug: crashpad:196, crashpad:209 Change-Id: Id6d444a1c4450ffde8ee6665ff9720ce454c5cdf Reviewed-on: https://chromium-review.googlesource.com/786092 Commit-Queue: Scott Graham <scottmg@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org>
138 lines
3.5 KiB
Python
138 lines
3.5 KiB
Python
# Copyright 2014 The Crashpad Authors. All rights reserved.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
vars = {
|
|
'chromium_git': 'https://chromium.googlesource.com',
|
|
}
|
|
|
|
deps = {
|
|
'buildtools':
|
|
Var('chromium_git') + '/chromium/buildtools.git@' +
|
|
'f6d165d9d842ddd29056c127a5f3a3c5d8e0d2e3',
|
|
'crashpad/third_party/gtest/gtest':
|
|
Var('chromium_git') + '/external/github.com/google/googletest@' +
|
|
'7b6561c56e353100aca8458d7bc49c4e0119bae8',
|
|
'crashpad/third_party/gyp/gyp':
|
|
Var('chromium_git') + '/external/gyp@' +
|
|
'f72586209ecbf70b71ce690f2182ebe51669cbb3',
|
|
'crashpad/third_party/mini_chromium/mini_chromium':
|
|
Var('chromium_git') + '/chromium/mini_chromium@' +
|
|
'dd0c3e9680ae3c4c22f2221a2a75e48dd4a562ec',
|
|
'crashpad/third_party/zlib/zlib':
|
|
Var('chromium_git') + '/chromium/src/third_party/zlib@' +
|
|
'13dc246a58e4b72104d35f9b1809af95221ebda7',
|
|
}
|
|
|
|
hooks = [
|
|
{
|
|
'name': 'clang_format_mac',
|
|
'pattern': '.',
|
|
'action': [
|
|
'download_from_google_storage',
|
|
'--platform=^darwin$',
|
|
'--no_resume',
|
|
'--no_auth',
|
|
'--bucket=chromium-clang-format',
|
|
'--sha1_file',
|
|
'buildtools/mac/clang-format.sha1',
|
|
],
|
|
},
|
|
{
|
|
'name': 'clang_format_win',
|
|
'pattern': '.',
|
|
'action': [
|
|
'download_from_google_storage',
|
|
'--platform=^win32$',
|
|
'--no_resume',
|
|
'--no_auth',
|
|
'--bucket=chromium-clang-format',
|
|
'--sha1_file',
|
|
'buildtools/win/clang-format.exe.sha1',
|
|
],
|
|
},
|
|
{
|
|
'name': 'clang_format_linux',
|
|
'pattern': '.',
|
|
'action': [
|
|
'download_from_google_storage',
|
|
'--platform=^linux2?$',
|
|
'--no_resume',
|
|
'--no_auth',
|
|
'--bucket=chromium-clang-format',
|
|
'--sha1_file',
|
|
'buildtools/linux64/clang-format.sha1',
|
|
],
|
|
},
|
|
{
|
|
'name': 'gn_mac',
|
|
'pattern': '.',
|
|
'action': [
|
|
'download_from_google_storage',
|
|
'--platform=^darwin$',
|
|
'--no_resume',
|
|
'--no_auth',
|
|
'--bucket=chromium-gn',
|
|
'--sha1_file',
|
|
'buildtools/mac/gn.sha1',
|
|
],
|
|
},
|
|
{
|
|
'name': 'gn_win',
|
|
'pattern': '.',
|
|
'action': [
|
|
'download_from_google_storage',
|
|
'--platform=^win32$',
|
|
'--no_resume',
|
|
'--no_auth',
|
|
'--bucket=chromium-gn',
|
|
'--sha1_file',
|
|
'buildtools/win/gn.exe.sha1',
|
|
],
|
|
},
|
|
{
|
|
'name': 'gn_linux',
|
|
'pattern': '.',
|
|
'action': [
|
|
'download_from_google_storage',
|
|
'--platform=^linux2?$',
|
|
'--no_resume',
|
|
'--no_auth',
|
|
'--bucket=chromium-gn',
|
|
'--sha1_file',
|
|
'buildtools/linux64/gn.sha1',
|
|
],
|
|
},
|
|
{
|
|
'name': 'fuchsia_clang',
|
|
'pattern': '.',
|
|
'condition': 'checkout_fuchsia',
|
|
'action': [
|
|
'cipd',
|
|
'ensure',
|
|
'-ensure-file', 'crashpad/third_party/fuchsia/toolchain.ensure',
|
|
'-root', 'crashpad/third_party/fuchsia',
|
|
'-log-level', 'info',
|
|
],
|
|
},
|
|
{
|
|
'name': 'gyp',
|
|
'pattern': '\.gypi?$',
|
|
'action': ['python', 'crashpad/build/gyp_crashpad.py'],
|
|
},
|
|
]
|
|
|
|
recursedeps = [
|
|
'buildtools',
|
|
]
|