forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add libpulseaudio and libasound to instrumented libraries.
BUG=313751 R=glider@chromium.org Review URL: https://codereview.chromium.org/149433004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247936 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
earthdok@chromium.org
committed
Jan 30, 2014
1 parent
0c5fde3
commit 48da3d2
Showing
4 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
# Copyright 2013 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. | ||
|
||
# This script does some preparations before build of instrumented libasound2. | ||
|
||
libtoolize --force --copy | ||
aclocal | ||
autoconf | ||
automake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
# Copyright 2013 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. | ||
|
||
# This script does some preparations before build of instrumented pulseaudio. | ||
|
||
# Disable problematic assembly in clang builds. | ||
patch -p1 < $(dirname ${BASH_SOURCE[0]})/pulseaudio.diff |