OLD | NEW |
1 # Copyright 2008, Google Inc. | 1 # Copyright 2008, Google Inc. |
2 # All rights reserved. | 2 # All rights reserved. |
3 # | 3 # |
4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
6 # met: | 6 # met: |
7 # | 7 # |
8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 'variables': { | 104 'variables': { |
105 'nlib_target': 'libimc.a', | 105 'nlib_target': 'libimc.a', |
106 'build_glibc': 1, | 106 'build_glibc': 1, |
107 'build_newlib': 0, | 107 'build_newlib': 0, |
108 'sources': ['nacl_imc_c.cc', 'nacl_imc_common.cc', 'nacl/nacl_imc.cc
'], | 108 'sources': ['nacl_imc_c.cc', 'nacl_imc_common.cc', 'nacl/nacl_imc.cc
'], |
109 }, | 109 }, |
110 'dependencies': [ | 110 'dependencies': [ |
111 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 111 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
112 ], | 112 ], |
113 }, | 113 }, |
114 # NOTE: we cannot run this on ARM since we are using a cross compiler | |
115 { | |
116 'target_name': 'run_sigpipe_test', | |
117 'message': 'running test run_imc_tests', | |
118 'type': 'none', | |
119 'dependencies': [ | |
120 'sigpipe_test', | |
121 ], | |
122 'actions': [ | |
123 { | |
124 'action_name': 'run_sigpipe_test', | |
125 'msvs_cygwin_shell': 0, | |
126 'inputs': [ | |
127 '<(COMMAND_TESTER)', | |
128 '<(PRODUCT_DIR)/sigpipe_test', | |
129 ], | |
130 'outputs': [ | |
131 '<(PRODUCT_DIR)/test-output/sigpipe_test.out', | |
132 ], | |
133 'action': [ | |
134 '<@(python_exe)', | |
135 '<(COMMAND_TESTER)', | |
136 '<(PRODUCT_DIR)/sigpipe_test', | |
137 '>', | |
138 '<@(_outputs)', | |
139 ], | |
140 }, | |
141 ] | |
142 }, | |
143 ], | 114 ], |
144 }], | 115 }], |
145 ['OS=="win"', { | 116 ['OS=="win"', { |
146 'targets': [ | 117 'targets': [ |
147 # --------------------------------------------------------------------- | 118 # --------------------------------------------------------------------- |
148 { | 119 { |
149 'target_name': 'imc64', | 120 'target_name': 'imc64', |
150 'type': 'static_library', | 121 'type': 'static_library', |
151 'variables': { | 122 'variables': { |
152 'win_target': 'x64', | 123 'win_target': 'x64', |
(...skipping 18 matching lines...) Expand all Loading... |
171 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio64', | 142 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio64', |
172 ], | 143 ], |
173 }, | 144 }, |
174 ], | 145 ], |
175 }], | 146 }], |
176 ], | 147 ], |
177 } | 148 } |
178 | 149 |
179 # TODO: some tests missing, c.f. build.scons | 150 # TODO: some tests missing, c.f. build.scons |
180 | 151 |
OLD | NEW |