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

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

Issue 1884383002: VideoTrackRecorder: Adding inner class H264Encoder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hbos@ comments: adding explicit dep to openh264 in content.gyp and content/renderer/BUILD.gn 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 | « content/content.gyp ('k') | content/renderer/media/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/renderer/renderer.gni") 7 import("//content/renderer/renderer.gni")
8 import("//media/media_options.gni") 8 import("//media/media_options.gni")
9 import("//third_party/webrtc/build/webrtc.gni")
9 10
10 source_set("renderer") { 11 source_set("renderer") {
11 # Only the public target should depend on this. All other targets (even 12 # Only the public target should depend on this. All other targets (even
12 # internal content ones) should depend on the public one. 13 # internal content ones) should depend on the public one.
13 visibility = [ 14 visibility = [
14 ":for_content_tests", 15 ":for_content_tests",
15 "//content/public/renderer:renderer_sources", 16 "//content/public/renderer:renderer_sources",
16 ] 17 ]
17 18
18 sources = rebase_path(content_renderer_gypi_values.private_renderer_sources, 19 sources = rebase_path(content_renderer_gypi_values.private_renderer_sources,
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 "//third_party/libjingle:libjingle_webrtc", 165 "//third_party/libjingle:libjingle_webrtc",
165 "//third_party/libjingle:libstunprober", 166 "//third_party/libjingle:libstunprober",
166 "//third_party/libvpx", 167 "//third_party/libvpx",
167 "//third_party/webrtc/base:rtc_base", 168 "//third_party/webrtc/base:rtc_base",
168 "//third_party/webrtc/common_video", 169 "//third_party/webrtc/common_video",
169 "//third_party/webrtc/modules/audio_device", 170 "//third_party/webrtc/modules/audio_device",
170 "//third_party/webrtc/modules/audio_processing", 171 "//third_party/webrtc/modules/audio_processing",
171 "//third_party/webrtc/modules/video_coding:webrtc_h264", 172 "//third_party/webrtc/modules/video_coding:webrtc_h264",
172 "//third_party/webrtc/system_wrappers", 173 "//third_party/webrtc/system_wrappers",
173 ] 174 ]
175 if (rtc_use_h264) {
176 deps += [ "//third_party/openh264:encoder" ]
177 }
174 } else { 178 } else {
175 sources += [ 179 sources += [
176 "media/webrtc_logging.h", 180 "media/webrtc_logging.h",
177 "media/webrtc_logging_noop.cc", 181 "media/webrtc_logging_noop.cc",
178 ] 182 ]
179 } 183 }
180 184
181 if (enable_plugins) { 185 if (enable_plugins) {
182 sources += rebase_path( 186 sources += rebase_path(
183 content_renderer_gypi_values.private_renderer_plugin_sources, 187 content_renderer_gypi_values.private_renderer_plugin_sources,
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 # For the defines in mojo_media_config. 266 # For the defines in mojo_media_config.
263 public_configs = [ "//media/mojo/services:mojo_media_config" ] 267 public_configs = [ "//media/mojo/services:mojo_media_config" ]
264 } 268 }
265 269
266 if (!is_component_build) { 270 if (!is_component_build) {
267 public_deps = [ 271 public_deps = [
268 ":renderer", 272 ":renderer",
269 ] 273 ]
270 } 274 }
271 } 275 }
OLDNEW
« no previous file with comments | « content/content.gyp ('k') | content/renderer/media/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698