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