| 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 'gomadir': '<!(/bin/echo -n ${HOME}/goma)', | 79 'gomadir': '<!(/bin/echo -n ${HOME}/goma)', |
| 80 }], | 80 }], |
| 81 ], | 81 ], |
| 82 }, | 82 }, |
| 83 'host_arch%': '<(host_arch)', | 83 'host_arch%': '<(host_arch)', |
| 84 'target_arch%': '<(target_arch)', | 84 'target_arch%': '<(target_arch)', |
| 85 'v8_target_arch%': '<(v8_target_arch)', | 85 'v8_target_arch%': '<(v8_target_arch)', |
| 86 'werror%': '-Werror', | 86 'werror%': '-Werror', |
| 87 'use_goma%': '<(use_goma)', | 87 'use_goma%': '<(use_goma)', |
| 88 'gomadir%': '<(gomadir)', | 88 'gomadir%': '<(gomadir)', |
| 89 'host_clang%': '1', | |
| 90 | 89 |
| 91 # .gyp files or targets should set v8_code to 1 if they build V8 specific | 90 # .gyp files or targets should set v8_code to 1 if they build V8 specific |
| 92 # code, as opposed to external code. This variable is used to control such | 91 # code, as opposed to external code. This variable is used to control such |
| 93 # things as the set of warnings to enable, and whether warnings are treated | 92 # things as the set of warnings to enable, and whether warnings are treated |
| 94 # as errors. | 93 # as errors. |
| 95 'v8_code%': 0, | 94 'v8_code%': 0, |
| 96 | 95 |
| 97 # Speeds up Debug builds: | 96 # Speeds up Debug builds: |
| 98 # 0 - Compiler optimizations off (debuggable) (default). This may | 97 # 0 - Compiler optimizations off (debuggable) (default). This may |
| 99 # be 5x slower than Release (or worse). | 98 # be 5x slower than Release (or worse). |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 (OS=="linux" or OS=="mac")', { | 144 (OS=="linux" or OS=="mac")', { |
| 146 'v8_enable_gdbjit%': 1, | 145 'v8_enable_gdbjit%': 1, |
| 147 }, { | 146 }, { |
| 148 'v8_enable_gdbjit%': 0, | 147 'v8_enable_gdbjit%': 0, |
| 149 }], | 148 }], |
| 150 ['(OS=="linux" or OS=="mac") and (target_arch=="ia32" or target_arch=="x64
")', { | 149 ['(OS=="linux" or OS=="mac") and (target_arch=="ia32" or target_arch=="x64
")', { |
| 151 'clang%': 1, | 150 'clang%': 1, |
| 152 }, { | 151 }, { |
| 153 'clang%': 0, | 152 'clang%': 0, |
| 154 }], | 153 }], |
| 154 ['host_arch!="ppc" and host_arch!="ppc64" and host_arch!="ppc64le"', { |
| 155 'host_clang%': '1', |
| 156 }, { |
| 157 'host_clang%': '0', |
| 158 }], |
| 155 ], | 159 ], |
| 156 # Default ARM variable settings. | 160 # Default ARM variable settings. |
| 157 'arm_version%': 'default', | 161 'arm_version%': 'default', |
| 158 'arm_fpu%': 'vfpv3', | 162 'arm_fpu%': 'vfpv3', |
| 159 'arm_float_abi%': 'default', | 163 'arm_float_abi%': 'default', |
| 160 'arm_thumb': 'default', | 164 'arm_thumb': 'default', |
| 161 | 165 |
| 162 # Default MIPS variable settings. | 166 # Default MIPS variable settings. |
| 163 'mips_arch_variant%': 'r2', | 167 'mips_arch_variant%': 'r2', |
| 164 # Possible values fp32, fp64, fpxx. | 168 # Possible values fp32, fp64, fpxx. |
| 165 # fp32 - 32 32-bit FPU registers are available, doubles are placed in | 169 # fp32 - 32 32-bit FPU registers are available, doubles are placed in |
| 166 # register pairs. | 170 # register pairs. |
| 167 # fp64 - 32 64-bit FPU registers are available. | 171 # fp64 - 32 64-bit FPU registers are available. |
| 168 # fpxx - compatibility mode, it chooses fp32 or fp64 depending on runtime | 172 # fpxx - compatibility mode, it chooses fp32 or fp64 depending on runtime |
| 169 # detection | 173 # detection |
| 170 'mips_fpu_mode%': 'fp32', | 174 'mips_fpu_mode%': 'fp32', |
| 171 }, | 175 }, |
| 172 'target_defaults': { | 176 'target_defaults': { |
| 173 'variables': { | 177 'variables': { |
| 174 'v8_code%': '<(v8_code)', | 178 'v8_code%': '<(v8_code)', |
| 175 }, | 179 }, |
| 176 'default_configuration': 'Debug', | 180 'default_configuration': 'Debug', |
| 177 'configurations': { | 181 'configurations': { |
| 178 'DebugBaseCommon': { | 182 'DebugBaseCommon': { |
| 179 'cflags': [ '-g', '-O0' ], | |
| 180 'conditions': [ | 183 'conditions': [ |
| 181 [ 'OS=="aix"', { | 184 ['OS=="aix"', { |
| 182 'cflags': [ '-gxcoff' ], | 185 'cflags': [ '-g', '-Og', '-gxcoff' ], |
| 186 }, { |
| 187 'cflags': [ '-g', '-O0' ], |
| 183 }], | 188 }], |
| 184 ], | 189 ], |
| 185 }, | 190 }, |
| 186 'Optdebug': { | 191 'Optdebug': { |
| 187 'inherit_from': [ 'DebugBaseCommon', 'DebugBase1' ], | 192 'inherit_from': [ 'DebugBaseCommon', 'DebugBase1' ], |
| 188 }, | 193 }, |
| 189 'Debug': { | 194 'Debug': { |
| 190 # Xcode insists on this empty entry. | 195 # Xcode insists on this empty entry. |
| 191 }, | 196 }, |
| 192 'Release': { | 197 'Release': { |
| (...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 577 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', { | 582 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', { |
| 578 'make_global_settings': [ | 583 'make_global_settings': [ |
| 579 ['CC_wrapper', '<(gomadir)/gomacc'], | 584 ['CC_wrapper', '<(gomadir)/gomacc'], |
| 580 ['CXX_wrapper', '<(gomadir)/gomacc'], | 585 ['CXX_wrapper', '<(gomadir)/gomacc'], |
| 581 ['CC.host_wrapper', '<(gomadir)/gomacc'], | 586 ['CC.host_wrapper', '<(gomadir)/gomacc'], |
| 582 ['CXX.host_wrapper', '<(gomadir)/gomacc'], | 587 ['CXX.host_wrapper', '<(gomadir)/gomacc'], |
| 583 ], | 588 ], |
| 584 }], | 589 }], |
| 585 ], | 590 ], |
| 586 } | 591 } |
| OLD | NEW |