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

Unified Diff: media/BUILD.gn

Issue 664303002: Fix proprietary codecs builds for GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/BUILD.gn
diff --git a/media/BUILD.gn b/media/BUILD.gn
index 0f1291f1faf314cae981eb2ce33098cff98123b3..fdaae40655d3f46342d453a7b083f89308c0576c 100644
--- a/media/BUILD.gn
+++ b/media/BUILD.gn
@@ -27,8 +27,12 @@ config("media_config") {
}
config("media_dependent_config") {
+ defines = []
if (!media_use_libvpx) {
- defines = [ "MEDIA_DISABLE_LIBVPX" ]
+ defines += [ "MEDIA_DISABLE_LIBVPX" ]
+ }
+ if (proprietary_codecs) {
+ defines += [ "USE_PROPRIETARY_CODECS" ]
}
if (is_win) {
ldflags = [
@@ -375,6 +379,8 @@ component("media") {
if (proprietary_codecs) {
sources += [
+ "filters/h264_to_annex_b_bitstream_converter.cc",
+ "filters/h264_to_annex_b_bitstream_converter.h",
"formats/mp2t/es_adapter_video.cc",
"formats/mp2t/es_adapter_video.h",
"formats/mp2t/es_parser.cc",
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698