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_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 Loading... |
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: |
OLD | NEW |