OLD | NEW |
| (Empty) |
1 # Copyright (c) 2012 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 { | |
6 'variables': { | |
7 'chromium_code': 1, | |
8 }, | |
9 'targets': [ | |
10 { | |
11 # GN version: //ui/views/controls/webview | |
12 'target_name': 'webview', | |
13 'type': '<(component)', | |
14 'dependencies': [ | |
15 '../../../../base/base.gyp:base', | |
16 '../../../../base/base.gyp:base_i18n', | |
17 '../../../../base/third_party/dynamic_annotations/dynamic_annotations.gy
p:dynamic_annotations', | |
18 '../../../../content/content.gyp:content_browser', | |
19 '../../../../skia/skia.gyp:skia', | |
20 '../../../../url/url.gyp:url_lib', | |
21 '../../../base/ui_base.gyp:ui_base', | |
22 '../../../content_accelerators/ui_content_accelerators.gyp:ui_content_ac
celerators', | |
23 '../../../events/events.gyp:events', | |
24 '../../../gfx/gfx.gyp:gfx', | |
25 '../../../gfx/gfx.gyp:gfx_geometry', | |
26 '../../../web_dialogs/web_dialogs.gyp:web_dialogs', | |
27 '../../views.gyp:views', | |
28 ], | |
29 'defines': [ | |
30 'WEBVIEW_IMPLEMENTATION', | |
31 ], | |
32 'sources': [ | |
33 # Note: file list duplicated in GN build. | |
34 'unhandled_keyboard_event_handler.cc', | |
35 'unhandled_keyboard_event_handler.h', | |
36 'unhandled_keyboard_event_handler_mac.mm', | |
37 'unhandled_keyboard_event_handler_win.cc', | |
38 'web_dialog_view.cc', | |
39 'web_dialog_view.h', | |
40 'webview.cc', | |
41 'webview.h', | |
42 'webview_export.h', | |
43 ], | |
44 'conditions': [ | |
45 ['OS=="linux" or OS=="android"', { | |
46 'sources': [ 'unhandled_keyboard_event_handler_default.cc', ], | |
47 }], | |
48 ], | |
49 }, | |
50 ], | |
51 } | |
OLD | NEW |