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