mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-27 15:32:10 +08:00
2d68949f7f
This might feel a bit premature, but I feel fairly confident that basing a lot of the processing on LLDB is the way to go, so I plan to start by integrating it into our build process. (I think probably moving from gyp to GN first makes sense, so I can defer landing this until after that's farther along if you like.) BUG=crashpad:29 Change-Id: I85ee44f4e777f9d7ce521c4caf10ead21ffd8818 Reviewed-on: https://chromium-review.googlesource.com/424910 Reviewed-by: Mark Mentovai <mark@chromium.org>
79 lines
2.4 KiB
Python
79 lines
2.4 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@' +
|
|
'f8fc76ea5ce4a60cda2fa5d7df3d4a62935b3113',
|
|
'crashpad/third_party/gtest/gtest':
|
|
Var('chromium_git') + '/external/github.com/google/googletest@' +
|
|
'ec44c6c1675c25b9827aacd08c02433cccde7780',
|
|
'crashpad/third_party/gyp/gyp':
|
|
Var('chromium_git') + '/external/gyp@' +
|
|
'93cc6e2c23e4d5ebd179f388e67aa907d0dfd43d',
|
|
|
|
# TODO(scottmg): Consider pinning these. For now, we don't have any particular
|
|
# reason to do so.
|
|
'crashpad/third_party/llvm':
|
|
Var('chromium_git') + '/external/llvm.org/llvm.git@HEAD',
|
|
'crashpad/third_party/llvm/tools/clang':
|
|
Var('chromium_git') + '/external/llvm.org/clang.git@HEAD',
|
|
'crashpad/third_party/llvm/tools/lldb':
|
|
Var('chromium_git') + '/external/llvm.org/lldb.git@HEAD',
|
|
|
|
'crashpad/third_party/mini_chromium/mini_chromium':
|
|
Var('chromium_git') + '/chromium/mini_chromium@' +
|
|
'de1afb04f4afc074ec6d23bd9ee7b1e6b365427f',
|
|
}
|
|
|
|
hooks = [
|
|
{
|
|
'name': 'clang_format_mac',
|
|
'pattern': '.',
|
|
'action': [
|
|
'download_from_google_storage',
|
|
'--platform=^darwin$',
|
|
'--no_resume',
|
|
'--no_auth',
|
|
'--bucket=chromium-clang-format',
|
|
'--output=buildtools/mac/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',
|
|
'--output=buildtools/win/clang-format.exe',
|
|
'--sha1_file',
|
|
'buildtools/win/clang-format.exe.sha1',
|
|
],
|
|
},
|
|
{
|
|
'name': 'gyp',
|
|
'pattern': '\.gypi?$',
|
|
'action': ['python', 'crashpad/build/gyp_crashpad.py'],
|
|
},
|
|
]
|