• Gabriel Marin's avatar
    tcmalloc: add config files for different platforms · 354de716
    Gabriel Marin authored
    The Linux config file was generated by autoconf and manually edited to
    define PC_FROM_UCONTEXT for ARM, change size_t printf format specifiers to
    zd instead of ld, and add a GCC compiler guard around the
    HAVE_BUILTIN_EXPECT macro definition. The file is being committed into the
    repository for the purpose of cross-platform compilation.
    
    The Windows config file was copied from an older version of tcmalloc and
    must be manually inspected before being used with the new tcmalloc version.
    
    The Android and FreeBSD config files are just stubs and must be generated
    by autoconf on those respective platforms before they can be used.
    
    Added windows/mingw.h and windows/port.h to the list of allowed include
    rules of the DEPS file in the top tcmalloc dir.
    
    BUG=724399,b:70905156
    
    Change-Id: Ib18197d03824d0e9cca8c1002cedb25363dc8b03
    Reviewed-on: https://chromium-review.googlesource.com/1130673
    Commit-Queue: Gabriel Marin <gmx@chromium.org>
    Reviewed-by: default avatarScott Violet <sky@chromium.org>
    Reviewed-by: default avatarWill Harris <wfh@chromium.org>
    Reviewed-by: default avatarThomas Anderson <thomasanderson@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#579602}
    354de716
config_linux.h 9.1 KB