README.chromium 1.6 KB

1234567891011121314151617181920212223242526272829303132333435
  1. Name: libevent
  2. URL: http://libevent.org/
  3. Version: 1.4.15
  4. License: BSD
  5. Security Critical: yes
  6. Local Modifications:
  7. Rather than use libevent's own build system, we just build a Chrome
  8. static library using GYP.
  9. 1) Run configure and "make event-config.h" on Linux, FreeBSD, Solaris,
  10. and Mac and copy config.h and event-config.h to linux/, freebsd/,
  11. solaris/, and mac/ respectively.
  12. 2) Add libevent.gyp.
  13. 3) chromium.patch is applied to make the following changes:
  14. - Allow libevent to be used without being installed by changing <...>
  15. #includes to "...".
  16. - Fix a race condition in event_del.
  17. - Optimistically assume CLOCK_MONOTONIC is available and fallback if it
  18. fails, rather than explicitly testing for it.
  19. - Remove an unneeded variable that causes a -Werror build failure.
  20. - Add an #ifndef to fix a preprocessor redefined -Werror build failure.
  21. - Revert the patch from http://sourceforge.net/p/levent/bugs/223/ that
  22. introduces use-after-free memory corruption when an event callback frees
  23. the struct event memory.
  24. - Remove deprecated global variables, event_sigcb and event_gotsig
  25. (essentially unused) that trigger tsan errors. (crbug/605894)
  26. 4) The directories WIN32-Code and WIN32-Prj are not included.
  27. 5) The configs for android were copied from Linux's which were very close to
  28. android one with the exception of HAVE_FD_MASK and HAVE_STRLCPY.
  29. 6) Remove an unnecessary workaround for OS X 10.4 from kqueue.c. It was causing
  30. problems on macOS Sierra.
  31. 7) Change buffer.c to not redefine _GNU_SOURCE.
  32. 8) Change _event_strlcpy in strlcpy.c to not use K&R syntax.
  33. 9) Change a bitfield in evhttp.h from int to unsigned int.