• Wez's avatar
    Build the Cronet library, tests and unittests under Windows. · 12ce94a1
    Wez authored
    - Fix various call-sites that perform string<->FilePath conversions, to assume UTF8 encoded input,
      since Windows' native strings are UTF16.
    - Fix the export header to export symbols under Cronet.
    - Fix Cronet_Buffer_InitWithAlloc() to handle >32-bit sized allocations correctly under 32-bit.
    - Fix the BufferTest.TestInitWithHugeAllocFails to request an allocation size that cannot be
      satisfied even under systems with over-commit.
    
    Bug: 812268
    Cq-Include-Trybots: master.tryserver.chromium.android:android_cronet_tester;master.tryserver.chromium.mac:ios-simulator-cronet
    Change-Id: If18a2c223e3ee18619543484a55d268ec12b5b78
    Reviewed-on: https://chromium-review.googlesource.com/972674Reviewed-by: default avatarMisha Efimov <mef@chromium.org>
    Reviewed-by: default avatarJohn Budorick <jbudorick@chromium.org>
    Commit-Queue: Wez <wez@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#545993}
    12ce94a1
BUILD.gn 36.2 KB