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

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

Issue 1728453002: Enable H.264 video WebRTC behind run-time flag and add WebRtcBrowserTest for H.264 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: #define macro instead of BUILDFLAG. common_features (aka renderer_features) deleted. Created 4 years, 10 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
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/chromecast_build.gni") 5 import("//build/config/chromecast_build.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.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 import("//third_party/webrtc/build/webrtc.gni")
9 10
10 # See //content/BUILD.gn for how this works. 11 # See //content/BUILD.gn for how this works.
11 group("common") { 12 group("common") {
12 if (is_component_build) { 13 if (is_component_build) {
13 public_deps = [ 14 public_deps = [
14 "//content", 15 "//content",
15 ] 16 ]
16 } else { 17 } else {
17 public_deps = [ 18 public_deps = [
18 ":common_sources", 19 ":common_sources",
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 } 113 }
113 114
114 mojom("mojo_bindings") { 115 mojom("mojo_bindings") {
115 sources = [ 116 sources = [
116 "background_sync.mojom", 117 "background_sync.mojom",
117 "mojo_geoposition.mojom", 118 "mojo_geoposition.mojom",
118 "permission_status.mojom", 119 "permission_status.mojom",
119 "service_worker_event_status.mojom", 120 "service_worker_event_status.mojom",
120 ] 121 ]
121 } 122 }
123
124 source_set("feature_h264_with_openh264_ffmpeg") {
125 if (rtc_use_h264) {
126 defines = [ "BUILDFLAG_RTC_USE_H264" ]
127 }
128 sources = [
129 "feature_h264_with_openh264_ffmpeg.cc",
130 "feature_h264_with_openh264_ffmpeg.h",
131 ]
132 }
OLDNEW
« no previous file with comments | « content/content_renderer.gypi ('k') | content/public/common/feature_h264_with_openh264_ffmpeg.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698