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 "//url", |
26 "//third_party/WebKit/public:blink_minimal", | |
27 ] | 26 ] |
| 27 |
| 28 if (!is_ios) { |
| 29 deps += [ "//third_party/WebKit/public:blink_minimal" ] |
| 30 } |
28 } | 31 } |
29 | 32 |
30 static_library("test_support") { | 33 static_library("test_support") { |
31 sources = [ | 34 sources = [ |
32 "test/test_web_contents_handler.cc", | 35 "test/test_web_contents_handler.cc", |
33 "test/test_web_contents_handler.h", | 36 "test/test_web_contents_handler.h", |
34 "test/test_web_dialog_delegate.cc", | 37 "test/test_web_dialog_delegate.cc", |
35 "test/test_web_dialog_delegate.h", | 38 "test/test_web_dialog_delegate.h", |
36 ] | 39 ] |
37 | 40 |
38 public_deps = [ | 41 public_deps = [ |
39 ":web_dialogs", | 42 ":web_dialogs", |
40 ] | 43 ] |
41 deps = [ | 44 deps = [ |
42 "//base", | 45 "//base", |
43 "//content/public/browser", | 46 "//content/public/browser", |
44 "//skia", | 47 "//skia", |
45 "//ui/gfx/geometry", | 48 "//ui/gfx/geometry", |
46 "//url", | 49 "//url", |
47 ] | 50 ] |
48 } | 51 } |
OLD | NEW |