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

Unified Diff: speex.h

Issue 5990013: Linux: change gyp and add a shim header to build with system speex.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/speex/
Patch Set: Created 9 years, 12 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
« no previous file with comments | « no previous file | speex.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: speex.h
===================================================================
--- speex.h (revision 0)
+++ speex.h (revision 0)
@@ -0,0 +1,18 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef THIRD_PARTY_SPEEX_SPEEX_H_
+#define THIRD_PARTY_SPEEX_SPEEX_H_
+#pragma once
+
+// This is a shim header to include the right speex header.
+// Use this instead of referencing the speex header directly.
+
+#if defined(USE_SYSTEM_SPEEX)
+#include <speex/speex.h>
+#else
+#include "third_party/speex/include/speex/speex.h"
Satish 2011/01/04 16:10:28 can you also update the files which currently incl
Paweł Hajdan Jr. 2011/01/04 16:44:15 Yes, that's definitely my plan. Note however that
+#endif
+
+#endif // THIRD_PARTY_SPEEX_SPEEX_H_
Property changes on: speex.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « no previous file | speex.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698