README (1277B)
1 See src/README for the README that ships with snappy. 2 3 Mozilla does not modify the actual snappy source with the exception of the 4 'snappy-stubs-public.h' header and one small patch to resolve implicit 5 constructor warnings. We have replaced its build system with our own. 6 7 Snappy comes from: 8 https://github.com/google/snappy 9 10 We are currently using revision: 1.2.2 11 12 To upgrade to a newer version: 13 1. Check out the new code using git. 14 2. Update 'snappy-stubs-public.h' in this directory with any changes that were 15 made to 'snappy-stubs-public.h.in' in the new source. Note that we don't 16 bother trying to detect the availability of sys/uio.h and unconditionally 17 define the iovec type instead for all platforms. 18 3. Copy the major/minor/patch versions from 'CMakeLists.txt' into 19 'snappy-stubs-public.h'. 20 4. Copy all source files from the new version into the src subdirectory. The 21 following are not needed: 22 - 'CMakeLists.txt', 'snappy_benchmark.cc', 'snappy_test_data.cc', 23 'snappy_test_data.h', and 'snappy_test_tool.cc' files 24 - 'cmake' subdirectory 25 - 'docs' subdirectory 26 - 'testdata' subdirectory 27 - 'third_party' subdirectory 28 5. Update the revision stamp in this file. 29 6. Apply 01-explicit.patch. 30