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

Unified Diff: media/BUILD.gn

Issue 1345013002: Add is_chromecast to GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Rebase + ui changes. Created 5 years, 3 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 | « content/shell/BUILD.gn ('k') | media/media_options.gni » ('j') | 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 eafcc1ede40b9609e8f1764713bdcf61100c9bbe..68c1e5f2423061a5178fb82b87ee611cc29b4c15 100644
--- a/media/BUILD.gn
+++ b/media/BUILD.gn
@@ -207,8 +207,6 @@ component("media") {
"filters/ivf_parser.h",
"filters/jpeg_parser.cc",
"filters/jpeg_parser.h",
- "filters/source_buffer_platform.cc",
- "filters/source_buffer_platform.h",
"filters/source_buffer_range.cc",
"filters/source_buffer_range.h",
"filters/source_buffer_stream.cc",
@@ -505,6 +503,18 @@ component("media") {
]
}
+ if (use_low_memory_buffer) {
+ sources += [
+ "filters/source_buffer_platform.h",
+ "filters/source_buffer_platform_lowmem.cc",
+ ]
+ } else {
+ sources += [
+ "filters/source_buffer_platform.cc",
+ "filters/source_buffer_platform.h",
+ ]
+ }
+
public_deps = [
"//media/base",
"//media/audio",
« no previous file with comments | « content/shell/BUILD.gn ('k') | media/media_options.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698