[email protected] | 5a174e2 | 2013-10-16 11:33:57 | [diff] [blame] | 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 |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | { |
dbeam | 155ac97 | 2015-04-20 15:34:48 | [diff] [blame] | 6 | 'conditions': [ |
| 7 | ['OS!="ios"', { |
| 8 | 'targets': [ |
| 9 | { |
| 10 | # GN version: //components/plugins/renderer |
| 11 | 'target_name': 'plugins_renderer', |
| 12 | 'type': 'static_library', |
| 13 | 'dependencies': [ |
| 14 | '../gin/gin.gyp:gin', |
| 15 | '../skia/skia.gyp:skia', |
| 16 | '../third_party/WebKit/public/blink.gyp:blink', |
| 17 | '../third_party/re2/re2.gyp:re2', |
| 18 | '../v8/tools/gyp/v8.gyp:v8', |
| 19 | ], |
| 20 | 'include_dirs': [ |
| 21 | '..', |
| 22 | ], |
| 23 | 'sources': [ |
| 24 | # Note: sources list duplicated in GN build. |
dbeam | 155ac97 | 2015-04-20 15:34:48 | [diff] [blame] | 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 | ], |
| 30 | 'conditions' : [ |
tommycli | 425d6965 | 2015-06-11 22:20:14 | [diff] [blame] | 31 | ['enable_plugins==1', { |
| 32 | 'sources': [ |
| 33 | # Note: sources list duplicated in GN build. |
| 34 | 'plugins/renderer/loadable_plugin_placeholder.cc', |
| 35 | 'plugins/renderer/loadable_plugin_placeholder.h', |
| 36 | ] |
| 37 | }], |
dbeam | 155ac97 | 2015-04-20 15:34:48 | [diff] [blame] | 38 | ['OS=="android"', { |
| 39 | 'sources': [ |
| 40 | # Note: sources list duplicated in GN build. |
| 41 | 'plugins/renderer/mobile_youtube_plugin.cc', |
| 42 | 'plugins/renderer/mobile_youtube_plugin.h', |
| 43 | ] |
| 44 | }], |
| 45 | ], |
| 46 | }, |
| 47 | ], |
| 48 | }], |
| 49 | ], |
[email protected] | 5a174e2 | 2013-10-16 11:33:57 | [diff] [blame] | 50 | } |