OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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': 'harfbuzz-ng', | 8 'target_name': 'libjpeg', |
9 'type': 'none', | 9 'type': 'none', |
10 'cflags': [ | |
11 '<!@(pkg-config --cflags harfbuzz)', | |
12 ], | |
13 'direct_dependent_settings': { | 10 'direct_dependent_settings': { |
14 'cflags': [ | 11 'defines': [ |
15 '<!@(pkg-config --cflags harfbuzz)', | 12 'USE_SYSTEM_LIBJPEG', |
| 13 ], |
| 14 'conditions': [ |
| 15 ['os_bsd==1', { |
| 16 'include_dirs': [ |
| 17 '/usr/local/include', |
| 18 ], |
| 19 }], |
16 ], | 20 ], |
17 }, | 21 }, |
18 'link_settings': { | 22 'link_settings': { |
19 'ldflags': [ | |
20 '<!@(pkg-config --libs-only-L --libs-only-other harfbuzz)', | |
21 ], | |
22 'libraries': [ | 23 'libraries': [ |
23 '<!@(pkg-config --libs-only-l harfbuzz)', | 24 '-ljpeg', |
24 ], | 25 ], |
25 }, | 26 }, |
26 }, | 27 } |
27 ], | 28 ], |
28 } | 29 } |
OLD | NEW |