Don't preload rarely seen large images
[chromium-blink-merge.git] / components / app_modal / BUILD.gn
blob942b72358e22c2d6724cd7c7fe0bbf82113e095f
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
3 # found in the LICENSE file.
5 import("//build/config/ui.gni")
7 static_library("app_modal") {
8   sources = [
9     "app_modal_dialog.cc",
10     "app_modal_dialog.h",
11     "app_modal_dialog_queue.cc",
12     "app_modal_dialog_queue.h",
13     "javascript_app_modal_dialog.cc",
14     "javascript_app_modal_dialog.h",
15     "javascript_dialog_extensions_client.h",
16     "javascript_dialog_manager.cc",
17     "javascript_dialog_manager.h",
18     "javascript_native_dialog_factory.h",
19     "native_app_modal_dialog.h",
20   ]
22   deps = [
23     "//base",
24     "//base:i18n",
25     "//components/strings",
26     "//content/public/browser",
27     "//content/public/common",
28     "//net",
29     "//skia",
30     "//ui/base",
31   ]
33   if (use_aura) {
34     deps += [ "//ui/aura" ]
35   }
37   if (toolkit_views) {
38     sources += [
39       "views/javascript_app_modal_dialog_views.cc",
40       "views/javascript_app_modal_dialog_views.h",
41     ]
43     deps += [
44       "//components/constrained_window",
45       "//ui/views",
46     ]
47   }