OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'web_modal', | 8 'target_name': 'plugins_renderer', |
9 'type': 'static_library', | 9 'type': 'static_library', |
| 10 'dependencies': [ |
| 11 '../skia/skia.gyp:skia', |
| 12 '../third_party/re2/re2.gyp:re2', |
| 13 '../third_party/WebKit/public/blink.gyp:blink', |
| 14 ], |
10 'include_dirs': [ | 15 'include_dirs': [ |
11 '..', | 16 '..', |
12 ], | 17 ], |
13 'dependencies': [ | 18 'sources': [ |
14 '../base/base.gyp:base', | 19 'plugins/renderer/plugin_placeholder.cc', |
15 '../content/content.gyp:content_browser', | 20 'plugins/renderer/plugin_placeholder.h', |
16 '../skia/skia.gyp:skia', | 21 'plugins/renderer/webview_plugin.cc', |
| 22 'plugins/renderer/webview_plugin.h', |
17 ], | 23 ], |
18 'defines': [ | 24 'conditions' : [ |
19 'WEB_MODAL_IMPLEMENTATION', | 25 ['OS=="android"', { |
20 ], | 26 'sources': [ |
21 'sources': [ | 27 'plugins/renderer/mobile_youtube_plugin.cc', |
22 'web_modal/native_web_contents_modal_dialog.h', | 28 'plugins/renderer/mobile_youtube_plugin.h', |
23 'web_modal/native_web_contents_modal_dialog_manager.h', | 29 ] |
24 'web_modal/web_contents_modal_dialog_host.cc', | 30 }], |
25 'web_modal/web_contents_modal_dialog_host.h', | |
26 'web_modal/web_contents_modal_dialog_manager.cc', | |
27 'web_modal/web_contents_modal_dialog_manager.h', | |
28 'web_modal/web_contents_modal_dialog_manager_delegate.cc', | |
29 'web_modal/web_contents_modal_dialog_manager_delegate.h', | |
30 ], | 31 ], |
31 }, | 32 }, |
32 ], | 33 ] |
33 } | 34 } |
OLD | NEW |