blob: a518300a57c9280b8f8458413a16bad8f119922c [file] [log] [blame]
Brian Silverman2c0b1702016-03-13 14:23:23 -04001licenses(['notice'])
2
3cc_library(
4 name = 'libjpeg',
5 visibility = ['//visibility:public'],
6 srcs = glob([
7 'jaricom.c',
8 'jcapimin.c',
9 'jcapistd.c',
10 'jcarith.c',
11 'jccoefct.c',
12 'jccolor.c',
13 'jcdctmgr.c',
14 'jchuff.c',
15 'jcinit.c',
16 'jcmainct.c',
17 'jcmarker.c',
18 'jcmaster.c',
19 'jcomapi.c',
20 'jcparam.c',
21 'jcprepct.c',
22 'jcsample.c',
23 'jctrans.c',
24 'jdapimin.c',
25 'jdapistd.c',
26 'jdarith.c',
27 'jdatadst.c',
28 'jdatasrc.c',
29 'jdcoefct.c',
30 'jdcolor.c',
31 'jddctmgr.c',
32 'jdhuff.c',
33 'jdinput.c',
34 'jdmainct.c',
35 'jdmarker.c',
36 'jdmaster.c',
37 'jdmerge.c',
38 'jdpostct.c',
39 'jdsample.c',
40 'jdtrans.c',
41 'jerror.c',
42 'jfdctflt.c',
43 'jfdctfst.c',
44 'jfdctint.c',
45 'jidctflt.c',
46 'jidctfst.c',
47 'jidctint.c',
48 'jquant1.c',
49 'jquant2.c',
50 'jutils.c',
51 'jmemmgr.c',
52 'jmemnobs.c',
53 ]),
54 hdrs = glob([
55 '*.h',
56 ], [
57 'jmemdos.h',
58 'jmemmac.h',
59 ]),
60 includes = ['src/main/c'],
61 copts = [
62 '-Wno-cast-align',
63 '-Wno-cast-qual',
64
65 '-Wno-switch-enum',
66 '-Wno-format-nonliteral',
67 '-Wno-unused-parameter',
68 ],
69)