summaryrefslogtreecommitdiffstats
path: root/build/linux
Commit message (Collapse)AuthorAgeFilesLines
* OpenBSD: compatibility fixes for the build system.phajdan.jr@chromium.org2011-04-141-4/+4
| | | | | | | | | | | | | - switch from /bin/bash to /bin/sh (bash is not a part of base system on OpenBSD) - switch from /usr/bin/python to /usr/bin/env python (python is not a part of base system on OpenBSD) BUG=none Review URL: http://codereview.chromium.org/6845002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81550 0039d316-1c4b-4281-b951-d872f2087c98
* Add input method support for views and integrate ibus input frameworkoshima@google.com2011-02-121-0/+24
| | | | | | | | | | | BUG=none TEST=tested on Linux desktop oshima landed for penghuang Review URL: http://codereview.chromium.org/6480036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74709 0039d316-1c4b-4281-b951-d872f2087c98
* Fix libnss include path when building under WebKit on linux to matchadamk@chromium.org2011-01-191-2/+2
| | | | | | | | the new code location under Source/. Review URL: http://codereview.chromium.org/6264004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71793 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Remove obsolete dump_signature.py.thestig@chromium.org2010-12-131-56/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/5721004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69058 0039d316-1c4b-4281-b951-d872f2087c98
* Switch linux OpenSSL build to use custom openssl versionjoth@chromium.org2010-12-091-23/+0
| | | | | | | | | | | | This allows us to test experimental library features, and to track a known openssl version. Also bumps OpenSSL 65717:68738, to fix up the default CA root path in the reference library. BUG=None TEST=Still builds & runs! Review URL: http://codereview.chromium.org/5625012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68749 0039d316-1c4b-4281-b951-d872f2087c98
* scons: excise more scons references from the code baseevan@chromium.org2010-12-031-1/+0
| | | | | | | | | | I got to undo some hacks, too! TEST=compiles Review URL: http://codereview.chromium.org/5535003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68119 0039d316-1c4b-4281-b951-d872f2087c98
* Improve pkg-config-wrapper to support ChromiumOS sysrootspiman@google.com2010-11-192-15/+40
| | | | | | | | | | | | | | | | | | | | | | http://codereview.chromium.org/4516002/show had to be reverted because it conflicts with "old style" sysroots that are still used on the arm builders. This is a cleaner approach that should work there. The previous approach assumed that all variables in .pc files were relative to |prefix|. It would be a desirable thing to have but in practice a few packages don't follow this and have already dereferenced |prefix| in other variables (e.g. |libdir|). So instead of forcing |prefix|, this version keeps the original one but strips the path before '/usr' (in |prefix|) from all returned paths before prepending the sysroot path. For example if you have foo.pc: prefix=/build/board/usr libdir=/build/board/usr/lib # instead of libdir=${prefix}/lib Libs: -L${libdir}/foo -lfoo Then instead of forcing prefix=/usr (which doesn't fix |libdir|), we find the path before '/usr' in prefix ('/build/board'), that we strip from the returned -L flag ('/build/board/usr/lib/foo' -> '/usr/lib/foo') before prepending the sysroot path (-> '/path/to/sysroot/usr/lib/foo'). BUG=None TEST=build with sysroot=/path/to/chromiumos/chroot/build/x86-generic Review URL: http://codereview.chromium.org/5105005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66712 0039d316-1c4b-4281-b951-d872f2087c98
* A workaround to close currently opened menu. Send escape key if screen ↵oshima@chromium.org2010-11-181-0/+5
| | | | | | | | | | | | | locker fails to grab input. * added new xtst target in build/linux/system.gyp BUG=chromium-os:5902 TEST=goto youtube, open flash menu then kick off the screen locker. It used to show spinner and eventually crash. It should close the menu and lock, and will not crash. Review URL: http://codereview.chromium.org/5043002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66662 0039d316-1c4b-4281-b951-d872f2087c98
* unit_tests: Fix link error (missing libXi) on Linuxevan@chromium.org2010-11-151-0/+8
| | | | | | | | | | | | | | unit_tests fails to link due to requirement on libXi. This is implicitly provided by 'gdk', but unit_tests does not depend on this target. We add a 'xi' dependency for any target depending on 'x11'. BUG=63209 TEST=None (Landing patch for jknotten@chromium.org.) Review URL: http://codereview.chromium.org/5016001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66169 0039d316-1c4b-4281-b951-d872f2087c98
* touchui: First pass at XInput2 message pump.sadrul@chromium.org2010-11-121-1/+11
| | | | | | | | | | | Capture X events using XInput2. BUG=None TEST=None Review URL: http://codereview.chromium.org/4186004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65959 0039d316-1c4b-4281-b951-d872f2087c98
* Fix pkg-config-wrapper to forward the return value from pkg-configpiman@chromium.org2010-11-121-1/+3
| | | | | | | | | BUG=None TEST=Run ./pkg-config-wrapper / --atleast-version=3.0 inputproto and check that it returns 1 Review URL: http://codereview.chromium.org/4900001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65956 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 65938 (arm compile fail) - touchui: First pass at XInput2 message pump.sadrul@chromium.org2010-11-121-11/+1
| | | | | | | | | | | | | | | | Capture X events using XInput2. BUG=None TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=65888 Review URL: http://codereview.chromium.org/4186004 TBR=sadrul@chromium.org Review URL: http://codereview.chromium.org/4894001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65940 0039d316-1c4b-4281-b951-d872f2087c98
* touchui: First pass at XInput2 message pump.sadrul@chromium.org2010-11-121-1/+11
| | | | | | | | | | | | | Capture X events using XInput2. BUG=None TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=65888 Review URL: http://codereview.chromium.org/4186004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65938 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "touchui: First pass at XInput2 message pump."evan@chromium.org2010-11-121-11/+1
| | | | | | This reverts commit r65888, build breakage. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65890 0039d316-1c4b-4281-b951-d872f2087c98
* touchui: First pass at XInput2 message pump.sadrul@chromium.org2010-11-121-1/+11
| | | | | | | | | | | Capture X events using XInput2. BUG=None TEST=None Review URL: http://codereview.chromium.org/4186004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65888 0039d316-1c4b-4281-b951-d872f2087c98
* openssl build fixes, and tidy the build filesjoth@chromium.org2010-11-111-5/+2
| | | | | | | | | | | Split out of http://codereview.chromium.org/4691003/ BUG=None TEST=builds... Review URL: http://codereview.chromium.org/4696004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65801 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 65580 - Fix pkg-config-wrapper to work with chromiumos chrootsskerner@chromium.org2010-11-091-1/+1
| | | | | | | | | | | | | | | Some pkg-config packages in chromium os (e.g. gtk) end up hard-coding libdir to be absolute (rather than relative to prefix), so it breaks builds from outside the chroot. This works around it. BUG=none TEST=build with sysroot=/path/to/chromiumos/chroot/build/x86-generic Review URL: http://codereview.chromium.org/4516002 TBR=piman@chromium.org Review URL: http://codereview.chromium.org/4754002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65585 0039d316-1c4b-4281-b951-d872f2087c98
* Fix pkg-config-wrapper to work with chromiumos chrootspiman@chromium.org2010-11-091-1/+1
| | | | | | | | | | | | Some pkg-config packages in chromium os (e.g. gtk) end up hard-coding libdir to be absolute (rather than relative to prefix), so it breaks builds from outside the chroot. This works around it. BUG=none TEST=build with sysroot=/path/to/chromiumos/chroot/build/x86-generic Review URL: http://codereview.chromium.org/4516002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65580 0039d316-1c4b-4281-b951-d872f2087c98
* Make GConf dependency optional.phajdan.jr@chromium.org2010-11-091-1/+4
| | | | | | | | | | | This is upstreaming a Gentoo Linux patch. BUG=13322 TEST=none Review URL: http://codereview.chromium.org/4691001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65507 0039d316-1c4b-4281-b951-d872f2087c98
* Exclude ChromeOS directories and files from mac win linux.jrg@chromium.org2010-10-041-2/+2
| | | | | | | | | Extension of this change, applied more liberally: http://src.chromium.org/viewvc/chrome/trunk/src/build/linux/chrome_linux.croc?r1=44710&r2=46647 Review URL: http://codereview.chromium.org/3540002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61430 0039d316-1c4b-4281-b951-d872f2087c98
* First step at OpenSSL client socket implementation.joth@chromium.org2010-09-291-4/+31
| | | | | | | | | | | | | This is early in-progress implementation, no cert handling supported. So only available under a build-time flag. (GYP_DEFINES="'use_openssl=1'") Adds a new build dependency for system OpenSSL libraries, and a new USE_OPENSSL define. Eventually this will disable USE_NSS but for now the two coexist. BUG=none TEST=build with use_openssl=1. Goto some https:// pages. Review URL: http://codereview.chromium.org/3495005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60936 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: make compile-time dependency on gnome-keyring optional.phajdan.jr@chromium.org2010-09-161-1/+4
| | | | | | | | | | | This is upstreaming a Gentoo Linux patch. BUG=none TEST=none Review URL: http://codereview.chromium.org/3380004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59587 0039d316-1c4b-4281-b951-d872f2087c98
* net: add DnsRRResovler to fetch arbitary DNS resource types.agl@chromium.org2010-08-041-0/+9
| | | | | | | | | | | (Linux/Mac only for now.) TEST=net_unittests BUG=none http://codereview.chromium.org/3029035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54907 0039d316-1c4b-4281-b951-d872f2087c98
* Fix chrome build inside the Chromium OS build chroot.satorux@chromium.org2010-06-101-22/+26
| | | | | | | | | | | | | | | | | | | | | | | | | In the chroot used for building Chromium OS, gnome-keyring is not installed so the gyp fails with the errors like: Exception: Call to 'pkg-config --cflags gnome-keyring-1' returned exit status 1. while loading dependencies of src/base/base.gyp while loading dependencies of src/net/net.gyp while loading dependencies of src/app/app.gyp while loading dependencies of src/build/all.gyp while trying to load src/build/all.gyp failed to run command: /usr/bin/python src/build/gyp_chromium BUG=chromium-os:4000 TEST=Tested on Ubuntu and in the chroot: On Ubuntu: % sudo apt-get remove libgnome-keyring-dev % GYP_DEFINES="chromeos=0" gclient runhooks' ... gyp fails as libgnome-keyring-dev is not installed ... % GYP_DEFINES="chromeos=1" gclient runhooks' ... gyp succeeds ... In the chromium os build chroot: % emerge-x86-generic chromeos-chrome ... gyp suceeds ... Review URL: http://codereview.chromium.org/2729010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49373 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r49135: Linux: enable compiling GNOME Keyring and KWallet ↵mdm@chromium.org2010-06-101-37/+49
| | | | | | | | | | | integration. It's still unused. BUG=12351,25404 TEST=GNOME Keyring and KWallet get compiled, but add no new library dependencies Review URL: http://codereview.chromium.org/2774002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49370 0039d316-1c4b-4281-b951-d872f2087c98
* Add another path for NSS when building in a webkit checkout withtony@chromium.org2010-06-091-2/+3
| | | | | | | | the Makefile moved to the top of the webkit checkout. Review URL: http://codereview.chromium.org/2771003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49224 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r49135: Linux: enable compiling GNOME Keyring and KWallet ↵mdm@chromium.org2010-06-081-49/+37
| | | | | | | | | | | integration. Some of the bots (memory, ARM) didn't get the new package installed yet. BUG=none TEST=none Review URL: http://codereview.chromium.org/2763001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49149 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: enable compiling GNOME Keyring and KWallet integration. It's still ↵mdm@chromium.org2010-06-081-37/+49
| | | | | | | | | | | unused. BUG=12351,25404 TEST=GNOME Keyring and KWallet get compiled, but add no new library dependencies Review URL: http://codereview.chromium.org/2718001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49135 0039d316-1c4b-4281-b951-d872f2087c98
* Use SSLClientSocketNSS on Mac OS X. By default, chrome still useswtc@chromium.org2010-06-011-1/+1
| | | | | | | | | | | | | | | | | | SSLClientSocketMac. Specify the --use-nss-for-ssl command-line option to use SSLClientSocketNSS. The nss.gyp in src/net/third_party/nss is renamed ssl.gyp to avoid a naming conflict with the nss.gyp in src/third_party/nss. The GYP generator for Xcode project files disallows same-named .gyp files. SSL client authentication doesn't work yet. R=mark BUG=30689 TEST=No build and test failures on Mac and Windows. Review URL: http://codereview.chromium.org/2322008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48650 0039d316-1c4b-4281-b951-d872f2087c98
* GYP changes for FreeBSD and OpenBSDpvalchev@google.com2010-05-141-1/+1
| | | | | | Review URL: http://codereview.chromium.org/1480002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47327 0039d316-1c4b-4281-b951-d872f2087c98
* TTF: Don't include v8 in the coverage results. Also moves common rules to ↵jhawkins@chromium.org2010-05-121-21/+2
| | | | | | | | | | | common.croc. BUG=none TEST=none Review URL: http://codereview.chromium.org/2022007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47071 0039d316-1c4b-4281-b951-d872f2087c98
* [TFF] Coverage: Don't include any non-Linux platform directories in the ↵jhawkins@chromium.org2010-05-071-1/+9
| | | | | | | | | | | Linux code coverage analysis. BUG=none TEST=none Review URL: http://codereview.chromium.org/2046002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46647 0039d316-1c4b-4281-b951-d872f2087c98
* Measure coverage for NaCl codegregoryd@google.com2010-04-151-1/+1
| | | | | | Review URL: http://codereview.chromium.org/1618027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44710 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: simplify dump_app_syms since newer versions of Breakpad no longer ↵thestig@chromium.org2010-04-061-20/+6
| | | | | | | | | | generates different signatures for stripped/unstripped binaries. BUG=none TEST=none Review URL: http://codereview.chromium.org/1627001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43724 0039d316-1c4b-4281-b951-d872f2087c98
* Update dump_symbols to match new file_id code.agl@chromium.org2010-04-051-4/+9
| | | | | | | | | | | | The way that breakpad calculates module ids has changed so we need to change our tools to match. (Note. The original change accidently landed with another change in r43662 so this is just the review changes.) http://codereview.chromium.org/1508019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43672 0039d316-1c4b-4281-b951-d872f2087c98
* Fix breakpad (again)agl@chromium.org2010-04-051-2/+22
| | | | | | | I had left over .o files in my out/ directory so the last change didn't catch everything. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43662 0039d316-1c4b-4281-b951-d872f2087c98
* First cut at implementing wifi bindigns for linux, using glib-dbus to ↵joth@chromium.org2010-03-121-17/+17
| | | | | | | | | | | | | | | NetworkManager NOTE: Adds a new build dependency on dbus-glib, on ubuntu you can meet this with: $ sudo aptitude install dbus-glib-1-dev BUG=http://crbug.com/37199 TEST=use browser with --enable-geolocation Review URL: http://codereview.chromium.org/787003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41430 0039d316-1c4b-4281-b951-d872f2087c98
* Add a gyp target for Xext to linux/system so that Views can depend on it. A ↵davemoore@chromium.org2010-03-101-0/+20
| | | | | | | | recent change added a code dependency within Views on linux on this library. Chrome was linking with it but other Views apps (candidate_window) weren't Review URL: http://codereview.chromium.org/758002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41097 0039d316-1c4b-4281-b951-d872f2087c98
* linux (sysroot): force prefix=/usr in pkg-configpiman@chromium.org2010-03-051-1/+1
| | | | | | | | | | This lets us use portage-based cross-compiled sysroots, that force the prefix to be an absolute path within the portage chroot. In particular that lets us build the ARM sysroot using the Chrome OS build system. Ubuntu-based sysroots already have prefix=/usr, so this is a no-op in that case. Review URL: http://codereview.chromium.org/669139 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40712 0039d316-1c4b-4281-b951-d872f2087c98
* Yet another try to hotfix the ARM builbots. Sigh.thestig@chromium.org2010-03-041-2/+2
| | | | | | | | | BUG=none TEST=ARM buildbots go green? TBR=zelidrag Review URL: http://codereview.chromium.org/668069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40635 0039d316-1c4b-4281-b951-d872f2087c98
* Ignore missing python library when detecting python architecture and just ↵thestig@chromium.org2010-03-041-4/+8
| | | | | | | | | | | return unknown, which should disable building pyauto. The ARM buildbots have an incorrect python_ver set. BUG=none TEST=ARM buildbots go green. TBR=zelidrag Review URL: http://codereview.chromium.org/669071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40632 0039d316-1c4b-4281-b951-d872f2087c98
* Detect python version using /usr/lib/libpython$(ver).so.1.0 instead of ↵thestig@chromium.org2010-03-041-2/+2
| | | | | | | | | | | /usr/bin/python$(ver). /usr/bin/python may not be installed, i.e. on ARM buildbots. BUG=none TEST=ARM buildbots go green. TBR=zelidrag Review URL: http://codereview.chromium.org/669069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40631 0039d316-1c4b-4281-b951-d872f2087c98
* Build pyauto only if the architecture of python binary matches.thestig@chromium.org2010-03-041-0/+38
| | | | | | | | BUG=none TEST=Building 32-bit pyauto on 64-bit Linux with a 32-bit sysroot works. Review URL: http://codereview.chromium.org/660443 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40630 0039d316-1c4b-4281-b951-d872f2087c98
* Cross compiling: don't rewrite dirs if they're already prefixed.davemoore@chromium.org2010-02-221-1/+1
| | | | | | | | | | | When compiling with the new portage build system for Chromium OS, paths passed in for includes, libraries, etc., are already properly prefixed with the sysroot and do not need to be again prefixed with the sysroot. Review URL: http://codereview.chromium.org/652067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39655 0039d316-1c4b-4281-b951-d872f2087c98
* More scons --> make work.jrg@chromium.org2009-12-291-1/+1
| | | | | | Review URL: http://codereview.chromium.org/515057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35338 0039d316-1c4b-4281-b951-d872f2087c98
* Clarify licenses on a bunch of files.evan@chromium.org2009-12-291-0/+3
| | | | | | | | | | | In this process, I also filed bugs on various projects we depend on that also have unclear licenses. BUG=28291 Review URL: http://codereview.chromium.org/521009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35323 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: fix scons build so that libssl gets the right headers.agl@chromium.org2009-12-231-1/+9
| | | | | | http://codereview.chromium.org/515021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35243 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure the 'use_system_*' variables are actually visible in the relevant ↵mmoss@google.com2009-12-101-3/+11
| | | | | | | | | | | | | | gyp files. Retrying r34195, this time without libxslt, since we don't want to use the system version of that if we're not also using system libxml (merged from http://codereview.chromium.org/481011). BUG=29738 Review URL: http://codereview.chromium.org/486012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34255 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 34195 - Make sure the 'use_system_*' variables are actually visible ↵jrg@chromium.org2009-12-101-11/+3
| | | | | | | | | | | | | | | | | | | | | in the relevant gyp files. BUG=29738 Review URL: http://codereview.chromium.org/479005 TBR=mmoss@google.com Example choke: http://build.chromium.org/buildbot/waterfall/builders/Linux%20Perf/builds/4382/steps/compile/logs/stdio Compiling /b/slave/chromium-rel-linux-hardy/build/src/sconsbuild/Release/obj/chrome/unit_tests/common/bzip2_unittest.o /b/slave/chromium-rel-linux-hardy/build/src/chrome/common/bzip2_unittest.cc:6:19: error: bzlib.h: No such file or directory Review URL: http://codereview.chromium.org/484003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34213 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure the 'use_system_*' variables are actually visible in the relevant ↵mmoss@google.com2009-12-091-3/+11
| | | | | | | | | | gyp files. BUG=29738 Review URL: http://codereview.chromium.org/479005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34195 0039d316-1c4b-4281-b951-d872f2087c98