Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / native_client / src / untrusted / irt / 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
6 import("//native_client/build/toolchain/nacl/nacl_sdk.gni")
7
8 #  Autogenerated from src/untrusted/irt/nacl.scons.
9
10 executable("irt_core_raw") {
11
12   ldflags = [
13     "-Wl,-Trodata-segment=3ef00000",
14     "-Wl,-Ttext-segment=fa00000",
15   ]
16
17   cflags_c = [ "-std=c99" ]
18
19   sources = [
20     "../../untrusted/pthread/nc_condvar.c",
21     "../../untrusted/pthread/nc_mutex.c",
22     "../../untrusted/nacl/sys_private.c",
23     "../../untrusted/valgrind/dynamic_annotations.c",
24     "irt_basic.c",
25     "irt_blockhook.c",
26     "irt_clock.c",
27     "irt_code_data_alloc.c",
28     "irt_cond.c",
29     "irt_core_resource.c",
30     "irt_dev_getpid.c",
31     "irt_dev_list_mappings.c",
32     "irt_dyncode.c",
33     "irt_entry.c",
34     "irt_entry_core.c",
35     "irt_exception_handling.c",
36     "irt_fdio.c",
37     "irt_filename.c",
38     "irt_futex.c",
39     "irt_interfaces.c",
40     "irt_malloc.c",
41     "irt_memory.c",
42     "irt_mutex.c",
43     "irt_nameservice.c",
44     "irt_private_pthread.c",
45     "irt_private_tls.c",
46     "irt_query_list.c",
47     "irt_random.c",
48     "irt_sem.c",
49     "irt_thread.c",
50     "irt_tls.c",
51   ]
52
53   deps = [
54     "//native_client/src/shared/gio:gio",
55     "//native_client/src/shared/platform:platform",
56     "//native_client/src/shared/srpc:srpc",
57     "//native_client/src/untrusted/nacl:imc_syscalls",
58   ]
59 }
60
61 # TODO(noeallen) ApplyTLS irt_core_raw irt_core.nexe
62 # TODO(noeallen) Copy/Rename irt_core.nexe