| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 component("webview") { | 5 component("webview") { |
| 6 sources = [ | 6 sources = [ |
| 7 "unhandled_keyboard_event_handler.cc", | 7 "unhandled_keyboard_event_handler.cc", |
| 8 "unhandled_keyboard_event_handler.h", | 8 "unhandled_keyboard_event_handler.h", |
| 9 "unhandled_keyboard_event_handler_linux.cc", | |
| 10 "unhandled_keyboard_event_handler_win.cc", | 9 "unhandled_keyboard_event_handler_win.cc", |
| 11 "web_dialog_view.cc", | 10 "web_dialog_view.cc", |
| 12 "web_dialog_view.h", | 11 "web_dialog_view.h", |
| 13 "webview.cc", | 12 "webview.cc", |
| 14 "webview.h", | 13 "webview.h", |
| 15 "webview_export.h", | 14 "webview_export.h", |
| 16 ] | 15 ] |
| 17 | 16 |
| 18 defines = [ "WEBVIEW_IMPLEMENTATION" ] | 17 defines = [ "WEBVIEW_IMPLEMENTATION" ] |
| 19 | 18 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 32 ] | 31 ] |
| 33 | 32 |
| 34 public_deps = [ | 33 public_deps = [ |
| 35 "//base", | 34 "//base", |
| 36 "//content/public/browser", | 35 "//content/public/browser", |
| 37 "//ui/aura", | 36 "//ui/aura", |
| 38 "//ui/gfx", | 37 "//ui/gfx", |
| 39 "//ui/gfx/geometry", | 38 "//ui/gfx/geometry", |
| 40 "//ui/views", | 39 "//ui/views", |
| 41 ] | 40 ] |
| 41 |
| 42 if (is_linux || is_android) { |
| 43 sources += [ "unhandled_keyboard_event_handler_default.cc" ] |
| 44 } |
| 42 } | 45 } |
| 43 | 46 |
| 44 source_set("test_support") { | 47 source_set("test_support") { |
| 45 testonly = true | 48 testonly = true |
| 46 sources = [ | 49 sources = [ |
| 47 "../../test/webview_test_helper.cc", | 50 "../../test/webview_test_helper.cc", |
| 48 "../../test/webview_test_helper.h", | 51 "../../test/webview_test_helper.h", |
| 49 ] | 52 ] |
| 50 | 53 |
| 51 public_deps = [ | 54 public_deps = [ |
| 52 ":webview", | 55 ":webview", |
| 53 ] | 56 ] |
| 54 deps = [ | 57 deps = [ |
| 55 "//base", | 58 "//base", |
| 56 "//content", | 59 "//content", |
| 57 "//content/test:test_support", | 60 "//content/test:test_support", |
| 58 "//ipc:test_support", | 61 "//ipc:test_support", |
| 59 "//skia", | 62 "//skia", |
| 60 "//testing/gtest", | 63 "//testing/gtest", |
| 61 "//ui/base", | 64 "//ui/base", |
| 62 "//ui/events", | 65 "//ui/events", |
| 63 "//ui/gfx", | 66 "//ui/gfx", |
| 64 "//ui/gfx/geometry", | 67 "//ui/gfx/geometry", |
| 65 "//ui/views", | 68 "//ui/views", |
| 66 "//ui/views:test_support", | 69 "//ui/views:test_support", |
| 67 ] | 70 ] |
| 68 } | 71 } |
| OLD | NEW |