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 'conditions': [ | 7 'conditions': [ |
8 ['sysroot!=""', { | 8 ['sysroot!=""', { |
9 'pkg-config': './pkg-config-wrapper "<(sysroot)" "<(target_arch)"', | 9 'pkg-config': './pkg-config-wrapper "<(sysroot)" "<(target_arch)"', |
10 }, { | 10 }, { |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 'ldflags': [ | 83 'ldflags': [ |
84 '<!@(<(pkg-config) --libs-only-L --libs-only-other gtk+-unix-p
rint-2.0)', | 84 '<!@(<(pkg-config) --libs-only-L --libs-only-other gtk+-unix-p
rint-2.0)', |
85 ], | 85 ], |
86 'libraries': [ | 86 'libraries': [ |
87 '<!@(<(pkg-config) --libs-only-l gtk+-unix-print-2.0)', | 87 '<!@(<(pkg-config) --libs-only-l gtk+-unix-print-2.0)', |
88 ], | 88 ], |
89 }, | 89 }, |
90 }], | 90 }], |
91 ], | 91 ], |
92 }, | 92 }, |
| 93 { |
| 94 'target_name': 'gdk', |
| 95 'type': 'none', |
| 96 'conditions': [ |
| 97 ['_toolset=="target"', { |
| 98 'direct_dependent_settings': { |
| 99 'cflags': [ |
| 100 '<!@(<(pkg-config) --cflags gdk-2.0)', |
| 101 ], |
| 102 }, |
| 103 'link_settings': { |
| 104 'ldflags': [ |
| 105 '<!@(<(pkg-config) --libs-only-L --libs-only-other gdk-2.0)', |
| 106 ], |
| 107 'libraries': [ |
| 108 '<!@(<(pkg-config) --libs-only-l gdk-2.0)', |
| 109 ], |
| 110 }, |
| 111 }], |
| 112 ], |
| 113 }, |
93 ], # targets | 114 ], # targets |
94 }] # chromeos==0 | 115 }] # chromeos==0 |
95 ], # conditions | 116 ], # conditions |
96 'targets': [ | 117 'targets': [ |
97 { | 118 { |
98 'target_name': 'ssl', | 119 'target_name': 'ssl', |
99 'type': 'none', | 120 'type': 'none', |
100 'conditions': [ | 121 'conditions': [ |
101 ['_toolset=="target"', { | 122 ['_toolset=="target"', { |
102 'conditions': [ | 123 'conditions': [ |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 '<!@(<(pkg-config) --libs-only-L --libs-only-other fontconfig)', | 208 '<!@(<(pkg-config) --libs-only-L --libs-only-other fontconfig)', |
188 ], | 209 ], |
189 'libraries': [ | 210 'libraries': [ |
190 '<!@(<(pkg-config) --libs-only-l fontconfig)', | 211 '<!@(<(pkg-config) --libs-only-l fontconfig)', |
191 ], | 212 ], |
192 }, | 213 }, |
193 }], | 214 }], |
194 ], | 215 ], |
195 }, | 216 }, |
196 { | 217 { |
197 'target_name': 'gdk', | |
198 'type': 'none', | |
199 'conditions': [ | |
200 ['_toolset=="target"', { | |
201 'direct_dependent_settings': { | |
202 'cflags': [ | |
203 '<!@(<(pkg-config) --cflags gdk-2.0)', | |
204 ], | |
205 }, | |
206 'link_settings': { | |
207 'ldflags': [ | |
208 '<!@(<(pkg-config) --libs-only-L --libs-only-other gdk-2.0)', | |
209 ], | |
210 'libraries': [ | |
211 '<!@(<(pkg-config) --libs-only-l gdk-2.0)', | |
212 ], | |
213 }, | |
214 }], | |
215 ], | |
216 }, | |
217 { | |
218 'target_name': 'gconf', | 218 'target_name': 'gconf', |
219 'type': 'none', | 219 'type': 'none', |
220 'conditions': [ | 220 'conditions': [ |
221 ['use_gconf==1 and _toolset=="target"', { | 221 ['use_gconf==1 and _toolset=="target"', { |
222 'direct_dependent_settings': { | 222 'direct_dependent_settings': { |
223 'cflags': [ | 223 'cflags': [ |
224 '<!@(<(pkg-config) --cflags gconf-2.0)', | 224 '<!@(<(pkg-config) --cflags gconf-2.0)', |
225 ], | 225 ], |
226 'defines': [ | 226 'defines': [ |
227 'USE_GCONF', | 227 'USE_GCONF', |
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
625 ], | 625 ], |
626 'libraries': [ | 626 'libraries': [ |
627 '<!@(<(pkg-config) --libs-only-l libudev)', | 627 '<!@(<(pkg-config) --libs-only-l libudev)', |
628 ], | 628 ], |
629 }, | 629 }, |
630 }], | 630 }], |
631 ], | 631 ], |
632 }, | 632 }, |
633 ], | 633 ], |
634 } | 634 } |
OLD | NEW |