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

Unified Diff: chrome/installer/linux/common/symlinks.include

Issue 674703002: Linux: Dynamically load libudev. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scoped_udev
Patch Set: rebase to head, which includes third_party/libudev already Created 6 years, 1 month 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 | « chrome/chrome_browser_ui.gypi ('k') | chrome/installer/linux/debian/build.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/linux/common/symlinks.include
diff --git a/chrome/installer/linux/common/symlinks.include b/chrome/installer/linux/common/symlinks.include
index 7bad92ecf021352b7189892349803649813cd98b..700215c4c9d1b2141a3487783dffa44dc9a19002 100644
--- a/chrome/installer/linux/common/symlinks.include
+++ b/chrome/installer/linux/common/symlinks.include
@@ -24,28 +24,6 @@ remove_nss_symlinks() {
done
}
-# Fedora 18 now has libudev.so.1. http://crbug.com/145160
-# Same for Ubuntu 13.04. http://crbug.com/226002
-LIBUDEV_0=libudev.so.0
-LIBUDEV_1=libudev.so.1
-
-add_udev_symlinks() {
- get_lib_dir
- if [ -f "/$LIBDIR/$LIBUDEV_0" -o -f "/usr/$LIBDIR/$LIBUDEV_0" -o -f "/lib/$LIBUDEV_0" ]; then
- return 0
- fi
-
- if [ -f "/$LIBDIR/$LIBUDEV_1" ]; then
- ln -snf "/$LIBDIR/$LIBUDEV_1" "@@INSTALLDIR@@/$LIBUDEV_0"
- elif [ -f "/usr/$LIBDIR/$LIBUDEV_1" ];
- then
- ln -snf "/usr/$LIBDIR/$LIBUDEV_1" "@@INSTALLDIR@@/$LIBUDEV_0"
- else
- echo "$LIBUDEV_1" not found in "$LIBDIR" or "/usr/$LIBDIR".
- exit 1
- fi
-}
-
remove_udev_symlinks() {
- rm -rf "@@INSTALLDIR@@/$LIBUDEV_0"
+ rm -rf "@@INSTALLDIR@@/libudev.so.0"
}
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | chrome/installer/linux/debian/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698