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

Unified Diff: third_party/opus/overrides/include/opus_defines.h

Issue 11189047: Add opus audio codec support in remoting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 | « third_party/opus/opus.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/opus/overrides/include/opus_defines.h
diff --git a/third_party/opus/overrides/include/opus_defines.h b/third_party/opus/overrides/include/opus_defines.h
new file mode 100644
index 0000000000000000000000000000000000000000..290bc9152283ff254543b85950170bbb30d53d5e
--- /dev/null
+++ b/third_party/opus/overrides/include/opus_defines.h
@@ -0,0 +1,19 @@
+// Copyright (c) 2012 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.
+
+#include "base/stringize_macros.h"
+
+// HACK: This is a hack to make sure that we don't export opus symbols.
+// opus_defines.h sets OPUS_EXPORT only when OPUS_BUILD is defined.
+#if defined(OPUS_BUILD)
+#undef OPUS_BUILD
+#define OPUS_BUILD_DEFINED
+#endif // defined(OPUS_BUILD)
+
+#include "third_party/opus/src/include/opus_defines.h"
+
+#if defined(OPUS_BUILD_DEFINED)
+#undef OPUS_BUILD_DEFINED
+#define OPUS_BUILD
+#endif // defined(OPUS_BUILD_DEFINED)
« no previous file with comments | « third_party/opus/opus.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698