Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / native_client / src / trusted / service_runtime / arch / x86_64 / BUILD.gn
1 # Copyright (c) 2014 The Native ClientAuthors. 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 #  Generated from GYP
6
7 static_library("service_runtime_x86_64") {
8   sources = [
9     "nacl_app_64.c",
10     "nacl_switch_64.S",
11     "nacl_switch_to_app_64.c",
12     "nacl_syscall_64.S",
13     "nacl_tls_64.c",
14     "sel_ldr_x86_64.c",
15     "sel_rt_64.c",
16     "tramp_64.S",
17   ]
18   if (is_mac) {
19     sources += [
20       "../../osx/nacl_signal_64.c",
21       "sel_addrspace_posix_x86_64.c",
22     ]
23   }
24   if (is_linux) {
25     sources += [
26       "../../linux/nacl_signal_64.c",
27       "sel_addrspace_posix_x86_64.c",
28     ]
29   }
30   if (is_win) {
31     sources += [
32       "../../win/exception_patch/exit_fast.S",
33       "../../win/exception_patch/intercept.S",
34       "../../win/exception_patch/ntdll_patch.c",
35       "../../win/nacl_signal_64.c",
36       "nacl_switch_unwind_win.asm",
37       "sel_addrspace_win_x86_64.c",
38       "fnstcw.S",
39       "fxsaverstor.S",
40     ]
41   }
42   defines = [
43     "NACL_X86_64_ZERO_BASED_SANDBOX=0",
44   ]
45 }