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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'iccjpeg', | 8 'target_name': 'iccjpeg', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'dependencies': [ | 10 'dependencies': [ |
11 '<(libjpeg_gyp_path):libjpeg', | 11 '<(libjpeg_gyp_path):libjpeg', |
12 ], | 12 ], |
13 'sources': [ | 13 'sources': [ |
14 'iccjpeg.c', | 14 'iccjpeg.c', |
15 'iccjpeg.h', | 15 'iccjpeg.h', |
16 ], | 16 ], |
17 'conditions': [ | |
18 ['os_bsd==1 and use_system_libjpeg==1', { | |
19 'include_dirs': [ | |
20 '/usr/local/include', | |
21 ], | |
22 }], | |
23 ], | |
24 'direct_dependent_settings': { | 17 'direct_dependent_settings': { |
25 'include_dirs': [ | 18 'include_dirs': [ |
26 '.', | 19 '.', |
27 ], | 20 ], |
28 }, | 21 }, |
29 }, | 22 }, |
30 ], | 23 ], |
31 } | 24 } |
OLD | NEW |