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.
4
5component("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  ]
15
16  defines = [ "WEB_DIALOGS_IMPLEMENTATION" ]
17
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  ]
27}
28
29static_library("test_support") {
30  sources = [
31    "test/test_web_contents_handler.cc",
32    "test/test_web_contents_handler.h",
33    "test/test_web_dialog_delegate.cc",
34    "test/test_web_dialog_delegate.h",
35  ]
36
37  public_deps = [
38    ":web_dialogs",
39  ]
40  deps = [
41    "//base",
42    "//content/public/browser",
43    "//skia",
44    "//url",
45  ]
46}
47