Index: third_party/instrumented_libraries/instrumented_libraries.gyp |
diff --git a/third_party/instrumented_libraries/instrumented_libraries.gyp b/third_party/instrumented_libraries/instrumented_libraries.gyp |
index f2e87b5d44ab3f9f6dd223dda988196591fc828d..805a3a1cfefef4da85ee169ea06624aa5df43f1a 100644 |
--- a/third_party/instrumented_libraries/instrumented_libraries.gyp |
+++ b/third_party/instrumented_libraries/instrumented_libraries.gyp |
@@ -418,7 +418,19 @@ |
{ |
'package_name': 'pulseaudio', |
'dependencies=': [], |
- 'patch': 'patches/pulseaudio.diff', |
+ 'conditions': [ |
+ ['"<(_ubuntu_release)"=="precise"', { |
+ 'patch': 'patches/pulseaudio.precise.diff', |
+ }], |
+ ], |
+ 'extra_configure_flags': [ |
+ # From debian/rules. |
+ '--enable-x11', |
+ '--disable-hal-compat', |
+ # Disable some ARM-related code that fails compilation. No idea why |
+ # this even impacts x86-64 builds. |
+ '--disable-neon-opt' |
+ ], |
'run_before_build': 'scripts/pulseaudio.sh', |
'jobs': 1, |
'includes': ['standard_instrumented_package_target.gypi'], |