Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(265)

Side by Side Diff: components/plugins.gypi

Issue 1126073003: Plugin Placeholders: Refactor for platforms that don't support plugins (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: The version that was reverted. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/renderer/resources/blocked_plugin.html ('k') | components/plugins/renderer/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/common 8 # GN version: //components/plugins/common
9 'target_name': 'plugins_common', 9 'target_name': 'plugins_common',
10 'type': 'static_library', 10 'type': 'static_library',
(...skipping 18 matching lines...) Expand all
29 '../skia/skia.gyp:skia', 29 '../skia/skia.gyp:skia',
30 '../third_party/WebKit/public/blink.gyp:blink', 30 '../third_party/WebKit/public/blink.gyp:blink',
31 '../third_party/re2/re2.gyp:re2', 31 '../third_party/re2/re2.gyp:re2',
32 '../v8/tools/gyp/v8.gyp:v8', 32 '../v8/tools/gyp/v8.gyp:v8',
33 ], 33 ],
34 'include_dirs': [ 34 'include_dirs': [
35 '..', 35 '..',
36 ], 36 ],
37 'sources': [ 37 'sources': [
38 # Note: sources list duplicated in GN build. 38 # Note: sources list duplicated in GN build.
39 'plugins/renderer/loadable_plugin_placeholder.cc',
40 'plugins/renderer/loadable_plugin_placeholder.h',
41 'plugins/renderer/plugin_placeholder.cc', 39 'plugins/renderer/plugin_placeholder.cc',
42 'plugins/renderer/plugin_placeholder.h', 40 'plugins/renderer/plugin_placeholder.h',
43 'plugins/renderer/webview_plugin.cc', 41 'plugins/renderer/webview_plugin.cc',
44 'plugins/renderer/webview_plugin.h', 42 'plugins/renderer/webview_plugin.h',
45 ], 43 ],
46 'conditions' : [ 44 'conditions' : [
45 ['enable_plugins==1', {
46 'sources': [
47 # Note: sources list duplicated in GN build.
48 'plugins/renderer/loadable_plugin_placeholder.cc',
49 'plugins/renderer/loadable_plugin_placeholder.h',
50 ]
51 }],
47 ['OS=="android"', { 52 ['OS=="android"', {
48 'sources': [ 53 'sources': [
49 # Note: sources list duplicated in GN build. 54 # Note: sources list duplicated in GN build.
50 'plugins/renderer/mobile_youtube_plugin.cc', 55 'plugins/renderer/mobile_youtube_plugin.cc',
51 'plugins/renderer/mobile_youtube_plugin.h', 56 'plugins/renderer/mobile_youtube_plugin.h',
52 ] 57 ]
53 }], 58 }],
54 ], 59 ],
55 }, 60 },
56 ], 61 ],
57 }], 62 }],
58 ], 63 ],
59 } 64 }
OLDNEW
« no previous file with comments | « chrome/renderer/resources/blocked_plugin.html ('k') | components/plugins/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698