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