OLD | NEW |
1 # Copyright 2013 the V8 project authors. All rights reserved. | 1 # Copyright 2013 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 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
341 'xcode_settings': { | 341 'xcode_settings': { |
342 'ARCHS': [ 'x86_64' ], | 342 'ARCHS': [ 'x86_64' ], |
343 }, | 343 }, |
344 'msvs_settings': { | 344 'msvs_settings': { |
345 'VCLinkerTool': { | 345 'VCLinkerTool': { |
346 'StackReserveSize': '2097152', | 346 'StackReserveSize': '2097152', |
347 }, | 347 }, |
348 }, | 348 }, |
349 'msvs_configuration_platform': 'x64', | 349 'msvs_configuration_platform': 'x64', |
350 }], # v8_target_arch=="x64" | 350 }], # v8_target_arch=="x64" |
| 351 ['v8_target_arch=="x32"', { |
| 352 'defines': [ |
| 353 # x32 port shares the source code with x64 port. |
| 354 'V8_TARGET_ARCH_X64', |
| 355 'V8_TARGET_ARCH_32_BIT', |
| 356 ], |
| 357 'cflags': [ |
| 358 '-mx32', |
| 359 # Inhibit warning if long long type is used. |
| 360 '-Wno-long-long', |
| 361 ], |
| 362 'ldflags': [ |
| 363 '-mx32', |
| 364 ], |
| 365 }], # v8_target_arch=="x32" |
351 ['OS=="win"', { | 366 ['OS=="win"', { |
352 'defines': [ | 367 'defines': [ |
353 'WIN32', | 368 'WIN32', |
354 ], | 369 ], |
355 'msvs_configuration_attributes': { | 370 'msvs_configuration_attributes': { |
356 'OutputDirectory': '<(DEPTH)\\build\\$(ConfigurationName)', | 371 'OutputDirectory': '<(DEPTH)\\build\\$(ConfigurationName)', |
357 'IntermediateDirectory': '$(OutDir)\\obj\\$(ProjectName)', | 372 'IntermediateDirectory': '$(OutDir)\\obj\\$(ProjectName)', |
358 'CharacterSet': '1', | 373 'CharacterSet': '1', |
359 }, | 374 }, |
360 }], | 375 }], |
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
739 'OptimizeReferences': '2', | 754 'OptimizeReferences': '2', |
740 'EnableCOMDATFolding': '2', | 755 'EnableCOMDATFolding': '2', |
741 }, | 756 }, |
742 }, | 757 }, |
743 }], # OS=="win" | 758 }], # OS=="win" |
744 ], # conditions | 759 ], # conditions |
745 }, # Release | 760 }, # Release |
746 }, # configurations | 761 }, # configurations |
747 }, # target_defaults | 762 }, # target_defaults |
748 } | 763 } |
OLD | NEW |