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

Unified 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, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/untrusted/irt_stub/irt_stub.gyp ('k') | src/untrusted/nosys/nosys.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/untrusted/nacl/nacl.gyp
===================================================================
--- src/untrusted/nacl/nacl.gyp (revision 8118)
+++ src/untrusted/nacl/nacl.gyp (working copy)
@@ -56,87 +56,91 @@
'nameservice.c',
],
},
- 'conditions': [
- # NOTE: We do not support untrusted gyp build on arm yet.
- ['target_arch!="arm"', {
- 'targets' : [
- {
- 'target_name': 'nacl_lib',
- 'type': 'none',
- 'dependencies': [
- 'nacl_lib_glibc',
- 'nacl_lib_newlib',
- ],
- },
- {
- 'target_name': 'nacl_lib_glibc',
- 'type': 'none',
- 'variables': {
- 'nlib_target': 'libnacl.a',
- 'build_glibc': 1,
- 'build_newlib': 0,
- 'sources': ['<@(sources_for_nacl_extensions)']
- },
- 'dependencies': [
- '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
- ],
- },
- {
- 'target_name': 'nacl_lib_newlib',
- 'type': 'none',
- 'variables': {
- 'nlib_target': 'libnacl.a',
- 'build_glibc': 0,
- 'build_newlib': 1,
- 'sources': [
- '<@(sources_for_nacl_extensions)',
- '<@(sources_for_standard_interfaces)',
- ]
- },
- 'dependencies': [
- '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
- ],
- },
- {
- 'target_name': 'nacl_dynacode_lib',
- 'type': 'none',
- 'variables': {
- 'nlib_target': 'libnacl_dyncode.a',
- 'build_glibc': 1,
- 'build_newlib': 1,
- 'sources': ['dyncode.c']
- },
- 'dependencies': [
- '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
- ],
- },
- {
- 'target_name': 'nacl_dynacode_private_lib',
- 'type': 'none',
- 'variables': {
- 'nlib_target': 'libnacl_dyncode_private.a',
- 'build_glibc': 0,
- 'build_newlib': 1,
- 'sources': ['dyncode_private.c']
- },
- 'dependencies': [
- '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
- ],
- },
- {
- 'target_name': 'imc_syscalls_lib',
- 'type': 'none',
- 'variables': {
- 'nlib_target': 'libimc_syscalls.a',
- 'build_glibc': 1,
- 'build_newlib': 1,
- 'sources': ['<@(imc_syscalls)']
- },
- 'dependencies': [
- '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
- ],
- },
+
+ 'targets' : [
+ {
+ 'target_name': 'nacl_lib',
+ 'type': 'none',
+ 'dependencies': [
+ 'nacl_lib_newlib',
],
- }],
+ 'conditions': [
+ # NOTE: We do not support glibc on arm yet.
+ ['target_arch!="arm"', {
+ 'dependencies': [
+ 'nacl_lib_glibc'
+ ]
+ }],
+ ],
+ },
+
+ {
+ 'target_name': 'nacl_lib_glibc',
+ 'type': 'none',
+ 'variables': {
+ 'nlib_target': 'libnacl.a',
+ 'build_glibc': 1,
+ 'build_newlib': 0,
+ 'sources': ['<@(sources_for_nacl_extensions)']
+ },
+ 'dependencies': [
+ '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
+ ],
+ },
+ {
+ 'target_name': 'nacl_lib_newlib',
+ 'type': 'none',
+ 'variables': {
+ 'nlib_target': 'libnacl.a',
+ 'build_glibc': 0,
+ 'build_newlib': 1,
+ 'sources': [
+ '<@(sources_for_nacl_extensions)',
+ '<@(sources_for_standard_interfaces)',
+ ]
+ },
+ 'dependencies': [
+ '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
+ ],
+ },
+ {
+ 'target_name': 'nacl_dynacode_lib',
+ 'type': 'none',
+ 'variables': {
+ 'nlib_target': 'libnacl_dyncode.a',
+ 'build_glibc': 1,
+ 'build_newlib': 1,
+ 'sources': ['dyncode.c']
+ },
+ 'dependencies': [
+ '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
+ ],
+ },
+ {
+ 'target_name': 'nacl_dynacode_private_lib',
+ 'type': 'none',
+ 'variables': {
+ 'nlib_target': 'libnacl_dyncode_private.a',
+ 'build_glibc': 0,
+ 'build_newlib': 1,
+ 'sources': ['dyncode_private.c']
+ },
+ 'dependencies': [
+ '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
+ ],
+ },
+ {
+ 'target_name': 'imc_syscalls_lib',
+ 'type': 'none',
+ 'variables': {
+ 'nlib_target': 'libimc_syscalls.a',
+ 'build_glibc': 1,
+ 'build_newlib': 1,
+ 'sources': ['<@(imc_syscalls)']
+ },
+ 'dependencies': [
+ '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
+ ],
+ },
],
}
« 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