Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(461)

Side by Side Diff: build/linux/system.gyp

Issue 7396013: Linux: revive a mysteriously disabled test and add tests for the GNOME Keyring native backend. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/password_manager/native_backend_gnome_x.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 'conditions': [ 333 'conditions': [
334 ['_toolset=="target"', { 334 ['_toolset=="target"', {
335 'link_settings': { 335 'link_settings': {
336 'libraries': [ 336 'libraries': [
337 '-lselinux', 337 '-lselinux',
338 ], 338 ],
339 }, 339 },
340 }]] 340 }]]
341 }, 341 },
342 { 342 {
343 'target_name': 'gnome-keyring', 343 'target_name': 'gnome_keyring',
344 'type': 'settings', 344 'type': 'settings',
345 'conditions': [ 345 'conditions': [
346 ['use_gnome_keyring==1', { 346 ['use_gnome_keyring==1', {
347 'direct_dependent_settings': { 347 'direct_dependent_settings': {
348 'cflags': [ 348 'cflags': [
349 '<!@(<(pkg-config) --cflags gnome-keyring-1)', 349 '<!@(<(pkg-config) --cflags gnome-keyring-1)',
350 ], 350 ],
351 'defines': [ 351 'defines': [
352 'USE_GNOME_KEYRING', 352 'USE_GNOME_KEYRING',
353 ], 353 ],
(...skipping 18 matching lines...) Expand all
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 # The unit tests use a few convenience functions from the GNOME
383 # Keyring library directly. We ignore linux_link_gnome_keyring and
384 # link directly in this version of the target to allow this.
385 # *** Do not use this target in the main binary! ***
386 'target_name': 'gnome_keyring_direct',
387 'type': 'settings',
388 'conditions': [
389 ['use_gnome_keyring==1', {
390 'direct_dependent_settings': {
391 'cflags': [
392 '<!@(<(pkg-config) --cflags gnome-keyring-1)',
393 ],
394 'defines': [
395 'USE_GNOME_KEYRING',
396 ],
397 'conditions': [
398 ['linux_link_gnome_keyring==0', {
399 'defines': ['DLOPEN_GNOME_KEYRING'],
400 }],
401 ],
402 },
403 'link_settings': {
404 'ldflags': [
405 '<!@(<(pkg-config) --libs-only-L --libs-only-other gnome-keyring-1 )',
406 ],
407 'libraries': [
408 '<!@(<(pkg-config) --libs-only-l gnome-keyring-1)',
409 ],
410 },
411 }],
412 ],
413 },
414 {
382 'target_name': 'dbus-glib', 415 'target_name': 'dbus-glib',
383 'type': 'settings', 416 'type': 'settings',
384 'direct_dependent_settings': { 417 'direct_dependent_settings': {
385 'cflags': [ 418 'cflags': [
386 '<!@(<(pkg-config) --cflags dbus-glib-1)', 419 '<!@(<(pkg-config) --cflags dbus-glib-1)',
387 ], 420 ],
388 }, 421 },
389 'link_settings': { 422 'link_settings': {
390 'ldflags': [ 423 'ldflags': [
391 '<!@(<(pkg-config) --libs-only-L --libs-only-other dbus-glib-1)', 424 '<!@(<(pkg-config) --libs-only-L --libs-only-other dbus-glib-1)',
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 ], 457 ],
425 'libraries': [ 458 'libraries': [
426 '<!@(<(pkg-config) --libs-only-l "ibus-1.0 >= <(ibus_min_version)" )', 459 '<!@(<(pkg-config) --libs-only-l "ibus-1.0 >= <(ibus_min_version)" )',
427 ], 460 ],
428 }, 461 },
429 }], 462 }],
430 ], 463 ],
431 }, 464 },
432 ], 465 ],
433 } 466 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/password_manager/native_backend_gnome_x.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698