mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 22:26:06 +00:00
7c5b0c1ab44a Use Gerrit (Polygerrit) for mini_chromium code review Change-Id: I883672b91dac5387031e913dd62a1802d2163e9f Reviewed-on: https://chromium-review.googlesource.com/323140 Reviewed-by: Robert Sesek <rsesek@chromium.org>
69 lines
2.0 KiB
Python
69 lines
2.0 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 = {
|
|
'crashpad/third_party/gtest/gtest':
|
|
Var('chromium_git') + '/external/github.com/google/googletest@' +
|
|
'786564fa4a3c8e0f908acca32cce481de5481b9f',
|
|
'crashpad/third_party/gyp/gyp':
|
|
Var('chromium_git') + '/external/gyp@' +
|
|
'01528c7244837168a1c80f06ff60fa5a9793c824',
|
|
'crashpad/third_party/mini_chromium/mini_chromium':
|
|
Var('chromium_git') + '/chromium/mini_chromium@' +
|
|
'7c5b0c1ab44a4264b02f4c825a5b73d9173253e4',
|
|
'buildtools':
|
|
Var('chromium_git') + '/chromium/buildtools.git@' +
|
|
'c2f259809d5ede3275df5ea0842f0431990c4f98',
|
|
}
|
|
|
|
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'],
|
|
},
|
|
]
|