| 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 | |
| 30 sources = [ | 29 sources = [ |
| 31 "test_web_contents_modal_dialog_host.cc", | 30 "test_web_contents_modal_dialog_host.cc", |
| 32 "test_web_contents_modal_dialog_host.h", | 31 "test_web_contents_modal_dialog_host.h", |
| 33 "test_web_contents_modal_dialog_manager_delegate.cc", | 32 "test_web_contents_modal_dialog_manager_delegate.cc", |
| 34 "test_web_contents_modal_dialog_manager_delegate.h", | 33 "test_web_contents_modal_dialog_manager_delegate.h", |
| 35 ] | 34 ] |
| 36 | 35 |
| 37 public_deps = [ | 36 deps = [ |
| 38 ":web_modal", | 37 ":web_modal", |
| 39 ] | |
| 40 deps = [ | |
| 41 "//base", | 38 "//base", |
| 42 "//ui/gfx", | 39 "//ui/gfx", |
| 43 "//ui/gfx/geometry", | 40 "//ui/gfx/geometry", |
| 44 ] | 41 ] |
| 45 } | 42 } |
| OLD | NEW |