Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

Commit

Permalink
Pull deps of gnome keyring and libsecret
Browse files Browse the repository at this point in the history
  • Loading branch information
darkdh authored and bridiver committed Jun 23, 2017
1 parent 3643c0c commit 2befbb7
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions chromium_src/BUILD.gn
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import("//build/config/features.gni")
import("//build/config/ui.gni")
import("//build/config/crypto.gni")
import("//components/os_crypt/features.gni")
import("//extensions/features/features.gni")
import("//media/media_options.gni")
import("//ppapi/features/features.gni")
Expand Down Expand Up @@ -612,8 +613,11 @@ source_set("password_manager") {
"//components/password_manager/content/browser",
"//components/password_manager/core/browser",
"//components/password_manager/core/common",
"//components/os_crypt",
]

defines = [ ]

if (is_linux) {
if (use_x11) {
sources += [
Expand All @@ -624,6 +628,25 @@ source_set("password_manager") {
if (use_dbus) {
deps += [ "//dbus" ]
}

if (use_gnome_keyring) {
sources += [
"//chrome/browser/password_manager/native_backend_gnome_x.cc",
"//chrome/browser/password_manager/native_backend_gnome_x.h",
]
configs += [ "//components/os_crypt:gnome_keyring" ]
}

# libsecret hard depends on GLib.
if (use_glib) {
sources += [
"//chrome/browser/password_manager/native_backend_libsecret.cc",
"//chrome/browser/password_manager/native_backend_libsecret.h",
]
defines += [ "USE_LIBSECRET" ]
deps += [ "//third_party/libsecret" ]
}

sources += [
"//chrome/browser/password_manager/native_backend_kwallet_x.h",
"//chrome/browser/password_manager/native_backend_kwallet_x.cc",
Expand Down

0 comments on commit 2befbb7

Please sign in to comment.