Build opus_demo 

BUG=1082
TEST=trybots

With this cl we can build opus_demo.
Review URL: https://webrtc-codereview.appspot.com/936029

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3144 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/webrtc/modules/audio_coding/codecs/opus/opus.gypi b/webrtc/modules/audio_coding/codecs/opus/opus.gypi
index b60cee5..5070969 100644
--- a/webrtc/modules/audio_coding/codecs/opus/opus.gypi
+++ b/webrtc/modules/audio_coding/codecs/opus/opus.gypi
@@ -28,5 +28,31 @@
         'opus_interface.c',
       ],
     },
+    {
+      'conditions': [
+        ['include_tests==1', {
+          'target_name': 'opus_demo',
+          'type': 'executable',
+          'dependencies': [
+            '<(DEPTH)/third_party/opus/opus.gyp:opus'
+          ],
+          'conditions': [
+            ['OS == "win"', {
+              'defines': [
+                'inline=__inline',
+              ],
+            }],
+          ],
+          'sources': [
+            '<(DEPTH)/third_party/opus/src/src/opus_demo.c',
+          ],
+          'include_dirs': [
+            '<(DEPTH)/third_party/opus/src/celt',
+            '<(DEPTH)/third_party/opus/src/include',
+            '<(DEPTH)/third_party/opus/src/silk',
+          ]
+        }],
+      ],
+    },
   ],
 }