OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'conditions': [ | 6 'conditions': [ |
7 ['sysroot!=""', { | 7 ['sysroot!=""', { |
8 'variables': { | 8 'variables': { |
9 'pkg-config': './pkg-config-wrapper "<(sysroot)"', | 9 'pkg-config': './pkg-config-wrapper "<(sysroot)"', |
10 }, | 10 }, |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 'type': 'settings', | 247 'type': 'settings', |
248 'conditions': [ | 248 'conditions': [ |
249 ['_toolset=="target"', { | 249 ['_toolset=="target"', { |
250 'link_settings': { | 250 'link_settings': { |
251 'libraries': [ | 251 'libraries': [ |
252 '-lselinux', | 252 '-lselinux', |
253 ], | 253 ], |
254 }, | 254 }, |
255 }]] | 255 }]] |
256 }, | 256 }, |
257 # TODO(evanm): temporarily disabled while we figure out whether to depend | 257 { |
258 # on gnome-keyring etc. | 258 'target_name': 'gnome-keyring', |
259 # http://code.google.com/p/chromium/issues/detail?id=12351 | 259 'type': 'settings', |
260 # { | 260 'direct_dependent_settings': { |
261 # 'target_name': 'gnome-keyring', | 261 'cflags': [ |
262 # 'type': 'settings', | 262 '<!@(<(pkg-config) --cflags gnome-keyring-1)', |
263 # 'direct_dependent_settings': { | 263 ], |
264 # 'cflags': [ | 264 'conditions': [ |
265 # '<!@(<(pkg-config) --cflags gnome-keyring-1)', | 265 ['linux_link_gnome_keyring==0', { |
266 # ], | 266 'defines': ['DLOPEN_GNOME_KEYRING'], |
267 # }, | 267 }], |
268 # 'link_settings': { | 268 ], |
269 # 'ldflags': [ | 269 }, |
270 # '<!@(<(pkg-config) --libs-only-L --libs-only-other gnome-keyring-1)'
, | 270 'conditions': [ |
271 # ], | 271 ['linux_link_gnome_keyring!=0', { |
272 # 'libraries': [ | 272 'link_settings': { |
273 # '<!@(<(pkg-config) --libs-only-l gnome-keyring-1)', | 273 'ldflags': [ |
274 # ], | 274 '<!@(<(pkg-config) --libs-only-L --libs-only-other gnome-keyring-1
)', |
275 # }, | 275 ], |
276 # }, | 276 'libraries': [ |
277 { | 277 '<!@(<(pkg-config) --libs-only-l gnome-keyring-1)', |
278 'target_name': 'dbus-glib', | 278 ], |
279 'type': 'settings', | 279 }, |
280 'direct_dependent_settings': { | 280 }, { |
281 'cflags': [ | 281 'link_settings': { |
282 '<!@(<(pkg-config) --cflags dbus-glib-1)', | 282 'libraries': [ |
283 ], | 283 '-ldl', |
284 }, | 284 ], |
285 'link_settings': { | 285 }, |
286 'ldflags': [ | 286 }], |
287 '<!@(<(pkg-config) --libs-only-L --libs-only-other dbus-glib-1)', | 287 ], |
288 ], | 288 }, |
289 'libraries': [ | 289 { |
290 '<!@(<(pkg-config) --libs-only-l dbus-glib-1)', | 290 'target_name': 'dbus-glib', |
291 ], | 291 'type': 'settings', |
292 }, | 292 'direct_dependent_settings': { |
293 }, | 293 'cflags': [ |
| 294 '<!@(<(pkg-config) --cflags dbus-glib-1)', |
| 295 ], |
| 296 }, |
| 297 'link_settings': { |
| 298 'ldflags': [ |
| 299 '<!@(<(pkg-config) --libs-only-L --libs-only-other dbus-glib-1)', |
| 300 ], |
| 301 'libraries': [ |
| 302 '<!@(<(pkg-config) --libs-only-l dbus-glib-1)', |
| 303 ], |
| 304 }, |
| 305 }, |
294 ], | 306 ], |
295 } | 307 } |
296 | 308 |
297 # Local Variables: | 309 # Local Variables: |
298 # tab-width:2 | 310 # tab-width:2 |
299 # indent-tabs-mode:nil | 311 # indent-tabs-mode:nil |
300 # End: | 312 # End: |
301 # vim: set expandtab tabstop=2 shiftwidth=2: | 313 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |