Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Side by Side Diff: src/untrusted/irt/irt.gyp

Issue 883393005: Add IRT interface for PNaCl's sandboxed linker to use to talk to Chromium (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Cleanup Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/untrusted/irt/BUILD.gn ('k') | src/untrusted/irt/irt_dev.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'includes': [ 6 'includes': [
7 '../../../build/common.gypi', 7 '../../../build/common.gypi',
8 ], 8 ],
9 'variables': { 9 'variables': {
10 'irt_sources': [ 10 'irt_sources': [
(...skipping 16 matching lines...) Expand all
27 'irt_mutex.c', 27 'irt_mutex.c',
28 'irt_cond.c', 28 'irt_cond.c',
29 'irt_sem.c', 29 'irt_sem.c',
30 'irt_tls.c', 30 'irt_tls.c',
31 'irt_blockhook.c', 31 'irt_blockhook.c',
32 'irt_clock.c', 32 'irt_clock.c',
33 'irt_dev_getpid.c', 33 'irt_dev_getpid.c',
34 'irt_exception_handling.c', 34 'irt_exception_handling.c',
35 'irt_dev_list_mappings.c', 35 'irt_dev_list_mappings.c',
36 'irt_random.c', 36 'irt_random.c',
37 'irt_pnacl_translator.c',
37 # support_srcs 38 # support_srcs
38 # We also get nc_init_private.c, nc_thread.c and nc_tsd.c via 39 # We also get nc_init_private.c, nc_thread.c and nc_tsd.c via
39 # #includes of .c files. 40 # #includes of .c files.
40 '../pthread/nc_mutex.c', 41 '../pthread/nc_mutex.c',
41 '../pthread/nc_condvar.c', 42 '../pthread/nc_condvar.c',
42 '../nacl/sys_private.c', 43 '../nacl/sys_private.c',
43 '../valgrind/dynamic_annotations.c', 44 '../valgrind/dynamic_annotations.c',
44 ], 45 ],
45 'irt_nonbrowser': [ 46 'irt_nonbrowser': [
46 'irt_core_resource.c', 47 'irt_core_resource.c',
47 'irt_entry_core.c', 48 'irt_entry_core.c',
48 ], 49 ],
49 }, 50 },
50 'targets': [ 51 'targets': [
51 { 52 {
52 'target_name': 'irt_core_nexe', 53 'target_name': 'irt_core_nexe',
53 'type': 'none', 54 'type': 'none',
54 'variables': { 55 'variables': {
55 'nexe_target': 'irt_core', 56 'nexe_target': 'irt_core',
56 'build_glibc': 0, 57 'build_glibc': 0,
57 'build_newlib': 0, 58 'build_newlib': 0,
58 'build_irt': 1, 59 'build_irt': 1,
59 }, 60 },
60 'sources': ['<@(irt_sources)', '<@(irt_nonbrowser)'], 61 'sources': ['<@(irt_sources)', '<@(irt_nonbrowser)'],
61 'link_flags': [ 62 'link_flags': [
63 '-lsrpc',
64 '-limc_syscalls',
62 '-lplatform', 65 '-lplatform',
63 '-lgio', 66 '-lgio',
64 '-lm', 67 '-lm',
65 ], 68 ],
66 'dependencies': [ 69 'dependencies': [
67 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', 70 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib',
68 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', 71 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib',
72 '<(DEPTH)/native_client/src/shared/srpc/srpc.gyp:srpc_lib',
69 '<(DEPTH)/native_client/src/tools/tls_edit/tls_edit.gyp:tls_edit#host', 73 '<(DEPTH)/native_client/src/tools/tls_edit/tls_edit.gyp:tls_edit#host',
74 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:imc_syscalls_lib',
70 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:nacl_lib_newlib', 75 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:nacl_lib_newlib',
71 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', 76 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
72 ], 77 ],
73 }, 78 },
74 { 79 {
75 'target_name': 'irt_browser_lib', 80 'target_name': 'irt_browser_lib',
76 'type': 'none', 81 'type': 'none',
77 'variables': { 82 'variables': {
78 'nlib_target': 'libirt_browser.a', 83 'nlib_target': 'libirt_browser.a',
79 'build_glibc': 0, 84 'build_glibc': 0,
80 'build_newlib': 1, 85 'build_newlib': 1,
81 'build_irt': 1, 86 'build_irt': 1,
82 }, 87 },
83 'sources': ['<@(irt_sources)'], 88 'sources': ['<@(irt_sources)'],
84 'dependencies': [ 89 'dependencies': [
85 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', 90 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
86 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:nacl_lib_newlib', 91 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:nacl_lib_newlib',
87 ], 92 ],
88 }, 93 },
89 ], 94 ],
90 } 95 }
OLDNEW
« no previous file with comments | « src/untrusted/irt/BUILD.gn ('k') | src/untrusted/irt/irt_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698