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

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

Issue 1851093005: Remove content/child/npapi (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_combined_01_02
Patch Set: rebase Created 4 years, 8 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 | « no previous file | content/child/npapi/DEPS » ('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 # Targets external to content should always link to the public API. 10 # Targets external to content should always link to the public API.
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 ] 71 ]
72 } 72 }
73 73
74 if (is_android) { 74 if (is_android) {
75 deps += [ "//third_party/android_tools:cpu_features" ] 75 deps += [ "//third_party/android_tools:cpu_features" ]
76 } 76 }
77 77
78 if (enable_plugins) { 78 if (enable_plugins) {
79 deps += [ "//ppapi/proxy" ] 79 deps += [ "//ppapi/proxy" ]
80 } else { 80 } else {
81 sources -= [ 81 sources -= [ "browser_font_resource_trusted.cc" ]
82 "browser_font_resource_trusted.cc",
83 "npapi/plugin_host.cc",
84 "npapi/plugin_host.h",
85 "npapi/plugin_instance.cc",
86 "npapi/plugin_instance.h",
87 "npapi/plugin_lib.cc",
88 "npapi/plugin_lib.h",
89 "npapi/webplugin.h",
90 "npapi/webplugin_delegate.h",
91 "npapi/webplugin_delegate_impl.cc",
92 "npapi/webplugin_delegate_impl.h",
93 "npapi/webplugin_resource_client.h",
94 ]
95
96 if (is_mac) {
97 sources -= [
98 "npapi/plugin_instance_mac.mm",
99 "npapi/plugin_web_event_converter_mac.h",
100 "npapi/plugin_web_event_converter_mac.mm",
101 "npapi/webplugin_accelerated_surface_mac.h",
102 "npapi/webplugin_delegate_impl_mac.mm",
103 ]
104 } else if (is_win) {
105 sources -= [ "npapi/webplugin_delegate_impl_win.cc" ]
106 } else if (is_android) {
107 sources -= [ "npapi/webplugin_delegate_impl_android.cc" ]
108 }
109 if (use_aura) {
110 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ]
111 }
112 } 82 }
113 83
114 configs += [ 84 configs += [
115 "//content:content_implementation", 85 "//content:content_implementation",
116 "//build/config/compiler:no_size_t_to_int_warning", 86 "//build/config/compiler:no_size_t_to_int_warning",
117 ] 87 ]
118
119 if (use_aura && is_mac) {
120 # This file is already excluded on non-Mac.
121 sources -= [ "npapi/webplugin_delegate_impl_mac.mm" ]
122 }
123
124 if (is_win || !use_aura) {
125 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ]
126 }
127 } 88 }
OLDNEW
« no previous file with comments | « no previous file | content/child/npapi/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698