| 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 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 | 6 |
| 7 static_library("app_modal") { | 7 static_library("app_modal") { |
| 8 sources = [ | 8 sources = [ |
| 9 "app_modal_dialog.cc", | 9 "app_modal_dialog.cc", |
| 10 "app_modal_dialog.h", | 10 "app_modal_dialog.h", |
| 11 "app_modal_dialog_queue.cc", | 11 "app_modal_dialog_queue.cc", |
| 12 "app_modal_dialog_queue.h", | 12 "app_modal_dialog_queue.h", |
| 13 "javascript_app_modal_dialog.cc", | 13 "javascript_app_modal_dialog.cc", |
| 14 "javascript_app_modal_dialog.h", | 14 "javascript_app_modal_dialog.h", |
| 15 "javascript_dialog_extensions_client.h", | 15 "javascript_dialog_extensions_client.h", |
| 16 "javascript_dialog_manager.cc", | 16 "javascript_dialog_manager.cc", |
| 17 "javascript_dialog_manager.h", | 17 "javascript_dialog_manager.h", |
| 18 "javascript_native_dialog_factory.h", | 18 "javascript_native_dialog_factory.h", |
| 19 "native_app_modal_dialog.h", | 19 "native_app_modal_dialog.h", |
| 20 ] | 20 ] |
| 21 | 21 |
| 22 deps = [ | 22 deps = [ |
| 23 "//base", | 23 "//base", |
| 24 "//base:i18n", | 24 "//base:i18n", |
| 25 "//components/strings", | 25 "//components/strings", |
| 26 "//components/url_formatter", | |
| 27 "//content/public/browser", | 26 "//content/public/browser", |
| 28 "//content/public/common", | 27 "//content/public/common", |
| 29 "//net", | 28 "//net", |
| 30 "//skia", | 29 "//skia", |
| 31 "//ui/base", | 30 "//ui/base", |
| 32 ] | 31 ] |
| 33 | 32 |
| 34 if (use_aura) { | 33 if (use_aura) { |
| 35 deps += [ "//ui/aura" ] | 34 deps += [ "//ui/aura" ] |
| 36 } | 35 } |
| 37 | 36 |
| 38 if (toolkit_views) { | 37 if (toolkit_views) { |
| 39 sources += [ | 38 sources += [ |
| 40 "views/javascript_app_modal_dialog_views.cc", | 39 "views/javascript_app_modal_dialog_views.cc", |
| 41 "views/javascript_app_modal_dialog_views.h", | 40 "views/javascript_app_modal_dialog_views.h", |
| 42 ] | 41 ] |
| 43 | 42 |
| 44 deps += [ | 43 deps += [ |
| 45 "//components/constrained_window", | 44 "//components/constrained_window", |
| 46 "//ui/views", | 45 "//ui/views", |
| 47 ] | 46 ] |
| 48 } | 47 } |
| 49 } | 48 } |
| OLD | NEW |