• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2009 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5{
6  'targets': [
7    {
8      'target_name': 'gmock',
9      'type': '<(library)',
10      'msvs_guid': 'F9D886ED-B09F-4B74-932F-D8E4691E6B7F',
11      'dependencies': [
12        'gtest.gyp:gtest',
13      ],
14      'sources': [
15        # Sources based on files in r173 of gmock.
16        'gmock/include/gmock/gmock-actions.h',
17        'gmock/include/gmock/gmock-cardinalities.h',
18        'gmock/include/gmock/gmock-generated-actions.h',
19        'gmock/include/gmock/gmock-generated-function-mockers.h',
20        'gmock/include/gmock/gmock-generated-matchers.h',
21        'gmock/include/gmock/gmock-generated-nice-strict.h',
22        'gmock/include/gmock/gmock-matchers.h',
23        'gmock/include/gmock/gmock-spec-builders.h',
24        'gmock/include/gmock/gmock.h',
25        'gmock/include/gmock/internal/gmock-generated-internal-utils.h',
26        'gmock/include/gmock/internal/gmock-internal-utils.h',
27        'gmock/include/gmock/internal/gmock-port.h',
28        'gmock/src/gmock-all.cc',
29        'gmock/src/gmock-cardinalities.cc',
30        'gmock/src/gmock-internal-utils.cc',
31        'gmock/src/gmock-matchers.cc',
32        'gmock/src/gmock-spec-builders.cc',
33        'gmock/src/gmock.cc',
34        'gmock_mutant.h',  # gMock helpers
35      ],
36      'sources!': [
37        'gmock/src/gmock-all.cc',  # Not needed by our build.
38      ],
39      'include_dirs': [
40        'gmock',
41        'gmock/include',
42      ],
43      'direct_dependent_settings': {
44        'include_dirs': [
45          'gmock/include',  # So that gmock headers can find themselves.
46        ],
47      },
48      'export_dependent_settings': [
49        'gtest.gyp:gtest',
50      ],
51    },
52    {
53      'target_name': 'gmock_main',
54      'type': '<(library)',
55      'dependencies': [
56        'gmock',
57      ],
58      'sources': [
59        'gmock/src/gmock_main.cc',
60      ],
61    },
62  ],
63}
64
65# Local Variables:
66# tab-width:2
67# indent-tabs-mode:nil
68# End:
69# vim: set expandtab tabstop=2 shiftwidth=2:
70