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

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

Issue 479005: Make sure the 'use_system_*' variables are actually visible in the relevant gyp files. (Closed)
Patch Set: Created 11 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
« no previous file with comments | « third_party/bzip2/bzip2.gyp ('k') | third_party/libpng/libpng.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 (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 'variables': { 6 'variables': {
7 'use_system_libjpeg%': 0, 7 'conditions': [
8 [ 'OS=="linux"', {
9 # Link to system .so since we already use it due to GTK.
10 'use_system_libjpeg%': 1,
11 }, { # OS!="linux"
12 'use_system_libjpeg%': 0,
13 }],
14 ],
8 }, 15 },
9 'conditions': [ 16 'conditions': [
10 ['use_system_libjpeg==0', { 17 ['use_system_libjpeg==0', {
11 'targets': [ 18 'targets': [
12 { 19 {
13 'target_name': 'libjpeg', 20 'target_name': 'libjpeg',
14 'type': '<(library)', 21 'type': '<(library)',
15 'msvs_guid': '238CE175-76CE-4A25-A676-69D115885601', 22 'msvs_guid': '238CE175-76CE-4A25-A676-69D115885601',
16 'sources': [ 23 'sources': [
17 'jcapimin.c', 24 'jcapimin.c',
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 ], 105 ],
99 }], 106 }],
100 ], 107 ],
101 } 108 }
102 109
103 # Local Variables: 110 # Local Variables:
104 # tab-width:2 111 # tab-width:2
105 # indent-tabs-mode:nil 112 # indent-tabs-mode:nil
106 # End: 113 # End:
107 # vim: set expandtab tabstop=2 shiftwidth=2: 114 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « third_party/bzip2/bzip2.gyp ('k') | third_party/libpng/libpng.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698