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 component("web_dialogs") { | 5 component("web_dialogs") { |
6 sources = [ | 6 sources = [ |
7 "web_dialog_delegate.cc", | 7 "web_dialog_delegate.cc", |
8 "web_dialog_delegate.h", | 8 "web_dialog_delegate.h", |
9 "web_dialog_ui.cc", | 9 "web_dialog_ui.cc", |
10 "web_dialog_ui.h", | 10 "web_dialog_ui.h", |
11 "web_dialog_web_contents_delegate.cc", | 11 "web_dialog_web_contents_delegate.cc", |
12 "web_dialog_web_contents_delegate.h", | 12 "web_dialog_web_contents_delegate.h", |
13 "web_dialogs_export.h", | 13 "web_dialogs_export.h", |
14 ] | 14 ] |
15 | 15 |
16 defines = [ "WEB_DIALOGS_IMPLEMENTATION" ] | 16 defines = [ "WEB_DIALOGS_IMPLEMENTATION" ] |
17 | 17 |
18 deps = [ | 18 deps = [ |
19 "//base", | 19 "//base", |
20 "//base/third_party/dynamic_annotations", | 20 "//base/third_party/dynamic_annotations", |
21 "//content/public/browser", | 21 "//content/public/browser", |
22 "//content/public/common", | 22 "//content/public/common", |
23 "//skia", | 23 "//skia", |
24 "//ui/base", | 24 "//ui/base", |
| 25 "//url", |
25 ] | 26 ] |
26 } | 27 } |
27 | 28 |
28 static_library("test_support") { | 29 static_library("test_support") { |
29 sources = [ | 30 sources = [ |
30 "test/test_web_contents_handler.cc", | 31 "test/test_web_contents_handler.cc", |
31 "test/test_web_contents_handler.h", | 32 "test/test_web_contents_handler.h", |
32 "test/test_web_dialog_delegate.cc", | 33 "test/test_web_dialog_delegate.cc", |
33 "test/test_web_dialog_delegate.h", | 34 "test/test_web_dialog_delegate.h", |
34 ] | 35 ] |
35 | 36 |
| 37 public_deps = [ |
| 38 ":web_dialogs", |
| 39 ] |
36 deps = [ | 40 deps = [ |
37 ":web_dialogs", | |
38 "//base", | 41 "//base", |
39 "//content/public/browser", | 42 "//content/public/browser", |
40 "//skia", | 43 "//skia", |
| 44 "//url", |
41 ] | 45 ] |
42 } | 46 } |
OLD | NEW |