Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(431)

Side by Side Diff: gyp/libjpeg.gyp

Issue 1275773004: Switching Skia to chromium's libjpeg-turbo (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Update DEPS with libjpeg-turbo fix Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « DEPS ('k') | gyp/libjpeg-turbo.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2012 The Chromium Authors. All rights reserved. 1 # Copyright 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # This is a copy of ../third_party/externals/libjpeg/libjpeg.gyp , modified 5 # This is a copy of ../third_party/externals/libjpeg/libjpeg.gyp , modified
6 # such that all source paths point into that directory. 6 # such that all source paths point into that directory.
7 # See http://code.google.com/p/skia/issues/detail?id=543 ('wrap libjpeg.gyp 7 # See http://code.google.com/p/skia/issues/detail?id=543 ('wrap libjpeg.gyp
8 # from Chrome's libjpeg port, rather than making our own copy') for a better 8 # from Chrome's libjpeg port, rather than making our own copy') for a better
9 # long-term solution. 9 # long-term solution.
10 10
(...skipping 10 matching lines...) Expand all
21 'type': 'none', 21 'type': 'none',
22 'dependencies': [ 22 'dependencies': [
23 'android_deps.gyp:jpeg', 23 'android_deps.gyp:jpeg',
24 ], 24 ],
25 'export_dependent_settings': [ 25 'export_dependent_settings': [
26 'android_deps.gyp:jpeg', 26 'android_deps.gyp:jpeg',
27 ], 27 ],
28 }, 28 },
29 ], 29 ],
30 }, { # skia_os != android 30 }, { # skia_os != android
31 'conditions': [ 31 'targets': [
32 ['use_system_libjpeg==0', { 32 {
33 'targets': [ 33 'target_name': 'libjpeg',
34 { 34 'type': 'none',
35 'target_name': 'libjpeg', 35 'dependencies': [
36 'type': 'static_library', 36 'libjpeg-turbo.gyp:*',
37 'sources': [
38 # we currently build skia's version of libjpeg-turbo without
39 # SIMD optimizations for simplicity
40 '../third_party/externals/libjpeg/jsimd_none.c',
41
42 '../third_party/externals/libjpeg/jcapimin.c',
43 '../third_party/externals/libjpeg/jcapistd.c',
44 '../third_party/externals/libjpeg/jccoefct.c',
45 '../third_party/externals/libjpeg/jccolor.c',
46 '../third_party/externals/libjpeg/jcdctmgr.c',
47 '../third_party/externals/libjpeg/jchuff.c',
48 '../third_party/externals/libjpeg/jchuff.h',
49 '../third_party/externals/libjpeg/jcinit.c',
50 '../third_party/externals/libjpeg/jcmainct.c',
51 '../third_party/externals/libjpeg/jcmarker.c',
52 '../third_party/externals/libjpeg/jcmaster.c',
53 '../third_party/externals/libjpeg/jcomapi.c',
54 '../third_party/externals/libjpeg/jconfig.h',
55 '../third_party/externals/libjpeg/jcparam.c',
56 '../third_party/externals/libjpeg/jcphuff.c',
57 '../third_party/externals/libjpeg/jcprepct.c',
58 '../third_party/externals/libjpeg/jcsample.c',
59 '../third_party/externals/libjpeg/jdapimin.c',
60 '../third_party/externals/libjpeg/jdapistd.c',
61 '../third_party/externals/libjpeg/jdatadst.c',
62 '../third_party/externals/libjpeg/jdatasrc.c',
63 '../third_party/externals/libjpeg/jdcoefct.c',
64 '../third_party/externals/libjpeg/jdcolor.c',
65 '../third_party/externals/libjpeg/jdct.h',
66 '../third_party/externals/libjpeg/jddctmgr.c',
67 '../third_party/externals/libjpeg/jdhuff.c',
68 '../third_party/externals/libjpeg/jdhuff.h',
69 '../third_party/externals/libjpeg/jdinput.c',
70 '../third_party/externals/libjpeg/jdmainct.c',
71 '../third_party/externals/libjpeg/jdmarker.c',
72 '../third_party/externals/libjpeg/jdmaster.c',
73 '../third_party/externals/libjpeg/jdmerge.c',
74 '../third_party/externals/libjpeg/jdphuff.c',
75 '../third_party/externals/libjpeg/jdpostct.c',
76 '../third_party/externals/libjpeg/jdsample.c',
77 '../third_party/externals/libjpeg/jerror.c',
78 '../third_party/externals/libjpeg/jerror.h',
79 '../third_party/externals/libjpeg/jfdctflt.c',
80 '../third_party/externals/libjpeg/jfdctfst.c',
81 '../third_party/externals/libjpeg/jfdctint.c',
82 '../third_party/externals/libjpeg/jidctflt.c',
83 '../third_party/externals/libjpeg/jidctfst.c',
84 '../third_party/externals/libjpeg/jidctint.c',
85 '../third_party/externals/libjpeg/jidctred.c',
86 '../third_party/externals/libjpeg/jinclude.h',
87 '../third_party/externals/libjpeg/jmemmgr.c',
88 '../third_party/externals/libjpeg/jmemnobs.c',
89 '../third_party/externals/libjpeg/jmemsys.h',
90 '../third_party/externals/libjpeg/jmorecfg.h',
91 '../third_party/externals/libjpeg/jpegint.h',
92 '../third_party/externals/libjpeg/jpeglib.h',
93 '../third_party/externals/libjpeg/jpeglibmangler.h',
94 '../third_party/externals/libjpeg/jquant1.c',
95 '../third_party/externals/libjpeg/jquant2.c',
96 '../third_party/externals/libjpeg/jutils.c',
97 '../third_party/externals/libjpeg/jversion.h',
98 ],
99 'direct_dependent_settings': {
100 'include_dirs': [
101 '../third_party/externals/libjpeg',
102 ],
103 },
104 'cflags': [
105 '-w', # supresses warnings
106 ],
107 },
108 ], 37 ],
109 }, { ## use_system_libjpeg != 0 38 'export_dependent_settings': [
110 'targets': [ 39 'libjpeg-turbo.gyp:*',
111 {
112 'target_name': 'libjpeg',
113 'type': 'none',
114 'direct_dependent_settings': {
115 'defines': [
116 'USE_SYSTEM_LIBJPEG',
117 ],
118 },
119 'link_settings': {
120 'libraries': [
121 '-ljpeg',
122 ],
123 },
124 }
125 ], 40 ],
126 }], 41 },
127 ], 42 ],
128 }], 43 }],
129 ], 44 ],
130 } 45 }
OLDNEW
« no previous file with comments | « DEPS ('k') | gyp/libjpeg-turbo.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698