summaryrefslogtreecommitdiffstats
path: root/third_party/python/gyp/test/win/shard/shard.gyp
blob: eac45fcff770e9f4c6d146059e8b30e2eac43d0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright (c) 2013 Google Inc. 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': 'shard',
      'type': 'static_library',
      'msvs_shard': 4,
      'sources': [
        'hello1.cc',
        'hello2.cc',
        'hello3.cc',
        'hello4.cc',
      ],
      'product_dir': '<(PRODUCT_DIR)',
    },
    {
      'target_name': 'refs_to_shard',
      'type': 'executable',
      'dependencies': [
        # Make sure references are correctly updated.
        'shard',
      ],
      'sources': [
        'hello.cc',
      ],
    },
  ]
}