| OLD | NEW |
| 1 # Copyright 2011 the V8 project authors. All rights reserved. | 1 # Copyright 2011 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 # Setting v8_use_arm_eabi_hardfloat to true will turn on V8 support for ARM | 53 # Setting v8_use_arm_eabi_hardfloat to true will turn on V8 support for ARM |
| 54 # EABI calling convention where double arguments are passed in VFP | 54 # EABI calling convention where double arguments are passed in VFP |
| 55 # registers. Note that the GCC flag '-mfloat-abi=hard' should be used as | 55 # registers. Note that the GCC flag '-mfloat-abi=hard' should be used as |
| 56 # well when compiling for the ARM target. | 56 # well when compiling for the ARM target. |
| 57 'v8_use_arm_eabi_hardfloat%': 'false', | 57 'v8_use_arm_eabi_hardfloat%': 'false', |
| 58 | 58 |
| 59 'v8_enable_debugger_support%': 1, | 59 'v8_enable_debugger_support%': 1, |
| 60 | 60 |
| 61 'v8_enable_disassembler%': 0, | 61 'v8_enable_disassembler%': 0, |
| 62 | 62 |
| 63 'v8_object_print%': 0, |
| 64 |
| 63 'v8_enable_gdbjit%': 0, | 65 'v8_enable_gdbjit%': 0, |
| 64 | 66 |
| 65 # Enable profiling support. Only required on Windows. | 67 # Enable profiling support. Only required on Windows. |
| 66 'v8_enable_prof%': 0, | 68 'v8_enable_prof%': 0, |
| 67 | 69 |
| 68 # Chrome needs this definition unconditionally. For standalone V8 builds, | 70 # Chrome needs this definition unconditionally. For standalone V8 builds, |
| 69 # it's handled in build/standalone.gypi. | 71 # it's handled in build/standalone.gypi. |
| 70 'want_separate_host_toolset%': 1, | 72 'want_separate_host_toolset%': 1, |
| 71 | 73 |
| 72 'v8_use_snapshot%': 'true', | 74 'v8_use_snapshot%': 'true', |
| 73 'host_os%': '<(OS)', | 75 'host_os%': '<(OS)', |
| 74 'v8_use_liveobjectlist%': 'false', | 76 'v8_use_liveobjectlist%': 'false', |
| 75 | 77 |
| 76 # For a shared library build, results in "libv8-<(soname_version).so". | 78 # For a shared library build, results in "libv8-<(soname_version).so". |
| 77 'soname_version%': '', | 79 'soname_version%': '', |
| 78 }, | 80 }, |
| 79 'target_defaults': { | 81 'target_defaults': { |
| 80 'conditions': [ | 82 'conditions': [ |
| 81 ['v8_enable_debugger_support==1', { | 83 ['v8_enable_debugger_support==1', { |
| 82 'defines': ['ENABLE_DEBUGGER_SUPPORT',], | 84 'defines': ['ENABLE_DEBUGGER_SUPPORT',], |
| 83 }], | 85 }], |
| 84 ['v8_enable_disassembler==1', { | 86 ['v8_enable_disassembler==1', { |
| 85 'defines': ['ENABLE_DISASSEMBLER',], | 87 'defines': ['ENABLE_DISASSEMBLER',], |
| 86 }], | 88 }], |
| 89 ['v8_object_print==1', { |
| 90 'defines': ['OBJECT_PRINT',], |
| 91 }], |
| 87 ['v8_enable_gdbjit==1', { | 92 ['v8_enable_gdbjit==1', { |
| 88 'defines': ['ENABLE_GDB_JIT_INTERFACE',], | 93 'defines': ['ENABLE_GDB_JIT_INTERFACE',], |
| 89 }], | 94 }], |
| 90 ['OS!="mac"', { | 95 ['OS!="mac"', { |
| 91 # TODO(mark): The OS!="mac" conditional is temporary. It can be | 96 # TODO(mark): The OS!="mac" conditional is temporary. It can be |
| 92 # removed once the Mac Chromium build stops setting target_arch to | 97 # removed once the Mac Chromium build stops setting target_arch to |
| 93 # ia32 and instead sets it to mac. Other checks in this file for | 98 # ia32 and instead sets it to mac. Other checks in this file for |
| 94 # OS=="mac" can be removed at that time as well. This can be cleaned | 99 # OS=="mac" can be removed at that time as well. This can be cleaned |
| 95 # up once http://crbug.com/44205 is fixed. | 100 # up once http://crbug.com/44205 is fixed. |
| 96 'conditions': [ | 101 'conditions': [ |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 }, | 182 }, |
| 178 }], | 183 }], |
| 179 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { | 184 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { |
| 180 'conditions': [ | 185 'conditions': [ |
| 181 [ 'target_arch=="ia32"', { | 186 [ 'target_arch=="ia32"', { |
| 182 'cflags': [ '-m32' ], | 187 'cflags': [ '-m32' ], |
| 183 'ldflags': [ '-m32' ], | 188 'ldflags': [ '-m32' ], |
| 184 }], | 189 }], |
| 185 ], | 190 ], |
| 186 }], | 191 }], |
| 192 ['OS=="solaris"', { |
| 193 'defines': [ '__C99FEATURES__=1' ], # isinf() etc. |
| 194 }], |
| 187 ], | 195 ], |
| 188 'configurations': { | 196 'configurations': { |
| 189 'Debug': { | 197 'Debug': { |
| 190 'defines': [ | 198 'defines': [ |
| 191 'DEBUG', | 199 'DEBUG', |
| 192 'ENABLE_DISASSEMBLER', | 200 'ENABLE_DISASSEMBLER', |
| 193 'V8_ENABLE_CHECKS', | 201 'V8_ENABLE_CHECKS', |
| 194 'OBJECT_PRINT', | 202 'OBJECT_PRINT', |
| 195 ], | 203 ], |
| 196 'msvs_settings': { | 204 'msvs_settings': { |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 | 262 |
| 255 # -fstrict-aliasing. Mainline gcc | 263 # -fstrict-aliasing. Mainline gcc |
| 256 # enables this at -O2 and above, | 264 # enables this at -O2 and above, |
| 257 # but Apple gcc does not unless it | 265 # but Apple gcc does not unless it |
| 258 # is specified explicitly. | 266 # is specified explicitly. |
| 259 'GCC_STRICT_ALIASING': 'YES', | 267 'GCC_STRICT_ALIASING': 'YES', |
| 260 }, | 268 }, |
| 261 }], | 269 }], |
| 262 ['OS=="win"', { | 270 ['OS=="win"', { |
| 263 'msvs_configuration_attributes': { | 271 'msvs_configuration_attributes': { |
| 264 'OutputDirectory': '$(SolutionDir)$(ConfigurationName)', | 272 'OutputDirectory': '<(DEPTH)\\build\\$(ConfigurationName)', |
| 265 'IntermediateDirectory': '$(OutDir)\\obj\\$(ProjectName)', | 273 'IntermediateDirectory': '$(OutDir)\\obj\\$(ProjectName)', |
| 266 'CharacterSet': '1', | 274 'CharacterSet': '1', |
| 267 }, | 275 }, |
| 268 'msvs_settings': { | 276 'msvs_settings': { |
| 269 'VCCLCompilerTool': { | 277 'VCCLCompilerTool': { |
| 270 'Optimization': '2', | 278 'Optimization': '2', |
| 271 'InlineFunctionExpansion': '2', | 279 'InlineFunctionExpansion': '2', |
| 272 'EnableIntrinsicFunctions': 'true', | 280 'EnableIntrinsicFunctions': 'true', |
| 273 'FavorSizeOrSpeed': '0', | 281 'FavorSizeOrSpeed': '0', |
| 274 'OmitFramePointers': 'true', | 282 'OmitFramePointers': 'true', |
| (...skipping 17 matching lines...) Expand all Loading... |
| 292 # some test cases can cause stack overflow. | 300 # some test cases can cause stack overflow. |
| 293 # 'StackReserveSize': '297152', | 301 # 'StackReserveSize': '297152', |
| 294 }, | 302 }, |
| 295 }, | 303 }, |
| 296 }], | 304 }], |
| 297 ], | 305 ], |
| 298 }, | 306 }, |
| 299 }, | 307 }, |
| 300 }, | 308 }, |
| 301 } | 309 } |
| OLD | NEW |