OLD | NEW |
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 assert(!is_android && !is_ios) | 5 assert(!is_android && !is_ios) |
6 | 6 |
7 static_library("web_modal") { | 7 static_library("web_modal") { |
8 sources = [ | 8 sources = [ |
9 "modal_dialog_host.cc", | 9 "modal_dialog_host.cc", |
10 "modal_dialog_host.h", | 10 "modal_dialog_host.h", |
(...skipping 16 matching lines...) Expand all Loading... |
27 ] | 27 ] |
28 } | 28 } |
29 | 29 |
30 static_library("test_support") { | 30 static_library("test_support") { |
31 testonly = true | 31 testonly = true |
32 sources = [ | 32 sources = [ |
33 "test_web_contents_modal_dialog_host.cc", | 33 "test_web_contents_modal_dialog_host.cc", |
34 "test_web_contents_modal_dialog_host.h", | 34 "test_web_contents_modal_dialog_host.h", |
35 "test_web_contents_modal_dialog_manager_delegate.cc", | 35 "test_web_contents_modal_dialog_manager_delegate.cc", |
36 "test_web_contents_modal_dialog_manager_delegate.h", | 36 "test_web_contents_modal_dialog_manager_delegate.h", |
| 37 "test_web_contents_modal_dialog_manager_views.cc", |
37 ] | 38 ] |
38 | 39 |
39 public_deps = [ | 40 public_deps = [ |
40 ":web_modal", | 41 ":web_modal", |
41 ] | 42 ] |
42 deps = [ | 43 deps = [ |
43 "//base", | 44 "//base", |
44 "//ui/gfx", | 45 "//ui/gfx", |
45 "//ui/gfx/geometry", | 46 "//ui/gfx/geometry", |
46 ] | 47 ] |
47 } | 48 } |
48 | 49 |
49 source_set("unit_tests") { | 50 source_set("unit_tests") { |
50 testonly = true | 51 testonly = true |
51 | 52 |
52 sources = [ | 53 sources = [ |
53 "web_contents_modal_dialog_manager_unittest.cc", | 54 "web_contents_modal_dialog_manager_unittest.cc", |
54 ] | 55 ] |
55 | 56 |
56 deps = [ | 57 deps = [ |
57 ":test_support", | 58 ":test_support", |
58 ":web_modal", | 59 ":web_modal", |
59 "//base", | 60 "//base", |
60 "//content/test:test_support", | 61 "//content/test:test_support", |
61 "//testing/gtest", | 62 "//testing/gtest", |
62 ] | 63 ] |
63 } | 64 } |
OLD | NEW |