mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 22:26:06 +00:00
Otherwise: [2d68949...]D:\src\crashpad\crashpad>gn gen out\Debug gn.py: Could not find gn executable at: D:\src\crashpad\buildtools\win\gn.exe I have no idea why these binaries aren't just checked into buildtools, but anyway. BUG=crashpad:79 Change-Id: If2f21a7e7f795910809de7d3595ab6a5ffee9dc7 Reviewed-on: https://chromium-review.googlesource.com/424847 Reviewed-by: Mark Mentovai <mark@chromium.org>
103 lines
2.9 KiB
Python
103 lines
2.9 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',
|
|
'--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': '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': 'gyp',
|
|
'pattern': '\.gypi?$',
|
|
'action': ['python', 'crashpad/build/gyp_crashpad.py'],
|
|
},
|
|
]
|