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_extension_client.h", | 15 "javascript_dialog_extension_client.h", |
16 "javascript_dialog_manager.cc", | 16 "javascript_dialog_manager.cc", |
17 "javascript_dialog_manager.h", | 17 "javascript_dialog_manager.h", |
18 "javascript_dialog_manager_impl.cc", | |
19 "javascript_dialog_manager_impl.h", | |
20 "javascript_native_dialog_factory.h", | 18 "javascript_native_dialog_factory.h", |
21 "native_app_modal_dialog.h" | 19 "native_app_modal_dialog.h" |
22 ] | 20 ] |
23 | 21 |
24 deps = [ | 22 deps = [ |
25 "//components/strings", | 23 "//components/strings", |
26 "//content/public/browser", | 24 "//content/public/browser", |
27 "//content/public/common", | 25 "//content/public/common", |
28 "//skia", | 26 "//skia", |
29 ] | 27 ] |
30 | 28 |
31 if (use_aura) { | 29 if (use_aura) { |
32 deps += [ "//ui/aura" ] | 30 deps += [ "//ui/aura" ] |
33 } | 31 } |
34 | 32 |
35 if (toolkit_views && !is_mac) { | 33 if (toolkit_views && !is_mac) { |
36 sources += [ | 34 sources += [ |
37 "views/javascript_app_modal_dialog_views.h", | 35 "views/javascript_app_modal_dialog_views.h", |
38 "views/javascript_app_modal_dialog_views.cc", | 36 "views/javascript_app_modal_dialog_views.cc", |
39 ] | 37 ] |
40 } | 38 } |
41 } | 39 } |
OLD | NEW |