| Index: third_party/googletest/googlemock.gyp
|
| diff --git a/third_party/googletest/googlemock.gyp b/third_party/googletest/googlemock.gyp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..21aa2a7574679d37e46506fc1fc7a2efe642fdef
|
| --- /dev/null
|
| +++ b/third_party/googletest/googlemock.gyp
|
| @@ -0,0 +1,71 @@
|
| +# 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': 'googlemock',
|
| + 'type': 'static_library',
|
| + 'dependencies': [
|
| + 'googletest.gyp:googletest',
|
| + ],
|
| + 'sources': [
|
| + 'src/googlemock/include/gmock/gmock-actions.h',
|
| + 'src/googlemock/include/gmock/gmock-cardinalities.h',
|
| + 'src/googlemock/include/gmock/gmock-generated-actions.h',
|
| + 'src/googlemock/include/gmock/gmock-generated-function-mockers.h',
|
| + 'src/googlemock/include/gmock/gmock-generated-matchers.h',
|
| + 'src/googlemock/include/gmock/gmock-generated-nice-strict.h',
|
| + 'src/googlemock/include/gmock/gmock-matchers.h',
|
| + 'src/googlemock/include/gmock/gmock-spec-builders.h',
|
| + 'src/googlemock/include/gmock/gmock.h',
|
| + 'src/googlemock/include/gmock/internal/gmock-generated-internal-utils.h',
|
| + 'src/googlemock/include/gmock/internal/gmock-internal-utils.h',
|
| + 'src/googlemock/include/gmock/internal/gmock-port.h',
|
| +
|
| + # gmock helpers.
|
| + 'gmock_custom/gmock/internal/custom/gmock-port.h',
|
| +
|
| + 'src/googlemock/src/gmock-cardinalities.cc',
|
| + 'src/googlemock/src/gmock-internal-utils.cc',
|
| + 'src/googlemock/src/gmock-matchers.cc',
|
| + 'src/googlemock/src/gmock-spec-builders.cc',
|
| + 'src/googlemock/src/gmock.cc',
|
| +
|
| + ],
|
| + 'sources!': [
|
| + 'src/googlemock/src/gmock-all.cc', # Not needed by our build.
|
| + ],
|
| + 'include_dirs': [
|
| + 'gmock_custom',
|
| + 'src/googlemock', # TODO(pwnall): from gmock.gyp, but not in gn?
|
| + 'src/googlemock/include',
|
| + ],
|
| + 'all_dependent_settings': {
|
| + 'include_dirs': [
|
| + 'gmock_custom',
|
| + 'src/googlemock/include', # So gmock headers can find themselves.
|
| + ],
|
| + },
|
| + 'conditions': [
|
| + ['want_separate_host_toolset==1', {
|
| + 'toolsets': ['host', 'target'],
|
| + }, {
|
| + 'toolsets': ['target'],
|
| + }],
|
| + ],
|
| + },
|
| +
|
| + {
|
| + 'target_name': 'googlemock_main',
|
| + 'type': 'static_library',
|
| + 'dependencies': [
|
| + 'googlemock',
|
| + ],
|
| + 'sources': [
|
| + 'src/googlemock/src/gmock_main.cc',
|
| + ],
|
| + },
|
| + ],
|
| +}
|
|
|