OLD | NEW |
| (Empty) |
1 # -*- python -*- | |
2 # Copyright 2010 The Native Client Authors. All rights reserved. Use | |
3 # 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 'target_defaults': { | |
11 'variables':{ | |
12 'target_base': 'none', | |
13 }, | |
14 'target_conditions': [ | |
15 ['OS=="linux" or OS=="mac"', { | |
16 'cflags': [ | |
17 '-fexceptions', | |
18 ], | |
19 'cflags_cc' : [ | |
20 '-frtti', | |
21 ] | |
22 }], | |
23 ['OS=="mac"', { | |
24 'xcode_settings': { | |
25 'GCC_ENABLE_CPP_EXCEPTIONS': 'YES', # -fexceptions | |
26 'GCC_ENABLE_CPP_RTTI': 'YES', # -frtti | |
27 } | |
28 }], | |
29 ], | |
30 }, | |
31 'targets': [ | |
32 { | |
33 'target_name': 'gio_wrapped_desc', | |
34 'type': 'static_library', | |
35 'sources': [ | |
36 'gio_shm.c', | |
37 'gio_shm_unbounded.c', | |
38 'gio_nacl_desc.c', | |
39 ], | |
40 'dependencies': [ | |
41 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio', | |
42 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform', | |
43 '<(DEPTH)/native_client/src/trusted/desc/desc.gyp:nrd_xfer', | |
44 ], | |
45 }, | |
46 ], | |
47 'conditions': [ | |
48 ['OS=="win" and target_arch=="ia32"', { | |
49 'targets': [ | |
50 { | |
51 'target_name': 'gio_wrapped_desc64', | |
52 'type': 'static_library', | |
53 'variables': { | |
54 'win_target': 'x64', | |
55 }, | |
56 'sources': [ | |
57 'gio_shm.c', | |
58 'gio_shm_unbounded.c', | |
59 'gio_nacl_desc.c', | |
60 ], | |
61 'dependencies': [ | |
62 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio64', | |
63 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform64'
, | |
64 '<(DEPTH)/native_client/src/trusted/desc/desc.gyp:nrd_xfer64', | |
65 ], | |
66 }, | |
67 ], | |
68 }], | |
69 ] | |
70 } | |
OLD | NEW |