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

211 Коммитов

Автор SHA1 Сообщение Дата
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
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