Index: components/os_crypt/BUILD.gn |
diff --git a/components/os_crypt/BUILD.gn b/components/os_crypt/BUILD.gn |
index 37adbe98aa562e83f31577622428d787d0b0fdef..59b31a7927ec196059fd622aed81fca6a4bce58b 100644 |
--- a/components/os_crypt/BUILD.gn |
+++ b/components/os_crypt/BUILD.gn |
@@ -40,6 +40,15 @@ source_set("os_crypt") { |
if (is_win) { |
libs = [ "crypt32.lib" ] |
} |
+ |
+ if (is_desktop_linux) { |
+ sources += [ |
+ "os_crypt_posix_util_libsecret.cc", |
+ "os_crypt_posix_util_libsecret.h", |
+ ] |
+ deps += [ "//third_party/libsecret" ] |
+ defines = [ "USE_LIBSECRET" ] |
+ } |
} |
source_set("unit_tests") { |