Brian Silverman | aa65117 | 2015-09-26 17:39:06 -0400 | [diff] [blame^] | 1 | licenses(['notice']) |
| 2 | |
| 3 | cc_library( |
| 4 | name = 'libevent', |
| 5 | visibility = ['//visibility:public'], |
| 6 | srcs = [ |
| 7 | 'select.c', |
| 8 | 'poll.c', |
| 9 | 'epoll.c', |
| 10 | 'signal.c', |
| 11 | |
| 12 | 'event.c', |
| 13 | 'evthread.c', |
| 14 | 'buffer.c', |
| 15 | 'bufferevent.c', |
| 16 | 'bufferevent_sock.c', |
| 17 | 'bufferevent_filter.c', |
| 18 | 'bufferevent_pair.c', |
| 19 | 'listener.c', |
| 20 | 'bufferevent_ratelim.c', |
| 21 | 'evmap.c', |
| 22 | 'log.c', |
| 23 | 'evutil.c', |
| 24 | 'evutil_rand.c', |
| 25 | 'strlcpy.c', |
| 26 | |
| 27 | 'event_tagging.c', |
| 28 | 'http.c', |
| 29 | 'evdns.c', |
| 30 | 'evrpc.c', |
| 31 | |
| 32 | 'evthread_pthread.c', |
| 33 | |
| 34 | 'include/event2/event-config.h', |
| 35 | |
| 36 | #'compat/sys/queue.h', |
| 37 | ] + glob([ |
| 38 | '*-internal.h', |
| 39 | ]), |
| 40 | hdrs = [ |
| 41 | 'event.h', |
| 42 | 'evhttp.h', |
| 43 | 'evdns.h', |
| 44 | 'evrpc.h', |
| 45 | 'evutil.h', |
| 46 | ], |
| 47 | includes = ['.', 'include'], |
| 48 | copts = [ |
| 49 | '-Ithird_party/libevent/compat', |
| 50 | '-Ithird_party/libevent/include', |
| 51 | ], |
| 52 | ) |