1
0
mirror of https://github.com/facebook/proxygen.git synced 2025-08-19 00:21:58 +03:00
Files
proxygen/build/fbcode_builder/specs/gmock.py
Saif Hasan cbcce1d3c0 fix oss build
Summary:
Two things
- Use thenValue instead of then in one specific occurrence as later one has been deprecated
- Build googletest on `release-1.8.1` as it is the one that compiles with c++11

Reviewed By: cenzhao

Differential Revision: D10178139

fbshipit-source-id: 069578716e5e55ef0a25ea87e9ef5ceded1ff9d6
2018-10-03 14:25:17 -07:00

20 lines
559 B
Python

#!/usr/bin/env python
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
def fbcode_builder_spec(builder):
builder.add_option('google/googletest:git_hash', 'release-1.8.1')
builder.add_option(
'google/googletest:cmake_defines',
{'BUILD_GTEST': 'ON'}
)
return {
'steps': [
builder.github_project_workdir('google/googletest', 'build'),
builder.cmake_install('google/googletest'),
],
}