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

Side by Side Diff: media/base/media_ios.cc

Issue 10919092: Build supported media targets on iOS. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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 unified diff | Download patch
« no previous file with comments | « build/all.gyp ('k') | media/media.gyp » ('j') | media/media.gyp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 #include "media/base/media.h" 5 #include "media/base/media.h"
6
6 #include "base/logging.h" 7 #include "base/logging.h"
7 8
9 // The media library is not used on iOS. Simple stubs to allow for compilation
10 // without !defined(OS_IOS) blocks.
11
8 namespace media { 12 namespace media {
9 13
10 bool InitializeMediaLibrary(const FilePath& module_dir) { 14 bool InitializeMediaLibrary(const FilePath& module_dir) {
11 // Android doesn't require any additional media libraries.
12 return true; 15 return true;
13 } 16 }
14 17
15 void InitializeMediaLibraryForTesting() {} 18 void InitializeMediaLibraryForTesting() {
19 }
16 20
17 bool IsMediaLibraryInitialized() { 21 bool IsMediaLibraryInitialized() {
18 return true; 22 return true;
19 } 23 }
20 24
21 } // namespace media 25 } // namespace media
OLDNEW
« no previous file with comments | « build/all.gyp ('k') | media/media.gyp » ('j') | media/media.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698