OLD | NEW |
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 { | 6 { |
7 'includes': [ | 7 'includes': [ |
8 '../../../build/common.gypi', | 8 '../../../build/common.gypi', |
9 ], | 9 ], |
10 'variables': { | 10 'variables': { |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 'ttyname_r.c', | 74 'ttyname_r.c', |
75 'umask.c', | 75 'umask.c', |
76 'unlink.c', | 76 'unlink.c', |
77 'utime.c', | 77 'utime.c', |
78 'utimes.c', | 78 'utimes.c', |
79 'vfork.c', | 79 'vfork.c', |
80 'wait.c', | 80 'wait.c', |
81 'waitpid.c', | 81 'waitpid.c', |
82 ], | 82 ], |
83 }, | 83 }, |
84 'conditions': [ | 84 'targets' : [ |
85 # NOTE: We do not support untrusted gyp build on arm yet. | 85 { |
86 ['target_arch!="arm"', { | 86 'target_name': 'nosys_lib', |
87 'targets' : [ | 87 'type': 'none', |
88 { | 88 'variables': { |
89 'target_name': 'nosys_lib', | 89 'nlib_target': 'libnosys.a', |
90 'type': 'none', | 90 'build_glibc': 0, |
91 'variables': { | 91 'build_newlib': 1, |
92 'nlib_target': 'libnosys.a', | 92 'sources': ['<@(common_sources)'] |
93 'build_glibc': 0, | 93 }, |
94 'build_newlib': 1, | 94 'dependencies': [ |
95 'sources': ['<@(common_sources)'] | 95 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
96 }, | |
97 'dependencies': [ | |
98 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | |
99 ], | |
100 }, | |
101 ], | 96 ], |
102 }], | 97 }, |
103 ], | 98 ], |
104 } | 99 } |
OLD | NEW |