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

Unified Diff: components/os_crypt/BUILD.gn

Issue 2297573002: Implement gnome-keyring for OSCrypt (Closed)
Patch Set: removed thread checker Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/os_crypt/key_storage_keyring.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/os_crypt/BUILD.gn
diff --git a/components/os_crypt/BUILD.gn b/components/os_crypt/BUILD.gn
index 1c8e32514459bca99a7f43c21ff3fc98d93f9d45..19aa93eeafdcee600a7410f1b8674d8884ab1f18 100644
--- a/components/os_crypt/BUILD.gn
+++ b/components/os_crypt/BUILD.gn
@@ -81,10 +81,13 @@ static_library("os_crypt") {
if (use_gnome_keyring) {
sources += [
+ "key_storage_keyring.cc",
+ "key_storage_keyring.h",
"keyring_util_linux.cc",
"keyring_util_linux.h",
]
configs += [ ":gnome_keyring" ]
+ defines += [ "USE_KEYRING" ]
}
if (use_glib) {
sources += [
@@ -127,6 +130,9 @@ static_library("test_support") {
"os_crypt_mocker_linux.h",
]
defines = []
+ if (use_gnome_keyring) {
+ defines += [ "USE_KEYRING" ]
+ }
if (use_glib) {
defines += [ "USE_LIBSECRET" ]
}
@@ -156,6 +162,12 @@ source_set("unit_tests") {
sources += [ "os_crypt_linux_unittest.cc" ]
defines = []
+ if (use_gnome_keyring) {
+ sources += [ "key_storage_keyring_unittest.cc" ]
+ configs += [ ":gnome_keyring" ]
+ deps += [ "//base/test:test_support" ]
+ defines += [ "USE_KEYRING" ]
+ }
if (use_glib) {
sources += [ "key_storage_libsecret_unittest.cc" ]
deps += [ "//third_party/libsecret" ]
« no previous file with comments | « no previous file | components/os_crypt/key_storage_keyring.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698