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

353 Коммитов

Автор SHA1 Сообщение Дата
dnicoara@chromium.org b1bf10e85f Revert of Run pkg-config for Udev only if use_udev==1 (patchset #1 of https://codereview.chromium.org/429723002/)
Reason for revert:
Breaks builds where use_udev==0 since certain targets just assume udev and never check against use_udev.

Udev package should be wrapped in a use_udev confitional altogether and all the locations using Udev should check against use_udev.

Original issue's description:
> Run pkg-config for Udev only if use_udev==1
> 
> Some embedded platforms do not have udev support. The change will skip
> running pkg-config if use_udev=0.
> 
> BUG=none
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288770

TBR=brettw@chromium.org
NOTRY=true

Review URL: https://codereview.chromium.org/469763002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@289280 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-13 13:50:18 +00:00
mostynb@opera.com 61eabb683f make it possible to disable the use of libpci on linux again
When CL 430573002 landed, it forced the use of libpci on linux, but
many embedded systems lack this library (and probably lack a pci bus
altogether). Let's add a new config variable to make it possible to
disable the use of libpci.

BUG=398416

Review URL: https://codereview.chromium.org/462433002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@289262 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-13 10:35:40 +00:00
phajdan.jr@chromium.org 5d8cf18874 Require more precise exclusions in remove_bundled_libraries.py
This handles nested third_party directories.

BUG=none
NOTRY=true

Review URL: https://codereview.chromium.org/462063002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@289106 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-12 23:01:11 +00:00
dnicoara@chromium.org d62042e332 Run pkg-config for Udev only if use_udev==1
Some embedded platforms do not have udev support. The change will skip
running pkg-config if use_udev=0.

BUG=none

Review URL: https://codereview.chromium.org/429723002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@288770 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-11 19:49:30 +00:00
phajdan.jr@chromium.org c1ef2f1d9e unbundle: do not remove .isolate files, that results in gyp errors
BUG=none
R=maruel@chromium.org, thestig@chromium.org

Review URL: https://codereview.chromium.org/454013002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@288682 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-11 09:56:26 +00:00
dnicoara@chromium.org 99aa8fa90b Move libdrm target behind conditional
On embedded platforms the library may not be available. As-is GYP will
try running pkg-config early on even if none of the Ozone dependencies
require libdrm.

BUG=none

Review URL: https://codereview.chromium.org/427853004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@286855 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-31 18:31:47 +00:00
davidben@chromium.org 37f69827ee Switch to BoringSSL.
This is a reland of r284079 which was reverted in r284248 for components build
issues. That, in turn, was a reland of r283813 which was reverted in r283845
because it broke WebRTC tests on Android. That, in turn, was a reland of
r283542 which was reverted in r283591 because it broke the WebView build.

This is a much larger change than its diff suggests. If it breaks
something, please revert first and ask questions later.

BUG=393317
R=agl@chromium.org, jam@chromium.org

Review URL: https://codereview.chromium.org/401153002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@284729 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-22 18:20:37 +00:00
agl@chromium.org 454cd80016 Revert "Switch to BoringSSL."
This reverts commit r284079.

BUG=395271

Review URL: https://codereview.chromium.org/406693004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@284248 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-18 23:18:18 +00:00
agl@chromium.org 20c0005fb4 Switch to BoringSSL.
(This is a reland of r283813 which was reverted in r283845 because it broke
WebRTC tests on Android. That, in turn, was a reland of of r283542 which was
reverted in r283591 because it broke the WebView build.)

This is a much larger change than its diff suggests. If it breaks
something, please revert first and ask questions later.

BUG=none

Review URL: https://codereview.chromium.org/401613008

git-svn-id: http://src.chromium.org/svn/trunk/src/build@284079 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-18 13:51:03 +00:00
vitalybuka@chromium.org b948970198 Revert 283813 "Switch to BoringSSL."
Failed WebRtcBrowserTest on android_dbg_triggered_tests.

> Switch to BoringSSL.
> 
> (This is a reland of r283542 which was reverted in r283591 because it
> broke the WebView build. The android_aosp trybots are broken[1] so this
> based on hope.)
> 
> This is a much larger change than its diff suggests. If it breaks
> something, please revert first and ask questions later.
> 
> [1] http://code.google.com/p/chromium/issues/detail?id=394597
> 
> BUG=none
> 
> Review URL: https://codereview.chromium.org/399993002

TBR=agl@chromium.org

Review URL: https://codereview.chromium.org/405503002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@283845 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-17 20:07:06 +00:00
agl@chromium.org b5f01ab780 Switch to BoringSSL.
(This is a reland of r283542 which was reverted in r283591 because it
broke the WebView build. The android_aosp trybots are broken[1] so this
based on hope.)

This is a much larger change than its diff suggests. If it breaks
something, please revert first and ask questions later.

[1] http://code.google.com/p/chromium/issues/detail?id=394597

BUG=none

Review URL: https://codereview.chromium.org/399993002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@283813 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-17 17:59:10 +00:00
agl@chromium.org 2262a64219 Revert "Switch to BoringSSL."
This reverts commit 283542.

This broke the WebView Android build.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@283591 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-17 00:20:36 +00:00
agl@chromium.org b2a83e0eed Switch to BoringSSL.
(This is a much larger change than its diff suggests. If it breaks something, please revert first and ask questions later.)

R=davidben@chromium.org, eroman@chromium.org, rsleevi@chromium.org

Review URL: https://codereview.chromium.org/345063006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@283542 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-16 22:15:31 +00:00
brettw@chromium.org f51c6750e4 Move GN speechd target to third_party.
The //build directory in GN shouldn't refer to anything outside of itself so that non-Chrome projects can copy it and re-use the build configuration. speechd relies on third_party/speech-dispatcher. This patch just moves the loader to the speech-dispatcher target, which makes more sense anyway.

TBR=grunell@chromium.org

Review URL: https://codereview.chromium.org/377403002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@282138 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-09 22:11:47 +00:00
bratell@opera.com d60afc0a86 gyp performance: Load detect_host_arch directly.
We ran "python detect_host_arch.py" ~15 times from gyp. Run
detect_host_arch.py directly from from within gyp for faster execution
and since the path is no longer part of the command, the result will
also be cached more often.

The total gain is at best 0.3 seconds. For most people it will be less.

BUG=362075

Review URL: https://codereview.chromium.org/256303003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@275361 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-06 09:56:44 +00:00
phajdan.jr@chromium.org 6a12cb217c Fix build with system harfbuzz
This is upstreaming Gentoo Linux patch

BUG=none
R=thestig@chromium.org

Review URL: https://codereview.chromium.org/312143002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@275094 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-05 14:25:15 +00:00
thestig@chromium.org bcd99aed29 Linux: Remove unused gcrypt gyp code.
BUG=369973

Review URL: https://codereview.chromium.org/301353009

git-svn-id: http://src.chromium.org/svn/trunk/src/build@274892 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-04 20:15:26 +00:00
dnicoara@chromium.org a1c7689d24 GBM Ozone implementation
Adding an accelerated platform for the X11-less build. This uses GBM (EGL_MESA_platform_gbm) as the backing Mesa platform.

BUG=377497

Review URL: https://codereview.chromium.org/106633002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@273509 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-29 17:22:50 +00:00
vapier@chromium.org ddff03807e do not require xscrnsaver on CrOS
We don't use this library in CrOS builds, so do not require it.

BUG=chromium:221522
TEST=`cbuildbot amd64-generic-tot-chrome-pfq-informational` works

Review URL: https://codereview.chromium.org/244403002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@273317 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-28 19:23:39 +00:00
plundblad@chromium.org 4f455ffe8b Support standard keyboard keys emulated by the braille drivers.
This plumbs through keys like backspace and enter and arrow keys.
It also provides Unicode characters for displays with query keyboards etc.

BUG=310285
R=dtseng@chromium.org, kalman@chromium.org

Review URL: https://codereview.chromium.org/297833015

git-svn-id: http://src.chromium.org/svn/trunk/src/build@273171 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-28 06:04:28 +00:00
vapier@chromium.org 56c175b3e1 pkg-config-wrapper: use system_libdir for libpath
We already have a variable for tracking the system libdir name in the
gyp files, so let's use that instead of hardcoding the logic based on
the arch.

BUG=chromium:219015
TEST=`cbuildbot amd64-generic-tot-chrome-pfq-informational` works

Review URL: https://codereview.chromium.org/244593002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@272792 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-26 04:37:43 +00:00
vrk@chromium.org 8629aa81b0 Revert 270471 "ozone: Add egltest platform"
Speculative revert because we think this might have caused Mac Build bot
failure "gyp: Call to 'python ../../../build/mac/find_sdk.py 10.6' returned exit status -9."

> ozone: Add egltest platform
> 
> This supports testing rendering using EGL. Creation of the
> EGLNativeWindowType is punted to a separate library, which has an
> interface defined in eglplatform_shim.h.
> 
> TEST=content_shell --ozone-platform=egltest --ignore-gpu-blacklist
> BUG=none
> NOTRY=true
> 
> Review URL: https://codereview.chromium.org/288603002

TBR=spang@chromium.org

Review URL: https://codereview.chromium.org/288013002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270474 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-14 21:24:18 +00:00
spang@chromium.org 2041779ec4 ozone: Add egltest platform
This supports testing rendering using EGL. Creation of the
EGLNativeWindowType is punted to a separate library, which has an
interface defined in eglplatform_shim.h.

TEST=content_shell --ozone-platform=egltest --ignore-gpu-blacklist
BUG=none
NOTRY=true

Review URL: https://codereview.chromium.org/288603002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@270471 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-14 20:58:10 +00:00
sadrul@chromium.org a19205359e x11: Split the gfx_x11 target into its own gyp file.
Add a gfx_x11.gyp in //ui/gfx/x/ and define the gfx_x11 target in there,
instead of defining it conditionally in //ui/gfx/gfx.gyp. This allows
including this code from particular components even when X11 is turned
off.

BUG=361137
R=piman@chromium.org, sky@chromium.org

Review URL: https://codereview.chromium.org/275273002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269804 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-12 17:31:44 +00:00
joone.hur@intel.com c3f2f465c9 Do not check GTK+ dependencies when use_ozone is defined.
glib is not included in ozone platform:
https://codereview.chromium.org/249583003

Therefore, we do not need to check GTK+ dependencies when use_ozone is defined.

BUG=None

Review URL: https://codereview.chromium.org/272743002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@269373 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-09 18:04:47 +00:00
thestig@chromium.org f6eb5517d2 Cleanup: Remove python_arch.sh that was used for pyauto.
BUG=224072

Review URL: https://codereview.chromium.org/251733006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@266823 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-29 10:12:09 +00:00
spang@chromium.org c1bf9d5d73 ozone: evdev: Add libgestures bindings for touchpad & mouse support
The gestures library converts kernel input events into gestures. This
currently happens inside X11 in the xf86-input-cmt driver, but without
X11 we have to do use it from EventFactoryEvdev

BUG=351168

Review URL: https://codereview.chromium.org/193813003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@264273 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-16 19:04:30 +00:00
sbc@chromium.org 7da79251ef Update ARM sysroot image.
This new image include libexif and a few security fixes
from Ubuntu.

Also, cleanup the downloading code so it fails nicely.

R=thestig@chromium.org

Review URL: https://codereview.chromium.org/239113004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@263896 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-15 17:08:10 +00:00
maruel@chromium.org 90cc8f9c0b Get rid of all component builds specific .isolate.
The status quo was unmaintainable.  These 'component build specific .isolate
files' are superseeded by tools/isolate_driver.py which packages dynamic
libraries automatically.

The new way is much more sane and dynamic, isolate_driver.py is currently very
crude but 'does the job', the expected way to make it work is to read the .ninja
files to extract all the dynamic libraries marked as a dependency to the main
target being executed.

TBR=csharp@chromium.org
BUG=333473

Review URL: https://codereview.chromium.org/226123004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@261871 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-04 21:06:46 +00:00
hidehiko@chromium.org baceec9f02 Fix linker warning on build with target_arch=ia32.
Since r257419, linker warning starts to cause the build failure.
This CL is fixing some linker warnings on cross compilation build so that build with target_arch=ia32 option works properly.
Here are the error logs:

/usr/bin/ld: skipping incompatible /lib/x86_64-linux-gnu/libgcrypt.so when searching for -lgcrypt
/usr/bin/ld: skipping incompatible /lib/x86_64-linux-gnu/libgcrypt.a when searching for -lgcrypt
/usr/bin/ld: skipping incompatible /lib/x86_64-linux-gnu/libcap.so when searching for -lcap
/usr/bin/ld: skipping incompatible /lib/x86_64-linux-gnu/libcap.a when searching for -lcap
/usr/bin/ld: warning: libgnutls.so.26, needed by /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib32/libcups.so, may conflict with libgnutls.so.28



BUG=n/a
TEST=build with GYP_DEFINES=target_arch=ia32, run trybot.

Review URL: https://codereview.chromium.org/202633008

git-svn-id: http://src.chromium.org/svn/trunk/src/build@259463 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-26 04:00:08 +00:00
glider@chromium.org d566d40a15 Remove the unnecessary <(chroot_cmd) prefix from the libgcrypt-config-wrapper
invocation.

TBR=piman@chromium.org
BUG=355496

Review URL: https://codereview.chromium.org/209443004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258924 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-24 13:56:26 +00:00
petarj@mips.com 4a696a75a6 linux: use correct libgcrypt-config paths when cross-compiling
Add a wrapper around libgcrypt-config to generate correct include and
library paths when cross-compiling using a sysroot.

BUG= Linux build with sysroot will fail
TEST= Build Linux Chromium for MIPS

Review URL: https://codereview.chromium.org/204553003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@258293 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-20 14:53:25 +00:00
kalyan.kondapally@intel.com 81f0797a24 Hide X11 dependencies when use_x11=0.
When using a non X11 build with Ozone, we still have dependencies on
X11. This patch tries to hide X11 and related dependencies when
use_x11=0

Review URL: https://codereview.chromium.org/148643002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251981 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-19 07:53:43 +00:00
glider@chromium.org b24c70f315 Fix sysroot_ld_path.sh to correctly process the included configs.
The $included_files var contains a list of paths relative to the sysroot.
However calling `ls $included_files` gives us a list of paths relative to the host system root, which is obviously wrong. We need to do `ls $root$included_files` instead.

BUG=324207
R=thestig@chromium.org
CC=sl.ostapenko@samsung.com

Review URL: https://codereview.chromium.org/163103003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251356 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-14 17:03:20 +00:00
glider@chromium.org 43f7a49bbc Introduce the chroot_cmd flag that contains the command line prefix for running in a chrooted environment.
Right now when supplying a 32-bit sysroot via the 'sysroot' GYP flag on a 64-bit host arch,
pkg-config (and pkg-config-wrapper) fail to generate the correct 32-bit paths within that sysroot.
The solution is to chroot into that directory and run pkg-config from there.
This is intended to work with schroot scripts like 'precise32' generated when running build/install-chroot.sh

BUG=324207
R=piman@chromium.org

Review URL: https://codereview.chromium.org/163583003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@251353 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-14 16:58:45 +00:00
jamesr@chromium.org ec268bba7e Fix interactive_ui_tests dependency on xtst
chrome/browser/extensions/extension_commands_global_registry_apitest.cc,
which is linked into interactive_ui_tests, uses some functions from libXtst
and thus should declare a dependency on xtst. The only other file that uses
the XTest.h header is in remoting, which declares an xtst dependency already.
This lets us drop the dependency from glib on xtst since most targets don't need
it.

R=phajdan.jr
BUG=339518

Review URL: https://codereview.chromium.org/153893011

git-svn-id: http://src.chromium.org/svn/trunk/src/build@250585 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-12 01:00:40 +00:00
elan.ruusamae@gmail.com 3b20ef5191 add system libXNVCtrl library support in linux unbundle
originally developed here:
ea20959146/system-libxnvctrl.patch

reviewed by phajdan.jr in private mail exchange

R=phajdan.jr@chromium.org
BUG=

Review URL: https://codereview.chromium.org/120533002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@250495 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-11 20:53:42 +00:00
jamesr@chromium.org 6d835b51bb Clean up dependencies on X11 libraries
This converts the remaining targets that depend on X11 libraries over to
depending on targets from build/linux/system.gyp instead of adding the
libraries manually to the link line. This ensures that the link line is
generated with pkg-config and makes the dependencies a bit tighter by
getting rid of the all_dependent_settings entry in ui/ui.gyp

BUG=339518

Review URL: https://codereview.chromium.org/151713003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@250311 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-11 03:38:06 +00:00
maruel@chromium.org 9d9517f362 Make net_unittests_run work with component=shared_library.
Specifically, this adds support to run net_unittests isolated via 'isolate.py
run' when built with component build.

R=vadimsh@chromium.org,brettw@chromium.org,rsleevi@chromium.org
BUG=336439

Review URL: https://codereview.chromium.org/134003004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@249150 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-05 23:33:48 +00:00
jamesr@chromium.org ef5711a1e9 Use gyp targets to link in X11 libraries instead of setting -lXfoo
This sets up gyp targets for the various X11 libraries we use and uses
pkg-config to determine the correct cflags/ldflags incantations to use to
link against them instead of listing out -lXfoo lines in libraries sections
in gyp targets throughout the tree.  This is more likely to generate the right
lines and makes the dependencies a bit more explicit.

BUG=339518

Review URL: https://codereview.chromium.org/153223002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@248939 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-05 09:09:30 +00:00
phajdan.jr@chromium.org e42f6ca6fd Make gyp autodetection of host_arch work for 64-bit kernel and 32-bit userland
Before it would get confused and detect above situation as 64-bit, leading to build
failures. So far we've used explicit target_arch in buildbot configuration
as a workaround, but with recipes for simplicity it'd be better
if no such workaround was needed.

BUG=none
R=maruel@google.com

Review URL: https://codereview.chromium.org/151143002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@248214 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-31 17:23:56 +00:00
rsleevi@chromium.org 284d85414c Remove use_system_ssl GYP flag
It's no longer supported. Packagers that wish to replace how Chromium
packages/uses NSS should add support via src/build/linux/unbundle

BUG=336511
R=phajdan.jr, brettw

Review URL: https://codereview.chromium.org/139743009

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246272 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-22 10:25:52 +00:00
maruel@chromium.org e9ef7cfab3 Add support for component=shared_library for base_unittests_run.
Specifically, this adds support to run base_unittests isolated
via 'isolate.py run' when built with component build.

This requires rolling icu @ 246118 to get the new icu.isolate.

R=thakis@chromium.org,jshin@chromium.org,frankf@chromium.org,rsleevi@chromium.org
BUG=336439

Review URL: https://codereview.chromium.org/132233030

git-svn-id: http://src.chromium.org/svn/trunk/src/build@246247 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-22 09:05:59 +00:00
hinoka@google.com 49170df9a0 Add eu-strips sha1
BUG=335451
NOTRY=true
R=iannucci@chromium.org, phajdan.jr@chromium.org

Review URL: https://codereview.chromium.org/136473016

git-svn-id: http://src.chromium.org/svn/trunk/src/build@245708 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-18 01:44:04 +00:00
vapier@chromium.org f84d755521 python_arch: return "unknown" when file does not exist
The `file` program follows POSIX as outlined here:
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/file.html

Specifically, this part causes troubles:
If the file named by the file operand does not exist, cannot be read, or
the type of the file named by the file operand cannot be determined, this
shall not be considered an error that affects the exit status.

With older versions of `file` (that does not conform to POSIX), this
script will exit 0 with "unknown" as its output when "$1" does not exist.
But with recent releases (that conform to POSIX), this script will exit 1
and can break the build.

Have the script explicitly check for the existence of $1 and if it does
not exist, then runt he unknown logic like normal.

BUG=chromium:332547
TEST=ran python_arch.sh on bogus files with new & old `file` programs

Review URL: https://codereview.chromium.org/137433002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@244778 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-14 18:52:34 +00:00
spang@chromium.org e3e6e06769 Use third_party/fontconfig for embedded builds
This uses the in-tree version when embedded==1.

BUG=318315

Review URL: https://codereview.chromium.org/126753003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@244583 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-13 21:27:42 +00:00
jiayl@chromium.org 5a58a9243f Remove the base.gyp dependency from system.gyp
The dependency is unnecessary and causes build error in the standalone webrtc project due to missing base.gyp when SCTP is enabled (it depends on usrsctp.gyp, which depends on system.gyp). All system.typ needs from base.gyp is the "include_dirs" pointing to ".." relative to "base". So we can remove the dependency on base.gyp and add "include_dirs":["../.."] instead.

BUG=

Review URL: https://codereview.chromium.org/128933005

git-svn-id: http://src.chromium.org/svn/trunk/src/build@243863 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-01-09 12:22:45 +00:00
sbc@chromium.org 40852d3380 Update arm sysroot image used by arm/linux builder.
This brings in the new libpcap2 package which was added
to the build script here:
https://codereview.chromium.org/51323006/

Also, remove support for install armel sysroot now that
all the builders are on armhf.

BUG=312380
R=thestig@chromium.org

Review URL: https://codereview.chromium.org/55233006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@232816 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-04 22:25:24 +00:00
thakis@chromium.org 4cef26f0d7 Remove trailing "." from message lines.
cs.chromium.org has way fewer hits for
    'message'.*\.',?$ file:gyp
than for
    'message'.*[^\.]',?$ file:gyp

so standardize on the latter.

BUG=none
TEST=less ocd when watching build output
NOTRY=true

Review URL: https://codereview.chromium.org/51843002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@232166 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-31 18:08:28 +00:00
jln@chromium.org c4249714a2 Add a libcap target to link against libcap2.
Targets which need to link with -lcap can now depend on libcap.

BUG=312384
NOTRY=true

Review URL: https://codereview.chromium.org/51773002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@231809 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-30 10:38:14 +00:00
sbc@chromium.org 7533be619e Support cross compiling for armhf variant ARM/linux.
armhf (hardware float) is the ubuntu default these 
days so should be used over armel in most cases.
Also, the chromium ARM/linux test hardware is 
running armhf.

This CL does not change the default or remove armel
support. That is left for a future CL.

BUG=308256

Review URL: https://codereview.chromium.org/27197011

git-svn-id: http://src.chromium.org/svn/trunk/src/build@231487 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-29 02:38:46 +00:00
dnicoara@chromium.org 8c004122f4 Reorder dependencies based on target_name.
There were no changes to any dependency or any dependency addition/removal.

BUG=

Review URL: https://codereview.chromium.org/29363008

git-svn-id: http://src.chromium.org/svn/trunk/src/build@230518 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-23 21:42:48 +00:00
dnicoara@chromium.org 0ee49ab584 Enable Ozone software implementation in GYP
Depends on:
 - SoftwareSurfaceFactoryOzone
   - [closed] https://codereview.chromium.org/26849004/
   - [closed] https://codereview.chromium.org/27217009/
 - HardwareDisplayControllerOzone
   - [closed] https://codereview.chromium.org/26538005/
   - [closed] https://codereview.chromium.org/27038004/
 - SoftwareSurfaceOzone
   - [closed] https://codereview.chromium.org/26866006/
   - [closed] https://codereview.chromium.org/26179005/
 - DrmSkBitmapOzone
   - [closed] https://codereview.chromium.org/26290006/

BUG=

Review URL: https://codereview.chromium.org/27764002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@230000 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-22 01:44:05 +00:00
phajdan.jr@chromium.org 05db126cc0 Linux: switch to using pkg-config for unbundled ICU
This was recommended by upstream ICU developer in https://ssl.icu-project.org/trac/ticket/6102
and should avoid issues with contaminated flags in icu-config.

BUG=none
R=thestig@chromium.org

Review URL: https://codereview.chromium.org/26723003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@228979 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-16 21:32:10 +00:00
phajdan.jr@chromium.org 241404d638 Fix build with system ICU when using bundled v8.
BUG=none
R=thestig@chromium.org

Review URL: https://codereview.chromium.org/26408002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@227408 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-08 00:47:05 +00:00
mvanouwerkerk@chromium.org c6086fe3b4 Geolocation: delete GpsLocationProvider and third_party/gpsd/
The GpsLocationProvider is not actually used anywhere, and has most likely bit
rotted after years of no maintenance. It is brittle code written for a
specific version (3.1) of gpsd that is now outdated.

The only Chrome version that had this feature enabled (ChromeOS) makes no use
of it as no hardware was ever shipped that used GPS.

TBR=jam,brettw

Review URL: https://codereview.chromium.org/25752005

git-svn-id: http://src.chromium.org/svn/trunk/src/build@227104 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-04 22:01:55 +00:00
sbc@chromium.org e4280741e0 Update the linux ARM root image.
This brings in precise security updates which fixes the
linux ARM cross build.  The image itself was updated to
include these in the following NaCl CL:

https://codereview.chromium.org/25041003/

BUG=255241
TEST=linux_arm_cross_compile bot
R=bradnelson@google.com

Review URL: https://codereview.chromium.org/25000006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@226019 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-30 18:51:46 +00:00
erg@chromium.org a29c59fdf3 Reland linux_aura: Implement most of DesktopScreenX11.
[[Making changes to '_toolset=="target"' section in system.gyp to fix
cros compiling.]]

The linux_aura port didn't deal with multiple monitors very well because
it was treating the X root window as one big display. When xrandr is
present, get the screen areas from it, and exposes this data back to
chrome.

This patch also factors out the EDID parser than chromeos was using into
a common directory. Like chromeos, we use it to assign stable display
IDs.

BUG=287972
TBR=brettw@chromium.org, derat@chromium.org, sky@chromium.org
First Review URL: https://codereview.chromium.org/23536057

Review URL: https://codereview.chromium.org/24459002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@225254 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-25 21:32:21 +00:00
erg@chromium.org 55b5e5b362 Revert 225054 "linux_aura: Implement most of DesktopScreenX11."
Compiled on linux_chromeos, but doesn't compile in cros.

> linux_aura: Implement most of DesktopScreenX11.
> 
> The linux_aura port didn't deal with multiple monitors very well because
> it was treating the X root window as one big display. When xrandr is
> present, get the screen areas from it, and exposes this data back to
> chrome.
> 
> This patch also factors out the EDID parser than chromeos was using into
> a common directory. Like chromeos, we use it to assign stable display
> IDs.
> 
> BUG=287972
> R=brettw@chromium.org, derat@chromium.org, sky@chromium.org
> 
> Review URL: https://codereview.chromium.org/23536057

TBR=erg@chromium.org

Review URL: https://codereview.chromium.org/24365012

git-svn-id: http://src.chromium.org/svn/trunk/src/build@225061 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-24 20:41:10 +00:00
erg@chromium.org 04a8782a9e linux_aura: Implement most of DesktopScreenX11.
The linux_aura port didn't deal with multiple monitors very well because
it was treating the X root window as one big display. When xrandr is
present, get the screen areas from it, and exposes this data back to
chrome.

This patch also factors out the EDID parser than chromeos was using into
a common directory. Like chromeos, we use it to assign stable display
IDs.

BUG=287972
R=brettw@chromium.org, derat@chromium.org, sky@chromium.org

Review URL: https://codereview.chromium.org/23536057

git-svn-id: http://src.chromium.org/svn/trunk/src/build@225054 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-24 19:53:04 +00:00
plundblad@chromium.org 587a14ed22 Implement chrome.brailleDisplayPrivate API for ChromeOS
This implementation uses libbrlapi, part of brltty. It is disabled by default and can be enabled by the use_brlapi gyp define when building.



BUG=178559

Review URL: https://chromiumcodereview.appspot.com/13355002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@222492 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-11 11:48:22 +00:00
phajdan.jr@chromium.org 25c00602b1 Linux: add script to remove bundled libraries.
BUG=none
R=thestig@chromium.org

Review URL: https://codereview.chromium.org/23037005

git-svn-id: http://src.chromium.org/svn/trunk/src/build@218816 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-21 20:17:42 +00:00
phajdan.jr@chromium.org 495d0f6bcb Linux: untangle circular dependencies between .gyp files.
Not enabling the check yet because ChromeOS still has cycles.

BUG=35878
R=mark@chromium.org

Review URL: https://codereview.chromium.org/22825011

git-svn-id: http://src.chromium.org/svn/trunk/src/build@218334 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-19 22:04:53 +00:00
phajdan.jr@chromium.org fb8725f2d6 Add an unbundled openssl.gyp file.
BUG=none
R=thestig@chromium.org

Review URL: https://codereview.chromium.org/23126002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@217339 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-13 21:16:21 +00:00
phajdan.jr@chromium.org 1a1a93bb74 Remove bundled gsettings header now that we're using Ubuntu Precise.
BUG=162733
R=thestig@chromium.org

Review URL: https://codereview.chromium.org/21687002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@215329 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-02 18:41:33 +00:00
phajdan.jr@chromium.org 9faa27a528 Linux: fix build with system icu.
BUG=none
R=rsleevi@chromium.org

Review URL: https://codereview.chromium.org/21401004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@214928 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-01 02:45:06 +00:00
derat@chromium.org 55058bd2b5 Revert r214000 to reland r213996.
This adds a g_type_init() call to the beginning of the test,
apparently needed for GLib version earlier than 2.36.

Original change:
linux: Avoid leak in PlatformFontPangoTest.FamilyList.

Call FcFini() at the end of the test to prevent FontConfig
from leaking memory.

BUG=114750
TBR=sky@chromium.org,behdad@chromium.org

Review URL: https://chromiumcodereview.appspot.com/20910002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@214638 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-31 08:32:00 +00:00
sl.ostapenko@samsung.com 395cb1cd18 Fix "No such file or directory" error in sysroot_ld_path.sh if ld.so.conf include pattern doesn't match any file.
Sometimes ld.so.conf has pattern include like "include ld.so.conf.d/*.conf",
but there is no files that match pattern. In this case "for" loop in process_ld_so_conf
function fails with error "No such file or directory".
This patch uses "ls" to check that pattern matches at least one file.

BUG=none

Review URL: https://chromiumcodereview.appspot.com/19044004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@214230 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-29 21:51:23 +00:00
mallinath@chromium.org 3d51ffebeb Revert 213996 "linux: Avoid leak in PlatformFontPangoTest.Family..."
More details @ http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%281%29/builds/29992/steps/ui_unittests/logs/stdio

> linux: Avoid leak in PlatformFontPangoTest.FamilyList.
> 
> Call FcFini() at the end of the test to prevent FontConfig
> from leaking memory.
> 
> BUG=114750
> TBR=sky@chromium.org
> 
> Review URL: https://chromiumcodereview.appspot.com/19695014

TBR=derat@chromium.org

Review URL: https://codereview.chromium.org/20865002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@214000 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-26 23:30:47 +00:00
derat@chromium.org 3f80aec1c8 linux: Avoid leak in PlatformFontPangoTest.FamilyList.
Call FcFini() at the end of the test to prevent FontConfig
from leaking memory.

BUG=114750
TBR=sky@chromium.org

Review URL: https://chromiumcodereview.appspot.com/19695014

git-svn-id: http://src.chromium.org/svn/trunk/src/build@213996 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-26 22:54:02 +00:00
phajdan.jr@chromium.org 7a777546a4 Fix build with system V8.
This updates gypi includes to match updated upstream v8.gyp.
common.gypi has been split and no longer exists.

BUG=none
R=thestig@chromium.org

Review URL: https://codereview.chromium.org/20397002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@213731 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-26 00:38:14 +00:00
jshin@chromium.org 4079645a6c Replace third_party/icu/public with third_party/icu/source in the include directives.
This is to move back icu headers in
third_party/icu/public/{i18n,common}/unicode back to their upstream
locations in third_party/icu/source/{i18n,common}/unicode.

http://codereview.chromium.org/18836004 has is a CL to move
ICU header files. 

Roll ICU to the version with the above ICU CL (http://crrev.com/211851 ). 


In addition to the global replacement of third_party/icu/public with third_party/icu/source, the top-level DEPS, DEPS in printing and chrome/ are tightened up. (the latter two were too permissive (it used to allow any header from  third_party/icu).
 
Besides, sync '-foo' list in ios/public/DEPS with '+foo' in the top-level DEPS and build/linux/unbundled/icu.gyp is updated. 

BUG=251433
TEST=Compile succeeds on all bots. checkdeps.py does not find any error.
TBR=brettw,sky,wtc

Review URL: https://chromiumcodereview.appspot.com/18252003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@212324 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-18 11:14:04 +00:00
raphael.kubo.da.costa@intel.com b7ba0f1901 Use `file --dereference' instead of `readlink -f' + `file'.
`readlink -f' is not standard and may not be present on all systems (such as
some BSDs).

Instead of the readlink+file combo, just ask file(1) to dereference the file
it is given.

R=mark@chromium.org

Review URL: https://codereview.chromium.org/19221002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@211783 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-16 11:49:19 +00:00
thakis@chromium.org 51ba15ad81 roll clang 182481:184830
New stuff:
- can parse gcc 4.7+ headers in gnu++11 mode
- -Wheader-guards
- -Wlogical-not-parentheses
- Fixes http://llvm.org/PR15998

This is also the first time these binaries were built on precise (and as a
consequence won't run on lucid).

BUG=255201
R=hans@chromium.org

Review URL: https://codereview.chromium.org/18124002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209703 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-02 15:13:24 +00:00
thestig@chromium.org ad09b4d085 Linux: Call the install-debian-sysroot scripts directly instead of via a wrapper, now that the scripts on no longer internal.
BUG=246404

Review URL: https://chromiumcodereview.appspot.com/16507016

git-svn-id: http://src.chromium.org/svn/trunk/src/build@205918 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-12 20:33:54 +00:00
phajdan.jr@chromium.org 2059d6d6a7 Update remaining files after move of Linux installer
to the public repo.

BUG=246404
R=thestig@chromium.org

Review URL: https://codereview.chromium.org/16488006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@204351 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-05 23:07:43 +00:00
phajdan.jr@chromium.org 7580a99947 Fix build with harfbuzz-0.9.18
See https://bugs.gentoo.org/show_bug.cgi?id=472416 .

BUG=none
R=thestig@chromium.org

Review URL: https://codereview.chromium.org/16172008

git-svn-id: http://src.chromium.org/svn/trunk/src/build@204345 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-05 21:40:43 +00:00
dmazzoni@chromium.org cd535bb37b Add Pause and Resume to Web TTS & Extension TTS APIs
The web speech spec already includes pause and resume, this
completes the implementation. For parity, this change also adds
support for Pause and Resume to Chrome's TTS extension API
and TTS Engine extension APIs.

BUG=171887

Review URL: https://chromiumcodereview.appspot.com/15108002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@203146 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-30 15:17:21 +00:00
dtseng@chromium.org 049c9608c5 Support multiple voices for all available modules (text-to-speech engines) on Linux.
This adds appropriate calls to retrieve voices from SpeechDispatcher and make it available through Chrome.

We combine all voices across all available modules into one list in order to conform to the way Chrome exposes voices.

Review URL: https://chromiumcodereview.appspot.com/15846006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@202665 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-28 22:08:43 +00:00
phajdan.jr@chromium.org eed008b7b4 Linux: make it possible to undo changes made by replace_gyp_files.py
See https://groups.google.com/a/chromium.org/d/msg/chromium-packagers/X1Q6P60JZHM/uol7IsRv0-oJ
for more info.

BUG=none
R=maruel@chromium.org

Review URL: https://codereview.chromium.org/16121002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@202616 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-28 18:54:27 +00:00
phajdan.jr@chromium.org 97bffd2336 Linux: remove unmaintained SELinux code.
See https://groups.google.com/a/chromium.org/d/msg/chromium-dev/YpU7t2XaGRg/V9-diQZQQDwJ
for discussion.

BUG=none
R=agl@chromium.org, jln@chromium.org

Review URL: https://codereview.chromium.org/14771026

git-svn-id: http://src.chromium.org/svn/trunk/src/build@200838 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-17 17:22:14 +00:00
thestig@chromium.org 802e3ca872 Remove bzip2 code since it is no longer being used.
BUG=237998
TBR=tommi

Review URL: https://chromiumcodereview.appspot.com/14863012

git-svn-id: http://src.chromium.org/svn/trunk/src/build@200116 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-15 00:13:57 +00:00
thestig@chromium.org 0e139576fc Small cleanup in build/linux/install-arm-sysroot.py and fix a typo in DEPS.
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/14647004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@199337 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-10 02:32:19 +00:00
thestig@chromium.org a468e22d44 Update documentation in wrapper script to match the changed behavior in install-debian.wheezy.sysroot.py
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/15001024

git-svn-id: http://src.chromium.org/svn/trunk/src/build@199321 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-10 01:01:28 +00:00
phajdan.jr@chromium.org d11e1feb0b Fix and simplify unbundled v8.gyp:
- use shim_headers.gypi instead of expanding it inline
- enable host and target toolsets unconditionally, they're needed
  as deps (and make no difference anyway)

BUG=226860
R=rsleevi@chromium.org

Review URL: https://codereview.chromium.org/14646033

git-svn-id: http://src.chromium.org/svn/trunk/src/build@199063 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-09 00:02:35 +00:00
phajdan.jr@chromium.org 8256b43a0c Miscellaneous fixes for system libraries files:
- fix icu namespace ambiguity
- fix undeclared variable in libvpx.gyp file
- add gyp target for chromium zip code in the third_party directory

BUG=226860
R=rsleevi@chromium.org

Review URL: https://codereview.chromium.org/15073003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@199050 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-08 23:31:45 +00:00
thestig@chromium.org 4d80a0eaba Convert build/linux/install-debian.wheezy.sysroot.wrapper.sh to python for Windows compatibility.
BUG=224487
TBR=dbeam

Review URL: https://codereview.chromium.org/15059002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@198859 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-08 07:51:02 +00:00
thestig@chromium.org 5e9becdd89 Use a sysroot for Chrome Linux official builds. (try 2)
BUG=224487
R=mmoss@google.com

Review URL: https://codereview.chromium.org/15030002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@198856 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-08 07:20:09 +00:00
thestig@chromium.org 7b7f776f5a Linux: Change dump_app_syms script to pass -r to dump_syms. This option was added in Breakpad r1163.
BUG=230995
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/14188058

git-svn-id: http://src.chromium.org/svn/trunk/src/build@198800 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-07 21:25:03 +00:00
phajdan.jr@chromium.org 4aa102fb70 Remove use_system_ffmpeg-related logic from media and other mainline gyp files.
BUG=226860
R=fischman@chromium.org

Review URL: https://codereview.chromium.org/14659007

git-svn-id: http://src.chromium.org/svn/trunk/src/build@198746 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-07 16:59:00 +00:00
phajdan.jr@chromium.org 161e8f24f4 Add an unbundled ffmpeg.gyp file.
BUG=226860
R=thestig@chromium.org

Review URL: https://codereview.chromium.org/14746004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@198200 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-03 21:46:19 +00:00
phajdan.jr@chromium.org 8ee5279ef8 Add support for system snappy.
BUG=none
R=thestig@chromium.org

Review URL: https://codereview.chromium.org/14652024

git-svn-id: http://src.chromium.org/svn/trunk/src/build@198188 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-03 21:43:02 +00:00
phajdan.jr@chromium.org 920fb6f97a Add build/linux/unbundle files for projects in separate repos.
The removal of use_system_foo logic from the original
gyp files will follow.

BUG=226860
R=rsleevi@chromium.org

Review URL: https://codereview.chromium.org/14708005

git-svn-id: http://src.chromium.org/svn/trunk/src/build@197927 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-05-02 16:30:00 +00:00
phajdan.jr@chromium.org b08cd25537 [components] Switch {RefCounted}ProfileKeyedService to use BrowserContext
instead of Profile. This will help move it out of chrome.

BUG=227219

Review URL: https://codereview.chromium.org/14141006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@196777 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-04-26 18:09:02 +00:00
phajdan.jr@chromium.org a1d69e06dd Extract use_system_foo logic out of gyp files, patch 2
This removes use_system_foo logic completely from:
 * jsoncpp.gyp
 * libevent.gyp
 * libpng.gyp
 * libusb.gyp
 * libwebp.gyp
 * opus.gyp
 * re2.gyp
 * zlib.gyp

R=rsleevi
TBR=darin

BUG=226860

Review URL: https://codereview.chromium.org/14203006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@196551 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-04-26 00:20:29 +00:00
phajdan.jr@chromium.org 5620fc9b58 Linux: move use_system_harfbuzz logic out of the main file.
BUG=226860

Review URL: https://codereview.chromium.org/13732002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@195590 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-04-22 21:06:42 +00:00
raphael.kubo.da.costa@intel.com bb8591e13e Make the build work with speech-dispatcher >= 0.8.
speech-dispatcher 0.8 has changed the location where the libspeechd.h header
file is installed, and users are expected to reference it from the top-level
directory, ie.

  #include <speech-dispatcher/libspeechd.h>

Version 0.8 also installs a .pc pkg-config file.

Since speech-dispatcher 0.7 is still very widespread, we cannot assume this new
structure and .pc file are always available, so resort to adding the
"speech-dispatcher/" prefix to the #include based on whether `pkg-config
--exists' does not fail.

Arguably, we should also start calling `pkg-config --{cflags,libs-only-l,etc}',
but not having the .pc file always available would make the changes more
complicated. Since everything has worked so far without that, keeping the
status quo for now should be fine.

BUG=
TEST=Build with speech-dispatcher >= 0.8 installed.

Review URL: https://chromiumcodereview.appspot.com/14296005

git-svn-id: http://src.chromium.org/svn/trunk/src/build@195204 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-04-19 15:16:06 +00:00
thestig@chromium.org 25e58180d3 Fix a missing redirect to /dev/null in build/linux/sysroot_ld_path.sh.
BUG=none
TEST=Linux ARM Cross Compile works.
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/12578028

git-svn-id: http://src.chromium.org/svn/trunk/src/build@189921 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-03-22 22:10:15 +00:00
thestig@chromium.org c741917e94 Add library paths and rlink-paths for directories in the sysroot. (try 2)
TEST=Cross compiling with ld.bfd works.
Review URL: https://codereview.chromium.org/12941005

git-svn-id: http://src.chromium.org/svn/trunk/src/build@189765 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-03-22 05:26:15 +00:00
wjia@chromium.org a82269cce7 Revert 188895 "Add library paths and rlink-paths for directories..."
It broke ChromeOS (http://build.chromium.org/p/chromium.chromiumos/builders/ChromiumOS%20%28amd64%29/builds/7235/steps/BuildTarget/logs/stdio)

> Add library paths and rlink-paths for directories in the sysroot.
> 
> NOTRY=true
> TEST=Cross compiling with ld.bfd works.
> 
> Review URL: https://chromiumcodereview.appspot.com/12674012

TBR=thestig@chromium.org
Review URL: https://codereview.chromium.org/12700030

git-svn-id: http://src.chromium.org/svn/trunk/src/build@188904 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-03-19 01:39:56 +00:00
thestig@chromium.org d5bfc6c460 Add library paths and rlink-paths for directories in the sysroot.
NOTRY=true
TEST=Cross compiling with ld.bfd works.

Review URL: https://chromiumcodereview.appspot.com/12674012

git-svn-id: http://src.chromium.org/svn/trunk/src/build@188895 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-03-19 00:52:16 +00:00
sbc@chromium.org 04c56f0cc3 Roll sysroot used by linux ARM cross build.
This brings in the new libpulse build dependency
which should fix the ARM FYI builder.

BUG=191451
NOTRY=true


Review URL: https://chromiumcodereview.appspot.com/12545039

git-svn-id: http://src.chromium.org/svn/trunk/src/build@188162 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-03-14 19:53:44 +00:00
sadrul@chromium.org 098a562e3d x11: Include X11 dependencies only when building with X11.
BUG=none

Review URL: https://codereview.chromium.org/12563002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@186816 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-03-07 23:23:21 +00:00
sschmitz@chromium.org f7fe703f61 Wrong file/dir owner and permission for installed Chrome OS fonts
The install script sets owner to root and adjust dir/file permissions to 0755 and 0644 respectively.

BUG=178612
TEST=manual; inspect dir/file owner and permissions in
/usr/local/share/fonts/chromeos.


Review URL: https://chromiumcodereview.appspot.com/12314144

git-svn-id: http://src.chromium.org/svn/trunk/src/build@184986 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-27 18:03:23 +00:00
mostynb@opera.com f5eca3cd1e if PKG_CONFIG_PATH is already set, pkg-config-wrapper should use these dirs too
If PKG_CONFIG_PATH is set, then prepend these paths to those generated
by the wrapper.  This allows cross-compilation using sysroots with pkgconfig
directories in non-standard locations.

This change is safer than the original patch (https://codereview.chromium.org/12320047/), which was reverted (https://codereview.chromium.org/12317063/) due to what appears to be a chromeos builder with PKG_CONFIG_PATH set to an incomplete value (should probably be unset).

Add Opera Software to the AUTHORS file


BUG=


Review URL: https://chromiumcodereview.appspot.com/12340023

git-svn-id: http://src.chromium.org/svn/trunk/src/build@184184 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-22 21:45:47 +00:00
calvinlo@chromium.org 5d9a8a9aca Revert 183957
> pkg-config-wrapper shouldn't clobber PKG_CONFIG_PATH if it is already set
> 
> This allows cross-compilation using sysroots with pkgconfig directories in
> non-standard locations.
> 
> Add Opera Software to the AUTHORS file
> 
> 
> BUG=
> 
> 
> Review URL: https://chromiumcodereview.appspot.com/12320047

TBR=mostynb@opera.com
Review URL: https://codereview.chromium.org/12317063

git-svn-id: http://src.chromium.org/svn/trunk/src/build@184008 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-22 03:57:43 +00:00
sschmitz@chromium.org 4dcb5c4e95 Installing ChromeOS font on developer Linux machine
Added call to a new script in:
build/install-build-deps.sh 
to download and install the ChromeOS default font
(Noto Sans UI). The installation is in:
/usr/local/share/fonts.
ChromeOS on Linux will use the font if present.
The installation creates (or recreates) a subdir:
"chromeos". In it it creates a .stamp file which is used
to avoid re-installation if it is already up to date.
It also creates a README file.

BUG=148945
TEST=manual;
One way to test is to instrument the file:
src/ui/gfx/platform_font_pango.cc
to log default_font_->GetFontName(); in ctor
PlatformFontPango::PlatformFontPango()
Expect:
W/out font installation: DejaVu Sans
With font installation: Noto Sans UI



Review URL: https://chromiumcodereview.appspot.com/12313039

git-svn-id: http://src.chromium.org/svn/trunk/src/build@184006 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-22 03:49:20 +00:00
mostynb@opera.com a99a7a7297 pkg-config-wrapper shouldn't clobber PKG_CONFIG_PATH if it is already set
This allows cross-compilation using sysroots with pkgconfig directories in
non-standard locations.

Add Opera Software to the AUTHORS file


BUG=


Review URL: https://chromiumcodereview.appspot.com/12320047

git-svn-id: http://src.chromium.org/svn/trunk/src/build@183957 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-22 01:16:40 +00:00
nona@chromium.org f418f37e3a Remove use_ibus variable from gyp file.
We can remove use_ibus flag because the ibus dependency was gone.

BUG=None
TEST=try bots


Review URL: https://chromiumcodereview.appspot.com/11896029

git-svn-id: http://src.chromium.org/svn/trunk/src/build@178568 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-01-24 14:43:36 +00:00
petarj@mips.com c33ef873ca [MIPS] Let python_arch script recognize MIPS arch.
The script has to be aware of MIPS arch, so it can figure out that the libary
is for MIPS.

BUG= https://code.google.com/p/chromium/issues/detail?id=130022
TEST=make chrome


Review URL: https://chromiumcodereview.appspot.com/11819009

git-svn-id: http://src.chromium.org/svn/trunk/src/build@175689 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-01-09 03:13:27 +00:00
sbc@chromium.org cff97432ae Bump ARM root image.
This latest image is needed to pull in the libspeechd-dev
package.


BUG=http://code.google.com/p/chromium/issues/detail?id=167969

Review URL: https://chromiumcodereview.appspot.com/11743002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@175025 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-01-03 22:16:25 +00:00
phajdan.jr@chromium.org 15ccf5629b Revert "Linux: add library loader for GNOME keyring."
Causes crashes on Ubuntu Lucid.

TBR=brettw

BUG=166913, 162733

Review URL: https://codereview.chromium.org/11647041

git-svn-id: http://src.chromium.org/svn/trunk/src/build@174238 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-20 21:09:33 +00:00
phajdan.jr@chromium.org 85375bdbef Linux: use generated library loader for libgps.
BUG=162733

Review URL: https://codereview.chromium.org/11571036

git-svn-id: http://src.chromium.org/svn/trunk/src/build@173972 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-19 19:22:39 +00:00
phajdan.jr@chromium.org c7855471a3 Linux: use generated library loader for libspeechd.
This is a reland of https://codereview.chromium.org/11415243/
hopefully with a fix for ChromeOS.

TBR=dmazzoni

BUG=162733

Review URL: https://codereview.chromium.org/11615028

git-svn-id: http://src.chromium.org/svn/trunk/src/build@173748 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-18 17:35:12 +00:00
dpapad@chromium.org 4aa952613c Revert 173550
> Linux: use generated library loader for libspeechd.
> 
> This will require an update to build/install-build-deps.sh
> (done in a separate CL as requested by the infra team).
> 
> BUG=162733
> 
> Review URL: https://codereview.chromium.org/11415243

TBR=phajdan.jr@chromium.org
Review URL: https://codereview.chromium.org/11573052

git-svn-id: http://src.chromium.org/svn/trunk/src/build@173561 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-17 22:56:57 +00:00
phajdan.jr@chromium.org 4d2c8b9fca Linux: use generated library loader for libspeechd.
This will require an update to build/install-build-deps.sh
(done in a separate CL as requested by the infra team).

BUG=162733

Review URL: https://codereview.chromium.org/11415243

git-svn-id: http://src.chromium.org/svn/trunk/src/build@173550 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-17 22:10:36 +00:00
sbc@chromium.org 415e55e4d4 Update arm sysroot to include missing package.
The existing sysroot was missing the x11proto-kb-dev package
which is needed to build chrome testing targets.

BUG=159519

Review URL: https://chromiumcodereview.appspot.com/11548006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@172501 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-12 02:22:17 +00:00
sbc@chromium.org 6110a69a9d Download arm sysroot as part of gclient hooks.
install-arm-sysroot.py is now seperated out from
install-build-deps.sh so that it can be invoked
independently by the gclient hooks.

This addresses a couple of different issues with 
configuring the arm buildbots.  Firstly it means
that they will always have an up-to-date arm
sysroot installed.  Secondly, it means the script
is always run as the user (and not as root) which
mean the expanded files that the correct ownership.


BUG=


Review URL: https://chromiumcodereview.appspot.com/11468014

git-svn-id: http://src.chromium.org/svn/trunk/src/build@171990 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-08 21:04:20 +00:00
phajdan.jr@chromium.org 76b0d30c79 Linux: add library loader for GNOME keyring.
BUG=162733

Review URL: https://codereview.chromium.org/11437025

git-svn-id: http://src.chromium.org/svn/trunk/src/build@171573 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-06 20:14:05 +00:00
phajdan.jr@chromium.org 9ecc5f6ac7 Linux: use generated library loader for gsettings.
BUG=162733
TEST=Test proxy settings on a system with GNOME3.

Review URL: https://codereview.chromium.org/11348279

git-svn-id: http://src.chromium.org/svn/trunk/src/build@170544 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-30 21:22:34 +00:00
phajdan.jr@chromium.org 50b75e4919 Linux: create a library loader code generator for dlopen and use it for libpci.
BUG=162733

Review URL: https://codereview.chromium.org/11415138

git-svn-id: http://src.chromium.org/svn/trunk/src/build@170010 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-28 19:08:14 +00:00
tfarina@chromium.org 7e2f5ca539 Remove the dependency to dbus-glib from from the remaining places.
BUG=156018
R=satorux@chromium.org
TBR=jam@chromium.org,ben@chromium.org

Review URL: https://codereview.chromium.org/11235031

git-svn-id: http://src.chromium.org/svn/trunk/src/build@163475 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-23 02:00:41 +00:00
phajdan.jr@chromium.org 97b7cad213 Linux: move dbus-glib target to chromeos-specific section,
to avoid introducing unnecessary build-time dependency
on non-chromeos Linux.

This has been raised as Gentoo bug https://bugs.gentoo.org/show_bug.cgi?id=434346
and I've confirmed the problem and the fix.

TEST=none
BUG=none
Review URL: https://chromiumcodereview.appspot.com/10977036

git-svn-id: http://src.chromium.org/svn/trunk/src/build@158994 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-09-27 07:51:53 +00:00
rb@radix.io ad891be597 gyp: move target 'gdk' into chromeos==0 because we not use gtk/gdk anymore on ChromeOS.
Add myself to the AUTHORS file.

BUG=None
TEST=Compiled

Contributed by Rene Bolldorf <rb@radix.io>

Change-Id: Ic3538eb83b59b42dbbb62d9ebc4c4b2fded67011


Review URL: https://chromiumcodereview.appspot.com/10543119

git-svn-id: http://src.chromium.org/svn/trunk/src/build@142183 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-06-14 18:52:07 +00:00
oshima@chromium.org 89c1c390df Remove WAYLAND port
Also removed skia/ext/canvas_paint_x.h which is not in use.

BUG=none
TEST=none

Review URL: https://chromiumcodereview.appspot.com/10009024

git-svn-id: http://src.chromium.org/svn/trunk/src/build@131219 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-04-07 00:33:04 +00:00
satorux@chromium.org 7f014059c8 gtk: Hide GTK and related dependencies for Chrome OS
so that they won't get added back by accident.

BUG=118943
TEST=confirm chrome builds with chromeos==0 and chromeos==1, as well as in the chroot.

Review URL: https://chromiumcodereview.appspot.com/9965032

git-svn-id: http://src.chromium.org/svn/trunk/src/build@129971 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-30 22:21:37 +00:00
sadrul@chromium.org 9b64c5b8b6 linux: Explicitly include gmodule-2.0 in the list for glib/gtk dependency.
BUG=115799
TEST=bots remain non-grumpy

Review URL: https://chromiumcodereview.appspot.com/9649022

git-svn-id: http://src.chromium.org/svn/trunk/src/build@126148 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-12 16:30:39 +00:00
piman@chromium.org e33fe791f5 Fix pkgconfig wrapper for 64 bits
BUG=none
TEST=build 64-bit version of chrome using 64-bit chromeos sysroot


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@125925 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-03-09 22:52:17 +00:00
robert.nagy@gmail.com 449488103a Exclude platform_data_fetcher_linux.cc on *BSD because of udev specific code
Also disable libudev on *BSD because it's not available.

BUG=
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@116868 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-09 16:27:04 +00:00
scottmg@google.com 7a7ddb4e15 Add gamepad data fetcher for Linux
BUG=79050

Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=116724

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@116752 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-06 22:28:08 +00:00
asvitkine@chromium.org e6a151ef90 Revert 116724 - Add gamepad data fetcher for Linux
Broke ASAN builder:
http://build.chromium.org/p/chromium.memory/builders/ASAN%20Builder/builds/8480/steps/update/logs/stdio

BUG=79050

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

TBR=scottmg@google.com
Review URL: http://codereview.chromium.org/9110039

git-svn-id: http://src.chromium.org/svn/trunk/src/build@116726 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-06 20:34:35 +00:00
scottmg@google.com 87727f57bb Add gamepad data fetcher for Linux
BUG=79050

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@116724 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-01-06 20:25:31 +00:00
agl@chromium.org 19b8874877 net: rename NSS's 'ssl' to 'libssl'
ninja doesn't like there being several targets with the name 'ssl', so I
renamed NSS's 'ssl' target to 'libssl'.

BUG=none
TEST=compiles


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@114656 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-15 17:35:34 +00:00
maruel@chromium.org 628d2696f1 Fix python scripts in src/build/
Make sure that:
- shebang is only present for executable files
- shebang is #!/usr/bin/env python
- __main__ is only present for executable files
- file's executable bit is coherent

Also fix EOF LF to be only one.

TBR=michaelbai@chromium.org
BUG=105108
TEST=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@111385 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-23 19:13:44 +00:00
dcheng@chromium.org 782f61ad0f Reland with a virtual destructor.
Use XFixes to update the clipboard sequence number.

BUG=73478
TEST=manual testing

Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=109528

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@109537 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-10 23:29:11 +00:00
dcheng@chromium.org b8446d2719 Revert 109528 - Use XFixes to update the clipboard sequence number.
BUG=73478
TEST=manual testing

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

TBR=dcheng@chromium.org
Review URL: http://codereview.chromium.org/8524014

git-svn-id: http://src.chromium.org/svn/trunk/src/build@109530 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-10 23:09:46 +00:00
dcheng@chromium.org 29c5f43fff Use XFixes to update the clipboard sequence number.
BUG=73478
TEST=manual testing

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@109528 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-11-10 23:01:51 +00:00
mark@chromium.org 6c8610eb81 OpenBSD patches for base / split from CR #8275005
base/base.gypi:
	- Add native_library_linux.cc to the openbsd build.
	- Add '..' to include_dirs so that OS_* definitions are
	  available in symbolize.cc

base/debug/debugger_posix.cc:
	- Add support for figuring out if the process is being
	  debugged on OpenBSD by sharing some code with Mac.

base/process_util_unittest.cc:
	- Disable the OutOfMemoryTest on OpenBSD

base/third_party/symbolize/symbolize.cc:
	- Include the correct elf header on OpenBSD

build/linux/system.gyp:
	- The dl library is linux only, so only use it there.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@106078 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-18 17:41:07 +00:00
sadrul@chromium.org 3388f09dfe aura: Build aura_builder on linux.
. aura is never built with gtk anymore. So it's not necesary to disable GTK
  events in the message-pump.
. Make sure glib headers are included when building non-gtk aura.
. Update the 'glib' target to include gobject-2.0 and gthread-2.0 packages.

BUG=none
TEST=aura_builder builds on linux with use_aura=1

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@104165 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-05 20:18:06 +00:00
evan@chromium.org 82db340bc5 linux: convert more dependencies to 'settings'
BUG=96629

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102523 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-23 17:36:06 +00:00
evan@chromium.org 4b3b87179a Remove 'settings' type from gyp files
It is not actually supported by gyp; the fact that it works is a bug
that I am working on fixing.

BUG=96629

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102306 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-22 17:59:43 +00:00
sadrul@chromium.org 5f139a3110 aura: Make 'ui' buildable without gtk.
BUG=97131
TEST=ui_unittests links and runs with use_aura=1

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102131 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-21 17:52:54 +00:00
sadrul@chromium.org ef323b60a0 Reland 102005 and 102009: aura: Explicitly disable GTK.
Explicitly disable GTK by setting TOOLKIT_USES_GTK. This is the first in a
series of changes required to have chrome on aura build and link without GTK.
This CL makes base/ build without GTK. Subsequent CLs will do this for other
components.

TBR=evan@chromium.org
BUG=97131
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102058 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-21 00:17:19 +00:00
sky@chromium.org 39c9343ddc Revert 102005 - aura: Explicitly disable GTK.
Explicitly disable GTK by setting TOOLKIT_USES_GTK. This is the first in a series of changes required to have chrome on aura build and link without GTK. This CL makes base/ build without GTK. Subsequent CLs will do this for other components.

BUG=97131
TEST=none

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

TBR=sadrul@chromium.org
Review URL: http://codereview.chromium.org/7978007

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102015 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-20 20:56:51 +00:00
sadrul@chromium.org be2c499b31 aura: Explicitly disable GTK.
Explicitly disable GTK by setting TOOLKIT_USES_GTK. This is the first in a series of changes required to have chrome on aura build and link without GTK. This CL makes base/ build without GTK. Subsequent CLs will do this for other components.

BUG=97131
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@102005 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-20 20:29:52 +00:00
pkasting@chromium.org 36e607a539 Fourth attempt at the following. Unreviewed, this was originally reviewed in http://codereview.chromium.org/7550002 .
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/7903016

git-svn-id: http://src.chromium.org/svn/trunk/src/build@101378 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-09-15 21:17:32 +00:00
rsleevi@chromium.org 25ccdd45b5 Revert 98885 - Third attempt at the following. Unreviewed, this was originally reviewed in http://codereview.chromium.org/7550002 .
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/7804001

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@98917 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-31 02:35:19 +00:00
pkasting@chromium.org 3674287f67 Third attempt at the following. Unreviewed, this was originally reviewed in http://codereview.chromium.org/7550002 .
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/7804001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@98885 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-30 23:38:21 +00:00
stevenjb@google.com a21d3faa46 Add glib to system.gyp for cros static library (load.cc)
An upcoming libcros change adds a header dependency on glib, so we need an entry in system.gyp for cros_api.gyp to reference.

BUG=chromium-os:19576
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@98668 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-29 19:00:32 +00:00
evan@chromium.org 4740dfb7ff linux: clean up include paths for local nss headers
The comment stated that gyp include paths come after cflags, but
that is not true: include paths come before cflags.  Use the gyp
prepend operator just to be extra sure.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@98071 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-24 17:53:58 +00:00