Remove APIPermission::kFileSystemWriteDirectory
[chromium-blink-merge.git] / ui / web_dialogs / BUILD.gn
blob8f24d8eb631f969f0905684d887c4a9043dfe1be
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 component("web_dialogs") {
6   sources = [
7     "web_dialog_delegate.cc",
8     "web_dialog_delegate.h",
9     "web_dialog_ui.cc",
10     "web_dialog_ui.h",
11     "web_dialog_web_contents_delegate.cc",
12     "web_dialog_web_contents_delegate.h",
13     "web_dialogs_export.h",
14   ]
16   defines = [ "WEB_DIALOGS_IMPLEMENTATION" ]
18   deps = [
19     "//base",
20     "//base/third_party/dynamic_annotations",
21     "//content/public/browser",
22     "//content/public/common",
23     "//skia",
24     "//ui/base",
25     "//url",
26   ]
28   if (!is_ios) {
29     deps += [ "//third_party/WebKit/public:blink_minimal" ]
30   }
33 static_library("test_support") {
34   sources = [
35     "test/test_web_contents_handler.cc",
36     "test/test_web_contents_handler.h",
37     "test/test_web_dialog_delegate.cc",
38     "test/test_web_dialog_delegate.h",
39   ]
41   public_deps = [
42     ":web_dialogs",
43   ]
44   deps = [
45     "//base",
46     "//content/public/browser",
47     "//skia",
48     "//ui/gfx/geometry",
49     "//url",
50   ]