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

Unified Diff: chrome/browser/BUILD.gn

Issue 2341773004: Fix 'chrome' build when use_ozone is true (Closed)
Patch Set: Fix 'chrome' build when use_ozone is true 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') | no next file with comments »
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..6fee22515b2ce94f2a98c419f5ba438956fc79f6 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -3432,7 +3432,7 @@ split_static_library("browser") {
}
if (is_desktop_linux) {
- # Desktop linux, doesn"t count ChromeOS.
+ # Desktop linux, doesn't count ChromeOS.
sources += [
"first_run/upgrade_util.cc",
"first_run/upgrade_util_linux.cc",
@@ -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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698