Chromium Code Reviews| Index: chrome/browser/BUILD.gn |
| diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn |
| index b0109bb7fdcf1d4da5c1eed781c6ccdd594193dd..b5f8850c27afe43ec85d1807f8881cd20c161334 100644 |
| --- a/chrome/browser/BUILD.gn |
| +++ b/chrome/browser/BUILD.gn |
| @@ -13,6 +13,9 @@ if (is_android) { |
| } else { |
| import("//tools/grit/grit_rule.gni") |
| } |
| +if (is_linux) { |
|
jamesr
2014/10/15 22:53:46
nit: might as well make this match the use, which
Chris Masone
2014/10/15 23:17:50
Done.
|
| + import("//build/config/linux/pkg_config.gni") |
| +} |
| about_credits_file = "$target_gen_dir/about_credits.html" |
| additional_modules_list_file = |
| @@ -24,6 +27,12 @@ gypi_values = exec_script( |
| "scope", |
| [ "../chrome_browser.gypi" ]) |
| +if (is_desktop_linux) { |
| + pkg_config("gnome_keyring") { |
| + packages = [ "gnome-keyring-1" ] |
| + } |
| +} |
| + |
| static_library("browser") { |
| configs += [ |
| "//build/config/compiler:wexit_time_destructors", |
| @@ -371,7 +380,7 @@ static_library("browser") { |
| if (is_desktop_linux) { |
| sources += rebase_path(gypi_values.chrome_browser_gnome_keyring_sources, |
| ".", "//chrome") |
| - configs += [ "//build/config/linux:gnome_keyring" ] |
| + configs += [ ":gnome_keyring" ] |
| } |
| if (use_aura) { |
| sources += rebase_path(gypi_values.chrome_browser_aura_sources, |