| 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 'variables': { | 6 'variables': { |
| 7 'variables': { | 7 'variables': { |
| 8 # Enable -Werror by default, but put it in a variable so it can | 8 # Enable -Werror by default, but put it in a variable so it can |
| 9 # be optionally disabled. | 9 # be optionally disabled. |
| 10 'werror%': '-Werror', | 10 'werror%': '-Werror', |
| 11 # 1 to use goma. | 11 # 1 to use goma. |
| 12 'use_goma%': 0, | 12 'use_goma%': 0, |
| 13 }, | 13 }, |
| 14 # Default C compiler defines. | 14 # Default C compiler defines. |
| 15 'nacl_default_defines': [ | 15 'nacl_default_defines': [ |
| 16 '__linux__', | |
| 17 '__STDC_LIMIT_MACROS=1', | 16 '__STDC_LIMIT_MACROS=1', |
| 18 '__STDC_FORMAT_MACROS=1', | 17 '__STDC_FORMAT_MACROS=1', |
| 19 '_GNU_SOURCE=1', | 18 '_GNU_SOURCE=1', |
| 20 '_BSD_SOURCE=1', | 19 '_BSD_SOURCE=1', |
| 21 '_POSIX_C_SOURCE=199506', | 20 '_POSIX_C_SOURCE=199506', |
| 22 '_XOPEN_SOURCE=600', | 21 '_XOPEN_SOURCE=600', |
| 23 'DYNAMIC_ANNOTATIONS_ENABLED=1', | 22 'DYNAMIC_ANNOTATIONS_ENABLED=1', |
| 24 'DYNAMIC_ANNOTATIONS_PREFIX=NACL_', | 23 'DYNAMIC_ANNOTATIONS_PREFIX=NACL_', |
| 25 ], | 24 ], |
| 26 'nacl_default_compile_flags': [ | 25 'nacl_default_compile_flags': [ |
| (...skipping 1722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1749 ], | 1748 ], |
| 1750 }, | 1749 }, |
| 1751 ], | 1750 ], |
| 1752 }], | 1751 }], |
| 1753 ], | 1752 ], |
| 1754 }], # end MIPS | 1753 }], # end MIPS |
| 1755 # end pnacl actions for building ABI-biased native libraries | 1754 # end pnacl actions for building ABI-biased native libraries |
| 1756 ], # end conditions for pnacl biased nlib | 1755 ], # end conditions for pnacl biased nlib |
| 1757 }, | 1756 }, |
| 1758 } | 1757 } |
| OLD | NEW |