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

Unified Diff: third_party/instrumented_libraries/scripts/pre-build/libgtk-3-0.sh

Issue 2737783003: Add GTK3 and dependent instrumented libraries (Closed)
Patch Set: Created 3 years, 9 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/patches/nss.diff ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/instrumented_libraries/scripts/pre-build/libgtk-3-0.sh
diff --git a/third_party/instrumented_libraries/scripts/pre-build/libgtk-3-0.sh b/third_party/instrumented_libraries/scripts/pre-build/libgtk-3-0.sh
new file mode 100755
index 0000000000000000000000000000000000000000..591845f0d8c23f4e503177b04e4d903b9c75c28d
--- /dev/null
+++ b/third_party/instrumented_libraries/scripts/pre-build/libgtk-3-0.sh
@@ -0,0 +1,20 @@
+#!/bin/bash
+# Copyright 2016 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 libgtk-3-0.
+
+# Use the system-installed gtk-update-icon-cache during building. Normally a
+# just-built one is used, however in MSan builds it will crash due to
+# uninstrumented dependencies.
+
+sed -i "s|./gtk-update-icon-cache|/usr/bin/gtk-update-icon-cache|g" gtk/Makefile.am
+
+# Don't build immodules.cache. It requires running just-built executables that
+# depend on glib, but using the system glib will cause msan errors. This file
+# is only used in GTK test suites, and is unneeded for the instrumented build.
+
+sed -i "s|all-local: immodules.cache||g" modules/input/Makefile.am
+
+autoreconf
« no previous file with comments | « third_party/instrumented_libraries/patches/nss.diff ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698