summaryrefslogtreecommitdiff
path: root/chromium/native_client/src/shared/serialization/serialization.gyp
blob: 7442f27603e079629e6e7bf8aba15dca56a9bc12 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Copyright (c) 2013 The Native Client Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'includes': [
    '../../../build/common.gypi',
  ],
  'target_defaults': {
    'variables': {
      'target_base': 'none',
    },
    'target_conditions': [
      ['target_base=="serialization"', {
        'sources': [
          'serialization.cc',
          'serialization.h',
        ],
      }],
    ],
  },
  'targets': [
    {
      'target_name': 'serialization',
      'type': 'static_library',
      'variables': {
        'target_base': 'serialization',
      },
    }
  ],
  'conditions': [
    ['OS=="win" and target_arch=="ia32"', {
      'targets': [
        {
          'target_name': 'serialization64',
          'type': 'static_library',
          'variables': {
            'target_base': 'serialization',
            'win_target': 'x64'
          },
        }
      ]
    }],
  ],
}