| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'use_system_libjpeg%': 0, |
| 8 'conditions': [ | 9 'conditions': [ |
| 9 [ 'chromeos == 1 or (os_posix == 1 and \ | |
| 10 OS != "mac" and OS != "linux" and OS != "android")', { | |
| 11 # Link to system .so since we already use it due to GTK. | |
| 12 # See crbug.com/30288 and 31427 for why we skip OS=="linux" above. | |
| 13 'use_system_libjpeg%': 1, | |
| 14 }, { # chromeos != 1 and (os_posix != 1 or | |
| 15 # OS == "mac" or OS == "linux" or OS == "android") | |
| 16 'use_system_libjpeg%': 0, | |
| 17 }], | |
| 18 [ 'OS=="win"', { | 10 [ 'OS=="win"', { |
| 19 'object_suffix': 'obj', | 11 'object_suffix': 'obj', |
| 20 }, { | 12 }, { |
| 21 'object_suffix': 'o', | 13 'object_suffix': 'o', |
| 22 }], | 14 }], |
| 23 ], | 15 ], |
| 24 }, | 16 }, |
| 25 'conditions': [ | 17 'conditions': [ |
| 26 [ 'use_system_libjpeg==0', { | 18 [ 'use_system_libjpeg==0', { |
| 27 'targets': [ | 19 'targets': [ |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 ], | 306 ], |
| 315 }], | 307 }], |
| 316 ], | 308 ], |
| 317 } | 309 } |
| 318 | 310 |
| 319 # Local Variables: | 311 # Local Variables: |
| 320 # tab-width:2 | 312 # tab-width:2 |
| 321 # indent-tabs-mode:nil | 313 # indent-tabs-mode:nil |
| 322 # End: | 314 # End: |
| 323 # vim: set expandtab tabstop=2 shiftwidth=2: | 315 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |