Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / native_client / src / trusted / sel_universal / sel_universal.gyp
1 # -*- python -*-
2 # Copyright (c) 2011 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 {
7   'includes': [
8     '../../../build/common.gypi',
9   ],
10   'variables': {
11       'src_files': ['parsing.cc',
12                     'pnacl_emu_coordinator.cc',
13                     'pnacl_emu_handler.cc',
14                     'pnacl_emu_stream.cc',
15                     'reverse_emulate.cc',
16                     'replay_handler.cc',
17                     'rpc_universal_system.cc',
18                     'rpc_universal.cc',
19                     'sel_universal.cc',
20                     ],
21   },
22   'targets': [
23     {
24       'target_name': 'sel_universal',
25       'type': 'executable',
26       'sources': ['<@(src_files)'],
27       'dependencies': [
28         '<(DEPTH)/native_client/src/shared/imc/imc.gyp:imc',
29         '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform',
30         '<(DEPTH)/native_client/src/shared/srpc/srpc.gyp:nonnacl_srpc',
31         '<(DEPTH)/native_client/src/trusted/desc/desc.gyp:nrd_xfer',
32         '<(DEPTH)/native_client/src/trusted/reverse_service/reverse_service.gyp:reverse_service',
33         '<(DEPTH)/native_client/src/trusted/service_runtime/service_runtime.gyp:nacl_error_code',
34         '<(DEPTH)/native_client/src/trusted/simple_service/simple_service.gyp:simple_service',
35         '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio',
36         '<(DEPTH)/native_client/src/trusted/nonnacl_util/nonnacl_util.gyp:nonnacl_util',
37       ],
38       'conditions': [
39         ['OS=="linux"', {
40           'link_settings': {
41             'libraries': [
42               '-ldl',
43             ],
44           },
45         }],
46       ],
47     },
48   ],
49   'conditions': [
50     ['OS=="win" and target_arch=="ia32"', {
51       'targets': [
52         {
53           'target_name': 'sel_universal64',
54           'type': 'executable',
55           'variables': {
56             'win_target': 'x64',
57           },
58           'sources': ['<@(src_files)'],
59           'dependencies': [
60             '<(DEPTH)/native_client/src/shared/imc/imc.gyp:imc64',
61             '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform64',
62             '<(DEPTH)/native_client/src/shared/srpc/srpc.gyp:nonnacl_srpc64',
63             '<(DEPTH)/native_client/src/trusted/desc/desc.gyp:nrd_xfer64',
64             '<(DEPTH)/native_client/src/trusted/reverse_service/reverse_service.gyp:reverse_service64',
65             '<(DEPTH)/native_client/src/trusted/service_runtime/service_runtime.gyp:nacl_error_code64',
66             '<(DEPTH)/native_client/src/trusted/simple_service/simple_service.gyp:simple_service64',
67             '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio64',
68             '<(DEPTH)/native_client/src/trusted/nonnacl_util/nonnacl_util.gyp:nonnacl_util64',
69           ],
70         },
71       ],
72     }],
73   ],
74 }