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

Unified Diff: webrtc/build/common.gypi

Issue 1187573004: iOS HW H264 support. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Move unittest file. Created 5 years, 6 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: webrtc/build/common.gypi
diff --git a/webrtc/build/common.gypi b/webrtc/build/common.gypi
index 0ab88c63d4e029d7fad16fd387da4a8c4cc7b3c3..9335d35e0696c6346a2b315bf09950a50abbd9a9 100644
--- a/webrtc/build/common.gypi
+++ b/webrtc/build/common.gypi
@@ -124,6 +124,10 @@
# Determines whether NEON code will be built.
'build_with_neon%': 0,
+ # Enable this to use HW H.264 encoder/decoder on iOS/Mac PeerConnections.
+ # Enabling this may break interop with Android clients that support H264.
+ 'use_objc_h264%': 0,
+
'conditions': [
['build_with_chromium==1', {
# Exclude pulse audio on Chromium since its prerequisites don't require
@@ -333,6 +337,11 @@
'WEBRTC_IOS',
],
}],
+ ['OS=="ios" and use_objc_h264==1', {
+ 'defines': [
+ 'WEBRTC_OBJC_H264',
+ ],
+ }],
['OS=="linux"', {
'defines': [
'WEBRTC_LINUX',

Powered by Google App Engine
This is Rietveld 408576698