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

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

Issue 9816003: GYP build for ARM untrusted runtime. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 8 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « src/untrusted/irt_stub/irt_stub.gyp ('k') | src/untrusted/nosys/nosys.gyp » ('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) 2011 The Chromium Authors. All rights reserved. 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 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 'sources_for_standard_interfaces': [ 10 'sources_for_standard_interfaces': [
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 'imc_accept.c', 49 'imc_accept.c',
50 'imc_connect.c', 50 'imc_connect.c',
51 'imc_makeboundsock.c', 51 'imc_makeboundsock.c',
52 'imc_mem_obj_create.c', 52 'imc_mem_obj_create.c',
53 'imc_recvmsg.c', 53 'imc_recvmsg.c',
54 'imc_sendmsg.c', 54 'imc_sendmsg.c',
55 'imc_socketpair.c', 55 'imc_socketpair.c',
56 'nameservice.c', 56 'nameservice.c',
57 ], 57 ],
58 }, 58 },
59 'conditions': [ 59
60 # NOTE: We do not support untrusted gyp build on arm yet. 60 'targets' : [
61 ['target_arch!="arm"', { 61 {
62 'targets' : [ 62 'target_name': 'nacl_lib',
63 { 63 'type': 'none',
64 'target_name': 'nacl_lib', 64 'dependencies': [
65 'type': 'none', 65 'nacl_lib_newlib',
66 'dependencies': [
67 'nacl_lib_glibc',
68 'nacl_lib_newlib',
69 ],
70 },
71 {
72 'target_name': 'nacl_lib_glibc',
73 'type': 'none',
74 'variables': {
75 'nlib_target': 'libnacl.a',
76 'build_glibc': 1,
77 'build_newlib': 0,
78 'sources': ['<@(sources_for_nacl_extensions)']
79 },
80 'dependencies': [
81 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
82 ],
83 },
84 {
85 'target_name': 'nacl_lib_newlib',
86 'type': 'none',
87 'variables': {
88 'nlib_target': 'libnacl.a',
89 'build_glibc': 0,
90 'build_newlib': 1,
91 'sources': [
92 '<@(sources_for_nacl_extensions)',
93 '<@(sources_for_standard_interfaces)',
94 ]
95 },
96 'dependencies': [
97 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
98 ],
99 },
100 {
101 'target_name': 'nacl_dynacode_lib',
102 'type': 'none',
103 'variables': {
104 'nlib_target': 'libnacl_dyncode.a',
105 'build_glibc': 1,
106 'build_newlib': 1,
107 'sources': ['dyncode.c']
108 },
109 'dependencies': [
110 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
111 ],
112 },
113 {
114 'target_name': 'nacl_dynacode_private_lib',
115 'type': 'none',
116 'variables': {
117 'nlib_target': 'libnacl_dyncode_private.a',
118 'build_glibc': 0,
119 'build_newlib': 1,
120 'sources': ['dyncode_private.c']
121 },
122 'dependencies': [
123 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
124 ],
125 },
126 {
127 'target_name': 'imc_syscalls_lib',
128 'type': 'none',
129 'variables': {
130 'nlib_target': 'libimc_syscalls.a',
131 'build_glibc': 1,
132 'build_newlib': 1,
133 'sources': ['<@(imc_syscalls)']
134 },
135 'dependencies': [
136 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
137 ],
138 },
139 ], 66 ],
140 }], 67 'conditions': [
68 # NOTE: We do not support glibc on arm yet.
69 ['target_arch!="arm"', {
70 'dependencies': [
71 'nacl_lib_glibc'
72 ]
73 }],
74 ],
75 },
76
77 {
78 'target_name': 'nacl_lib_glibc',
79 'type': 'none',
80 'variables': {
81 'nlib_target': 'libnacl.a',
82 'build_glibc': 1,
83 'build_newlib': 0,
84 'sources': ['<@(sources_for_nacl_extensions)']
85 },
86 'dependencies': [
87 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
88 ],
89 },
90 {
91 'target_name': 'nacl_lib_newlib',
92 'type': 'none',
93 'variables': {
94 'nlib_target': 'libnacl.a',
95 'build_glibc': 0,
96 'build_newlib': 1,
97 'sources': [
98 '<@(sources_for_nacl_extensions)',
99 '<@(sources_for_standard_interfaces)',
100 ]
101 },
102 'dependencies': [
103 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
104 ],
105 },
106 {
107 'target_name': 'nacl_dynacode_lib',
108 'type': 'none',
109 'variables': {
110 'nlib_target': 'libnacl_dyncode.a',
111 'build_glibc': 1,
112 'build_newlib': 1,
113 'sources': ['dyncode.c']
114 },
115 'dependencies': [
116 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
117 ],
118 },
119 {
120 'target_name': 'nacl_dynacode_private_lib',
121 'type': 'none',
122 'variables': {
123 'nlib_target': 'libnacl_dyncode_private.a',
124 'build_glibc': 0,
125 'build_newlib': 1,
126 'sources': ['dyncode_private.c']
127 },
128 'dependencies': [
129 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
130 ],
131 },
132 {
133 'target_name': 'imc_syscalls_lib',
134 'type': 'none',
135 'variables': {
136 'nlib_target': 'libimc_syscalls.a',
137 'build_glibc': 1,
138 'build_newlib': 1,
139 'sources': ['<@(imc_syscalls)']
140 },
141 'dependencies': [
142 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
143 ],
144 },
141 ], 145 ],
142 } 146 }
OLDNEW
« no previous file with comments | « src/untrusted/irt_stub/irt_stub.gyp ('k') | src/untrusted/nosys/nosys.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698