| OLD | NEW |
| 1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'iccjpeg', | 8 'target_name': 'iccjpeg', |
| 9 'product_name': 'iccjpeg', | 9 'product_name': 'iccjpeg', |
| 10 'type': '<(library)', | 10 'type': '<(library)', |
| 11 'dependencies': [ | |
| 12 '../libjpeg/libjpeg.gyp:libjpeg', | |
| 13 ], | |
| 14 'sources': [ | 11 'sources': [ |
| 15 'iccjpeg.c', | 12 'iccjpeg.c', |
| 16 'iccjpeg.h', | 13 'iccjpeg.h', |
| 17 ], | 14 ], |
| 18 'direct_dependent_settings': { | 15 'direct_dependent_settings': { |
| 19 'include_dirs': [ | 16 'include_dirs': [ |
| 20 '.', | 17 '.', |
| 21 ], | 18 ], |
| 22 }, | 19 }, |
| 20 'conditions': [ |
| 21 ['libjpeg_turbo==1', { |
| 22 'dependencies': [ |
| 23 '../libjpeg_turbo/libjpeg.gyp:libjpeg', |
| 24 ], |
| 25 }, { |
| 26 'dependencies': [ |
| 27 '../libjpeg/libjpeg.gyp:libjpeg', |
| 28 ], |
| 29 }], |
| 30 ], |
| 23 }, | 31 }, |
| 24 ], | 32 ], |
| 25 } | 33 } |
| 26 | 34 |
| 27 # Local Variables: | 35 # Local Variables: |
| 28 # tab-width:2 | 36 # tab-width:2 |
| 29 # indent-tabs-mode:nil | 37 # indent-tabs-mode:nil |
| 30 # End: | 38 # End: |
| 31 # vim: set expandtab tabstop=2 shiftwidth=2: | 39 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |