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

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

Issue 525513003: Cleanup: Put more plugin code behind the ENABLE_PLUGINS ifdef. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 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 | « content/browser/web_contents/web_contents_impl.cc ('k') | content/common/pepper_file_util.h » ('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/common/common.gni") 7 import("//content/common/common.gni")
8 import("//mojo/public/tools/bindings/mojom.gni") 8 import("//mojo/public/tools/bindings/mojom.gni")
9 9
10 source_set("common") { 10 source_set("common") {
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 "gpu/gpu_memory_buffer_factory_x11.cc", 169 "gpu/gpu_memory_buffer_factory_x11.cc",
170 ] 170 ]
171 } 171 }
172 172
173 if (enable_plugins) { 173 if (enable_plugins) {
174 deps += [ 174 deps += [
175 "//ppapi:ppapi_shared", 175 "//ppapi:ppapi_shared",
176 ] 176 ]
177 } else { 177 } else {
178 sources -= [ 178 sources -= [
179 "pepper_file_util.cc",
180 "pepper_file_util.h",
181 "pepper_messages.h",
179 "pepper_plugin_list.cc", 182 "pepper_plugin_list.cc",
180 "pepper_plugin_list.h", 183 "pepper_plugin_list.h",
184 "pepper_renderer_instance_data.cc",
185 "pepper_renderer_instance_data.h",
186 "plugin_list.cc",
187 "plugin_list.h",
188 "plugin_list_posix.cc",
181 "sandbox_util.cc", 189 "sandbox_util.cc",
182 ] 190 ]
183 } 191 }
184 192
185 if (is_android) { 193 if (is_android) {
186 sources += [ 194 sources += [
187 "gpu/media/android_video_decode_accelerator.cc", 195 "gpu/media/android_video_decode_accelerator.cc",
188 "gpu/media/android_video_decode_accelerator.h", 196 "gpu/media/android_video_decode_accelerator.h",
189 ] 197 ]
190 198
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 281
274 mojom("mojo_bindings") { 282 mojom("mojo_bindings") {
275 sources = [ 283 sources = [
276 "render_frame_setup.mojom", 284 "render_frame_setup.mojom",
277 ] 285 ]
278 286
279 deps = [ 287 deps = [
280 "//mojo/public/interfaces/application:application", 288 "//mojo/public/interfaces/application:application",
281 ] 289 ]
282 } 290 }
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/common/pepper_file_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698