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