Index: components/os_crypt/BUILD.gn |
diff --git a/components/os_crypt/BUILD.gn b/components/os_crypt/BUILD.gn |
index 37adbe98aa562e83f31577622428d787d0b0fdef..cae9ab7f8ac48c57f1893f803d73fb91149cde5b 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 += [ |
+ "libsecret_loader.cc", |
+ "libsecret_loader.h", |
+ ] |
+ deps += [ "//third_party/libsecret" ] |
+ defines = [ "USE_LIBSECRET" ] |
+ } |
} |
source_set("unit_tests") { |