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

Unified Diff: components/web_modal/BUILD.gn

Issue 1779383002: MacViews: Remove constrained window dependencies for certificate viewer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move out ConstrainedWindowSheet to Cocoa-only, other review comments. Created 4 years, 7 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
Index: components/web_modal/BUILD.gn
diff --git a/components/web_modal/BUILD.gn b/components/web_modal/BUILD.gn
index a06653225d4a59a8b19c501cc194f33121813abc..833a2a5ff787615632d71acd8ed0923962217f7e 100644
--- a/components/web_modal/BUILD.gn
+++ b/components/web_modal/BUILD.gn
@@ -2,6 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/config/ui.gni")
+
assert(!is_android && !is_ios)
static_library("web_modal") {
@@ -16,6 +18,9 @@ static_library("web_modal") {
"web_contents_modal_dialog_manager_delegate.cc",
"web_contents_modal_dialog_manager_delegate.h",
]
+ if (is_mac && !mac_views_browser) {
+ sources += [ "web_contents_modal_dialog_views.cc" ]
+ }
deps = [
"//base",

Powered by Google App Engine
This is Rietveld 408576698