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

Unified Diff: third_party/instrumented_libraries/pulseaudio.diff

Issue 149433004: Add libpulseaudio and libasound to instrumented libraries. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add comment Created 6 years, 11 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/instrumented_libraries/libasound2.sh ('k') | third_party/instrumented_libraries/pulseaudio.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/instrumented_libraries/pulseaudio.diff
diff --git a/third_party/instrumented_libraries/pulseaudio.diff b/third_party/instrumented_libraries/pulseaudio.diff
new file mode 100644
index 0000000000000000000000000000000000000000..fc2ca0d297c7832a227138ee7a5d20c986735efc
--- /dev/null
+++ b/third_party/instrumented_libraries/pulseaudio.diff
@@ -0,0 +1,16 @@
+diff -rupN ./src/modules/bluetooth/sbc/sbc_primitives_mmx.h ../pulseaudio-1.1-patched/src/modules/bluetooth/sbc/sbc_primitives_mmx.h
+--- ./src/modules/bluetooth/sbc/sbc_primitives_mmx.h 2011-10-20 16:54:16.000000000 +0400
++++ ../pulseaudio-1.1-patched/src/modules/bluetooth/sbc/sbc_primitives_mmx.h 2014-01-30 16:57:43.113946495 +0400
+@@ -29,8 +29,11 @@
+
+ #include "sbc_primitives.h"
+
++// The inline asm causes errors in clang builds. We don't want inline asm in
++// instrumented builds anyway.
+ #if defined(__GNUC__) && (defined(__i386__) || defined(__amd64__)) && \
+- !defined(SBC_HIGH_PRECISION) && (SCALE_OUT_BITS == 15)
++ !defined(SBC_HIGH_PRECISION) && (SCALE_OUT_BITS == 15) && \
++ !defined(__clang__)
+
+ #define SBC_BUILD_WITH_MMX_SUPPORT
+
« no previous file with comments | « third_party/instrumented_libraries/libasound2.sh ('k') | third_party/instrumented_libraries/pulseaudio.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698