Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / libjpeg / BUILD.gn
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.
4
5 # Do not use the targets in this file unless you need a certain libjpeg
6 # implementation. Use the meta target //third_party:jpeg instead.
7
8 source_set("libjpeg") {
9   sources = [
10     "jcapimin.c",
11     "jcapistd.c",
12     "jccoefct.c",
13     "jccolor.c",
14     "jcdctmgr.c",
15     "jchuff.c",
16     "jchuff.h",
17     "jcinit.c",
18     "jcmainct.c",
19     "jcmarker.c",
20     "jcmaster.c",
21     "jcomapi.c",
22     "jconfig.h",
23     "jcparam.c",
24     "jcphuff.c",
25     "jcprepct.c",
26     "jcsample.c",
27     "jdapimin.c",
28     "jdapistd.c",
29     "jdatadst.c",
30     "jdatasrc.c",
31     "jdcoefct.c",
32     "jdcolor.c",
33     "jdct.h",
34     "jddctmgr.c",
35     "jdhuff.c",
36     "jdhuff.h",
37     "jdinput.c",
38     "jdmainct.c",
39     "jdmarker.c",
40     "jdmaster.c",
41     "jdmerge.c",
42     "jdphuff.c",
43     "jdpostct.c",
44     "jdsample.c",
45     "jerror.c",
46     "jerror.h",
47     "jfdctflt.c",
48     "jfdctfst.c",
49     "jfdctint.c",
50     "jidctflt.c",
51     "jidctfst.c",
52     "jidctint.c",
53     "jinclude.h",
54     "jmemmgr.c",
55     "jmemnobs.c",
56     "jmemsys.h",
57     "jmorecfg.h",
58     "jpegint.h",
59     "jpeglib.h",
60     "jquant1.c",
61     "jquant2.c",
62     "jutils.c",
63     "jversion.h",
64   ]
65
66   defines = [ "NO_GETENV" ]  # getenv() is not thread-safe.
67
68   configs -= [ "//build/config/compiler:chromium_code" ]
69   configs += [ "//build/config/compiler:no_chromium_code" ]
70 }