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

926 Коммитов

Автор SHA1 Сообщение Дата
sgk@chromium.org 01113626ad Convert the existing .gyp configuration to use the new base\allocator
library with upstream source code from the new vendor branch patterns
in third_party\jemalloc and third_party\tcmalloc.
BUG=27911
TEST=none
Review URL: http://codereview.chromium.org/435040

git-svn-id: http://src.chromium.org/svn/trunk/src/build@33208 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-26 14:50:13 +00:00
thestig@chromium.org 5f8f5c77b9 Disable tcmalloc on Linux.
TBR=willchan
BUG=28818, 28828
TEST=Random ui test / startup flakiness goes away on Linux.
Review URL: http://codereview.chromium.org/437085

git-svn-id: http://src.chromium.org/svn/trunk/src/build@33184 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-26 06:33:39 +00:00
evan@chromium.org 3efdb92b61 Refactor OS-dependent filename exclusion patterns
Rather than duplicate logic in the tree, merge all of the
shared rules about patterns in filenames into one common set.
The pattern is: "if (OS != x): exclude x's files."

This is especially needed for upcoming changes that bring in a few
more platform-specific (FreeBSD, OpenBSD, Solaris(?)) files.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@33160 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-26 00:15:50 +00:00
scherkus@chromium.org 6a6ec3fe62 Implement method stubs for OpenMAX IL instead of relying on -lOmxCore.
You can switch to using -lOmxCore by setting the gyp variable use_system_openmax=1.

Also fixed type-punning warnings in omx_video_decoder.cc

BUG=28663
TEST=building omx_test should have no linker errors

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


git-svn-id: http://src.chromium.org/svn/trunk/src/build@33012 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-25 00:24:01 +00:00
willchan@chromium.org 689d23c991 Enable TCMalloc on Linux by default.
This change also reworks the tcmalloc dependency to be added only to chrome and test_shell, instead of base.  This is necessary since otherwise tcmalloc will be double initialized (by both the main executable and dlopen'd shared objects like the npapitestplugin.so).
Add valgrind suppressions.  This are invalid reads on static initialization in the VDSOSupport module.  I haven't investigated it yet, but I suspect they're benign.
BUG=http://crbug.com/28149, http://crbug.com/28385

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@33010 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-25 00:17:53 +00:00
apatrick@google.com dc556dea3b Landing the GPU process and command buffer code again, this time with a DEPS file with the necessary include rules.
TEST=none
BUG=none


git-svn-id: http://src.chromium.org/svn/trunk/src/build@33006 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-25 00:01:32 +00:00
scherkus@chromium.org bad41b8611 Revert "Implement method stubs for OpenMAX IL instead of relying on -lOmxCore."
Review URL: http://codereview.chromium.org/431040


git-svn-id: http://src.chromium.org/svn/trunk/src/build@32993 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-24 23:14:23 +00:00
scherkus@chromium.org 99aaa67d9e Implement method stubs for OpenMAX IL instead of relying on -lOmxCore.
You can switch to using -lOmxCore by setting the gyp variable use_system_openmax=1.

BUG=28663
TEST=building omx_test should have no linker errors

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


git-svn-id: http://src.chromium.org/svn/trunk/src/build@32988 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-24 22:38:53 +00:00
apatrick@google.com f72271c398 Partially reverting 32942
TEST=none
BUG=none


git-svn-id: http://src.chromium.org/svn/trunk/src/build@32964 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-24 20:29:01 +00:00
apatrick@google.com 3b866f6394 Branched gpu process and command buffer code into Chrome tree. Fixed up paths and other minor changes to make it work in the Chrome tree. Will remove copy from O3D tree shortly. Only works in Windows currently.
TEST=none
BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@32952 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-24 19:34:24 +00:00
mmoss@chromium.org 58136e96ad Make Linux packaging options more granular.
This allows us to not waste time building packages/channels we don't care about. Also added option to build new 'trunk' channel packages, which are a special configuration for developer testing.

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


git-svn-id: http://src.chromium.org/svn/trunk/src/build@32879 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-23 22:39:32 +00:00
nsylvain@chromium.org 5f2418dadf Remove old files.
Review URL: http://codereview.chromium.org/425008

git-svn-id: http://src.chromium.org/svn/trunk/src/build@32711 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-20 23:31:59 +00:00
estade@chromium.org 715ff211e2 Move Mac to using renderer spellchecker.
BUG=25677

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@32561 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-19 22:44:29 +00:00
hclam@chromium.org 61202ca47a test_shell buildable on ARM
GYP changes to allow test_shell be buildable on ARM so we can
use it as a minimal browser for testing purpopse.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@32386 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-18 20:35:54 +00:00
evan@chromium.org 288dfc2bf3 linux: pass --gc-sections in link line
We have compile flags set up to support using --gc-sections, but apparently
we aren't using it for the actual link!  It was probably lost during the gyp
conversion.

This has a few-megabyte difference on binary size.

(Trying submit again, hopefully thestig successfully converted bots...)

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@32330 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-18 17:07:13 +00:00
thestig@chromium.org 5fa5b92de1 Do not overwrite ld.orig in install-build-deps.sh.
TBR=dank
BUG=none
TEST=Install gold through install-build-deps.sh twice. /usr/bin/ld.orig should still be GNU ld.
Review URL: http://codereview.chromium.org/402047

git-svn-id: http://src.chromium.org/svn/trunk/src/build@32317 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-18 10:58:00 +00:00
thestig@chromium.org d9a9685b47 Linux: update install-build-deps.sh to build gold from binutils 2.20.
BUG=none
TEST=builds gold that supports --gc-sections.
Review URL: http://codereview.chromium.org/400029

git-svn-id: http://src.chromium.org/svn/trunk/src/build@32315 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-18 10:36:46 +00:00
evan@chromium.org 4557c47ab4 linux: set a compiler flag that drops the eh_frame section
eh_frame is data used for exception frames.  We already disable exceptions,
but it turns out this obscure extra flag was responsible for the eh_frame
making it into our binaries.

This shaves off another few megabytes from our binaries.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@32254 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-18 01:51:34 +00:00
idana@chromium.org 3cc3569c9c Revert 32244 - linux: pass gcsections in link line
We have compile flags set up to support using gcsections, but apparently
we aren't using it for the actual link?  This has a large difference on
binary size.

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

TBR=evan@chromium.org
Review URL: http://codereview.chromium.org/401018

git-svn-id: http://src.chromium.org/svn/trunk/src/build@32248 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-18 01:24:13 +00:00
evan@chromium.org bb2d2e4cd6 linux: pass --gc-sections in link line
We have compile flags set up to support using --gc-sections, but apparently
we aren't using it for the actual link?  This has a large difference on
binary size.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@32244 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-18 00:55:28 +00:00
evan@chromium.org b27dd36467 linux: set -fvisiblility-inlines-hidden when building
This matches the Mac and shaves a surprising 300kb off the binary.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@32185 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-17 18:39:36 +00:00
willchan@chromium.org 8e6283e544 TBR: willchan
git-svn-id: http://src.chromium.org/svn/trunk/src/build@32159 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-17 06:42:28 +00:00
willchan@chromium.org 935f01cd68 Experiment: enable TCMalloc on Linux by default.
Will revert after looking at the Linux memory bot and perf cycler.
TBR=willchan

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@32158 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-17 06:31:44 +00:00
yusukes@google.com 96685d79cb Add support for Ubuntu 9.10 to install-build-deps.sh
Note that binutils-2.19 does not compile on Ubuntu 9.10.
binutils-2.20 compiles on Ubuntu 9.10, but does not comple on 8.04.

BUG=none
TEST=Ran install-build-deps.sh on ubuntu 9.10 and 8.04.

Original patch by satorux@chromium.org via:
http://codereview.chromium.org/395017


git-svn-id: http://src.chromium.org/svn/trunk/src/build@32154 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-17 05:19:56 +00:00
agl@chromium.org dff67635d6 Linux: enable building with a local version of libssl.
http://codereview.chromium.org/394003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@32135 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-17 00:40:12 +00:00
estade@chromium.org 17693ca6ed reland 31875. Revert was:
------
Revert 31875 to see whether it fixes reliability bot.

BUG=25677
TEST=None
------

TBR=huanr
Review URL: http://codereview.chromium.org/397017

git-svn-id: http://src.chromium.org/svn/trunk/src/build@32112 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-16 22:55:17 +00:00
huanr@chromium.org ca3876645a Revert 31875 to see whether it fixes reliability bot.
BUG=25677
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@32074 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-16 19:34:59 +00:00
hclam@chromium.org 52479328c1 Test program for OpenMAX video decoding
Including gyp file for openmax and the test application.
The test application will link against libOmxCore.so which is provided
by the target system.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@31957 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-13 22:21:01 +00:00
hclam@chromium.org 9d3633790a Building FFmpeg in tree for arm
Changes yasm to be built for host instead of target.
Also don't need to depend on yasm if build ing for arm.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@31929 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-13 19:30:25 +00:00
dglazkov@google.com a459600888 Partially revert WebKit.gyp switch-over, because it broke build bot setup
in subtle and devious ways.

Renaming webkit.gyp -> webkit_glue.gyp changed webkit.sln to webkit_glue.sln,
which occured unbeknownst to the builders who continued to build webkit.sln
for most of the day. This wasn't an issue until we did a WebKit roll, where
the trickery was discovered and hell broke loose.

TBR=yaar
TEST=green bots
BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@31887 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-13 05:00:13 +00:00
yusukes@google.com 3f0fe624d3 Pull the OpenType sanitiser library from code.google.com/ots/, as per our discussion on the (internal) group.
Review URL: http://codereview.chromium.org/363001

BUG=17818
TEST=none 


git-svn-id: http://src.chromium.org/svn/trunk/src/build@31878 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-13 02:15:59 +00:00
estade@chromium.org ad1155a6fb Use renderer spellchecker for windows.
BUG=25677
Review URL: http://codereview.chromium.org/372075

git-svn-id: http://src.chromium.org/svn/trunk/src/build@31875 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-13 01:36:50 +00:00
willchan@chromium.org 3b447caf63 Revert 31765 - Experiment: enable TCMalloc on Linux by default.
Will revert after looking at the Linux memory bot and perf cycler.
TBR=willchan

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

TBR=willchan@chromium.org
Review URL: http://codereview.chromium.org/384074

git-svn-id: http://src.chromium.org/svn/trunk/src/build@31769 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-12 05:58:58 +00:00
willchan@chromium.org 5bd04f221b Experiment: enable TCMalloc on Linux by default.
Will revert after looking at the Linux memory bot and perf cycler.
TBR=willchan

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@31765 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-12 05:21:58 +00:00
yaar@chromium.org 70f5df075f Upstreaming WebKit.gyp
This mega patch contains a few simple but tightly dependent changes:
1. Deletion of webkit/api/WebKit.gyp. The file now lives in webkit.org.
2. Rename of webkit/webkit.gyp to webkit/webkit_glue.gyp. Having two webkit.gyp was a source of developer confusion.
3. Gyp dependencies are updated across chromium to point at the upstream WebKit.gyp and the renamed webkit_glue.gyp.
4. Some 200+ files include paths fixed to point to third_party/WebKit/WebKit/chromium instead of webkit/api. The later will be deleted in a subsequent patch.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@31749 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-12 01:14:49 +00:00
willchan@chromium.org 34b3b664d9 linux: TCMalloc-based C++ heap profiler.
Requires compiling with linux_use_tcmalloc=1.

When enabled by --heap-profiler flag in test_shell exposes
chromium.HeapProfiler object to JavaScript. The object has three
methods:
o start() -- starts profiling
o dump() -- dumps data accumulated since start() to file
named like chromium-YYYY-MM-DD-TS.heap
o stop() -- stops profiling.

Output can be analyzed by third_party/tcmalloc/tcmalloc/src/pprof.
For example:
$ third_party/tcmalloc/tcmalloc/src/pprof \
sconsbuild/Release/test_shell \
chromium-2009-11-06-1234567890.heap

See http://code.google.com/p/google-perftools/ for details on how to
use pprof.

Patch contributed by vitalyr@chromium.org.  Original review at
http://codereview.chromium.org/377010/show.

TBR=vitalyr

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@31688 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-11 19:24:24 +00:00
mark@chromium.org a7b45abd09 Set SDKROOT in the project-wide xcode_settings block instead of doing it in
target_defaults.  This is equivalent to how Xcode sets SDKROOT from the
Project Info window's General tab.  Making this setting project-wide means
that the selected SDK will show up properly in that UI.

BUG=26976
TEST=Build still works.
     SDK (typically "Mac OS X 10.5") shows up in Project Info:General.
Review URL: http://codereview.chromium.org/371035

git-svn-id: http://src.chromium.org/svn/trunk/src/build@31307 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-06 21:57:50 +00:00
estade@chromium.org 97934cefd9 Move the spellchecker to the renderer.
The motivation is that this removes the sync IPC on every call to the spellchecker. Also, currently we spellcheck in the IO thread, which frequently needs to go to disk (in particular, the entire spellcheck dictionary starts paged out), so this will block just the single renderer when that happens, rather than the whole IO thread.

This breaks the SpellChecker class into two new classes.
1) On the browser side, we have SpellCheckHost. This class handles browser-wide tasks, such as keeping the custom words list in sync with the on-disk custom words dictionary, downloading missing dictionaries, etc. On Posix, it also opens the bdic file since the renderer isn't allowed to open files. SpellCheckHost is created and destroyed on the UI thread. It is initialized on the file thread.
2) On the renderer side, SpellChecker2. This class will one day be renamed SpellChecker. It handles actual checking of the words, memory maps the dictionary file, loads hunspell, etc. There is one SpellChecker2 per RenderThread (hence one per render process).

My intention is for this patch to move Linux to this new approach, and follow up with ports for Windows (which will involve passing a dictionary file name rather than a file descriptor through to the renderer) and Mac (which will involve adding sync ViewHost IPC callsfor when the platform spellchecker is enabled). Note that anyone using the platform spellchecker rather than Hunspell will get no benefit out of this refactor.

There should be no loss of functionality for Linux (or any other platform) in this patch. The following should all still work:
- dictionary is loaded lazily
- hunspell is initialized lazily, per renderer
- language changes work.
- Dynamic downloading of new dictionaries
- auto spell correct works (as well as toggling it).
- disabling spellcheck works.
- custom words work (including adding in one renderer and immediately having it take effect in other renderers, for certain values of "immediate")

TODO:
- move spellchecker unit tests to test SpellCheck2
- add sync IPC for platform spellchecker; port to Mac
- add dictionary location fallback; port to Windows
- remove SpellChecker classes from browser/

BUG=25677

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@31199 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-06 03:05:46 +00:00
ajwong@chromium.org bab797fe1a FFmpeg in-tree build for mac.
BUG=26509
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@31050 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-05 00:56:41 +00:00
evan@chromium.org 268337af00 linux: let harfbuzz be pulled in by gyp naturally
Skia correctly depends on Harfbuzz so we don't need to depend on it
from the top-level gyp file.

TEST=compiles

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@31033 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-04 23:03:46 +00:00
jshin@chromium.org 2a0eff2751 Add 'am' and 'sw' to Linux/Mac build
Review URL: http://codereview.chromium.org/346027

git-svn-id: http://src.chromium.org/svn/trunk/src/build@30990 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-04 20:36:50 +00:00
evan@chromium.org 8c366d88b8 linux: compiler_version.py tweak to work on gcc 4.4
The regex didn't work for GCC = 4.4.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@30847 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-03 19:27:51 +00:00
craig.schlenter@chromium.org b652947930 Linux: Autodetect and change build flags when using gcc 4.4.
This runs g++ -dumpversion (or $CXX) to establish the compiler version
and set the gyp gcc_version variable automatically.

BUG=25209

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@30824 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-03 17:32:10 +00:00
fbarchard@chromium.org 1045b786ff Remove bzip2 from install requirements.
BUG=22307,26548
TEST=start with clean machine that has no bzip2 and build chrome without it.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@30823 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-03 17:23:26 +00:00
apatrick@google.com 4cd3bc349d Conditionally added pepper_test_plugin.gyp as all.gyp dependency based on whether enable_pepper variable is set to 1. Defaults to 0.
Added run_as block to automatically launch chrome and load the plugin when the pepper_test_plugin project is run or debugged.
See new instructions in updated README.
TEST=none
BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@30741 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-02 21:07:35 +00:00
piman@chromium.org d5e5920b77 linux: fix library=shared_library issues
Review URL: http://codereview.chromium.org/339079

git-svn-id: http://src.chromium.org/svn/trunk/src/build@30738 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-02 20:32:51 +00:00
bradnelson@chromium.org bfb95e3439 Adding x64 configurations for windows.
These do not build, but are for experimentation.

BUG=None
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@30683 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-01 23:45:30 +00:00
bradnelson@chromium.org 2b269f4fb9 Pulling in latest gyp with rule generation and configuration change.
BUG=None
TEST=None
TBR=sgk

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@30680 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-11-01 21:17:34 +00:00
ajwong@chromium.org 1b245a3774 Add in bzip2 runtime and development packages.
BUG=22307
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@30643 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-10-30 22:38:55 +00:00
ajwong@chromium.org 5e1b58f008 Add yasm and ffmpeg into the build tree for linux.
BUG=22307
TEST=builds correctly, and an html5 video runs.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@30571 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-10-30 11:23:08 +00:00