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

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

Issue 1813143002: Remove a bunch of NPAPI quirks and related support code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_windowed_plugins
Patch Set: rebase Created 4 years, 9 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
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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 86
87 if (is_mac) { 87 if (is_mac) {
88 sources -= [ 88 sources -= [
89 "npapi/plugin_instance_mac.mm", 89 "npapi/plugin_instance_mac.mm",
90 "npapi/plugin_web_event_converter_mac.h", 90 "npapi/plugin_web_event_converter_mac.h",
91 "npapi/plugin_web_event_converter_mac.mm", 91 "npapi/plugin_web_event_converter_mac.mm",
92 "npapi/webplugin_accelerated_surface_mac.h", 92 "npapi/webplugin_accelerated_surface_mac.h",
93 "npapi/webplugin_delegate_impl_mac.mm", 93 "npapi/webplugin_delegate_impl_mac.mm",
94 ] 94 ]
95 } else if (is_win) { 95 } else if (is_win) {
96 sources -= [ 96 sources -= [ "npapi/webplugin_delegate_impl_win.cc" ]
97 "npapi/webplugin_delegate_impl_win.cc",
98 "npapi/webplugin_ime_win.cc",
99 "npapi/webplugin_ime_win.h",
100 ]
101 } else if (is_android) { 97 } else if (is_android) {
102 sources -= [ "npapi/webplugin_delegate_impl_android.cc" ] 98 sources -= [ "npapi/webplugin_delegate_impl_android.cc" ]
103 } 99 }
104 if (use_aura) { 100 if (use_aura) {
105 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] 101 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ]
106 } 102 }
107 } 103 }
108 104
109 configs += [ 105 configs += [
110 "//content:content_implementation", 106 "//content:content_implementation",
111 "//build/config/compiler:no_size_t_to_int_warning", 107 "//build/config/compiler:no_size_t_to_int_warning",
112 ] 108 ]
113 109
114 if (use_aura && is_mac) { 110 if (use_aura && is_mac) {
115 # This file is already excluded on non-Mac. 111 # This file is already excluded on non-Mac.
116 sources -= [ "npapi/webplugin_delegate_impl_mac.mm" ] 112 sources -= [ "npapi/webplugin_delegate_impl_mac.mm" ]
117 } 113 }
118 114
119 if (is_win || !use_aura) { 115 if (is_win || !use_aura) {
120 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] 116 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ]
121 } 117 }
122 } 118 }
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mus.cc ('k') | content/child/npapi/plugin_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698