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

Side by Side Diff: webrtc/modules/video_coding/codecs/h264/h264.gypi

Issue 1187573004: iOS HW H264 support. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Unit tests 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 unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
2 #
3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree.
8
9 {
10 'includes': [
11 '../../../../build/common.gypi',
12 ],
13 'targets': [
14 {
15 'target_name': 'webrtc_h264',
16 'type': 'static_library',
17 'conditions': [
18 ['OS=="ios" or OS=="mac"', {
19 'dependencies': [
20 'webrtc_h264_video_toolbox',
21 ],
22 }],
23 ],
24 'sources': [
25 'h264.mm',
26 'include/h264.h',
27 ],
28 }, # webrtc_h264
29 ],
30 'conditions': [
31 ['OS=="ios" or (OS=="mac" and mac_sdk>="10.9")', {
32 'targets': [
33 {
34 'target_name': 'webrtc_h264_video_toolbox',
35 'type': 'static_library',
36 'dependencies': [
37 '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv',
38 ],
39 'conditions': [
40 ['OS=="mac"', {
41 'xcode_settings': {
42 'MACOSX_DEPLOYMENT_TARGET' : '10.9',
43 },
44 }],
45 ],
46 'link_settings': {
47 'xcode_settings': {
48 'OTHER_LDFLAGS': [
49 '-framework CoreMedia',
50 '-framework VideoToolbox',
51 ],
52 },
53 },
54 'sources': [
55 'h264_video_toolbox_decoder.h',
56 'h264_video_toolbox_decoder.mm',
57 'h264_video_toolbox_encoder.h',
58 'h264_video_toolbox_encoder.mm',
59 'h264_video_toolbox_nalu.h',
60 'h264_video_toolbox_nalu.mm',
61 ],
62 }, # webrtc_h264_video_toolbox
63 ], # targets
64 }], # OS=="ios" or OS=="mac"
65 ], # conditions
66 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698