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 'target_defaults': { | 6 'target_defaults': { |
7 'variables': { | 7 'variables': { |
8 'nacl_target': 0, | 8 'nacl_target': 0, |
9 }, | 9 }, |
10 'target_conditions': [ | 10 'target_conditions': [ |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 'cflags!': [ | 291 'cflags!': [ |
292 '-fasan', | 292 '-fasan', |
293 '-w', | 293 '-w', |
294 ], | 294 ], |
295 'conditions': [ | 295 'conditions': [ |
296 ['clang==1', { | 296 ['clang==1', { |
297 'cflags': [ | 297 'cflags': [ |
298 # Prevent llvm-opt from replacing my_bzero with a call | 298 # Prevent llvm-opt from replacing my_bzero with a call |
299 # to memset | 299 # to memset |
300 '-ffreestanding', | 300 '-ffreestanding', |
| 301 # But make its <limits.h> still work! |
| 302 '-U__STDC_HOSTED__', '-D__STDC_HOSTED__=1', |
301 ], | 303 ], |
302 }], | 304 }], |
303 ], | 305 ], |
304 }, | 306 }, |
305 { | 307 { |
306 'target_name': 'nacl_helper_bootstrap_raw', | 308 'target_name': 'nacl_helper_bootstrap_raw', |
307 'type': 'none', | 309 'type': 'none', |
308 'dependencies': [ | 310 'dependencies': [ |
309 'nacl_helper_bootstrap_lib', | 311 'nacl_helper_bootstrap_lib', |
310 ], | 312 ], |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 'target_name': 'nacl_win64', | 407 'target_name': 'nacl_win64', |
406 'type': 'none', | 408 'type': 'none', |
407 'sources': [], | 409 'sources': [], |
408 }, | 410 }, |
409 ], | 411 ], |
410 }], | 412 }], |
411 ], | 413 ], |
412 }], | 414 }], |
413 ], | 415 ], |
414 } | 416 } |
OLD | NEW |