| OLD | NEW |
| 1 # Copyright 2012 the V8 project authors. All rights reserved. | 1 # Copyright 2012 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 # SubSystem values: | 158 # SubSystem values: |
| 159 # 0 == not set | 159 # 0 == not set |
| 160 # 1 == /SUBSYSTEM:CONSOLE | 160 # 1 == /SUBSYSTEM:CONSOLE |
| 161 # 2 == /SUBSYSTEM:WINDOWS | 161 # 2 == /SUBSYSTEM:WINDOWS |
| 162 'SubSystem': '1', | 162 'SubSystem': '1', |
| 163 }, | 163 }, |
| 164 }, | 164 }, |
| 165 }, | 165 }, |
| 166 }], # OS=="win" | 166 }], # OS=="win" |
| 167 ['OS=="mac"', { | 167 ['OS=="mac"', { |
| 168 'xcode_settings': { |
| 169 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 170 }, |
| 168 'target_defaults': { | 171 'target_defaults': { |
| 169 'xcode_settings': { | 172 'xcode_settings': { |
| 170 'ALWAYS_SEARCH_USER_PATHS': 'NO', | 173 'ALWAYS_SEARCH_USER_PATHS': 'NO', |
| 171 'GCC_C_LANGUAGE_STANDARD': 'ansi', # -ansi | 174 'GCC_C_LANGUAGE_STANDARD': 'ansi', # -ansi |
| 172 'GCC_CW_ASM_SYNTAX': 'NO', # No -fasm-blocks | 175 'GCC_CW_ASM_SYNTAX': 'NO', # No -fasm-blocks |
| 173 'GCC_DYNAMIC_NO_PIC': 'NO', # No -mdynamic-no-pic | 176 'GCC_DYNAMIC_NO_PIC': 'NO', # No -mdynamic-no-pic |
| 174 # (Equivalent to -fPIC) | 177 # (Equivalent to -fPIC) |
| 175 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions | 178 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions |
| 176 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti | 179 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti |
| 177 'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings | 180 'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings |
| 178 # GCC_INLINES_ARE_PRIVATE_EXTERN maps to -fvisibility-inlines-hidden | 181 # GCC_INLINES_ARE_PRIVATE_EXTERN maps to -fvisibility-inlines-hidden |
| 179 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES', | 182 'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES', |
| 180 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden | 183 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden |
| 181 'GCC_THREADSAFE_STATICS': 'NO', # -fno-threadsafe-statics | 184 'GCC_THREADSAFE_STATICS': 'NO', # -fno-threadsafe-statics |
| 182 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror | 185 'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES', # -Werror |
| 183 'GCC_VERSION': '4.2', | 186 'GCC_VERSION': '4.2', |
| 184 'GCC_WARN_ABOUT_MISSING_NEWLINE': 'YES', # -Wnewline-eof | 187 'GCC_WARN_ABOUT_MISSING_NEWLINE': 'YES', # -Wnewline-eof |
| 185 'MACOSX_DEPLOYMENT_TARGET': '10.4', # -mmacosx-version-min=10.4 | 188 'MACOSX_DEPLOYMENT_TARGET': '10.4', # -mmacosx-version-min=10.4 |
| 186 'PREBINDING': 'NO', # No -Wl,-prebind | 189 'PREBINDING': 'NO', # No -Wl,-prebind |
| 190 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 187 'USE_HEADERMAP': 'NO', | 191 'USE_HEADERMAP': 'NO', |
| 188 'OTHER_CFLAGS': [ | 192 'OTHER_CFLAGS': [ |
| 189 '-fno-strict-aliasing', | 193 '-fno-strict-aliasing', |
| 190 ], | 194 ], |
| 191 'WARNING_CFLAGS': [ | 195 'WARNING_CFLAGS': [ |
| 192 '-Wall', | 196 '-Wall', |
| 193 '-Wendif-labels', | 197 '-Wendif-labels', |
| 194 '-W', | 198 '-W', |
| 195 '-Wno-unused-parameter', | 199 '-Wno-unused-parameter', |
| 196 '-Wnon-virtual-dtor', | 200 '-Wnon-virtual-dtor', |
| 197 ], | 201 ], |
| 198 }, | 202 }, |
| 199 'target_conditions': [ | 203 'target_conditions': [ |
| 200 ['_type!="static_library"', { | 204 ['_type!="static_library"', { |
| 201 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, | 205 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, |
| 202 }], | 206 }], |
| 203 ], # target_conditions | 207 ], # target_conditions |
| 204 }, # target_defaults | 208 }, # target_defaults |
| 205 }], # OS=="mac" | 209 }], # OS=="mac" |
| 206 ], | 210 ], |
| 207 } | 211 } |
| OLD | NEW |