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': [ | 17 'conditions': [ |
18 ['OS=="openbsd" and use_system_libjpeg==1', { | 18 ['os_bsd==1 and use_system_libjpeg==1', { |
19 'include_dirs': [ | 19 'include_dirs': [ |
20 '/usr/local/include', | 20 '/usr/local/include', |
21 ], | 21 ], |
22 }], | 22 }], |
23 ], | 23 ], |
24 'direct_dependent_settings': { | 24 'direct_dependent_settings': { |
25 'include_dirs': [ | 25 'include_dirs': [ |
26 '.', | 26 '.', |
27 ], | 27 ], |
28 }, | 28 }, |
29 }, | 29 }, |
30 ], | 30 ], |
31 } | 31 } |
OLD | NEW |