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

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

Issue 542883003: GN: Make content and content_shell work when !enable_plugins (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/child/BUILD.gn ('k') | content/shell/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 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/renderer/renderer.gni") 7 import("//content/renderer/renderer.gni")
8 8
9 source_set("renderer") { 9 source_set("renderer") {
10 # Only targets in the content tree can depend directly on this target. 10 # Only targets in the content tree can depend directly on this target.
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 ] 157 ]
158 } 158 }
159 } 159 }
160 160
161 if (enable_plugins && enable_webrtc) { 161 if (enable_plugins && enable_webrtc) {
162 sources += rebase_path( 162 sources += rebase_path(
163 content_renderer_gypi_values.private_renderer_plugin_webrtc_sources, 163 content_renderer_gypi_values.private_renderer_plugin_webrtc_sources,
164 ".", "//content") 164 ".", "//content")
165 } 165 }
166 166
167 if (!enable_pepper_cdms) {
168 sources -= [
169 "media/crypto/pepper_cdm_wrapper.h",
170 "media/crypto/pepper_cdm_wrapper_impl.cc",
171 "media/crypto/pepper_cdm_wrapper_impl.h",
172 "media/crypto/ppapi_decryptor.cc",
173 "media/crypto/ppapi_decryptor.h",
174 ]
175 }
176
167 if (printing_mode == 1) { 177 if (printing_mode == 1) {
168 deps += [ "//printing" ] 178 deps += [ "//printing" ]
169 } 179 }
170 } 180 }
OLDNEW
« no previous file with comments | « content/child/BUILD.gn ('k') | content/shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698