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 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 ] 17 18 defines = [ "WEBVIEW_IMPLEMENTATION" ] 19 20 deps = [ 21 "//base:i18n", 22 "//base/third_party/dynamic_annotations", 23 "//ipc", 24 "//skia", 25 "//ui/accessibility", 26 "//ui/base", 27 "//ui/events", 28 "//ui/events:events_base", 29 "//ui/web_dialogs", 30 "//url", 31 ] 32 33 public_deps = [ 34 "//base", 35 "//content/public/browser", 36 "//ui/aura", 37 "//ui/gfx", 38 "//ui/gfx/geometry", 39 "//ui/views", 40 ] 41 } 42 43 source_set("test_support") { 44 testonly = true 45 sources = [ 46 "../../test/webview_test_helper.cc", 47 "../../test/webview_test_helper.h", 48 ] 49 50 public_deps = [ 51 ":webview", 52 ] 53 deps = [ 54 "//base", 55 "//content", 56 "//content/test:test_support", 57 "//ipc:test_support", 58 "//skia", 59 "//testing/gtest", 60 "//ui/aura", 61 "//ui/base", 62 "//ui/events", 63 "//ui/gfx", 64 "//ui/gfx/geometry", 65 "//ui/views", 66 "//ui/views:test_support", 67 ] 68 } 69