| Index: build/standalone.gypi
|
| diff --git a/build/standalone.gypi b/build/standalone.gypi
|
| index cae63fe7ac58eb691dbc9f2d356bc969234647cb..48f187376da297f837549235a0e84888c8fb32f4 100644
|
| --- a/build/standalone.gypi
|
| +++ b/build/standalone.gypi
|
| @@ -34,6 +34,7 @@
|
| 'variables': {
|
| 'component%': 'static_library',
|
| 'clang%': 0,
|
| + 'asan%': 0,
|
| 'visibility%': 'hidden',
|
| 'v8_enable_backtrace%': 0,
|
| 'v8_enable_i18n_support%': 1,
|
| @@ -169,6 +170,22 @@
|
| ],
|
| },
|
| 'conditions': [
|
| + ['asan==1', {
|
| + 'target_defaults': {
|
| + 'cflags_cc+': [
|
| + '-fno-omit-frame-pointer',
|
| + '-gline-tables-only',
|
| + '-fsanitize=address',
|
| + '-w', # http://crbug.com/162783
|
| + ],
|
| + 'cflags_cc!': [
|
| + '-fomit-frame-pointer',
|
| + ],
|
| + 'ldflags': [
|
| + '-fsanitize=address',
|
| + ],
|
| + }
|
| + }],
|
| ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
|
| or OS=="netbsd"', {
|
| 'target_defaults': {
|
| @@ -327,6 +344,12 @@
|
| }, {
|
| 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES'},
|
| }],
|
| + ['clang==1', {
|
| + 'xcode_settings': {
|
| + 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
|
| + 'CLANG_CXX_LANGUAGE_STANDARD': 'gnu++11', # -std=gnu++11
|
| + },
|
| + }],
|
| ],
|
| 'target_conditions': [
|
| ['_type!="static_library"', {
|
|
|