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 "//skia", | 22 "//skia", |
23 ] | 23 ] |
24 } | 24 } |
25 | 25 |
26 static_library("test_support") { | 26 static_library("test_support") { |
| 27 output_name = "web_dialogs_test_support" |
27 sources = [ | 28 sources = [ |
28 "test/test_web_contents_handler.cc", | 29 "test/test_web_contents_handler.cc", |
29 "test/test_web_contents_handler.h", | 30 "test/test_web_contents_handler.h", |
30 "test/test_web_dialog_delegate.cc", | 31 "test/test_web_dialog_delegate.cc", |
31 "test/test_web_dialog_delegate.h", | 32 "test/test_web_dialog_delegate.h", |
32 ] | 33 ] |
33 | 34 |
34 deps = [ | 35 deps = [ |
35 ":web_dialogs", | 36 ":web_dialogs", |
36 "//base", | 37 "//base", |
37 "//content/public/browser", | 38 "//content/public/browser", |
38 "//skia", | 39 "//skia", |
39 ] | 40 ] |
40 } | 41 } |
OLD | NEW |