Граф коммитов

353 Коммитов

Автор SHA1 Сообщение Дата
mnissler@chromium.org afe0f1f3a2 Revert 95907 - Clean up SSL false start blacklist code. Numerous changes, including:
* Handle trailing dots in LastTwoLabels() as in http://codereview.chromium.org/7518035/ .  Rename this function to LastTwoComponents() to match the terminology used in the RegistryControlledDomainService and elsewhere in Chrome.
  * Since callers are using std::string anyway, make the functions in the header take const std::string& instead of char*.  This also allows doing string operations on them.
  * Use string operations (like find_last_of()) in place of hand-written algorithms, for brevity, clarity, and safety.
  * Avoid "unsigned", which the style guide forbids, and use allowed types like size_t, uint32, or int (depending on the situation).
  * Avoid #define and "using".
  * Use standard algorithms for similar reasons as using string ops.
  * Use file_util functions to significantly abbreviate file reading/writing code.
  * Use wmain() (on Windows) in combination with FilePath to avoid issues if the provided pathname has extended characters that don't flatten losslessly to the default codepage (thanks Darin for pointing out this issue).
  * Avoid casting where possible.  Avoid some casts for printf()-style calls by using a string stream, which also allows for slightly less boilerplate.
  * Convert non-error uses of stderr to the chrome-standard VLOG(1).
  * Correctly handle hostnames with trailing dots in the input file.
  * In general, shorten code where possible.

Because this adds a dependency on base, and ssl_false_start_blacklist_process has the "#host" specifier in net.gyp, bradnelson tells me that base and its dependencies need an explicit "host, target" toolchain list for the Linux builds to work correctly.  It would be nice if we could avoid this but I guess gyp would have to be smarter or something.

BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7550002

TBR=pkasting@chromium.org
Review URL: http://codereview.chromium.org/7623015

git-svn-id: http://src.chromium.org/svn/trunk/src/build@96391 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-11 14:53:53 +00:00
pkasting@chromium.org 66a2c6b4c7 Revert 95910 - Revert 95907 - Clean up SSL false start blacklist code.
Now that r96121 has landed, this should not cause compile failures when compiling base/ on the host.

Original comments follow.

Numerous changes, including:
  * Handle trailing dots in LastTwoLabels() as in http://codereview.chromium.org/7518035/ .  Rename this function to LastTwoComponents() to match the terminology used in the RegistryControlledDomainService and elsewhere in Chrome.
  * Since callers are using std::string anyway, make the functions in the header take const std::string& instead of char*.  This also allows doing string operations on them.
  * Use string operations (like find_last_of()) in place of hand-written algorithms, for brevity, clarity, and safety.
  * Avoid "unsigned", which the style guide forbids, and use allowed types like size_t, uint32, or int (depending on the situation).
  * Avoid #define and "using".
  * Use standard algorithms for similar reasons as using string ops.
  * Use file_util functions to significantly abbreviate file reading/writing code.
  * Use wmain() (on Windows) in combination with FilePath to avoid issues if the provided pathname has extended characters that don't flatten losslessly to the default codepage (thanks Darin for pointing out this issue).
  * Avoid casting where possible.  Avoid some casts for printf()-style calls by using a string stream, which also allows for slightly less boilerplate.
  * Convert non-error uses of stderr to the chrome-standard VLOG(1).
  * Correctly handle hostnames with trailing dots in the input file.
  * In general, shorten code where possible.

Because this adds a dependency on base, and ssl_false_start_blacklist_process has the "#host" specifier in net.gyp, bradnelson tells me that base and its dependencies need an explicit "host, target" toolchain list for the Linux builds to work correctly.  It would be nice if we could avoid this but I guess gyp would have to be smarter or something.

BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7550002

TBR=pkasting@chromium.org
Review URL: http://codereview.chromium.org/7529035

TBR=fischman@chromium.org
Review URL: http://codereview.chromium.org/7587003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@96211 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-10 19:37:13 +00:00
fischman@chromium.org 25ac09bef8 Revert 95907 - Clean up SSL false start blacklist code. Numerous changes, including:
* Handle trailing dots in LastTwoLabels() as in http://codereview.chromium.org/7518035/ .  Rename this function to LastTwoComponents() to match the terminology used in the RegistryControlledDomainService and elsewhere in Chrome.
  * Since callers are using std::string anyway, make the functions in the header take const std::string& instead of char*.  This also allows doing string operations on them.
  * Use string operations (like find_last_of()) in place of hand-written algorithms, for brevity, clarity, and safety.
  * Avoid "unsigned", which the style guide forbids, and use allowed types like size_t, uint32, or int (depending on the situation).
  * Avoid #define and "using".
  * Use standard algorithms for similar reasons as using string ops.
  * Use file_util functions to significantly abbreviate file reading/writing code.
  * Use wmain() (on Windows) in combination with FilePath to avoid issues if the provided pathname has extended characters that don't flatten losslessly to the default codepage (thanks Darin for pointing out this issue).
  * Avoid casting where possible.  Avoid some casts for printf()-style calls by using a string stream, which also allows for slightly less boilerplate.
  * Convert non-error uses of stderr to the chrome-standard VLOG(1).
  * Correctly handle hostnames with trailing dots in the input file.
  * In general, shorten code where possible.

Because this adds a dependency on base, and ssl_false_start_blacklist_process has the "#host" specifier in net.gyp, bradnelson tells me that base and its dependencies need an explicit "host, target" toolchain list for the Linux builds to work correctly.  It would be nice if we could avoid this but I guess gyp would have to be smarter or something.

BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7550002

TBR=pkasting@chromium.org
Review URL: http://codereview.chromium.org/7529035

git-svn-id: http://src.chromium.org/svn/trunk/src/build@95910 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-08 23:44:55 +00:00
pkasting@chromium.org 99442ed8df Clean up SSL false start blacklist code. Numerous changes, including:
* Handle trailing dots in LastTwoLabels() as in http://codereview.chromium.org/7518035/ .  Rename this function to LastTwoComponents() to match the terminology used in the RegistryControlledDomainService and elsewhere in Chrome.
  * Since callers are using std::string anyway, make the functions in the header take const std::string& instead of char*.  This also allows doing string operations on them.
  * Use string operations (like find_last_of()) in place of hand-written algorithms, for brevity, clarity, and safety.
  * Avoid "unsigned", which the style guide forbids, and use allowed types like size_t, uint32, or int (depending on the situation).
  * Avoid #define and "using".
  * Use standard algorithms for similar reasons as using string ops.
  * Use file_util functions to significantly abbreviate file reading/writing code.
  * Use wmain() (on Windows) in combination with FilePath to avoid issues if the provided pathname has extended characters that don't flatten losslessly to the default codepage (thanks Darin for pointing out this issue).
  * Avoid casting where possible.  Avoid some casts for printf()-style calls by using a string stream, which also allows for slightly less boilerplate.
  * Convert non-error uses of stderr to the chrome-standard VLOG(1).
  * Correctly handle hostnames with trailing dots in the input file.
  * In general, shorten code where possible.

Because this adds a dependency on base, and ssl_false_start_blacklist_process has the "#host" specifier in net.gyp, bradnelson tells me that base and its dependencies need an explicit "host, target" toolchain list for the Linux builds to work correctly.  It would be nice if we could avoid this but I guess gyp would have to be smarter or something.

BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7550002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@95907 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-08 23:30:24 +00:00
dnicoara@chromium.org 08fda30329 Adding a Wayland basic toolkit
This is essentially a OO wrapper over the Wayland library. It will be used to
add Wayland support for Chrome.

This was written with the intent of being as standalone as possible and it 
should not require any external Chrome dependencies.

BUG=None
TEST=None

R=evan@chromium.org

Review URL: http://codereview.chromium.org/7457023

git-svn-id: http://src.chromium.org/svn/trunk/src/build@94492 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-07-28 17:38:23 +00:00
satorux@chromium.org 0e9120a910 Add libdbus dependency for Linux.
This is the first patch for our own D-Bus client library.
The D-Bus client code will be placed under 'dbus' on the top level directory
More patches will follow.


BUG=90036
TEST=try bot to make sure this won't break builds.

Review URL: http://codereview.chromium.org/7467031

git-svn-id: http://src.chromium.org/svn/trunk/src/build@93658 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-07-22 16:57:30 +00:00
sadrul@chromium.org 8ea8c12835 touch: Always expect XInput2 availability.
BUG=80790
TEST=touch compiles

Review URL: http://codereview.chromium.org/6975045

git-svn-id: http://src.chromium.org/svn/trunk/src/build@93621 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-07-22 13:52:40 +00:00
phajdan.jr@chromium.org e82746481e Linux: fix build when libgcrypt is not installed.
This is upstreaming of Gentoo Linux patch.

BUG=none

Review URL: http://codereview.chromium.org/7433015

git-svn-id: http://src.chromium.org/svn/trunk/src/build@93421 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-07-21 17:05:28 +00:00
mdm@chromium.org 05093ef97c Linux: revive a mysteriously disabled test and add tests for the GNOME Keyring native backend.
In order to make the GNOME Keyring API mockable, I've substituted evil preprocessor macros with a slightly less evil scoping trick, and used it even when linking directly.
I'm not sure when password_store_x_unittest fell out of the gyp file, but it hasn't been compiled for some time apparently so it required a bit of cleanup to make it compile.
I also did a little unrelated cleanup in the gyp files and fixed typos in password_store_default_unittest.
BUG=none
Review URL: http://codereview.chromium.org/7396013

git-svn-id: http://src.chromium.org/svn/trunk/src/build@93093 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-07-19 20:37:41 +00:00
tony@chromium.org c9ee63aad7 Remove the comments setting emands and vim tab width and expansion variables.
These were added in r28089 (http://codereview.chromium.org/256059) but
are unnecessary bloat for everyone to carry around, even those that don't
use emacs or vim.

In an earlier change, I added editor config files in src/tools/emacs/
and src/tools/vim/ so users of the appropriate editor can source those
instead.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/7310019

git-svn-id: http://src.chromium.org/svn/trunk/src/build@92046 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-07-11 20:22:46 +00:00
mirandac@chromium.org 764e03ef94 Revert 87315 - Revert 87309 - Second attempt to fix linux redux builder
Numerous targets were depending on linux/system.gyp:nss even on the openssl build and the gyp update means it shows up as a link error.

BUG=None
TEST=Builds with and without use_openssl=1

Review URL: http://codereview.chromium.org/7050040

TBR=joth@chromium.org
Review URL: http://codereview.chromium.org/7054041

TBR=mirandac@chromium.org
Review URL: http://codereview.chromium.org/6962044

git-svn-id: http://src.chromium.org/svn/trunk/src/build@87316 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-05-31 17:19:30 +00:00
mirandac@chromium.org 052dc43fda Revert 87309 - Second attempt to fix linux redux builder
Numerous targets were depending on linux/system.gyp:nss even on the openssl build and the gyp update means it shows up as a link error.

BUG=None
TEST=Builds with and without use_openssl=1

Review URL: http://codereview.chromium.org/7050040

TBR=joth@chromium.org
Review URL: http://codereview.chromium.org/7054041

git-svn-id: http://src.chromium.org/svn/trunk/src/build@87315 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-05-31 17:02:45 +00:00
joth@chromium.org c5403b209c Second attempt to fix linux redux builder
Numerous targets were depending on linux/system.gyp:nss even on the openssl build and the gyp update means it shows up as a link error.

BUG=None
TEST=Builds with and without use_openssl=1

Review URL: http://codereview.chromium.org/7050040

git-svn-id: http://src.chromium.org/svn/trunk/src/build@87309 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-05-31 16:09:46 +00:00
mdm@chromium.org 8f88a52e75 Linux: add gyp rules for gio library and gsettings link mode.
These will be used to add support for proxy settings in gsettings.
Note that no new dependencies are added in the default configuration.
BUG=80453

Review URL: http://codereview.chromium.org/7030007

git-svn-id: http://src.chromium.org/svn/trunk/src/build@85524 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-05-16 20:04:35 +00:00
mark@chromium.org 3b45b2e755 The gyp files don't have a way to refer to POSIX-like OS's as a group, so I defined os_posix, toolkit_gtk, and use_x11 in common.gypi to handle them. I used something similar when porting Chromium 10 and 11 to OpenBSD and Solaris, plus a version of this patch has been tested on FreeBSD.
Chromium has also been built on other BSDs, so rather than adding each Unix to every gyp file individually every time another port is added, these broad defines can be used instead and modified with specific logic only where necessary.

I included a few modified gyp files so the usage can be seen.  I also added sunos5 to some grd/html files and set the default host_arch on i86pc solaris to ia32.

BUG=0
TEST={}

Patch by ruben <chromium@hybridsource.org>.
Review URL: http://codereview.chromium.org/6965007

git-svn-id: http://src.chromium.org/svn/trunk/src/build@85154 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-05-12 18:18:34 +00:00
mark@chromium.org 74e0b0ded1 Check the ibus version in build script.
Patch by Peng Huang <penghuang@chromium.org>

BUG=chromium:80972
TEST=Linux desktop
Review URL: http://codereview.chromium.org/6893129

git-svn-id: http://src.chromium.org/svn/trunk/src/build@83758 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-05-02 19:26:41 +00:00
phajdan.jr@chromium.org dbaa979310 Linux: clean up the usage of "use_cups" gyp switch:
This CL removes duplication and fixes a build error
on system with no CUPS. It uses cups-config instead of
hardcoding flags.

Also, it removes a superfluous dependency on gcrypt
from chrome_browser.gypi. printing uses gcrypt explicitly,
but chrome/browser doesn't. It was just blindly copy-pasted.
I just extracted libgcrypt target to build/linux/system.gyp,
and switched to libgcrypt-config instead of hardcoding flags.

BUG=none
Review URL: http://codereview.chromium.org/6883221

git-svn-id: http://src.chromium.org/svn/trunk/src/build@83489 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-04-29 06:49:30 +00:00
penghuang@chromium.org 37c754d4d3 Remove ibus checking script from views.gyp and add use_ibus=1 option
BUG=chromium:80700
TEST=Test it on Linux desktop


Review URL: http://codereview.chromium.org/6904053

git-svn-id: http://src.chromium.org/svn/trunk/src/build@83232 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-04-27 22:30:23 +00:00
phajdan.jr@chromium.org fa0c695188 OpenBSD: compatibility fixes for the build system.
- 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: http://src.chromium.org/svn/trunk/src/build@81550 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-04-14 08:38:55 +00:00
oshima@google.com 77a1289403 Add input method support for views and integrate ibus input framework
BUG=none
TEST=tested on Linux desktop

oshima landed for penghuang

Review URL: http://codereview.chromium.org/6480036

git-svn-id: http://src.chromium.org/svn/trunk/src/build@74709 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-02-12 01:00:00 +00:00
adamk@chromium.org 885123f19a Fix libnss include path when building under WebKit on linux to match
the new code location under Source/.

Review URL: http://codereview.chromium.org/6264004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@71793 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-01-19 15:13:09 +00:00
thestig@chromium.org f01089cf13 Linux: Remove obsolete dump_signature.py.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/5721004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@69058 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-12-13 22:33:15 +00:00
joth@chromium.org ad3cba4a39 Switch linux OpenSSL build to use custom openssl version
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: http://src.chromium.org/svn/trunk/src/build@68749 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-12-09 18:36:24 +00:00
evan@chromium.org ba418dc557 scons: excise more scons references from the code base
I got to undo some hacks, too!

TEST=compiles

Review URL: http://codereview.chromium.org/5535003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@68119 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-12-03 00:59:23 +00:00
piman@google.com 789e97c6a8 Improve pkg-config-wrapper to support ChromiumOS sysroots
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: http://src.chromium.org/svn/trunk/src/build@66712 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-11-19 00:43:49 +00:00
oshima@chromium.org 25758bc56f A workaround to close currently opened menu. Send escape key if screen 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: http://src.chromium.org/svn/trunk/src/build@66662 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-11-18 19:35:23 +00:00
evan@chromium.org bfb297f407 unit_tests: Fix link error (missing libXi) on Linux
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: http://src.chromium.org/svn/trunk/src/build@66169 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-11-15 20:55:41 +00:00
sadrul@chromium.org 53feba6b48 touchui: First pass at XInput2 message pump.
Capture X events using XInput2.

BUG=None
TEST=None

Review URL: http://codereview.chromium.org/4186004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@65959 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-11-12 17:42:30 +00:00
piman@chromium.org e60ca3a77a Fix pkg-config-wrapper to forward the return value from pkg-config
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: http://src.chromium.org/svn/trunk/src/build@65956 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-11-12 17:16:17 +00:00
sadrul@chromium.org a532a6ce38 Revert 65938 (arm compile fail) - touchui: First pass at XInput2 message pump.
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: http://src.chromium.org/svn/trunk/src/build@65940 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-11-12 13:01:10 +00:00
sadrul@chromium.org 920195e904 touchui: First pass at XInput2 message pump.
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: http://src.chromium.org/svn/trunk/src/build@65938 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-11-12 12:45:16 +00:00
evan@chromium.org 01de2d6ced Revert "touchui: First pass at XInput2 message pump."
This reverts commit r65888, build breakage.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@65890 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-11-12 01:49:15 +00:00
sadrul@chromium.org e0cbe935b0 touchui: First pass at XInput2 message pump.
Capture X events using XInput2.

BUG=None
TEST=None

Review URL: http://codereview.chromium.org/4186004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@65888 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-11-12 01:17:35 +00:00
joth@chromium.org 8514b2795e openssl build fixes, and tidy the build files
Split out of http://codereview.chromium.org/4691003/

BUG=None
TEST=builds...

Review URL: http://codereview.chromium.org/4696004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@65801 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-11-11 15:08:40 +00:00
skerner@chromium.org 11b2fe4e23 Revert 65580 - Fix pkg-config-wrapper to work with chromiumos chroots
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: http://src.chromium.org/svn/trunk/src/build@65585 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-11-09 22:54:47 +00:00
piman@chromium.org b51d39232c Fix pkg-config-wrapper to work with chromiumos chroots
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: http://src.chromium.org/svn/trunk/src/build@65580 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-11-09 22:04:05 +00:00
phajdan.jr@chromium.org 6ba315bfda Make GConf dependency optional.
This is upstreaming a Gentoo Linux patch.

BUG=13322
TEST=none

Review URL: http://codereview.chromium.org/4691001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@65507 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-11-09 07:33:19 +00:00
jrg@chromium.org 4bf37fdb76 Exclude ChromeOS directories and files from mac win linux.
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: http://src.chromium.org/svn/trunk/src/build@61430 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-10-04 22:56:50 +00:00
joth@chromium.org 76a5758c40 First step at OpenSSL client socket implementation.
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: http://src.chromium.org/svn/trunk/src/build@60936 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-09-29 12:27:44 +00:00
phajdan.jr@chromium.org 936f6da89a Linux: make compile-time dependency on gnome-keyring optional.
This is upstreaming a Gentoo Linux patch.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/3380004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@59587 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-09-16 00:22:21 +00:00
agl@chromium.org 0bf276b379 net: add DnsRRResovler to fetch arbitary DNS resource types.
(Linux/Mac only for now.)

TEST=net_unittests
BUG=none

http://codereview.chromium.org/3029035

git-svn-id: http://src.chromium.org/svn/trunk/src/build@54907 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-08-04 15:54:40 +00:00
satorux@chromium.org 7b7fcb63a1 Fix chrome build inside the Chromium OS build chroot.
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: http://src.chromium.org/svn/trunk/src/build@49373 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-06-10 07:51:56 +00:00
mdm@chromium.org 9bcedc00b3 Reland r49135: Linux: enable compiling GNOME Keyring and KWallet 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: http://src.chromium.org/svn/trunk/src/build@49370 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-06-10 05:45:01 +00:00
tony@chromium.org 14a9728b2d Add another path for NSS when building in a webkit checkout with
the Makefile moved to the top of the webkit checkout.

Review URL: http://codereview.chromium.org/2771003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@49224 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-06-09 05:02:41 +00:00
mdm@chromium.org ce51d15cde Revert r49135: Linux: enable compiling GNOME Keyring and KWallet 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: http://src.chromium.org/svn/trunk/src/build@49149 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-06-08 08:41:01 +00:00
mdm@chromium.org f9af46da9c Linux: enable compiling GNOME Keyring and KWallet 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/2718001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@49135 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-06-08 01:25:58 +00:00
wtc@chromium.org 5830ba0ae0 Use SSLClientSocketNSS on Mac OS X. By default, chrome still uses
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: http://src.chromium.org/svn/trunk/src/build@48650 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-06-01 20:28:03 +00:00
pvalchev@google.com 4ced1ede37 GYP changes for FreeBSD and OpenBSD
Review URL: http://codereview.chromium.org/1480002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@47327 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-05-14 22:27:30 +00:00
jhawkins@chromium.org 34ca68beb9 TTF: Don't include v8 in the coverage results. Also moves common rules to common.croc.
BUG=none
TEST=none

Review URL: http://codereview.chromium.org/2022007

git-svn-id: http://src.chromium.org/svn/trunk/src/build@47071 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-05-12 21:10:56 +00:00
jhawkins@chromium.org 47a49e08af [TFF] Coverage: Don't include any non-Linux platform directories in the Linux code coverage analysis.
BUG=none
TEST=none

Review URL: http://codereview.chromium.org/2046002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@46647 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-05-07 01:00:12 +00:00
gregoryd@google.com 8db3187032 Measure coverage for NaCl code
Review URL: http://codereview.chromium.org/1618027

git-svn-id: http://src.chromium.org/svn/trunk/src/build@44710 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-04-15 22:01:47 +00:00
thestig@chromium.org 2b614652d3 Linux: simplify dump_app_syms since newer versions of Breakpad no longer generates different signatures for stripped/unstripped binaries.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/1627001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@43724 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-04-06 16:54:40 +00:00
agl@chromium.org 392ef5fea0 Update dump_symbols to match new file_id code.
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: http://src.chromium.org/svn/trunk/src/build@43672 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-04-05 23:04:37 +00:00
agl@chromium.org aa38b85329 Fix breakpad (again)
I had left over .o files in my out/ directory so the last change didn't catch
everything.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@43662 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-04-05 22:19:33 +00:00
joth@chromium.org 0cbcd8ab3e First cut at implementing wifi bindigns for linux, using glib-dbus to 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: http://src.chromium.org/svn/trunk/src/build@41430 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-03-12 14:00:00 +00:00
davemoore@chromium.org d33a3a7dc3 Add a gyp target for Xext to linux/system so that Views can depend on it. A 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: http://src.chromium.org/svn/trunk/src/build@41097 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-03-10 00:17:21 +00:00
piman@chromium.org 7a048dfea9 linux (sysroot): force prefix=/usr in pkg-config
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: http://src.chromium.org/svn/trunk/src/build@40712 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-03-05 03:39:44 +00:00
thestig@chromium.org 49f4c131f4 Yet another try to hotfix the ARM builbots. Sigh.
BUG=none
TEST=ARM buildbots go green?
TBR=zelidrag
Review URL: http://codereview.chromium.org/668069

git-svn-id: http://src.chromium.org/svn/trunk/src/build@40635 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-03-04 17:32:58 +00:00
thestig@chromium.org f6b66cdd4b Ignore missing python library when detecting python architecture and just 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: http://src.chromium.org/svn/trunk/src/build@40632 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-03-04 17:20:29 +00:00
thestig@chromium.org 9944007d9a Detect python version using /usr/lib/libpython$(ver).so.1.0 instead of /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: http://src.chromium.org/svn/trunk/src/build@40631 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-03-04 17:07:54 +00:00
thestig@chromium.org e9c8f168cd Build pyauto only if the architecture of python binary matches.
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: http://src.chromium.org/svn/trunk/src/build@40630 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-03-04 16:42:23 +00:00
davemoore@chromium.org 2ca62aef6b Cross compiling: don't rewrite dirs if they're already prefixed.
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: http://src.chromium.org/svn/trunk/src/build@39655 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-02-22 23:14:44 +00:00
jrg@chromium.org 8c37c35ac8 More scons --> make work.
Review URL: http://codereview.chromium.org/515057

git-svn-id: http://src.chromium.org/svn/trunk/src/build@35338 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-29 18:51:30 +00:00
evan@chromium.org e6f6abe58f Clarify licenses on a bunch of files.
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: http://src.chromium.org/svn/trunk/src/build@35323 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-29 00:59:31 +00:00
agl@chromium.org 42ec99a1b8 Linux: fix scons build so that libssl gets the right headers.
http://codereview.chromium.org/515021

git-svn-id: http://src.chromium.org/svn/trunk/src/build@35243 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-23 23:54:37 +00:00
mmoss@google.com 97167e5465 Make sure the 'use_system_*' variables are actually visible in the relevant 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: http://src.chromium.org/svn/trunk/src/build@34255 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-10 17:31:45 +00:00
jrg@chromium.org 18872a02e0 Revert 34195 - Make sure the 'use_system_*' variables are actually visible 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: http://src.chromium.org/svn/trunk/src/build@34213 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-10 00:53:59 +00:00
mmoss@google.com 029b242532 Make sure the 'use_system_*' variables are actually visible in the relevant gyp files.
BUG=29738

Review URL: http://codereview.chromium.org/479005

git-svn-id: http://src.chromium.org/svn/trunk/src/build@34195 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-09 22:04:02 +00:00
agl@chromium.org d939344f7a Fix build with use_system_zlib=1
http://codereview.chromium.org/469018

git-svn-id: http://src.chromium.org/svn/trunk/src/build@34067 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-08 18:39:27 +00:00
agl@chromium.org 086ae336e4 Linux: add next-protocol-negotiation to libssl.
This is an experimental, client only implementation of
next-protocol-negotiation:

http://www.imperialviolet.org/binary/draft-agl-tls-nextprotoneg-00.html

This only affects the internal copy of libssl and is only active when
built with use_system_ssl=0, which is not currently the default.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@33327 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-30 20:40:53 +00:00
agl@chromium.org dff67635d6 Linux: enable building with a local version of libssl.
http://codereview.chromium.org/394003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@32135 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-17 00:40:12 +00:00
piman@chromium.org 5036e8b759 This does a few things:
- only include cflags/linkflags and other compiler settings that are target-specific when building for 'target'
- make build tools (protoc) compile for 'host', and change the dependencies on them to reflect that.

Review URL: http://codereview.chromium.org/265031

git-svn-id: http://src.chromium.org/svn/trunk/src/build@30381 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-10-28 20:13:57 +00:00
sgk@google.com 19ba4b483e Add comments setting emacs and vim tab width and expansion variables.
BUG=none
TEST=successful builds
Review URL: http://codereview.chromium.org/256059

git-svn-id: http://src.chromium.org/svn/trunk/src/build@28089 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-10-06 03:02:38 +00:00
thestig@chromium.org 3657852c7c Add (yet another) option to allow stripping the chrome binary after dumping symbols. Chromebot does not like 200MB zip files and 800MB chrome binaries.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/259008

git-svn-id: http://src.chromium.org/svn/trunk/src/build@27795 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-10-01 23:29:03 +00:00
estade@chromium.org daa21099c3 GTK: Add a dialog for printing.
Add an infobar directing users to tell us if they have problems with printing.

Hide printing behind --enable-printing flag on linux/gtk.

BUG=9847
TEST=none
Review URL: http://codereview.chromium.org/200138

git-svn-id: http://src.chromium.org/svn/trunk/src/build@26400 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-09-16 21:49:46 +00:00
yaar@chromium.org 348eca2172 Force inclusion of build/common.gypi for all chromium gyp files.
Why: Simpler build code. If everybody includes it, it should be included automatically.
Why now: The webkit chromium builds need it be specified, since can't default to build/common.gypi.

What was done:
1. build/common.gypi's contents were moved to a new file build/gyp_chromium.gypi
2. tools/gyp/gyp_chromium was moved to build/gyp_chromium and made to automatically include build/gyp_chromium.gypi.
3. lots of gyp files were fixed to not refer to build/common.gypi any more.
4. o3d which also builds independently of chrome, was fixed to have a gyp_o3d that includes gyp_chromium.gypi too.
5. build/common.gypi was left empty, because there are some external projects that still refer to it.

Things that are left to do after this patch is in:
1. The following external files (in other repositories) need to stop include common.gypi
  ./third_party/hunspell/hunspell.gyp
  ./third_party/icu/icu.gyp
  ./v8/tools/gyp/v8.gyp
2. Once nobody refers to common.gypi anymore, delete common.gypi
   -or-
   Delete gyp_chromium.gypi and move its content back to common.gypi

Tested on mac, win and linux. On win, got a few unit tests errors on chrome bookmarks, which should not be related. I'm running again with clobber to verify.

Review URL: http://codereview.chromium.org/206006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@26302 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-09-15 23:52:14 +00:00
agl@chromium.org 3e01e2c3e4 Linux: add support for SELinux.
This patch adds support for a selinux GYP variable which, when set to
one, does the following:
  * Removes the seccomp sandbox from the compile
  * Removes support for SUID sandboxing from the zygote
  * Performs a dynamic transition, in the zygote, to
    chromium_renderer_t.

This code requires that the system policy have a sensible set of
access vectors for the chromium_renderer_t type. Such a policy will be
found in sandbox/selinux in the future.

http://codereview.chromium.org/203071


git-svn-id: http://src.chromium.org/svn/trunk/src/build@26257 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-09-15 20:13:38 +00:00
piman@chromium.org 42120e1293 linux: improve support for cross-compiling
This CL adds support for a 'sysroot' GYP define, that should point to the target root filesystem for cross-compilation.
It passes that argument to the compiler and linker which uses it to prefix its hard-coded path (e.g. /usr/include)
It also points pkg-config to look for package configs there, and rewrite the paths to be prefixed by 'sysroot' (since pkg-config doesn't do it itself)

Review URL: http://codereview.chromium.org/199016


git-svn-id: http://src.chromium.org/svn/trunk/src/build@25418 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-09-04 01:53:01 +00:00
evan@chromium.org b908861115 linux: call g_thread_init() at relevant startup points
According to glib docs, we need to do this if it's at all possible
for us to hit glib on multiple threads.  This may be happening
when we grab plugin metadata from the file thread.

Rather than explicitly depending on gthread all over the place,
just put it in with the GTK dep (since anywhere we're using GTK
we ought to init gthread).

(Note that this is *not* initializing the GDK locking system.)

BUG=18957

Review URL: http://codereview.chromium.org/174264

git-svn-id: http://src.chromium.org/svn/trunk/src/build@24207 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-25 01:50:52 +00:00
evan@chromium.org f20e53cddf Revert "linux: call g_thread_init() at relevant startup points"
This reverts commit r24203, Mac breakage.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@24204 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-25 01:14:36 +00:00
evan@chromium.org 0fb7b33d39 linux: call g_thread_init() at relevant startup points
According to glib docs, we need to do this if it's at all possible
for us to hit glib on multiple threads.  This may be happening
when we grab plugin metadata from the file thread.

Rather than explicitly depending on gthread all over the place,
just put it in with the GTK dep (since anywhere we're using GTK
we ought to init gthread).

(Note that this is *not* initializing the GDK locking system.)

BUG=18957

Review URL: http://codereview.chromium.org/174264

git-svn-id: http://src.chromium.org/svn/trunk/src/build@24203 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-25 01:09:05 +00:00
tony@chromium.org 10c38f0a17 Revert "linux: call g_thread_init() at relevant startup points"
This reverts commit r24148 because the FDRemapping unittest is failing.

TBR=evanm

Review URL: http://codereview.chromium.org/173309


git-svn-id: http://src.chromium.org/svn/trunk/src/build@24168 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-24 22:45:58 +00:00
evan@chromium.org f046c87067 linux: call g_thread_init() at relevant startup points
According to glib docs, we need to do this if it's at all possible
for us to hit glib on multiple threads.  This may be happening
when we grab plugin metadata from the file thread.

Rather than explicitly depending on gthread all over the place,
just put it in with the GTK dep (since anywhere we're using GTK
we ought to init gthread).

(Note that this is *not* initializing the GDK locking system.)

BUG=18957

Review URL: http://codereview.chromium.org/174264

git-svn-id: http://src.chromium.org/svn/trunk/src/build@24148 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-24 21:16:14 +00:00
thestig@chromium.org 8355a9d1f9 Make symbol signatures upper-case.
Review URL: http://codereview.chromium.org/132034

git-svn-id: http://src.chromium.org/svn/trunk/src/build@18741 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-06-18 20:07:50 +00:00
agl@chromium.org 5c3b4b00a8 Linux: dump_app_syms would fail if the output didn't exist.
This script was trying to only rebuild the symbols when the binary
file was more recent than the symbols file. However, -nt fails when
the right hand side doesn't exist. Therefore it wouldn't actually dump
symbols and the sed script would fail later on.

This adds a test for the non-existance of the output file first.

TBR=mmoss


git-svn-id: http://src.chromium.org/svn/trunk/src/build@18659 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-06-17 21:50:23 +00:00
mmoss@chromium.org 52f349a38e Cleanups from post-submit suggestions.
Review URL: http://codereview.chromium.org/126062


git-svn-id: http://src.chromium.org/svn/trunk/src/build@18303 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-06-12 19:21:20 +00:00
mmoss@chromium.org 407db10a78 Extract breakpad symbol files for Linux official builds.
These are archived and submitted to the crash server by the official builder
(coming in a separate buildbot CL).

Review URL: http://codereview.chromium.org/126015


git-svn-id: http://src.chromium.org/svn/trunk/src/build@18286 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-06-12 17:19:16 +00:00
jrg@chromium.org dd7bb1c547 Add unit_tests (Chrome browser unit tests) to Mac/Linux coverage.
Minor fixes to coverage related scripts.

Review URL: http://codereview.chromium.org/118298

git-svn-id: http://src.chromium.org/svn/trunk/src/build@17785 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-06-05 22:47:32 +00:00
stuartmorgan@chromium.org 7a7c3ccf02 Change PasswordStoreDefault to access the WebDataService from the UI thread only.
Enables the PasswordStore refactoring yet again (third time's the charm?).

BUG=12479
TEST=Password save/autofill should continue to work on Windows.
Review URL: http://codereview.chromium.org/118131

git-svn-id: http://src.chromium.org/svn/trunk/src/build@17545 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-06-03 22:00:41 +00:00
mhm@chromium.org 40472ad275 Reverting 17273 - Fails reliability tests
Review URL: http://codereview.chromium.org/118047

git-svn-id: http://src.chromium.org/svn/trunk/src/build@17279 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-30 04:34:00 +00:00
stuartmorgan@chromium.org 886a797bb0 Re-land the password store work from bug 8205, with changes that should fix bug 12479. The Linux pieces are still disabled, however.
BUG=8205
TEST=Password autofill should continue to work on Windows.
Review URL: http://codereview.chromium.org/114057

git-svn-id: http://src.chromium.org/svn/trunk/src/build@17273 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-30 00:51:16 +00:00
rspangler@google.com 5b0310bc95 Major refactoring of Croc.
Add support for scanning missing source files for executable lines.
Add support for HTML output.
Now reports percent coverage.

BUG=none
TEST=by hand on experimental buildbot
Review URL: http://codereview.chromium.org/113980

git-svn-id: http://src.chromium.org/svn/trunk/src/build@17141 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-29 00:05:27 +00:00
evan@chromium.org 0e1a4ad4f2 Revert the password manager refactoring -- it failed reliability tests.
(For reference, it was committed with the wrong message: "Patch to make
password patch build.")

This reverts commit r16708.

Review URL: http://codereview.chromium.org/113871

git-svn-id: http://src.chromium.org/svn/trunk/src/build@16939 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-26 22:48:40 +00:00
evan@chromium.org 5f46af183b Patch to make password patch build.
Review URL: http://codereview.chromium.org/113710
Patch from John Maguire <johnmaguire@google.com>.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@16708 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-22 02:02:18 +00:00
rspangler@google.com e19c988e41 Add Croc code coverage config for linux.
Review URL: http://codereview.chromium.org/115591

git-svn-id: http://src.chromium.org/svn/trunk/src/build@16542 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-20 21:59:43 +00:00
evan@chromium.org a20f5da0e2 linux: gyp should fail if the build dependencies aren't met.
The alternative is that gyp silently succeeds and your build mysteriously
doesn't link, even after you've installed the dependencies, and you need
to know to rerun "gclient runhooks --force".

BUG=11432

Review URL: http://codereview.chromium.org/114007

git-svn-id: http://src.chromium.org/svn/trunk/src/build@16002 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-13 21:34:35 +00:00
agl@chromium.org cd8ef163a9 Linux: add -lX11 as a library to WebKit.
r14206 added X code to our WebKit port. However, on some (but not all)
machines it seems that they are missing the library when linking
test_shell.

http://codereview.chromium.org/92056


git-svn-id: http://src.chromium.org/svn/trunk/src/build@14283 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-23 01:31:49 +00:00
tc@google.com 616e8a5b57 Fix linking on linux by explicitly adding gthread.
Review URL: http://codereview.chromium.org/84005


git-svn-id: http://src.chromium.org/svn/trunk/src/build@14051 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-20 19:31:48 +00:00
sdoyon@chromium.org 9c5ac8c14e ProxyConfigService for Linux.
Establishes a ProxyConfig by reading settings from gconf or consulting
environment variables.

BUG=8143

Thanks to ermilov.maxim@gmail.com for his contribution: some ideas<
and code snippets from his patch were folded into this one.
(See http://codereview.chromium.org/49009)

Review URL: http://codereview.chromium.org/60009

git-svn-id: http://src.chromium.org/svn/trunk/src/build@14034 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-20 16:50:56 +00:00
sgk@google.com f5f2e0005c Separate the pkg-config --libs output into --libs-only-l for
'libraries' and --libs-{other,only-L} for 'ldflags'.
Updates one spot in common.gypi where we were using 'linkflags'.
Review URL: http://codereview.chromium.org/56188

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13067 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-03 04:07:38 +00:00
tc@google.com 89d5b9cca7 Fix linking with gold by cleaning up lib dependencies.
- Remove pangoft2, we don't use it anywhere.
- Add gdk, fontconfig and freetype2 as dependencies of skia.  Gdk is
  used in platform_canvas_linux.
- X11, Xrender and Xext are used by the IPC system, so everything that
  depends on common, needs to link in those libs.  By moving the
  link_settings line into the libcommon.a target, all projects
  inherit these.

Review URL: http://codereview.chromium.org/60070


git-svn-id: http://src.chromium.org/svn/trunk/src/build@13055 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-02 23:31:55 +00:00
sgk@google.com 88fb64ce4b Fix pkg_config_wrapper.py paths now that the updated gyp executes
the variable expansion from the same directory as the .gyp file
Review URL: http://codereview.chromium.org/50085

git-svn-id: http://src.chromium.org/svn/trunk/src/build@12245 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-03-21 12:43:27 +00:00
sgk@google.com bc2e6508b6 Update the gyp Linux build:
* Add Linux settings to target_defaults in common.gypi so
  gyp-generated SConscript files no longer depend on
  build/SConscript.main or the Hammer infrastructure.
* Copy the FilterOut() function from Hammer to the chromium_builders.py
  Tool module.
* Add a ChromiumLoadableModule() builder to chromium_builders.py.
* Add dependencies on the 'views' library to the chrome link (target 'app').
* Add missing views/*/*_unittest.cc modules to the 'unit_tests' target.
  Exclude all but the one that builds on Linux from the non-Windows builds.
* Crib a list of chrome/views files to exclude from the Linux build
  from the old SCons configuration.
* Add a new build/linux/system.gyp file with new 'settings' targets
  to encapsulate the pkg-config checks for gtk+-2.0, nss and pangoft2.
* Add depenedencies in the other targets on the new gtk, nss and
  pangoft2 'settings' targets from build/linux/system.gyp.
* Add a pkg_config_wrapper.py script that keeps gyp happy by
  simply exiting 0 if the package isn't found.
* DEPS roll for latest gyp changes to support the above.
Review URL: http://codereview.chromium.org/42340

git-svn-id: http://src.chromium.org/svn/trunk/src/build@12228 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-03-20 23:13:26 +00:00