| OLD | NEW |
| 1 # Copyright 2011 the V8 project authors. All rights reserved. | 1 # Copyright 2010 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 |
| 11 # with the distribution. | 11 # with the distribution. |
| (...skipping 27 matching lines...) Expand all Loading... |
| 39 'host_arch%': | 39 'host_arch%': |
| 40 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s/arm
.*/arm/")', | 40 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s/arm
.*/arm/")', |
| 41 }, { # OS!="linux" and OS!="freebsd" and OS!="openbsd" | 41 }, { # OS!="linux" and OS!="freebsd" and OS!="openbsd" |
| 42 'host_arch%': 'ia32', | 42 'host_arch%': 'ia32', |
| 43 }], | 43 }], |
| 44 ], | 44 ], |
| 45 }, | 45 }, |
| 46 'host_arch%': '<(host_arch)', | 46 'host_arch%': '<(host_arch)', |
| 47 'target_arch%': '<(host_arch)', | 47 'target_arch%': '<(host_arch)', |
| 48 'v8_target_arch%': '<(target_arch)', | 48 'v8_target_arch%': '<(target_arch)', |
| 49 'conditions': [ | |
| 50 ['(target_arch=="arm" and host_arch!="arm") or \ | |
| 51 (target_arch=="x64" and host_arch!="x64")', { | |
| 52 'want_separate_host_toolset': 1, | |
| 53 }, { | |
| 54 'want_separate_host_toolset': 0, | |
| 55 }], | |
| 56 ], | |
| 57 }, | 49 }, |
| 58 'target_defaults': { | 50 'target_defaults': { |
| 59 'default_configuration': 'Debug', | 51 'default_configuration': 'Debug', |
| 60 'defines': [ | |
| 61 'ENABLE_DEBUGGER_SUPPORT', | |
| 62 ], | |
| 63 'configurations': { | 52 'configurations': { |
| 64 'Debug': { | 53 'Debug': { |
| 65 'cflags': [ '-g', '-O0' ], | 54 'cflags': [ '-g', '-O0' ], |
| 66 'defines': [ 'ENABLE_DISASSEMBLER', 'DEBUG', 'V8_ENABLE_CHECKS', | 55 'defines': [ 'ENABLE_DISASSEMBLER', 'DEBUG' ], |
| 67 'OBJECT_PRINT' ], | |
| 68 }, | 56 }, |
| 69 'Release': { | 57 'Release': { |
| 70 'cflags': [ '-O3', '-fomit-frame-pointer', '-fdata-sections', | 58 'cflags': [ '-O3', '-fomit-frame-pointer', '-fdata-sections', '-ffunctio
n-sections' ], |
| 71 '-ffunction-sections' ], | |
| 72 }, | 59 }, |
| 73 }, | 60 }, |
| 74 }, | 61 }, |
| 75 'conditions': [ | 62 'conditions': [ |
| 76 [ 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { | 63 [ 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { |
| 77 'target_defaults': { | 64 'target_defaults': { |
| 78 'cflags': [ '-Wall', '-pthread', '-fno-rtti', '-fno-exceptions', | 65 'cflags': [ '-Wall', '-pthread', '-fno-rtti', '-fno-exceptions' ], |
| 79 '-pedantic' ], | |
| 80 'ldflags': [ '-pthread', ], | 66 'ldflags': [ '-pthread', ], |
| 81 'conditions': [ | 67 'conditions': [ |
| 82 [ 'target_arch=="ia32"', { | 68 [ 'target_arch=="ia32"', { |
| 83 'cflags': [ '-m32' ], | 69 'cflags': [ '-m32' ], |
| 84 'ldflags': [ '-m32' ], | 70 'ldflags': [ '-m32' ], |
| 85 }], | 71 }], |
| 86 [ 'OS=="linux"', { | 72 [ 'OS=="linux"', { |
| 87 'cflags': [ '-ansi' ], | 73 'cflags': [ '-ansi' ], |
| 88 }], | 74 }], |
| 89 [ 'visibility=="hidden"', { | 75 [ 'visibility=="hidden"', { |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 }, | 174 }, |
| 189 'target_conditions': [ | 175 'target_conditions': [ |
| 190 ['_type!="static_library"', { | 176 ['_type!="static_library"', { |
| 191 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, | 177 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, |
| 192 }], | 178 }], |
| 193 ], # target_conditions | 179 ], # target_conditions |
| 194 }, # target_defaults | 180 }, # target_defaults |
| 195 }], # OS=="mac" | 181 }], # OS=="mac" |
| 196 ], | 182 ], |
| 197 } | 183 } |
| OLD | NEW |