diff options
Diffstat (limited to 'build/common.gypi')
-rw-r--r-- | build/common.gypi | 37 |
1 files changed, 8 insertions, 29 deletions
diff --git a/build/common.gypi b/build/common.gypi index efb8063..def3eaf 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -820,10 +820,7 @@ ['OS=="linux" and target_arch=="arm" and chromeos==0', { # Set some defaults for arm/linux chrome builds - # TODO(dmikurube): Change the default of use_allocator to "none". - # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 - 'linux_use_tcmalloc%': 0, - 'use_allocator%': 'see_use_tcmalloc', + 'use_allocator%': 'none', # sysroot needs to be an absolute path otherwise it generates # incorrect results when passed to pkg-config 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/arm-sysroot', @@ -1222,15 +1219,8 @@ 'binutils_dir%': '', # Enable TCMalloc. - # TODO(dmikurube): Change Linux default of use_allocator to "tcmalloc". - # TODO(dmikurube): Change Android default of use_allocator to "none". - # TODO(dmikurube): Kill {linux|android}_use_tcmalloc. http://crbug.com/345554 - # {linux|android}_use_tcmalloc are to be replaced with use_allocator. - # They are now used only if use_allocator=="see_use_tcmalloc" (default). - # TODO(dmikurube): Assert when {linux|android}_use_tcmalloc is explicitly specified. - 'linux_use_tcmalloc%': 1, - 'android_use_tcmalloc%': 0, - 'use_allocator%': 'see_use_tcmalloc', + # Default of 'use_allocator' is set to 'none' if OS=='android' later. + 'use_allocator%': 'tcmalloc', # Set to 1 to link against libgnome-keyring instead of using dlopen(). 'linux_link_gnome_keyring%': 0, @@ -1460,10 +1450,7 @@ 'werror%': '', 'disable_nacl%': 1, 'nacl_untrusted_build%': 0, - # TODO(dmikurube): Change the default of use_allocator to "none". - # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 - 'linux_use_tcmalloc%': 0, - 'use_allocator%': 'see_use_tcmalloc', + 'use_allocator%': 'none', }], ['OS=="linux" and target_arch=="mipsel"', { 'sysroot%': '<(sysroot)', @@ -1650,10 +1637,7 @@ 'input_speech%': 0, 'java_bridge%': 1, 'build_ffmpegsumo%': 0, - # TODO(dmikurube): Change the default of use_allocator to "none". - # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 - 'linux_use_tcmalloc%': 0, - 'use_allocator%': 'see_use_tcmalloc', + 'use_allocator%': 'none', # Disable Native Client. 'disable_nacl%': 1, @@ -2043,10 +2027,7 @@ 'win_release_InlineFunctionExpansion': '0', 'win_release_OmitFramePointers': '0', - # TODO(dmikurube): Change the default of use_allocator to "tcmalloc". - # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 - 'linux_use_tcmalloc%': 1, - 'use_allocator': 'see_use_tcmalloc', + 'use_allocator': 'tcmalloc', 'release_valgrind_build': 1, 'werror': '', 'component': 'static_library', @@ -2299,8 +2280,7 @@ '<(DEPTH)/build/mac/asan.gyp:asan_dynamic_runtime', ], }], - # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 - ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_use_tcmalloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1)) and clang_type_profiler==1', { + ['OS=="linux" and use_allocator!="none" and clang_type_profiler==1', { 'cflags_cc!': ['-fno-rtti'], 'cflags_cc+': [ '-frtti', @@ -3865,8 +3845,7 @@ }], ], }], - # TODO(dmikurube): Kill {linux|android}_use_tcmalloc. http://crbug.com/345554 - ['use_allocator!="tcmalloc" and (use_allocator!="see_use_tcmalloc" or ((OS=="linux" and linux_use_tcmalloc==0) or (OS=="android" and android_use_tcmalloc==0)))', { + ['use_allocator!="tcmalloc"', { 'defines': ['NO_TCMALLOC'], }], ['linux_use_gold_flags==1', { |