gecko-dev/other-licenses/snappy
Ryan VanderMeulen e082f2a05b Bug 1883629 - Update Snappy to version 1.2.0. r=dom-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D203634
2024-04-08 13:48:06 +00:00
..
src
01-explicit.patch
README
moz.build
snappy-stubs-public.h

README

See src/README for the README that ships with snappy.

Mozilla does not modify the actual snappy source with the exception of the
'snappy-stubs-public.h' header and one small patch to resolve implicit
constructor warnings. We have replaced its build system with our own.

Snappy comes from:
  https://github.com/google/snappy

We are currently using revision: 1.2.0

To upgrade to a newer version:
  1. Check out the new code using git.
  2. Update 'snappy-stubs-public.h' in this directory with any changes that were
     made to 'snappy-stubs-public.h.in' in the new source. Note that we don't
     bother trying to detect the availability of sys/uio.h and unconditionally
     define the iovec type instead for all platforms.
  3. Copy the major/minor/patch versions from 'CMakeLists.txt' into
     'snappy-stubs-public.h'.
  4. Copy all source files from the new version into the src subdirectory. The
     following are not needed:
       - 'CMakeLists.txt', 'snappy_benchmark.cc', 'snappy_test_data.cc',
         'snappy_test_data.h', and 'snappy_test_tool.cc' files
       - 'cmake' subdirectory
       - 'docs' subdirectory
       - 'testdata' subdirectory
       - 'third_party' subdirectory
  5. Update the revision stamp in this file.
  6. Apply 01-explicit.patch.