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

114 Коммитов

Автор SHA1 Сообщение Дата
thestig@chromium.org a2133f3505 Clean out leftover bits of the path-based Linux SUID sandbox.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/181030

git-svn-id: http://src.chromium.org/svn/trunk/src/build@25019 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-09-01 07:01:20 +00:00
dank@chromium.org 884f7582fe Allow overriding debug optimization level on mac.
Review URL: http://codereview.chromium.org/178026

git-svn-id: http://src.chromium.org/svn/trunk/src/build@24834 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-28 23:23:29 +00:00
bradnelson@google.com 728a99f534 Submitted for bmcquade:
See review 17374

Description:
Fix include path in common.gypi to be relative to DEPTH, like all other
include paths in common.gypi.

BUG=19965
TEST=None


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@24524 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-26 20:47:49 +00:00
mark@chromium.org ff05b4073e Build for Mac in the Release configuration at -O3
This is an experiment to get a few test cycles in so that we can measure the
impact and evaluate it against the .app/.dmg size increase that it will cause.
The size increase relative to -O2 is 1900kB (6%) .app and 800kB (5%) .dmg.

BUG=16713
TEST=Watch perf
Review URL: http://codereview.chromium.org/173505

git-svn-id: http://src.chromium.org/svn/trunk/src/build@24511 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-26 20:14:55 +00:00
bradnelson@chromium.org 856e5cf098 Moving configuration platform to always be present, as that is required
in order for each configuration to get fully populated in configuration
manager.

BUG=None
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@24436 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-26 06:41:49 +00:00
thestig@chromium.org 6032048b09 Allow Chromium Linux to be built with Breakpad. Enable Linux CHROME_HEADLESS support. (Try 2)
TEST=none
BUG=19663

Original Review URL: http://codereview.chromium.org/173095

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@24378 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-26 00:14:27 +00:00
yutak@chromium.org 433e6892fe Reverting 24220.
It seemed that r24220 caused failures on all of Linux UI (valgrind) bots.

TBR=thestig@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@24228 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-25 11:23:45 +00:00
thestig@chromium.org 34fa816a78 Allow Chromium Linux to be built with Breakpad. Enable Linux CHROME_HEADLESS support.
TEST=none
BUG=19663
Review URL: http://codereview.chromium.org/173095

git-svn-id: http://src.chromium.org/svn/trunk/src/build@24220 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-25 07:25:06 +00:00
mark@chromium.org ce7a69df20 Build for Mac in the Release configuration at -O2
BUG=16713
TEST=Watch perf.  Startup time should be flat or possibly lose a very small
         amount (~1%).  Everything else should be a little bit faster.
     Watch sizes.  The .app and .dmg will grow, but I've cut their sizes way
         down lately, and I'd like to cash in some of those gains for speed.
Review URL: http://codereview.chromium.org/174160

git-svn-id: http://src.chromium.org/svn/trunk/src/build@23882 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-20 21:19:26 +00:00
sgk@google.com b3017c6aad Explicitly set {Output,Intermediate}Directory on all configurations,
so that all .gyp files use the same output locations regardless
of whether they're still using the old checked-in release.vsprops file.
BUG=none
TEST=successful build of the Purify configuration
Review URL: http://codereview.chromium.org/172077

git-svn-id: http://src.chromium.org/svn/trunk/src/build@23698 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-19 06:07:01 +00:00
munjal@chromium.org f215909caf Try what I tried in r23343 again
Sync gyp stuff moved from common.gypi to chrome.gyp.
TEST=none
BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@23517 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-15 07:46:36 +00:00
darin@chromium.org fd12cb831f revert unintended change
git-svn-id: http://src.chromium.org/svn/trunk/src/build@23443 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-14 17:51:13 +00:00
darin@chromium.org 113ced8465 Remove WebFrame::selectAll and WebFrame::clearSelection in favor of having
consumers use executeCommand.

Patch by Marshall Greenblatt  
R=darin
BUG=19270
TEST=covered by unit tests



git-svn-id: http://src.chromium.org/svn/trunk/src/build@23442 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-14 17:50:22 +00:00
agl@chromium.org 5bb24236c5 Linux: add GYP flag for -fno-strict-aliasing.
We're still figuring out what to do about strict aliasing and V8. In
the mean time, V8 (and other parts of the code) are unbuildable with
GCC 4.4 and strict aliasing. Adding this flag at the request of fta.

http://codereview.chromium.org/164538


git-svn-id: http://src.chromium.org/svn/trunk/src/build@23421 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-14 05:30:52 +00:00
sidchat@google.com cf39bd37a9 Reverting 23343.
Review URL: http://codereview.chromium.org/164525

git-svn-id: http://src.chromium.org/svn/trunk/src/build@23372 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-13 22:35:40 +00:00
munjal@chromium.org 128d0c0270 Move the sync related GYP variables and conditions to chrome.gyp from
common.gypi

TEST=none
BUG=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@23343 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-13 19:40:26 +00:00
mark@chromium.org 83b58e09c4 Use -fno-threadsafe-statics to disable thread-safe static semantics in C++.
This will eliminate the cxa_guard_acquire/release locks around static guard
accesses.  The Windows compiler doesn't support thread-safe statics at all,
so none of our cross-platform code relies on thread safety.  We are using
-fno-threadsafe-statics on Linux as well, since r20616.  It's likely that
threading is not a concern in most to all Mac-specific code using statics.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@23326 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-13 18:11:04 +00:00
mark@chromium.org 5afe7d9907 Disable RTTI and C++ exceptions in the Mac build. Disable RTTI in the Linux
build, where C++ exceptions are already disabled.

BUG=19094 12248
TEST=Mac release-mode Google Chrome.app should shrink by about 6MB.
     Mac disk image should shrink by about 1.5MB.
     Linux binary and package should shrink too.
Review URL: http://codereview.chromium.org/165330

git-svn-id: http://src.chromium.org/svn/trunk/src/build@23304 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-13 12:53:16 +00:00
tim@chromium.org 350e6c62ab Build browser/sync files by default using a stubbed-out syncapi
implementation.  The stub will be replaced once the rest of
sync/engine lands as we open source the sync engine code.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@23004 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-11 02:36:34 +00:00
piman@chromium.org 024fb40ac0 Target Cortex A8 for the ARM ChromeOS build of Chrome.
Review URL: http://codereview.chromium.org/164208


git-svn-id: http://src.chromium.org/svn/trunk/src/build@22934 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-10 18:58:07 +00:00
sgk@google.com caf5f0e8cd Add a 'tools' list to 'scons_settings' so we'll still get the
necessary 'chromium_builders' module when GYP gets updated to
use a more generic default.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/164216

git-svn-id: http://src.chromium.org/svn/trunk/src/build@22892 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-10 04:09:07 +00:00
bradnelson@chromium.org 18a84ba68c Turning on incremental linking for 64-bit machines.
BUG=18646
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@22790 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-07 21:16:03 +00:00
thestig@chromium.org 6c44139ab9 Define _FILE_OFFSET_BITS=64 in order to support large files (>2GB).
_FILE_OFFSET_BITS=64 is incompatible with fts (issue 17492), so
file_util::Delete, file_util::CopyDirectory  file_util::FileEnumerator are
reimplemented without fts. Delete and CopyDirectory are now implemented using
FileEnumerator.

Patch from vandebo@google.com, original review:
http://codereview.chromium.org/160479

BUG=13718,17492
TEST=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@22670 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-06 21:23:07 +00:00
mark@chromium.org e2592b5378 Move the entire application into a dylib (framework)
Review URL: http://codereview.chromium.org/160538

git-svn-id: http://src.chromium.org/svn/trunk/src/build@22506 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-05 19:26:07 +00:00
bradnelson@chromium.org 49d5a5b982 Adding two new windows configuration types:
Purify
Release - no tcmalloc

This is done more pedantically than I'd like,
so I've left in some TODOs. Eventually either gyp needs to support some
notion of inheritance in configurations, or maybe we can make clever use
of includes.

BUG=None
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@22433 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-08-04 22:50:13 +00:00
bradnelson@chromium.org af4a7d28e2 Making /MP on by default for msvs2008.
BUG=None
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@22220 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-07-31 23:33:55 +00:00
aa@chromium.org c30421a9c2 Make the Visual Studio /MP flag configurable.
Review URL: http://codereview.chromium.org/160408

git-svn-id: http://src.chromium.org/svn/trunk/src/build@22176 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-07-31 19:58:58 +00:00
dank@chromium.org 78388d87e8 Add a way to inject extra cflags in release builds.
(I intend to use this as a quickie way to add
-g to Release builds so I can see symbols.
Is there a better way?)

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@22064 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-07-30 17:47:51 +00:00
aa@chromium.org 91a8ee33dc Undo accidental change to common.gypi.
TBR=tony@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@22059 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-07-30 16:28:06 +00:00
aa@chromium.org 1aab5b2f94 Pull CrxInstaller out of ExtensionsService.
CrxInstaller is a new stateful object that encapsulates a
single installation from unpack through notification.

It currently contains the UI bits, but I suspect in the next
CL (where I will finally implement the install UI) these
will come out and CrxInstaller will become
SilentCrxInstaller, and only used for updates and external
installs.

Also in this change, I removed the concept of install callbacks that ExtensionUpdater was using. This was only used to delete the temp crx file as far as I can tell, and we can easily keep state about that in CrxInstaller.

With this CL, ExtensionsServiceBackend is almost completely
dead, with only a few zombie methods left like
LoadAllExtensions(). These should all become little objects
like CrxInstaller that hold a reference to ExtensionsService
over their lifetime and then kill themselves.

I'll get to that eventually.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@22043 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-07-30 06:21:58 +00:00
deanm@chromium.org 898b276d90 Fix gyp condition for ia32 specific flags.
We should test if it's ia32, not if it's not arm.

Patch by Joel Stanley.

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


git-svn-id: http://src.chromium.org/svn/trunk/src/build@21954 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-07-29 15:56:00 +00:00
evan@chromium.org 90b1d685cb linux: refactor some common flags in common.gypi
No functional change, just reducing some cruft.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@21933 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-07-29 00:52:24 +00:00
dkegel@google.com c1d247a7b7 Add way to override optimization level for release build.
Will be used with valgrind to speed up the bots more.

This was suggested during http://codereview.chromium.org/67199, finally need it.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@21169 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-07-21 11:41:01 +00:00
bradnelson@chromium.org 71c4f9d5e1 Pulling in new gyp version.
Switching two includes in common.gypi to msvs_system_include_dirs.
This will force them to the back of the include order (which matches
where the non-hermetic copies of these libraries would be).

BUG=None
TEST=None


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@21124 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-07-20 23:00:20 +00:00
agl@chromium.org 4ba90a7c1f Linux: move hardcoded paths to GYP variables.
This patch removes the hardcoded paths for the sandbox binary location
and the chrome binary location for the sandbox. Instead, you can now
set GYP variables for these things. Indeed, you have to set a GYP
variable in order to use the sandbox now.

GYP variables can be set on the command line, if you run gyp.py
directly, with -D key=value. Or you can export GYP_DEFINES="key=value
key2=value2".

Now, in order to use the sandbox you should set:
  linux_sandbox_path=/opt/google/chrome/chrome-sandbox
  linux_sandbox_chrome_path=/opt/google/chrome/chrome

(changing the paths as needed, of course). See the comments in
build/common.gypi

For development see
  http://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment

Because developers need to setup a special sandbox binary.

http://codereview.chromium.org/149689


git-svn-id: http://src.chromium.org/svn/trunk/src/build@20801 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-07-15 22:48:37 +00:00
agl@chromium.org 37ddeddd22 Linux: fix for developing on a machine with google-chrome packages installed.
The latest google-chrome packages contain a sandbox binary, which the
development builds of chromium will pick up on automatically. However,
for safety reasons, the sandbox binary will only exec a fixed chrome
binary location. Since development builds will be somewhere else in
the filesystem, this means that they will fail to start their zygote
processes and generally be very sad.

However, we /do/ want people developing with the sandbox, but we don't
want the general sandbox binary to be able to exec anything. We could
have chromium try and find its sandbox binary relative to the build
directory, but some people build on NFS and, since the sandbox binary
needs to be SUID, this won't work for them.

Instead, we add a new target: chrome_devel_sandbox which developers
can use. This builds a sandbox binary that will exec anything which is
owned by the running user. This alternative sandbox binary can be
selected by exporting CHROME_DEVEL_SANDBOX.


git-svn-id: http://src.chromium.org/svn/trunk/src/build@20709 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-07-15 01:41:50 +00:00
thomasvl@chromium.org 5e4685233e Add a variable that lets you override the optimization level for release builds (for valgrind -- to avoid inlining, etc.)
Review URL: http://codereview.chromium.org/155501

git-svn-id: http://src.chromium.org/svn/trunk/src/build@20636 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-07-14 18:43:42 +00:00
deanm@chromium.org 4f060c6135 Add -fno-threadsafe-statics to the Linux build.
We already depend on our static initializers being thread safe, since MSVC does
not implement locking around static initialization.  This avoids extra locking
(__cxa_guard_acquire / __cxa_guard_release).

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


git-svn-id: http://src.chromium.org/svn/trunk/src/build@20616 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-07-14 11:02:16 +00:00
brettw@chromium.org f5e31a5330 Replace instances of LINUX2 with OS_CHROMEOS and linux2 with chromeos.
Review URL: http://codereview.chromium.org/149367

git-svn-id: http://src.chromium.org/svn/trunk/src/build@20210 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-07-08 23:45:29 +00:00
jrg@chromium.org 4d8d8d67e9 Beginning of code coverage on Windows.
Review URL: http://codereview.chromium.org/155123

git-svn-id: http://src.chromium.org/svn/trunk/src/build@20045 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-07-07 18:20:53 +00:00
bradnelson@chromium.org 3c31101d02 Modifying mini_installer to have different additional options.
This should not affect other targets.

BUG=None
TEST=None
TBR=sgk

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@19916 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-07-03 22:00:19 +00:00
nsylvain@chromium.org 84ee96e3b9 Fix the tree. It looks like the previous change (19561)
did not work as expected, since most of the windows
machines are red trying to load dwmapi.dll, which should
be in the delay load list.

I'm reverting part of this change.

TBR:bradnelson
Review URL: http://codereview.chromium.org/150102

git-svn-id: http://src.chromium.org/svn/trunk/src/build@19581 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-06-30 14:21:09 +00:00
bradnelson@chromium.org 4f9041464f Learned that mini_installer's linker settings cannot actually be shared
by everyone else.
Separated mini_installer into its own gyp file and isolated it from
several common settings.

BUG=None
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@19561 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-06-30 00:02:27 +00:00
agl@chromium.org e39b304d2a Use C99 standard format macros for 64-bit values.
Currently we have several uses of %I64d in format strings to indicate
a 64-bit value. This does not work on Mac or Linux, where 'I'
indicates the use of locale specific digits.

Instead, we introduce base/format_macros.h which mimic the C99
standard macros for 64-bit values in a cross-platform manner.

Dean pointed out that V8 is handling this themselves rather than use
inttypes.h. Maybe we'll end up going down the same path but, for the
moment, we'll try and do it the 'correct' way and see how it works
out.

http://codereview.chromium.org/147154


git-svn-id: http://src.chromium.org/svn/trunk/src/build@19500 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-06-29 17:58:25 +00:00
bradnelson@google.com 493536e7b6 Another go at switching mini_installer to gyp.
BUG=None
TEST=None
TBR=sgk


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@19480 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-06-29 01:59:03 +00:00
sehr@google.com 575f0111f0 Added stub native web worker support, including build support in preparation
for integrating the native client build.


git-svn-id: http://src.chromium.org/svn/trunk/src/build@19479 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-06-29 00:30:51 +00:00
mmoss@chromium.org c83414658d Add a gyp "buildtype" variable to differentiate official release builds.
This notion was previously overloaded on "branding", but as implied, that
variable should really just control the "Google Chrome" vs. "Chromium"
branding. We need a separate setting to distinguish between "release" builds
(which get special handling, like breakpad symbol processing), and "everyday"
builds, like the buildbot continuous builds or personal developer builds.

This fixes a problem where the "Google Chrome" continuous builder was
unnecessarily trying to upload breakpad symbols for every single build.

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


git-svn-id: http://src.chromium.org/svn/trunk/src/build@19283 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-06-25 20:50:30 +00:00
ajwong@chromium.org 5d83c3d67a Disable TR1 for windows (set _HAS_TR1=0). This change requires a clobber build.
Review URL: http://codereview.chromium.org/147015

git-svn-id: http://src.chromium.org/svn/trunk/src/build@19049 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-06-23 20:08:45 +00:00
deanm@chromium.org 5cbc12dcc0 Revert the addition of -fno-threadsafe-statics. It breaks the build:
cc1: warning: command line option "-fno-threadsafe-statics" is valid for C++/ObjC++ but not for C

From what I can find, GYP has not separation between C and C++ flags :(

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


git-svn-id: http://src.chromium.org/svn/trunk/src/build@18701 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-06-18 10:49:45 +00:00
deanm@chromium.org 15068482c3 Add -fno-threadsafe-statics to the Linux build.
We already depend on our static initializers being thread safe, since
MSVC does not implement locking around static initialization.  This avoids
extra locking (__cxa_guard_acquire / __cxa_guard_release).

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


git-svn-id: http://src.chromium.org/svn/trunk/src/build@18700 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-06-18 10:38:04 +00:00