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

435 Коммитов

Автор SHA1 Сообщение Дата
tc@google.com 6f450397f1 Update the build installation script to make it work on ubuntu 9.04
I had to include the libcairo2-dev package and change the /etc/issue

BUG=None
TEST=Build chromium in Ubuntu successfully (fresh install)

Original patch by Mohamed Mansour and reviewed by Markus:
http://codereview.chromium.org/92155

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


git-svn-id: http://src.chromium.org/svn/trunk/src/build@14653 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-27 21:01:13 +00:00
sky@chromium.org ec40cffdfb More linux ifdef tweaks. This reverts my earlier change (13503).
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/100046

git-svn-id: http://src.chromium.org/svn/trunk/src/build@14628 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-27 18:17:24 +00:00
sgjesse@chromium.org ca9f7ad692 Reverting 14597,14596,14595.
Review URL: http://codereview.chromium.org/99053

git-svn-id: http://src.chromium.org/svn/trunk/src/build@14598 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-27 12:10:14 +00:00
ager@chromium.org 85275025ef Update V8 in chromium to version 1.2.1.
Only small changes to the V8 code base itself.  The main reason for
this push is to get the V8 latest builder working again and to move
the v8.gyp file to the v8 sources to make DEPS rolls easier.

Updated all references to v8.gyp and the generated projects.  Added a
missing dependency to chrome.sln: mksnapshot depends on v8_nosnapshot.
Review URL: http://codereview.chromium.org/100037

git-svn-id: http://src.chromium.org/svn/trunk/src/build@14595 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-27 10:58:25 +00:00
sgk@google.com 60f19d58f9 Capture Mozilla's codesighs, for use in executable sizing.
Vanilla code, no changes, except for the addition of:
* LICENSE, copied from elsewhere in the Mozilla tree;
* README.chromium, documenting what's going on.
* codesighs.gyp, for building with the rest of Chromium.
Review URL: http://codereview.chromium.org/93155

git-svn-id: http://src.chromium.org/svn/trunk/src/build@14522 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-25 13:27:25 +00:00
dkegel@google.com ea5440cee4 Add 'fakeroot' to the list of packages, since this script uses it
Patch from Jeff Bailey.
Also alphabetize the list.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@14429 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-24 16:50:39 +00:00
tc@google.com d4f1bb00b8 Revert "Turn on -Werror on linux. Passes on my ghardy box. We'll see"
This reverts commit r14387.

Not sure why it fails on the bots.  Will fix and try again.

TBR=evan

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


git-svn-id: http://src.chromium.org/svn/trunk/src/build@14395 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-24 00:23:01 +00:00
ajwong@chromium.org 32509b8e86 Print backtraces on FATAL log messages in debug mode.
This provides basic support for looking up backtrace information on GNU libc systems and in Windows.  The code is only enabled for FATAL log messages in debug mode.  In a release build, it is unlikely that symbols will be available making the backtrace less useful.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@14391 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-24 00:13:08 +00:00
tc@google.com 50015f0666 Turn on -Werror on linux. Passes on my ghardy box. We'll see
if the new fedora 11 (gcc 4.4) or new jaunty (gcc 4.3) builders
fail.

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


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

http://codereview.chromium.org/92056


git-svn-id: http://src.chromium.org/svn/trunk/src/build@14283 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-23 01:31:49 +00:00
dkegel@google.com 8862177af6 Handle the more verbose apt-get output format sometimes seen
(on ubuntu 8.10?)

This fixes the error
E: Package php5-timezonedb has no installation candidate
that several people, myself included, have been hitting.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@14207 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-22 18:04:33 +00:00
sgk@google.com 7bec2bcbc2 Add -DCHROME_V8 to the chrome/browser build.
Add a 'javascript_engine' variable to control that setting
(as well as whether we use v8.gyp at all).
Review URL: http://codereview.chromium.org/88070

git-svn-id: http://src.chromium.org/svn/trunk/src/build@14171 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-22 01:16:42 +00:00
sgk@google.com 157f6417b4 Build on Linux with shared libraries (significant chunks courtesy craigsch):
* Set $RPATH  to $LIB_DIR in the SCons configuration.
* Add missing dependencies:
  * net/net.gyp:net
    => testing/gtest.gyp:gtest
  * third_party/libxml/libxml.gyp:xmlcatalog
    => third_party/icu38/icu38.gyp:icuuc
  * chrome/chrome.gyp:perf_tests
    => renderer
    => views
    => webkit/webkit.gyp:glue
* Add files:
  * third_party/WebKit/WebCore/loader/icon/IconRecord.cpp
  * third_party/WebKit/WebCore/page/Coordinates.cpp
  * skia/sgl/SkUnPreMultiply.cpp
* Exclude on Linux:
  * chrome/views/controls/scroll_view.cc
  * chrome/views/focus/external_focus_tracker.cc
  * media/filter/ffmpeg_demuxer.{cc,h}
* Remove files:
  * third_party/WebKit/WebCore/Configurations/Version.xcconfig
* Sort the chrome.gyp:views linux exclusion list.
* DEPS roll for $SHLINKFLAGS settings in gyp.
Review URL: http://codereview.chromium.org/88058

git-svn-id: http://src.chromium.org/svn/trunk/src/build@14166 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-22 00:20:29 +00:00
sgk@google.com f1811fc0d4 Put $_LIBDIRFLAGS before ${LINK,SHLINK,LDMODULE}FLAGS so we prefer
our own libs (libpng.a, libz.a, etc.) to system ones.
Review URL: http://codereview.chromium.org/90006

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


git-svn-id: http://src.chromium.org/svn/trunk/src/build@14051 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-20 19:31:48 +00:00
dkegel@google.com e340807a53 Add a new option, debug_optimize, that lets you set the
optimization level used for debug builds on linux.  
They still default to -O0, but you can set them to -O1 by
doing 'gyp -Ddebug_optimize=1'.
This cuts valgrind runtime without screwing up stack dumps too badly.
On the buildbot, the easiest way to use this is to 
create the file ~/.gyp/include.gypi by hand, containing the lines

# Override for valgrind buildbot
{
 'variables': {
   'debug_optimize': '1',
 },
}

From then on, any "gclient sync" run, when it runs gyp after finishing,
will cause debug builds to use -O1.  This is a bit obscure, but
it's a heck of a lot easier than threading some flag value
through the buildbot scripts or adding a new build mode.

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

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

BUG=8143

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@14034 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-20 16:50:56 +00:00
awalker@google.com e4f9897bf0 Reverting 13839,13838.
Review URL: http://codereview.chromium.org/67220

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13840 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-16 15:30:46 +00:00
pinkerton@chromium.org 5171943ceb Allow unit_tests (and other non-bundle executables) to rely on objectiveC that's
not directly referenced (such as only in a nib file). Add test for tab
controller.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13838 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-16 14:42:13 +00:00
ajwong@chromium.org cf718f4f47 Add delay loading of dbghelp.dll into essential.vsprops.
We need some functions from dbghelp.dll to implement backtrace logic in base/debug_util_win.cc.  This change will stage things so adding the new function calls won't break everyone.  The delay load is in essential.vsprops because everyone will need it in order to link base after the backtrace code is added.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13818 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-16 00:42:06 +00:00
kasperl@google.com 113fc33ba7 Update V8 in Chromium to version 1.1.8. The motivation for this
change is to get the V8 latest builder compiling again so we can
keep track of any regressions (new files were introduced - need
to update the v8.gyp file).
Review URL: http://codereview.chromium.org/73032

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13654 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-14 13:41:02 +00:00
sgjesse@chromium.org 97ad6e71a3 Revert 13647 (broke build).
TBR=yurys@chromium.org
Review URL: http://codereview.chromium.org/67118

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13648 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-14 03:32:17 +00:00
sgjesse@chromium.org 445b0e8719 Added new V8 files to v8.gyp.
TBR=yurys@chromium.org
Review URL: http://codereview.chromium.org/73027

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13647 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-14 03:23:31 +00:00
bradnelson@google.com e56a42c72f Matching v8 build settings more closely to try to fix regression in performance.
Review URL: http://codereview.chromium.org/67092

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13642 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-14 01:39:12 +00:00
thestig@chromium.org fb10049558 Add INCLUDE_SERVER_PORT and INCLUDE_SERVER_ARGS for distcc pump.
Review URL: http://codereview.chromium.org/73008

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13632 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-13 23:19:47 +00:00
dimich@google.com 074c163b85 Make OSX TestShell able to run workers, using a new test_worker.dylib which is basically a webkit+v8+helpers to simulate separate process with worker v8 threads. This is similar way we do on Win32.
Review URL: http://codereview.chromium.org/66043

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13537 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-10 20:31:10 +00:00
pinkerton@chromium.org 73fdcaa59b Force c++ dtors to get called in objc interfaces (it was always on since gcc4.2, but this makes it explicit). Use scoped_* goodness.
Review URL: http://codereview.chromium.org/70001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13504 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-10 15:46:34 +00:00
sky@chromium.org 576f73906d Adds some ifdefs so that test_shell can be compiled on linux
without GTK.

I had to recreate this patch as my workspace for various
resonds. UGH!

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13503 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-10 15:09:39 +00:00
bradnelson@google.com 53ab73c644 Rolling back change 13480 (change to gyp for webkit on windows).
Too many loose ends.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13485 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-10 00:25:00 +00:00
bradnelson@google.com bcc21715d7 Switching webkit to gyp on windows.
Review URL: http://codereview.chromium.org/63152

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13480 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-09 23:20:24 +00:00
sgk@google.com 4372aafdad Restore -Wall to Linux build and set up for -Werror.
* Add -Wall to build/common.gypi (and -Werror, commented out for now).
* Have build/external_code.gypi remove -Wall (and -Werror).
* Remove chromium_code definition from build/all.gyp.
* Remove chromium_code definitions from third_party/ *.gyp files.
* Remove scons-specific -Werror removal in webkit.gyp.
* Remove unused variables from:
  base/clipboard_linux.cc
  chrome/browser/gtk/download_shelf_gtk.cc
  chrome/browser/gtk/bookmark_bar_gtk.cc
Review URL: http://codereview.chromium.org/66001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13478 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-09 22:51:41 +00:00
sgk@google.com b163d411b9 Linux cflag changes:
* Use -fno-rtti only for C++ V8 compilation.
* Move -f{data,function}-sections (for Release) to build/common.gypi.
* Add -fno-ident (per deanm).
Review URL: http://codereview.chromium.org/62153

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13368 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-08 18:29:53 +00:00
sgk@google.com e35046cc9c Basic underpinnings of the gyp equivalent of the Linux SHARED=1 build:
parameterize the 'type' setting of the various library targets, with a
default of 'static_library'.
(Hat tip to Craig Schlenter.)
Review URL: http://codereview.chromium.org/62127

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13345 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-08 12:55:49 +00:00
bradnelson@google.com 7af9c6cfd5 Fixing v8 settings to fix startup_tests regression.
Review URL: http://codereview.chromium.org/62121

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13304 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-07 23:23:45 +00:00
scherkus@chromium.org eae002bced Convert /third_party/ffmpeg to gyp for Windows builds.
To smooth out the transition I left in using_ffmpeg.vsprops until the rest of Windows switches over to gyp.  I also took the opportunity to ditch the .bat file in favour of python.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13270 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-07 19:50:16 +00:00
sgk@google.com 6c33b2d7a7 V8-specific release-specific flags in the gyp build.
Review URL: http://codereview.chromium.org/63064

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13267 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-07 19:42:02 +00:00
sgk@google.com d78fa83964 Add ../third_party/harfbuzz to all.gyp.
Review URL: http://codereview.chromium.org/63063

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13252 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-07 15:58:27 +00:00
bradnelson@google.com 9f89a61f44 Moving activex shim to gyp.
Review URL: http://codereview.chromium.org/62089

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13229 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-07 05:31:48 +00:00
bradnelson@google.com ecd1bd71a7 Switching breakpad to gyp generated project.
Review URL: http://codereview.chromium.org/62076

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13223 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-07 02:47:24 +00:00
bradnelson@google.com d18f796955 Rolling back change 13146.
(Shouldn't muck with where other platforms put their output.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13149 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-06 03:41:19 +00:00
bradnelson@google.com b0e17aa50d Changing v8_shell to v8_shell_sample to match what the buildbot expects.
Review URL: http://codereview.chromium.org/63006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13146 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-06 03:15:18 +00:00
bradnelson@google.com 7fe1b1b1c6 Switching to gyp generated v8 on windows.
Review URL: http://codereview.chromium.org/63004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13145 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-06 01:00:05 +00:00
bradnelson@google.com e34ed6f4e5 Switching windows over to gyp generated googleurl.
Review URL: http://codereview.chromium.org/62045

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13138 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-05 20:15:21 +00:00
sgk@google.com 8534a5e0ac Add 'variants' support on Linux for COVERAGE=, PROFILE= and SYMBOLS=.
Review URL: http://codereview.chromium.org/62006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13115 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-03 21:32:04 +00:00
jrg@chromium.org bd17df1328 Start of code coverage for Mac.
Only base_unittests included for now.  Linux changes added as well but
untested until Linux switches to gyp.

Enable coverage with the following command:

  src/tools/gyp/gyp_dogfood -Dcoverage=1 src/build/all.gyp

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@13067 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-03 04:07:38 +00:00
agl@chromium.org 10f83bfcee Revert "Move IPC code to ipc/"
This reverts commit r13062 which, unsurprisingly, broke the build.


git-svn-id: http://src.chromium.org/svn/trunk/src/build@13063 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-03 02:29:45 +00:00
agl@chromium.org 848f9efa81 Move IPC code to ipc/
(No review URL: Rietvelt couldn't cope)


git-svn-id: http://src.chromium.org/svn/trunk/src/build@13062 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-03 02:19:49 +00:00
thestig@chromium.org 081bf84698 Fix list of packages to install in install-build-deps.sh.
BUG=9507
Review URL: http://codereview.chromium.org/57065

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

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


git-svn-id: http://src.chromium.org/svn/trunk/src/build@13055 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-02 23:31:55 +00:00