2014-08-04 09:11:02 +00:00
|
|
|
# Copyright 2014 the V8 project authors. All rights reserved.
|
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
|
|
|
|
{
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'gmock',
|
|
|
|
'type': 'static_library',
|
|
|
|
'dependencies': [
|
|
|
|
'gtest.gyp:gtest',
|
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
# Sources based on files in r173 of gmock.
|
|
|
|
'gmock/include/gmock/gmock-actions.h',
|
|
|
|
'gmock/include/gmock/gmock-cardinalities.h',
|
|
|
|
'gmock/include/gmock/gmock-generated-actions.h',
|
|
|
|
'gmock/include/gmock/gmock-generated-function-mockers.h',
|
|
|
|
'gmock/include/gmock/gmock-generated-matchers.h',
|
|
|
|
'gmock/include/gmock/gmock-generated-nice-strict.h',
|
|
|
|
'gmock/include/gmock/gmock-matchers.h',
|
|
|
|
'gmock/include/gmock/gmock-spec-builders.h',
|
|
|
|
'gmock/include/gmock/gmock.h',
|
|
|
|
'gmock/include/gmock/internal/gmock-generated-internal-utils.h',
|
|
|
|
'gmock/include/gmock/internal/gmock-internal-utils.h',
|
|
|
|
'gmock/include/gmock/internal/gmock-port.h',
|
|
|
|
'gmock/src/gmock-all.cc',
|
|
|
|
'gmock/src/gmock-cardinalities.cc',
|
|
|
|
'gmock/src/gmock-internal-utils.cc',
|
|
|
|
'gmock/src/gmock-matchers.cc',
|
|
|
|
'gmock/src/gmock-spec-builders.cc',
|
|
|
|
'gmock/src/gmock.cc',
|
2014-08-18 06:54:07 +00:00
|
|
|
'gmock-support.h', # gMock helpers
|
2016-07-25 13:06:21 +00:00
|
|
|
'gmock_custom/gmock/internal/custom/gmock-port.h',
|
2014-08-04 09:11:02 +00:00
|
|
|
],
|
|
|
|
'sources!': [
|
|
|
|
'gmock/src/gmock-all.cc', # Not needed by our build.
|
|
|
|
],
|
|
|
|
'include_dirs': [
|
2016-07-25 13:06:21 +00:00
|
|
|
'gmock_custom',
|
2014-08-04 09:11:02 +00:00
|
|
|
'gmock',
|
|
|
|
'gmock/include',
|
|
|
|
],
|
2016-07-25 13:06:21 +00:00
|
|
|
'all_dependent_settings': {
|
2014-08-04 09:11:02 +00:00
|
|
|
'include_dirs': [
|
2016-07-25 13:06:21 +00:00
|
|
|
'gmock_custom',
|
2014-08-04 09:11:02 +00:00
|
|
|
'gmock/include', # So that gmock headers can find themselves.
|
|
|
|
],
|
|
|
|
},
|
|
|
|
'export_dependent_settings': [
|
|
|
|
'gtest.gyp:gtest',
|
|
|
|
],
|
2014-09-04 08:44:03 +00:00
|
|
|
'conditions': [
|
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'toolsets': ['host', 'target'],
|
|
|
|
}, {
|
|
|
|
'toolsets': ['target'],
|
|
|
|
}],
|
|
|
|
],
|
2014-08-04 09:11:02 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'target_name': 'gmock_main',
|
|
|
|
'type': 'static_library',
|
|
|
|
'dependencies': [
|
|
|
|
'gmock',
|
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'gmock/src/gmock_main.cc',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|