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 '../../../aura/aura.gyp:aura', 16 '../../../../base/base.gyp:base', 17 '../../../../base/base.gyp:base_i18n', 18 '../../../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', 19 '../../../../content/content.gyp:content_browser', 20 '../../../../skia/skia.gyp:skia', 21 '../../../../url/url.gyp:url_lib', 22 '../../../base/ui_base.gyp:ui_base', 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_linux.cc', 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 }, 45 ], 46 } 47