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

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

Issue 403023002: Add to GN ppapi build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/BUILD.gn ('k') | ppapi/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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 "media/webrtc_logging_noop.cc", 143 "media/webrtc_logging_noop.cc",
144 "media/webrtc_logging.h", 144 "media/webrtc_logging.h",
145 ] 145 ]
146 } 146 }
147 147
148 if (enable_plugins) { 148 if (enable_plugins) {
149 sources += rebase_path( 149 sources += rebase_path(
150 content_renderer_gypi_values.private_renderer_plugin_sources, 150 content_renderer_gypi_values.private_renderer_plugin_sources,
151 ".", "//content") 151 ".", "//content")
152 deps += [ 152 deps += [
153 # TODO(GYP) 153 "//ppapi:ppapi_host",
154 #"//ppapi/ppapi_internal.gyp:ppapi_host", 154 "//ppapi:ppapi_proxy",
155 #"//ppapi/ppapi_internal.gyp:ppapi_proxy", 155 "//ppapi:ppapi_shared",
156 #"//ppapi/ppapi_internal.gyp:ppapi_shared",
157 ] 156 ]
158 } else { 157 } else {
159 # These files are in the WebRTC list, but also require plugins. 158 # These files are in the WebRTC list, but also require plugins.
160 if (enable_webrtc) { 159 if (enable_webrtc) {
161 sources -= [ 160 sources -= [
162 "media/webrtc/video_destination_handler.cc", 161 "media/webrtc/video_destination_handler.cc",
163 "media/webrtc/video_destination_handler.h", 162 "media/webrtc/video_destination_handler.h",
164 ] 163 ]
165 } 164 }
166 } 165 }
167 166
168 if (enable_plugins && enable_webrtc) { 167 if (enable_plugins && enable_webrtc) {
169 sources += rebase_path( 168 sources += rebase_path(
170 content_renderer_gypi_values.private_renderer_plugin_webrtc_sources, 169 content_renderer_gypi_values.private_renderer_plugin_webrtc_sources,
171 ".", "//content") 170 ".", "//content")
172 } 171 }
173 172
174 if (!enable_pepper_cdms) { 173 if (!enable_pepper_cdms) {
175 sources -= [ 174 sources -= [
176 "renderer/media/crypto/ppapi_decryptor.cc", 175 "renderer/media/crypto/ppapi_decryptor.cc",
177 "renderer/media/crypto/ppapi_decryptor.h", 176 "renderer/media/crypto/ppapi_decryptor.h",
178 ] 177 ]
179 } 178 }
180 } 179 }
OLDNEW
« no previous file with comments | « chrome/renderer/BUILD.gn ('k') | ppapi/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698