Revert of ui: Clean up damaged rects and clear them after painting. (patchset #2...
[chromium-blink-merge.git] / components / app_modal / BUILD.gn
blobc6b8900a70994db2ef3f7ea5994d7848abcb5b25
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_extension_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     "//components/strings",
24     "//content/public/browser",
25     "//content/public/common",
26     "//skia",
27   ]
29   if (use_aura) {
30     deps += [ "//ui/aura" ]
31   }
33   if (toolkit_views) {
34     sources += [
35       "views/javascript_app_modal_dialog_views.cc",
36       "views/javascript_app_modal_dialog_views.h",
37     ]
38   }