Index: webrtc/media/media.gyp |
diff --git a/webrtc/media/media.gyp b/webrtc/media/media.gyp |
index 97b3b4256a5ea862f26c1c4e691b40515ffd66e2..ecd0a769c54d821fdd5e39bfd234b073b27ca46b 100644 |
--- a/webrtc/media/media.gyp |
+++ b/webrtc/media/media.gyp |
@@ -173,6 +173,24 @@ |
}, |
}, |
}], |
+ ['OS=="mac" and target_arch=="ia32"', { |
+ 'sources': [ |
+ 'devices/carbonvideorenderer.cc', |
+ 'devices/carbonvideorenderer.h', |
+ ], |
+ 'link_settings': { |
+ 'xcode_settings': { |
+ 'OTHER_LDFLAGS': [ |
+ '-framework Carbon', |
+ ], |
+ }, |
+ }, |
+ }], |
+ ['OS=="ios" or (OS=="mac" and target_arch!="ia32")', { |
+ 'defines': [ |
+ 'CARBON_DEPRECATED=YES', |
+ ], |
+ }], |
], |
}, # target rtc_media |
], # targets. |