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

Unified Diff: content/renderer/BUILD.gn

Issue 1641163002: Preparation CL for H264 support in WebRTC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use of BUILDFLAG instead of macro Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/BUILD.gn
diff --git a/content/renderer/BUILD.gn b/content/renderer/BUILD.gn
index b08f9ddf5dd341792de19fde8fe8ef72833ef423..00ae81137a4e479e947f95266178d497fcbf6abb 100644
--- a/content/renderer/BUILD.gn
+++ b/content/renderer/BUILD.gn
@@ -4,8 +4,10 @@
import("//build/config/features.gni")
import("//build/config/ui.gni")
+import("//build/buildflag_header.gni")
import("//content/renderer/renderer.gni")
import("//media/media_options.gni")
+import("//third_party/webrtc/build/webrtc.gni")
source_set("renderer") {
# Only the public target should depend on this. All other targets (even
@@ -28,6 +30,7 @@ source_set("renderer") {
# TODO(GYP) bug 376846 remove this. This should be inherited from //net but
brettw 2016/02/03 22:19:56 Can you delete this comment? It looks like it appl
hbos_chromium 2016/02/04 10:47:32 Merging got rid of it.
# those don't cross component boundaries.
+ ":renderer_features",
"//base/allocator",
"//cc",
"//cc/blink",
@@ -245,3 +248,9 @@ source_set("renderer") {
deps += [ "//ui/ozone" ]
}
}
+
+buildflag_header("renderer_features") {
+ header = "renderer_features.h"
+
+ flags = [ "RTC_USE_H264=$rtc_use_h264" ]
+}

Powered by Google App Engine
This is Rietveld 408576698