michael@0: # Copyright (c) 2009 The Chromium Authors. All rights reserved. michael@0: # Use of this source code is governed by a BSD-style license that can be michael@0: # found in the LICENSE file. michael@0: michael@0: { michael@0: 'targets': [ michael@0: { michael@0: 'target_name': 'gmock', michael@0: 'type': 'static_library', michael@0: 'dependencies': [ michael@0: 'gtest.gyp:gtest', michael@0: ], michael@0: 'sources': [ michael@0: # Sources based on files in r173 of gmock. michael@0: 'gmock/include/gmock/gmock-actions.h', michael@0: 'gmock/include/gmock/gmock-cardinalities.h', michael@0: 'gmock/include/gmock/gmock-generated-actions.h', michael@0: 'gmock/include/gmock/gmock-generated-function-mockers.h', michael@0: 'gmock/include/gmock/gmock-generated-matchers.h', michael@0: 'gmock/include/gmock/gmock-generated-nice-strict.h', michael@0: 'gmock/include/gmock/gmock-matchers.h', michael@0: 'gmock/include/gmock/gmock-spec-builders.h', michael@0: 'gmock/include/gmock/gmock.h', michael@0: 'gmock/include/gmock/internal/gmock-generated-internal-utils.h', michael@0: 'gmock/include/gmock/internal/gmock-internal-utils.h', michael@0: 'gmock/include/gmock/internal/gmock-port.h', michael@0: 'gmock/src/gmock-all.cc', michael@0: 'gmock/src/gmock-cardinalities.cc', michael@0: 'gmock/src/gmock-internal-utils.cc', michael@0: 'gmock/src/gmock-matchers.cc', michael@0: 'gmock/src/gmock-spec-builders.cc', michael@0: 'gmock/src/gmock.cc', michael@0: 'gmock_mutant.h', # gMock helpers michael@0: ], michael@0: 'sources!': [ michael@0: 'gmock/src/gmock-all.cc', # Not needed by our build. michael@0: ], michael@0: 'include_dirs': [ michael@0: 'gmock', michael@0: 'gmock/include', michael@0: ], michael@0: 'direct_dependent_settings': { michael@0: 'include_dirs': [ michael@0: 'gmock/include', # So that gmock headers can find themselves. michael@0: ], michael@0: }, michael@0: 'export_dependent_settings': [ michael@0: 'gtest.gyp:gtest', michael@0: ], michael@0: }, michael@0: { michael@0: 'target_name': 'gmock_main', michael@0: 'type': 'static_library', michael@0: 'dependencies': [ michael@0: 'gmock', michael@0: ], michael@0: 'sources': [ michael@0: 'gmock/src/gmock_main.cc', michael@0: ], michael@0: }, michael@0: ], michael@0: }