| 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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 }], | 306 }], |
| 307 ['component=="shared_library"', { | 307 ['component=="shared_library"', { |
| 308 'ExceptionHandling': '1', # /EHsc | 308 'ExceptionHandling': '1', # /EHsc |
| 309 }, { | 309 }, { |
| 310 'ExceptionHandling': '0', | 310 'ExceptionHandling': '0', |
| 311 }], | 311 }], |
| 312 ], | 312 ], |
| 313 }, | 313 }, |
| 314 'VCLibrarianTool': { | 314 'VCLibrarianTool': { |
| 315 'AdditionalOptions': ['/ignore:4221'], | 315 'AdditionalOptions': ['/ignore:4221'], |
| 316 'conditions': [ |
| 317 ['v8_target_arch=="x64"', { |
| 318 'TargetMachine': '17', # x64 |
| 319 }, { |
| 320 'TargetMachine': '1', # ia32 |
| 321 }], |
| 322 ], |
| 316 }, | 323 }, |
| 317 'VCLinkerTool': { | 324 'VCLinkerTool': { |
| 318 'MinimumRequiredVersion': '5.01', # XP. | |
| 319 'AdditionalDependencies': [ | 325 'AdditionalDependencies': [ |
| 320 'ws2_32.lib', | 326 'ws2_32.lib', |
| 321 ], | 327 ], |
| 322 'GenerateDebugInformation': 'true', | 328 'GenerateDebugInformation': 'true', |
| 323 'MapFileName': '$(OutDir)\\$(TargetName).map', | 329 'MapFileName': '$(OutDir)\\$(TargetName).map', |
| 324 'ImportLibrary': '$(OutDir)\\lib\\$(TargetName).lib', | 330 'ImportLibrary': '$(OutDir)\\lib\\$(TargetName).lib', |
| 325 'FixedBaseAddress': '1', | 331 'FixedBaseAddress': '1', |
| 326 # LinkIncremental values: | 332 # LinkIncremental values: |
| 327 # 0 == default | 333 # 0 == default |
| 328 # 1 == /INCREMENTAL:NO | 334 # 1 == /INCREMENTAL:NO |
| 329 # 2 == /INCREMENTAL | 335 # 2 == /INCREMENTAL |
| 330 'LinkIncremental': '1', | 336 'LinkIncremental': '1', |
| 331 # SubSystem values: | 337 # SubSystem values: |
| 332 # 0 == not set | 338 # 0 == not set |
| 333 # 1 == /SUBSYSTEM:CONSOLE | 339 # 1 == /SUBSYSTEM:CONSOLE |
| 334 # 2 == /SUBSYSTEM:WINDOWS | 340 # 2 == /SUBSYSTEM:WINDOWS |
| 335 'SubSystem': '1', | 341 'SubSystem': '1', |
| 336 | 342 |
| 337 'conditions': [ | 343 'conditions': [ |
| 338 ['v8_enable_i18n_support==1', { | 344 ['v8_enable_i18n_support==1', { |
| 339 'AdditionalDependencies': [ | 345 'AdditionalDependencies': [ |
| 340 'advapi32.lib', | 346 'advapi32.lib', |
| 341 ], | 347 ], |
| 342 }], | 348 }], |
| 349 ['v8_target_arch=="x64"', { |
| 350 'MinimumRequiredVersion': '5.02', # Server 2003. |
| 351 'TargetMachine': '17', # x64 |
| 352 }, { |
| 353 'MinimumRequiredVersion': '5.01', # XP. |
| 354 'TargetMachine': '1', # ia32 |
| 355 }], |
| 343 ], | 356 ], |
| 344 }, | 357 }, |
| 345 }, | 358 }, |
| 346 }, | 359 }, |
| 347 }], # OS=="win" | 360 }], # OS=="win" |
| 348 ['OS=="mac"', { | 361 ['OS=="mac"', { |
| 349 'xcode_settings': { | 362 'xcode_settings': { |
| 350 'SYMROOT': '<(DEPTH)/xcodebuild', | 363 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 351 }, | 364 }, |
| 352 'target_defaults': { | 365 'target_defaults': { |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 ], | 409 ], |
| 397 'target_conditions': [ | 410 'target_conditions': [ |
| 398 ['_type!="static_library"', { | 411 ['_type!="static_library"', { |
| 399 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, | 412 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, |
| 400 }], | 413 }], |
| 401 ], # target_conditions | 414 ], # target_conditions |
| 402 }, # target_defaults | 415 }, # target_defaults |
| 403 }], # OS=="mac" | 416 }], # OS=="mac" |
| 404 ], | 417 ], |
| 405 } | 418 } |
| OLD | NEW |