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