rtc_use_h264 flag (replacing use_third_party_h264 flag) for building OpenH264/FFmpeg, false by default but can be overridden in supplement.gypi and build_overrides/webrtc.gni.

BUG=468365
NOTRY=True

Review URL: https://codereview.webrtc.org/1601813005

Cr-Commit-Position: refs/heads/master@{#11333}
This commit is contained in:
hbos
2016-01-21 03:34:40 -08:00
committed by Commit bot
parent 0b98cf72c6
commit 902c03e724
4 changed files with 25 additions and 22 deletions

View File

@ -23,6 +23,14 @@
'h264_objc.mm',
],
}],
['rtc_use_h264==1', {
# Dependency for sake of compiling The dependencies will be used for
# real as soon as https://codereview.webrtc.org/1306813009/ lands.
'dependencies': [
'<(DEPTH)/third_party/ffmpeg/ffmpeg.gyp:ffmpeg',
'<(DEPTH)/third_party/openh264/openh264.gyp:openh264_encoder',
],
}],
],
'sources': [
'h264.cc',