| OLD | NEW |
| 1 # Copyright 2010 the V8 project authors. All rights reserved. | 1 # Copyright 2010 the V8 project authors. All rights reserved. |
| 2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
| 3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
| 4 # met: | 4 # met: |
| 5 # | 5 # |
| 6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
| 7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
| 8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
| 9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
| 10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 # 2 == /INCREMENTAL | 132 # 2 == /INCREMENTAL |
| 133 'LinkIncremental': '1', | 133 'LinkIncremental': '1', |
| 134 # SubSystem values: | 134 # SubSystem values: |
| 135 # 0 == not set | 135 # 0 == not set |
| 136 # 1 == /SUBSYSTEM:CONSOLE | 136 # 1 == /SUBSYSTEM:CONSOLE |
| 137 # 2 == /SUBSYSTEM:WINDOWS | 137 # 2 == /SUBSYSTEM:WINDOWS |
| 138 'SubSystem': '1', | 138 'SubSystem': '1', |
| 139 }, | 139 }, |
| 140 }, | 140 }, |
| 141 }, | 141 }, |
| 142 }] | 142 }], # OS=="win" |
| 143 ['OS=="mac"', { |
| 144 'target_defaults': { |
| 145 'xcode_settings': { |
| 146 'ALWAYS_SEARCH_USER_PATHS': 'NO', |
| 147 'GCC_C_LANGUAGE_STANDARD': 'ansi', # -ansi |
| 148 'GCC_CW_ASM_SYNTAX': 'NO', # No -fasm-blocks |
| 149 'GCC_DYNAMIC_NO_PIC': 'NO', # No -mdynamic-no-pic |
| 150 # (Equivalent to -fPIC) |
| 151 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions |
| 152 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti |
| 153 'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings |
| 154 # GCC_INLINES_ARE_PRIVATE_EXTERN maps to -fvisibility-inlines-hidden |
| 155 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES', |
| 156 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden |
| 157 'GCC_THREADSAFE_STATICS': 'NO', # -fno-threadsafe-statics |
| 158 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror |
| 159 'GCC_VERSION': '4.2', |
| 160 'GCC_WARN_ABOUT_MISSING_NEWLINE': 'YES', # -Wnewline-eof |
| 161 'MACOSX_DEPLOYMENT_TARGET': '10.4', # -mmacosx-version-min=10.4 |
| 162 'PREBINDING': 'NO', # No -Wl,-prebind |
| 163 'USE_HEADERMAP': 'NO', |
| 164 'OTHER_CFLAGS': [ |
| 165 '-fno-strict-aliasing', |
| 166 ], |
| 167 'WARNING_CFLAGS': [ |
| 168 '-Wall', |
| 169 '-Wendif-labels', |
| 170 '-W', |
| 171 '-Wno-unused-parameter', |
| 172 '-Wnon-virtual-dtor', |
| 173 ], |
| 174 }, |
| 175 'target_conditions': [ |
| 176 ['_type!="static_library"', { |
| 177 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, |
| 178 }], |
| 179 ], # target_conditions |
| 180 }, # target_defaults |
| 181 }], # OS=="mac" |
| 143 ], | 182 ], |
| 144 } | 183 } |
| OLD | NEW |