Chromium Code Reviews| 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 16 matching lines...) Expand all Loading... | |
| 27 | 27 |
| 28 # Definitions to be used when building stand-alone V8 binaries. | 28 # Definitions to be used when building stand-alone V8 binaries. |
| 29 | 29 |
| 30 { | 30 { |
| 31 # We need to include toolchain.gypi here for third-party sources that don't | 31 # We need to include toolchain.gypi here for third-party sources that don't |
| 32 # directly include it themselves. | 32 # directly include it themselves. |
| 33 'includes': ['toolchain.gypi'], | 33 'includes': ['toolchain.gypi'], |
| 34 'variables': { | 34 'variables': { |
| 35 'component%': 'static_library', | 35 'component%': 'static_library', |
| 36 'clang%': 0, | 36 'clang%': 0, |
| 37 'asan%': 0, | |
| 37 'visibility%': 'hidden', | 38 'visibility%': 'hidden', |
| 38 'v8_enable_backtrace%': 0, | 39 'v8_enable_backtrace%': 0, |
| 39 'v8_enable_i18n_support%': 1, | 40 'v8_enable_i18n_support%': 1, |
| 40 'v8_deprecation_warnings': 1, | 41 'v8_deprecation_warnings': 1, |
| 41 'msvs_multi_core_compile%': '1', | 42 'msvs_multi_core_compile%': '1', |
| 42 'mac_deployment_target%': '10.5', | 43 'mac_deployment_target%': '10.5', |
| 43 'variables': { | 44 'variables': { |
| 44 'variables': { | 45 'variables': { |
| 45 'variables': { | 46 'variables': { |
| 46 'conditions': [ | 47 'conditions': [ |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 162 'VCCLCompilerTool': { | 163 'VCCLCompilerTool': { |
| 163 'WarnAsError': 'false', | 164 'WarnAsError': 'false', |
| 164 }, | 165 }, |
| 165 }, | 166 }, |
| 166 }], | 167 }], |
| 167 ], | 168 ], |
| 168 }], | 169 }], |
| 169 ], | 170 ], |
| 170 }, | 171 }, |
| 171 'conditions': [ | 172 'conditions': [ |
| 173 ['asan==1', { | |
| 174 'target_conditions': [ | |
|
jochen (gone - plz use gerrit)
2014/03/13 08:25:27
why only for the target toolset?
| |
| 175 ['_toolset=="target"', { | |
| 176 'cflags': [ | |
| 177 '-fno-omit-frame-pointer', | |
| 178 '-gline-tables-only', | |
| 179 '-fsanitize=address', | |
| 180 '-w', # http://crbug.com/162783 | |
| 181 ], | |
| 182 'cflags!': [ | |
| 183 '-fomit-frame-pointer', | |
| 184 ], | |
| 185 'ldflags': [ | |
| 186 '-fsanitize=address', | |
| 187 ], | |
| 188 }], | |
| 189 ], | |
| 190 }], | |
| 172 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ | 191 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ |
| 173 or OS=="netbsd"', { | 192 or OS=="netbsd"', { |
| 174 'target_defaults': { | 193 'target_defaults': { |
| 175 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', | 194 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', |
| 176 '-pthread', '-fno-exceptions', '-pedantic' ], | 195 '-pthread', '-fno-exceptions', '-pedantic' ], |
| 177 'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti' ], | 196 'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti' ], |
| 178 'ldflags': [ '-pthread', ], | 197 'ldflags': [ '-pthread', ], |
| 179 'conditions': [ | 198 'conditions': [ |
| 180 [ 'OS=="linux"', { | 199 [ 'OS=="linux"', { |
| 181 'cflags': [ '-ansi' ], | 200 'cflags': [ '-ansi' ], |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 330 ], | 349 ], |
| 331 'target_conditions': [ | 350 'target_conditions': [ |
| 332 ['_type!="static_library"', { | 351 ['_type!="static_library"', { |
| 333 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, | 352 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, |
| 334 }], | 353 }], |
| 335 ], # target_conditions | 354 ], # target_conditions |
| 336 }, # target_defaults | 355 }, # target_defaults |
| 337 }], # OS=="mac" | 356 }], # OS=="mac" |
| 338 ], | 357 ], |
| 339 } | 358 } |
| OLD | NEW |