Blink roll 171798:171837
[chromium-blink-merge.git] / third_party / libjpeg / BUILD.gn
blob7d06e1ab111b5588d43b51b9496694b891014189
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 source_set("libjpeg") {
6   sources = [
7     "jcapimin.c",
8     "jcapistd.c",
9     "jccoefct.c",
10     "jccolor.c",
11     "jcdctmgr.c",
12     "jchuff.c",
13     "jchuff.h",
14     "jcinit.c",
15     "jcmainct.c",
16     "jcmarker.c",
17     "jcmaster.c",
18     "jcomapi.c",
19     "jconfig.h",
20     "jcparam.c",
21     "jcphuff.c",
22     "jcprepct.c",
23     "jcsample.c",
24     "jdapimin.c",
25     "jdapistd.c",
26     "jdatadst.c",
27     "jdatasrc.c",
28     "jdcoefct.c",
29     "jdcolor.c",
30     "jdct.h",
31     "jddctmgr.c",
32     "jdhuff.c",
33     "jdhuff.h",
34     "jdinput.c",
35     "jdmainct.c",
36     "jdmarker.c",
37     "jdmaster.c",
38     "jdmerge.c",
39     "jdphuff.c",
40     "jdpostct.c",
41     "jdsample.c",
42     "jerror.c",
43     "jerror.h",
44     "jfdctflt.c",
45     "jfdctfst.c",
46     "jfdctint.c",
47     "jidctflt.c",
48     "jidctfst.c",
49     "jidctint.c",
50     "jinclude.h",
51     "jmemmgr.c",
52     "jmemnobs.c",
53     "jmemsys.h",
54     "jmorecfg.h",
55     "jpegint.h",
56     "jpeglib.h",
57     "jquant1.c",
58     "jquant2.c",
59     "jutils.c",
60     "jversion.h",
61   ]
63   defines = [ "NO_GETENV" ]  # getenv() is not thread-safe.
65   configs -= [ "//build/config/compiler:chromium_code" ]
66   configs += [ "//build/config/compiler:no_chromium_code" ]