| 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/plugin_uma.cc', |
| 22 'plugins/renderer/plugin_uma.h', |
| 23 'plugins/renderer/webview_plugin.cc', |
| 24 'plugins/renderer/webview_plugin.h', |
| 17 ], | 25 ], |
| 18 'defines': [ | 26 'conditions' : [ |
| 19 'WEB_MODAL_IMPLEMENTATION', | 27 ['OS=="android"', { |
| 20 ], | 28 'sources': [ |
| 21 'sources': [ | 29 'plugins/renderer/mobile_youtube_plugin.cc', |
| 22 'web_modal/native_web_contents_modal_dialog.h', | 30 'plugins/renderer/mobile_youtube_plugin.h', |
| 23 'web_modal/native_web_contents_modal_dialog_manager.h', | 31 ] |
| 24 'web_modal/web_contents_modal_dialog_host.cc', | 32 }], |
| 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 ], | 33 ], |
| 31 }, | 34 }, |
| 32 ], | 35 ] |
| 33 } | 36 } |
| OLD | NEW |