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

Side by Side Diff: third_party/libjpeg/libjpeg.gyp

Issue 100483003: Disable getenv() in libjpeg and libjpeg_turbo (roll to 238232) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 { 5 {
6 # This file handles building both with our local libjpeg and with the system 6 # This file handles building both with our local libjpeg and with the system
7 # libjpeg. 7 # libjpeg.
8 'conditions': [ 8 'conditions': [
9 ['use_system_libjpeg==0', { 9 ['use_system_libjpeg==0', {
10 'targets': [ 10 'targets': [
11 { 11 {
12 'target_name': 'libjpeg', 12 'target_name': 'libjpeg',
13 'type': 'static_library', 13 'type': 'static_library',
14 'defines': [
15 'NO_GETENV', # getenv() is not thread-safe.
16 ],
14 'sources': [ 17 'sources': [
15 'jcapimin.c', 18 'jcapimin.c',
16 'jcapistd.c', 19 'jcapistd.c',
17 'jccoefct.c', 20 'jccoefct.c',
18 'jccolor.c', 21 'jccolor.c',
19 'jcdctmgr.c', 22 'jcdctmgr.c',
20 'jchuff.c', 23 'jchuff.c',
21 'jchuff.h', 24 'jchuff.h',
22 'jcinit.c', 25 'jcinit.c',
23 'jcmainct.c', 26 'jcmainct.c',
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 'link_settings': { 105 'link_settings': {
103 'libraries': [ 106 'libraries': [
104 '-ljpeg', 107 '-ljpeg',
105 ], 108 ],
106 }, 109 },
107 } 110 }
108 ], 111 ],
109 }], 112 }],
110 ], 113 ],
111 } 114 }
OLDNEW
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698