From 0faab517e5d541bc51d24be919e899991ed7356a Mon Sep 17 00:00:00 2001 From: "mmoss@chromium.org" Date: Tue, 25 Aug 2009 00:12:29 +0000 Subject: Update build to work with native 64-bit Linux packages. Also remove the no longer used GTK variable, since the GTK_PATH modification was a hack for 32-bit binaries on 64-bit distros. Review URL: http://codereview.chromium.org/173286 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24186 0039d316-1c4b-4281-b951-d872f2087c98 --- .../browser/gtk/options/advanced_contents_gtk.cc | 4 +- chrome/common/platform_util_linux.cc | 1 - chrome/installer/installer.gyp | 110 +++++++++++---------- 3 files changed, 58 insertions(+), 57 deletions(-) diff --git a/chrome/browser/gtk/options/advanced_contents_gtk.cc b/chrome/browser/gtk/options/advanced_contents_gtk.cc index f6b6568..c50e77c 100644 --- a/chrome/browser/gtk/options/advanced_contents_gtk.cc +++ b/chrome/browser/gtk/options/advanced_contents_gtk.cc @@ -436,10 +436,8 @@ void NetworkSection::StartProxyConfigUtil(const ProxyConfigCommand& command) { for (size_t i = 1; command.argv[i]; i++) argv.push_back(command.argv[i]); base::file_handle_mapping_vector no_files; - base::environment_vector env; base::ProcessHandle handle; - env.push_back(std::make_pair("GTK_PATH", getenv("CHROMIUM_SAVED_GTK_PATH"))); - if (!base::LaunchApp(argv, env, no_files, false, &handle)) { + if (!base::LaunchApp(argv, no_files, false, &handle)) { LOG(ERROR) << "StartProxyConfigUtil failed to start " << command.binary; BrowserList::GetLastActive()-> OpenURL(GURL(l10n_util::GetStringUTF8(IDS_LINUX_PROXY_CONFIG_URL)), diff --git a/chrome/common/platform_util_linux.cc b/chrome/common/platform_util_linux.cc index 4e25bcf..778e046 100644 --- a/chrome/common/platform_util_linux.cc +++ b/chrome/common/platform_util_linux.cc @@ -19,7 +19,6 @@ void XDGOpen(const FilePath& path) { argv.push_back(path.value()); base::environment_vector env; - env.push_back(std::make_pair("GTK_PATH", getenv("CHROMIUM_SAVED_GTK_PATH"))); // xdg-open can fall back on mailcap which eventually might plumb through // to a command that needs a terminal. Set the environment variable telling // it that we definitely don't have a terminal available and that it should diff --git a/chrome/installer/installer.gyp b/chrome/installer/installer.gyp index 373b36a..c501a59 100644 --- a/chrome/installer/installer.gyp +++ b/chrome/installer/installer.gyp @@ -385,9 +385,6 @@ # Add these files to the build output so the build archives will be # "hermetic" for packaging. This is only for branding="Chrome" since # we only create packages for official builds. - 'variables': { - 'lib32_dir': '