OLD | NEW |
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 'conditions': [ | 7 'conditions': [ |
8 [ 'os_posix == 1 and OS != "mac"', { | 8 [ 'os_posix == 1 and OS != "mac"', { |
9 # Link to system .so since we already use it due to GTK. | 9 # Link to system .so since we already use it due to GTK. |
10 'use_system_libjpeg%': 1, | 10 'use_system_libjpeg%': 1, |
11 }, { # os_posix != 1 or OS == "mac" | 11 }, { # os_posix != 1 or OS == "mac" |
12 'use_system_libjpeg%': 0, | 12 'use_system_libjpeg%': 0, |
13 }], | 13 }], |
14 ], | 14 ], |
15 }, | 15 }, |
16 'conditions': [ | 16 'conditions': [ |
17 ['use_system_libjpeg==0', { | 17 ['use_system_libjpeg==0', { |
18 'targets': [ | 18 'targets': [ |
19 { | 19 { |
20 'target_name': 'libjpeg', | 20 'target_name': 'libjpeg', |
21 'type': 'static_library', | 21 'type': 'static_library', |
22 'msvs_guid': '238CE175-76CE-4A25-A676-69D115885601', | |
23 'sources': [ | 22 'sources': [ |
24 'jcapimin.c', | 23 'jcapimin.c', |
25 'jcapistd.c', | 24 'jcapistd.c', |
26 'jccoefct.c', | 25 'jccoefct.c', |
27 'jccolor.c', | 26 'jccolor.c', |
28 'jcdctmgr.c', | 27 'jcdctmgr.c', |
29 'jchuff.c', | 28 'jchuff.c', |
30 'jchuff.h', | 29 'jchuff.h', |
31 'jcinit.c', | 30 'jcinit.c', |
32 'jcmainct.c', | 31 'jcmainct.c', |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 ], | 104 ], |
106 }], | 105 }], |
107 ], | 106 ], |
108 } | 107 } |
109 | 108 |
110 # Local Variables: | 109 # Local Variables: |
111 # tab-width:2 | 110 # tab-width:2 |
112 # indent-tabs-mode:nil | 111 # indent-tabs-mode:nil |
113 # End: | 112 # End: |
114 # vim: set expandtab tabstop=2 shiftwidth=2: | 113 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |