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 static_library("web_modal") { | 5 static_library("web_modal") { |
6 sources = [ | 6 sources = [ |
7 "modal_dialog_host.cc", | 7 "modal_dialog_host.cc", |
8 "modal_dialog_host.h", | 8 "modal_dialog_host.h", |
9 "single_web_contents_dialog_manager.h", | 9 "single_web_contents_dialog_manager.h", |
10 "web_contents_modal_dialog_host.cc", | 10 "web_contents_modal_dialog_host.cc", |
11 "web_contents_modal_dialog_host.h", | 11 "web_contents_modal_dialog_host.h", |
12 "web_contents_modal_dialog_manager.cc", | 12 "web_contents_modal_dialog_manager.cc", |
13 "web_contents_modal_dialog_manager.h", | 13 "web_contents_modal_dialog_manager.h", |
14 "web_contents_modal_dialog_manager_delegate.cc", | 14 "web_contents_modal_dialog_manager_delegate.cc", |
15 "web_contents_modal_dialog_manager_delegate.h", | 15 "web_contents_modal_dialog_manager_delegate.h", |
16 ] | 16 ] |
17 | 17 |
18 deps = [ | 18 deps = [ |
19 "//base", | 19 "//base", |
20 "//content/public/browser", | 20 "//content/public/browser", |
21 "//net", | 21 "//net", |
22 "//skia", | 22 "//skia", |
23 "//ui/gfx", | 23 "//ui/gfx", |
24 "//ui/gfx/geometry", | 24 "//ui/gfx/geometry", |
25 ] | 25 ] |
26 } | 26 } |
27 | 27 |
28 static_library("test_support") { | 28 static_library("test_support") { |
| 29 testonly = true |
29 sources = [ | 30 sources = [ |
30 "test_web_contents_modal_dialog_host.cc", | 31 "test_web_contents_modal_dialog_host.cc", |
31 "test_web_contents_modal_dialog_host.h", | 32 "test_web_contents_modal_dialog_host.h", |
32 "test_web_contents_modal_dialog_manager_delegate.cc", | 33 "test_web_contents_modal_dialog_manager_delegate.cc", |
33 "test_web_contents_modal_dialog_manager_delegate.h", | 34 "test_web_contents_modal_dialog_manager_delegate.h", |
34 ] | 35 ] |
35 | 36 |
| 37 public_deps = [ |
| 38 ":web_modal", |
| 39 ] |
36 deps = [ | 40 deps = [ |
37 ":web_modal", | |
38 "//base", | 41 "//base", |
39 "//ui/gfx", | 42 "//ui/gfx", |
40 "//ui/gfx/geometry", | 43 "//ui/gfx/geometry", |
41 ] | 44 ] |
42 } | 45 } |
OLD | NEW |