- add sources.
[platform/framework/web/crosswalk.git] / src / components / nacl_common.gyp
1 # Copyright 2013 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': 'nacl_switches',
9       'type': 'static_library',
10       'sources': [
11         'nacl/common/nacl_switches.cc',
12         'nacl/common/nacl_switches.h',
13       ],
14       'include_dirs': [
15         '..',
16       ],
17     },
18     {
19       'target_name': 'nacl_common',
20       'type': 'static_library',
21       'sources': [
22         'nacl/common/nacl_cmd_line.cc',
23         'nacl/common/nacl_cmd_line.h',
24         'nacl/common/nacl_messages.cc',
25         'nacl/common/nacl_messages.h',
26         'nacl/common/nacl_types.cc',
27         'nacl/common/nacl_types.h',
28       ],
29       'include_dirs': [
30         '..',
31       ],
32     },
33   ],
34   'conditions': [
35     ['OS=="win" and target_arch=="ia32"', {
36       'targets': [
37         {
38           'target_name': 'nacl_switches_win64',
39           'type': 'static_library',
40           'sources': [
41             'nacl/common/nacl_switches.cc',
42             'nacl/common/nacl_switches.h',
43           ],
44           'include_dirs': [
45             '..',
46           ],
47           'configurations': {
48             'Common_Base': {
49               'msvs_target_platform': 'x64',
50             },
51           },
52         },
53         {
54           'target_name': 'nacl_common_win64',
55           'type': 'static_library',
56           'defines': [
57             'COMPILE_CONTENT_STATICALLY',
58           ],
59           'sources': [
60             'nacl/common/nacl_cmd_line.cc',
61             'nacl/common/nacl_cmd_line.h',
62             'nacl/common/nacl_messages.cc',
63             'nacl/common/nacl_messages.h',
64             'nacl/common/nacl_types.cc',
65             'nacl/common/nacl_types.h',
66           ],
67           'include_dirs': [
68             '..',
69           ],
70           'configurations': {
71             'Common_Base': {
72               'msvs_target_platform': 'x64',
73             },
74           },
75         },
76       ],
77     }],
78   ],
79 }