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

Side by Side 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, 6 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/ui.gni")
6
5 assert(!is_android && !is_ios) 7 assert(!is_android && !is_ios)
6 8
7 static_library("web_modal") { 9 static_library("web_modal") {
8 sources = [ 10 sources = [
9 "modal_dialog_host.cc", 11 "modal_dialog_host.cc",
10 "modal_dialog_host.h", 12 "modal_dialog_host.h",
11 "single_web_contents_dialog_manager.h", 13 "single_web_contents_dialog_manager.h",
12 "web_contents_modal_dialog_host.cc", 14 "web_contents_modal_dialog_host.cc",
13 "web_contents_modal_dialog_host.h", 15 "web_contents_modal_dialog_host.h",
14 "web_contents_modal_dialog_manager.cc", 16 "web_contents_modal_dialog_manager.cc",
15 "web_contents_modal_dialog_manager.h", 17 "web_contents_modal_dialog_manager.h",
16 "web_contents_modal_dialog_manager_delegate.cc", 18 "web_contents_modal_dialog_manager_delegate.cc",
17 "web_contents_modal_dialog_manager_delegate.h", 19 "web_contents_modal_dialog_manager_delegate.h",
18 ] 20 ]
21 if (is_mac && !mac_views_browser) {
22 sources += [ "web_contents_modal_dialog_views.cc" ]
23 }
19 24
20 deps = [ 25 deps = [
21 "//base", 26 "//base",
22 "//content/public/browser", 27 "//content/public/browser",
23 "//net", 28 "//net",
24 "//skia", 29 "//skia",
25 "//ui/gfx", 30 "//ui/gfx",
26 "//ui/gfx/geometry", 31 "//ui/gfx/geometry",
27 ] 32 ]
28 } 33 }
(...skipping 25 matching lines...) Expand all
54 ] 59 ]
55 60
56 deps = [ 61 deps = [
57 ":test_support", 62 ":test_support",
58 ":web_modal", 63 ":web_modal",
59 "//base", 64 "//base",
60 "//content/test:test_support", 65 "//content/test:test_support",
61 "//testing/gtest", 66 "//testing/gtest",
62 ] 67 ]
63 } 68 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698