| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 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 # GN version: //components/plugins/renderer | 8 # GN version: //components/plugins/common |
| 9 'target_name': 'plugins_renderer', | 9 'target_name': 'plugins_common', |
| 10 'type': 'static_library', | 10 'type': 'static_library', |
| 11 'dependencies': [ | |
| 12 '../gin/gin.gyp:gin', | |
| 13 '../skia/skia.gyp:skia', | |
| 14 '../third_party/WebKit/public/blink.gyp:blink', | |
| 15 '../third_party/re2/re2.gyp:re2', | |
| 16 '../v8/tools/gyp/v8.gyp:v8', | |
| 17 ], | |
| 18 'include_dirs': [ | 11 'include_dirs': [ |
| 19 '..', | 12 '..', |
| 20 ], | 13 ], |
| 21 'sources': [ | 14 'sources': [ |
| 22 # Note: sources list duplicated in GN build. | 15 'plugins/common/plugins_switches.cc', |
| 23 'plugins/renderer/loadable_plugin_placeholder.cc', | 16 'plugins/common/plugins_switches.h', |
| 24 'plugins/renderer/loadable_plugin_placeholder.h', | |
| 25 'plugins/renderer/plugin_placeholder.cc', | |
| 26 'plugins/renderer/plugin_placeholder.h', | |
| 27 'plugins/renderer/webview_plugin.cc', | |
| 28 'plugins/renderer/webview_plugin.h', | |
| 29 ], | 17 ], |
| 30 'conditions' : [ | 18 }, |
| 31 ['OS=="android"', { | 19 ], |
| 20 'conditions': [ |
| 21 ['OS!="ios"', { |
| 22 'targets': [ |
| 23 { |
| 24 # GN version: //components/plugins/renderer |
| 25 'target_name': 'plugins_renderer', |
| 26 'type': 'static_library', |
| 27 'dependencies': [ |
| 28 '../gin/gin.gyp:gin', |
| 29 '../skia/skia.gyp:skia', |
| 30 '../third_party/WebKit/public/blink.gyp:blink', |
| 31 '../third_party/re2/re2.gyp:re2', |
| 32 '../v8/tools/gyp/v8.gyp:v8', |
| 33 ], |
| 34 'include_dirs': [ |
| 35 '..', |
| 36 ], |
| 32 'sources': [ | 37 'sources': [ |
| 33 # Note: sources list duplicated in GN build. | 38 # Note: sources list duplicated in GN build. |
| 34 'plugins/renderer/mobile_youtube_plugin.cc', | 39 'plugins/renderer/loadable_plugin_placeholder.cc', |
| 35 'plugins/renderer/mobile_youtube_plugin.h', | 40 'plugins/renderer/loadable_plugin_placeholder.h', |
| 36 ] | 41 'plugins/renderer/plugin_placeholder.cc', |
| 37 }], | 42 'plugins/renderer/plugin_placeholder.h', |
| 43 'plugins/renderer/webview_plugin.cc', |
| 44 'plugins/renderer/webview_plugin.h', |
| 45 ], |
| 46 'conditions' : [ |
| 47 ['OS=="android"', { |
| 48 'sources': [ |
| 49 # Note: sources list duplicated in GN build. |
| 50 'plugins/renderer/mobile_youtube_plugin.cc', |
| 51 'plugins/renderer/mobile_youtube_plugin.h', |
| 52 ] |
| 53 }], |
| 54 ], |
| 55 }, |
| 38 ], | 56 ], |
| 39 }, | 57 }], |
| 40 ] | 58 ], |
| 41 } | 59 } |
| OLD | NEW |