OLD | NEW |
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=="freebsd" or OS=="openbsd"', { |
10 # Link to system .so since we already use it due to GTK. | 10 # 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. | 11 # See crbug.com/30288 and 31427 for why we skip OS=="linux" above. |
12 'use_system_libjpeg%': 1, | 12 'use_system_libjpeg%': 1, |
13 }, { # chromeos!=1 and OS!="freebsd" and OS!="openbsd" | 13 }, { # chromeos!=1 and OS!="freebsd" and OS!="openbsd" |
14 'use_system_libjpeg%': 0, | 14 'use_system_libjpeg%': 0, |
15 }], | 15 }], |
16 [ 'OS=="win"', { | 16 [ 'OS=="win"', { |
17 'object_suffix': 'obj', | 17 'object_suffix': 'obj', |
18 }, { | 18 }, { |
19 'object_suffix': 'o', | 19 'object_suffix': 'o', |
20 }], | 20 }], |
21 ], | 21 ], |
22 | |
23 'use_system_yasm%': 0, | |
24 }, | 22 }, |
25 'conditions': [ | 23 'conditions': [ |
26 [ 'use_system_libjpeg==0', { | 24 [ 'use_system_libjpeg==0', { |
27 'targets': [ | 25 'targets': [ |
28 { | 26 { |
29 'target_name': 'libjpeg', | 27 'target_name': 'libjpeg', |
30 'type': '<(library)', | 28 'type': '<(library)', |
31 'include_dirs': [ | 29 'include_dirs': [ |
32 '.', | 30 '.', |
33 ], | 31 ], |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 ], | 288 ], |
291 }], | 289 }], |
292 ], | 290 ], |
293 } | 291 } |
294 | 292 |
295 # Local Variables: | 293 # Local Variables: |
296 # tab-width:2 | 294 # tab-width:2 |
297 # indent-tabs-mode:nil | 295 # indent-tabs-mode:nil |
298 # End: | 296 # End: |
299 # vim: set expandtab tabstop=2 shiftwidth=2: | 297 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |