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

Unified Diff: chrome/browser/BUILD.gn

Issue 2341773004: Fix 'chrome' build when use_ozone is true (Closed)
Patch Set: 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 | chrome/test/BUILD.gn » ('j') | chrome/test/BUILD.gn » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/BUILD.gn
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index 84342d1a1a7a5e56a4d7de32378453835bee58f9..38caebe2470e3c40cbb597493f3606d5189a3770 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -3442,8 +3442,6 @@ split_static_library("browser") {
"media/webrtc/window_icon_util_x11.cc",
"password_manager/native_backend_kwallet_x.cc",
"password_manager/native_backend_kwallet_x.h",
- "password_manager/native_backend_libsecret.cc",
- "password_manager/native_backend_libsecret.h",
"platform_util_linux.cc",
"shell_integration_linux.cc",
"shell_integration_linux.h",
@@ -3452,8 +3450,14 @@ split_static_library("browser") {
"themes/theme_service_aurax11.h",
"web_applications/web_app_linux.cc",
]
- defines += [ "USE_LIBSECRET" ]
- deps += [ "//third_party/libsecret" ]
+ if (!use_ozone) {
+ sources += [
+ "password_manager/native_backend_libsecret.cc",
+ "password_manager/native_backend_libsecret.h",
+ ]
+ defines += [ "USE_LIBSECRET" ]
+ deps += [ "//third_party/libsecret" ]
+ }
}
if (enable_plugin_installation) {
« no previous file with comments | « no previous file | chrome/test/BUILD.gn » ('j') | chrome/test/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698