56 lines
1.4 KiB
Python
56 lines
1.4 KiB
Python
# Copyright 2013 Google Inc. All Rights Reserved.
|
|
# This is for googletest release 1.8.0
|
|
{
|
|
'target_defaults': {
|
|
'type': 'static_library',
|
|
'include_dirs': [
|
|
'googletest/googlemock',
|
|
'googletest/googlemock/include',
|
|
'googletest/googletest',
|
|
'googletest/googletest/include',
|
|
],
|
|
'direct_dependent_settings': {
|
|
'include_dirs': [
|
|
'googletest/googlemock/include',
|
|
'googletest/googletest/include',
|
|
],
|
|
},
|
|
# These flags silence warnings that appear in gtest/gmock upstream.
|
|
# We will not maintain a divergent copy of gmock to fix them.
|
|
'cflags': [
|
|
# Ignore unknown warning options, to support both gcc & clang at once.
|
|
'-Wno-unknown-warning-option',
|
|
],
|
|
'cflags_cc': [
|
|
'-Wno-sign-compare',
|
|
#'-Wno-unused-const-variable',
|
|
#'-Wno-unused-function',
|
|
#'-Wno-unused-parameter',
|
|
#'-Wno-shadow',
|
|
'-Wno-conversion',
|
|
'-Wno-sign-conversion',
|
|
#'-Wno-useless-cast',
|
|
],
|
|
},
|
|
'targets': [
|
|
{
|
|
'target_name': 'gmock',
|
|
'sources': [
|
|
'googletest/googlemock/src/gmock-all.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'gmock_main',
|
|
'sources': [
|
|
'googletest/googlemock/src/gmock_main.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'gtest',
|
|
'sources': [
|
|
'googletest/googletest/src/gtest-all.cc',
|
|
],
|
|
},
|
|
],
|
|
}
|