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

Side by Side Diff: content/child/BUILD.gn

Issue 1426923007: Remove PluginLoadObserver and related logic, it was only used for NPAPI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « components/test_runner/test_plugin.h ('k') | content/child/npapi/plugin_host.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//content/child/child.gni") 7 import("//content/child/child.gni")
8 8
9 source_set("child") { 9 source_set("child") {
10 # Only the public target should depend on this. All other targets (even 10 # Only the public target should depend on this. All other targets (even
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 } 65 }
66 } else { 66 } else {
67 sources -= [ 67 sources -= [
68 "browser_font_resource_trusted.cc", 68 "browser_font_resource_trusted.cc",
69 "npapi/plugin_host.cc", 69 "npapi/plugin_host.cc",
70 "npapi/plugin_host.h", 70 "npapi/plugin_host.h",
71 "npapi/plugin_instance.cc", 71 "npapi/plugin_instance.cc",
72 "npapi/plugin_instance.h", 72 "npapi/plugin_instance.h",
73 "npapi/plugin_lib.cc", 73 "npapi/plugin_lib.cc",
74 "npapi/plugin_lib.h", 74 "npapi/plugin_lib.h",
75 "npapi/plugin_stream.cc",
76 "npapi/plugin_stream.h",
77 "npapi/plugin_stream_posix.cc",
78 "npapi/plugin_stream_url.cc",
79 "npapi/plugin_stream_url.h",
80 "npapi/plugin_string_stream.cc",
81 "npapi/plugin_string_stream.h",
82 "npapi/plugin_url_fetcher.cc",
83 "npapi/plugin_url_fetcher.h",
84 "npapi/webplugin.h", 75 "npapi/webplugin.h",
85 "npapi/webplugin_delegate.h", 76 "npapi/webplugin_delegate.h",
86 "npapi/webplugin_delegate_impl.cc", 77 "npapi/webplugin_delegate_impl.cc",
87 "npapi/webplugin_delegate_impl.h", 78 "npapi/webplugin_delegate_impl.h",
88 "npapi/webplugin_resource_client.h", 79 "npapi/webplugin_resource_client.h",
89 ] 80 ]
90 81
91 if (is_mac) { 82 if (is_mac) {
92 sources -= [ 83 sources -= [
93 "npapi/plugin_instance_mac.mm", 84 "npapi/plugin_instance_mac.mm",
94 "npapi/plugin_web_event_converter_mac.h", 85 "npapi/plugin_web_event_converter_mac.h",
95 "npapi/plugin_web_event_converter_mac.mm", 86 "npapi/plugin_web_event_converter_mac.mm",
96 "npapi/webplugin_accelerated_surface_mac.h", 87 "npapi/webplugin_accelerated_surface_mac.h",
97 "npapi/webplugin_delegate_impl_mac.mm", 88 "npapi/webplugin_delegate_impl_mac.mm",
98 ] 89 ]
99 } else if (is_win) { 90 } else if (is_win) {
100 sources -= [ 91 sources -= [
101 "npapi/plugin_stream_win.cc",
102 "npapi/webplugin_delegate_impl_win.cc", 92 "npapi/webplugin_delegate_impl_win.cc",
103 "npapi/webplugin_ime_win.cc", 93 "npapi/webplugin_ime_win.cc",
104 "npapi/webplugin_ime_win.h", 94 "npapi/webplugin_ime_win.h",
105 ] 95 ]
106 } else if (is_android) { 96 } else if (is_android) {
107 sources -= [ "npapi/webplugin_delegate_impl_android.cc" ] 97 sources -= [ "npapi/webplugin_delegate_impl_android.cc" ]
108 } 98 }
109 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] 99 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ]
110 } 100 }
111 101
(...skipping 18 matching lines...) Expand all
130 "//third_party/WebKit/public:resources", 120 "//third_party/WebKit/public:resources",
131 "//third_party/npapi", 121 "//third_party/npapi",
132 ] 122 ]
133 } 123 }
134 124
135 if (use_aura && is_mac) { 125 if (use_aura && is_mac) {
136 # This file is already excluded on non-Mac. 126 # This file is already excluded on non-Mac.
137 sources -= [ "npapi/webplugin_delegate_impl_mac.mm" ] 127 sources -= [ "npapi/webplugin_delegate_impl_mac.mm" ]
138 } 128 }
139 } 129 }
OLDNEW
« no previous file with comments | « components/test_runner/test_plugin.h ('k') | content/child/npapi/plugin_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698