summaryrefslogtreecommitdiffstats
path: root/third_party/instrumented_libraries/scripts/pre-build/libva1.sh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/instrumented_libraries/scripts/pre-build/libva1.sh')
-rwxr-xr-xthird_party/instrumented_libraries/scripts/pre-build/libva1.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/third_party/instrumented_libraries/scripts/pre-build/libva1.sh b/third_party/instrumented_libraries/scripts/pre-build/libva1.sh
new file mode 100755
index 0000000..d28002a
--- /dev/null
+++ b/third_party/instrumented_libraries/scripts/pre-build/libva1.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# Copyright 2014 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 libva1.
+
+# autogen is only required on Precise.
+NOCONFIGURE=1 ./autogen.sh
+
+sed -i "s|-no-undefined -Wl,--no-undefined||g" dummy_drv_video/Makefile.in