Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / ui / views / controls / webview / BUILD.gn
blob260e4c12498fe363cb8da181e81ccf0b00644d5d
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("webview") {
6   sources = [
7     "unhandled_keyboard_event_handler.cc",
8     "unhandled_keyboard_event_handler.h",
9     "unhandled_keyboard_event_handler_linux.cc",
10     "unhandled_keyboard_event_handler_win.cc",
11     "web_dialog_view.cc",
12     "web_dialog_view.h",
13     "webview.cc",
14     "webview.h",
15     "webview_export.h",
16   ]
18   defines = [ "WEBVIEW_IMPLEMENTATION" ]
20   deps = [
21     "//base",
22     "//base:i18n",
23     "//base/third_party/dynamic_annotations",
24     "//content/public/browser",
25     "//skia",
26     "//ui/base",
27     "//ui/events",
28     "//ui/gfx",
29     "//ui/gfx/geometry",
30     "//ui/web_dialogs",
31     "//ui/views",
32     "//url",
33   ]
35   forward_dependent_configs_from = [
36     "//ui/views",
37   ]
40 source_set("test_support") {
41   sources = [
42     "../../test/webview_test_helper.cc",
43     "../../test/webview_test_helper.h",
44   ]
46   deps = [
47     ":webview",
48     "//base",
49     "//content",
50     "//ipc:test_support",
51     "//skia",
52     "//testing/gtest",
53     "//ui/aura",
54     "//ui/base",
55     "//ui/events",
56     "//ui/gfx",
57     "//ui/gfx/geometry",
58     "//ui/views",
59     "//ui/views:test_support",
60     #'../../../../content/content_shell_and_tests.gyp:test_support_content',  TODO(GYP)
61   ]