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

Side by Side Diff: libjpeg.gyp

Issue 8836008: Use os_posix in gyp file, this patch was tested on Solaris, NetBSD, and OpenBSD. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libjpeg_turbo/
Patch Set: '' Created 9 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 | « no previous file | 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) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 'variables': { 6 'variables': {
7 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/libjpeg_turb o', 7 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/libjpeg_turb o',
8 'conditions': [ 8 'conditions': [
9 [ 'chromeos==1 or OS=="freebsd" or OS=="openbsd"', { 9 [ 'chromeos == 1 or (os_posix == 1 and \
10 OS != "mac" and OS != "linux" and OS != "android")', {
10 # Link to system .so since we already use it due to GTK. 11 # Link to system .so since we already use it due to GTK.
11 # See crbug.com/30288 and 31427 for why we skip OS=="linux" above. 12 # See crbug.com/30288 and 31427 for why we skip OS=="linux" above.
12 'use_system_libjpeg%': 1, 13 'use_system_libjpeg%': 1,
13 }, { # chromeos!=1 and OS!="freebsd" and OS!="openbsd" 14 }, { # chromeos != 1 and (os_posix != 1 or
15 # OS == "mac" or OS == "linux" or OS == "android")
14 'use_system_libjpeg%': 0, 16 'use_system_libjpeg%': 0,
15 }], 17 }],
16 [ 'OS=="win"', { 18 [ 'OS=="win"', {
17 'object_suffix': 'obj', 19 'object_suffix': 'obj',
18 }, { 20 }, {
19 'object_suffix': 'o', 21 'object_suffix': 'o',
20 }], 22 }],
21 ], 23 ],
22 }, 24 },
23 'conditions': [ 25 'conditions': [
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 ], 290 ],
289 }], 291 }],
290 ], 292 ],
291 } 293 }
292 294
293 # Local Variables: 295 # Local Variables:
294 # tab-width:2 296 # tab-width:2
295 # indent-tabs-mode:nil 297 # indent-tabs-mode:nil
296 # End: 298 # End:
297 # vim: set expandtab tabstop=2 shiftwidth=2: 299 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698