mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-29 00:32:35 +08:00
b6a0183cce
library support. When building with support for Mac OS X 10.6, C++11 library support is not available, because Mac OS X uses libc++ for C++11 support, and Mac OS X 10.6 does not provide libc++ as a runtime library. gtest and gmock have a hard time distinguishing between C++11 language and library support (which is not really their fault, having one but not the other is an odd situation). The currently-released trunk versions of gtest and gmock do not work in this configuration. I’ve submitted patches upstream to fix this, but they may take a while to make it to the released verions. For now, it’s fine to roll gtest and gmock back to versions from December 2013 that do work cleanly with C++11 language support but only C++03 library support. TEST=Compile and run all tests in both 10.6 and native builds R=rsesek@chromium.org Review URL: https://codereview.chromium.org/572613002
41 lines
1.4 KiB
Python
41 lines
1.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 = {
|
|
'crashpad/third_party/gmock/gmock':
|
|
Var('chromium_git') + '/external/gmock@' +
|
|
'08c004e6a66bab9509d0797a9cb66ed2ca15e244', # svn r463
|
|
'crashpad/third_party/gtest/gtest':
|
|
Var('chromium_git') + '/external/gtest@' +
|
|
'237d7a871eea8c1ef5227795e81ff071f15c2710', # svn r671
|
|
'crashpad/third_party/gyp/gyp':
|
|
Var('chromium_git') + '/external/gyp@' +
|
|
'39bb8956231c997babf0f25befdfb531f4d0b43c', # svn r1958
|
|
'crashpad/third_party/mini_chromium/mini_chromium':
|
|
Var('chromium_git') + '/chromium/mini_chromium@' +
|
|
'abd6e3792f4f54d58c86b01438a69ae61f4f2f34',
|
|
}
|
|
|
|
hooks = [
|
|
{
|
|
'name': 'gyp',
|
|
'pattern': '\.gypi?$',
|
|
'action': ['python', 'crashpad/build/gyp_crashpad.py'],
|
|
},
|
|
]
|