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 '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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
372 'libraries': [ | 372 'libraries': [ |
373 '-ldl', | 373 '-ldl', |
374 ], | 374 ], |
375 }, | 375 }, |
376 }], | 376 }], |
377 ], | 377 ], |
378 }], | 378 }], |
379 ], | 379 ], |
380 }, | 380 }, |
381 { | 381 { |
382 'target_name': 'gnome-keyring-direct', | |
Evan Martin
2011/07/18 15:31:00
I think we normally use underscores for these name
Mike Mammarella
2011/07/19 00:20:35
Done.
| |
383 'type': 'settings', | |
Evan Martin
2011/07/18 15:31:00
It turns out this type actually doesn't exist in g
Mike Mammarella
2011/07/19 00:20:35
So, I changed this, and then the unit tests stoppe
| |
384 'conditions': [ | |
385 ['use_gnome_keyring==1', { | |
386 'direct_dependent_settings': { | |
387 'cflags': [ | |
388 '<!@(<(pkg-config) --cflags gnome-keyring-1)', | |
389 ], | |
390 'defines': [ | |
391 'USE_GNOME_KEYRING', | |
392 ], | |
393 'conditions': [ | |
394 ['linux_link_gnome_keyring==0', { | |
395 'defines': ['DLOPEN_GNOME_KEYRING'], | |
396 }], | |
397 ], | |
398 }, | |
399 # The unit tests use a few convenience functions from the GNOME | |
400 # Keyring library directly. We ignore linux_link_gnome_keyring and | |
401 # link directly in this version of the target to allow this. | |
402 'link_settings': { | |
403 'ldflags': [ | |
404 '<!@(<(pkg-config) --libs-only-L --libs-only-other gnome-keyring-1 )', | |
405 ], | |
406 'libraries': [ | |
407 '<!@(<(pkg-config) --libs-only-l gnome-keyring-1)', | |
408 ], | |
409 }, | |
410 }], | |
411 ], | |
412 }, | |
413 { | |
382 'target_name': 'dbus-glib', | 414 'target_name': 'dbus-glib', |
383 'type': 'settings', | 415 'type': 'settings', |
384 'direct_dependent_settings': { | 416 'direct_dependent_settings': { |
385 'cflags': [ | 417 'cflags': [ |
386 '<!@(<(pkg-config) --cflags dbus-glib-1)', | 418 '<!@(<(pkg-config) --cflags dbus-glib-1)', |
387 ], | 419 ], |
388 }, | 420 }, |
389 'link_settings': { | 421 'link_settings': { |
390 'ldflags': [ | 422 'ldflags': [ |
391 '<!@(<(pkg-config) --libs-only-L --libs-only-other dbus-glib-1)', | 423 '<!@(<(pkg-config) --libs-only-L --libs-only-other dbus-glib-1)', |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
424 ], | 456 ], |
425 'libraries': [ | 457 'libraries': [ |
426 '<!@(<(pkg-config) --libs-only-l "ibus-1.0 >= <(ibus_min_version)" )', | 458 '<!@(<(pkg-config) --libs-only-l "ibus-1.0 >= <(ibus_min_version)" )', |
427 ], | 459 ], |
428 }, | 460 }, |
429 }], | 461 }], |
430 ], | 462 ], |
431 }, | 463 }, |
432 ], | 464 ], |
433 } | 465 } |
OLD | NEW |