OLD | NEW |
| (Empty) |
1 # Copyright (c) 2011 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 'includes': [ | |
7 '../../native_client/build/untrusted.gypi', | |
8 ], | |
9 'conditions': [ | |
10 ['disable_nacl!=1', { | |
11 'targets': [ | |
12 { | |
13 'target_name': 'nacl_irt', | |
14 'type': 'none', | |
15 'variables': { | |
16 'nexe_target': 'nacl_irt', | |
17 'out64': '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe', | |
18 'out32': '<(PRODUCT_DIR)/nacl_irt_x86_32.nexe', | |
19 'build_glibc': 0, | |
20 'build_newlib': 1, | |
21 'include_dirs': [ | |
22 'lib/gl/include', | |
23 '..', | |
24 ], | |
25 'link_flags': [ | |
26 '-lirt_browser', | |
27 '-lppruntime', | |
28 '-lsrpc', | |
29 '-limc_syscalls', | |
30 '-lplatform', | |
31 '-lgio', | |
32 '-lm', | |
33 ], | |
34 'sources': [ | |
35 ], | |
36 }, | |
37 'conditions': [ | |
38 ['target_arch=="x64" or target_arch == "ia32"', { | |
39 'variables': { | |
40 'link_flags': [ | |
41 '-Wl,--section-start,.rodata=0x3ef00000', | |
42 '-Wl,-Ttext-segment=0x0fc00000', | |
43 ], | |
44 }, | |
45 }], | |
46 ], | |
47 'dependencies': [ | |
48 'src/shared/ppapi_proxy/ppapi_proxy.gyp:ppruntime_lib', | |
49 '../../native_client/src/untrusted/irt/irt.gyp:irt_browser_lib', | |
50 '../../native_client/src/shared/srpc/srpc.gyp:srpc_lib', | |
51 '../../native_client/src/shared/platform/platform.gyp:platform_lib', | |
52 '../../native_client/src/untrusted/nacl/nacl.gyp:imc_syscalls_lib', | |
53 '../../native_client/src/shared/gio/gio.gyp:gio_lib', | |
54 ], | |
55 }, | |
56 ], | |
57 }], | |
58 ], | |
59 } | |
OLD | NEW |