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

60 Коммитов

Автор SHA1 Сообщение Дата
brettw ffe5408f3a Remove GYP files in breakpad, build, and tools.
These are now unused.

Review-Url: https://codereview.chromium.org/2331893004
Cr-Original-Commit-Position: refs/heads/master@{#418010}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8c0eb8ed764590108f0278e5bbbddec3fc14b522
2016-09-12 19:55:25 +00:00
phoglund 2c424a41e9 Revert of Revert of Sync Windows build flags between GYP and GN (patchset #1 id:1 of https://codereview.chromium.org/1185963004/)
Reason for revert:
Appears this was innocent after all.

Original issue's description:
> Revert of Sync Windows build flags between GYP and GN (patchset #4 id:60001 of https://codereview.chromium.org/1183613006/)
>
> Reason for revert:
> Speculative revert for Linux GN clobber compile failure:
>
> FAILED: python ../../remoting/webapp/build-webapp.py ...
> Traceback (most recent call last):
>   File "../../remoting/webapp/build-webapp.py", line 487, in <module>
>     sys.exit(main())
>   File "../../remoting/webapp/build-webapp.py", line 483, in main
>     return buildWebApp(**vars(args))
>   File "../../remoting/webapp/build-webapp.py", line 257, in buildWebApp
>     + buildtype + ': ' + service_environment)
> Exception: Invalid service_environment targeted for Release:
> ninja: build stopped: subcommand failed.
>
> Original issue's description:
> > Sync Windows build flags between GYP and GN
> >
> > In GN, turn on omtimize:max for base targets on all platforms, not just Android (matches GYP).
> >
> > In GN, don't duplicate /Os twice, make standard optimize = /O1 (matches GYP). Don't specify redundant optimization flags that are included as part of /O1 or /O2 (doesn't match GYP flag-wise, but should match functionality-wise).
> >
> > In GN, add a min Windows version of XP to x86 architecture binaries (matches GYP).
> >
> > In GYP, remove /GT ("EnableFiberSafeOptimizations"). This flag is super old (pre-dates GYP) and was likely turned on because it has the word "optimization" in it. It was only specified in official builds. However, according to the docs, this is making optimizations fiber safe (i.e. slower, by not caching the TLS pointer), rather than enabling optimizations for fibers. We don't use fibers so this flag is unnecessary and may be making TLS access slightly slower.
> >
> > Committed: https://crrev.com/67021f4d70fe838a5d78133bc6d5b305dfd70d72
> > Cr-Commit-Position: refs/heads/master@{#334742}
>
> TBR=scottmg@chromium.org,brettw@chromium.org
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
>
> Committed: https://crrev.com/1becf72a2d1b5eec4468cc950142b083e9b24fbe
> Cr-Commit-Position: refs/heads/master@{#334782}

TBR=scottmg@chromium.org,brettw@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

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

Cr-Original-Commit-Position: refs/heads/master@{#334795}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6a18ffd1f1e656bba0d905c30fad6b46ec4ffcff
2015-06-17 09:09:26 +00:00
phoglund c5a9bf0871 Revert of Sync Windows build flags between GYP and GN (patchset #4 id:60001 of https://codereview.chromium.org/1183613006/)
Reason for revert:
Speculative revert for Linux GN clobber compile failure:

FAILED: python ../../remoting/webapp/build-webapp.py ...
Traceback (most recent call last):
  File "../../remoting/webapp/build-webapp.py", line 487, in <module>
    sys.exit(main())
  File "../../remoting/webapp/build-webapp.py", line 483, in main
    return buildWebApp(**vars(args))
  File "../../remoting/webapp/build-webapp.py", line 257, in buildWebApp
    + buildtype + ': ' + service_environment)
Exception: Invalid service_environment targeted for Release:
ninja: build stopped: subcommand failed.

Original issue's description:
> Sync Windows build flags between GYP and GN
>
> In GN, turn on omtimize:max for base targets on all platforms, not just Android (matches GYP).
>
> In GN, don't duplicate /Os twice, make standard optimize = /O1 (matches GYP). Don't specify redundant optimization flags that are included as part of /O1 or /O2 (doesn't match GYP flag-wise, but should match functionality-wise).
>
> In GN, add a min Windows version of XP to x86 architecture binaries (matches GYP).
>
> In GYP, remove /GT ("EnableFiberSafeOptimizations"). This flag is super old (pre-dates GYP) and was likely turned on because it has the word "optimization" in it. It was only specified in official builds. However, according to the docs, this is making optimizations fiber safe (i.e. slower, by not caching the TLS pointer), rather than enabling optimizations for fibers. We don't use fibers so this flag is unnecessary and may be making TLS access slightly slower.
>
> Committed: https://crrev.com/67021f4d70fe838a5d78133bc6d5b305dfd70d72
> Cr-Commit-Position: refs/heads/master@{#334742}

TBR=scottmg@chromium.org,brettw@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

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

Cr-Original-Commit-Position: refs/heads/master@{#334782}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1becf72a2d1b5eec4468cc950142b083e9b24fbe
2015-06-17 06:54:41 +00:00
brettw 2949f0c647 Sync Windows build flags between GYP and GN
In GN, turn on omtimize:max for base targets on all platforms, not just Android (matches GYP).

In GN, don't duplicate /Os twice, make standard optimize = /O1 (matches GYP). Don't specify redundant optimization flags that are included as part of /O1 or /O2 (doesn't match GYP flag-wise, but should match functionality-wise).

In GN, add a min Windows version of XP to x86 architecture binaries (matches GYP).

In GYP, remove /GT ("EnableFiberSafeOptimizations"). This flag is super old (pre-dates GYP) and was likely turned on because it has the word "optimization" in it. It was only specified in official builds. However, according to the docs, this is making optimizations fiber safe (i.e. slower, by not caching the TLS pointer), rather than enabling optimizations for fibers. We don't use fibers so this flag is unnecessary and may be making TLS access slightly slower.

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

Cr-Original-Commit-Position: refs/heads/master@{#334742}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 67021f4d70fe838a5d78133bc6d5b305dfd70d72
2015-06-16 23:20:53 +00:00
sebmarchand@chromium.org 91d2a90b17 Add PGO targets to Chrome.
This allows to do a PGO optimized build of Chrome with the following commands:
python build\gyp_chromium -Dchrome_pgo_phase=1
ninja -C out\Release chrome
run with '--no-sandbox' + pgosweep
python build\gyp_chromium -Dchrome_pgo_phase=2
ninja -C out\Release chrome


----- Approach that didn't worked -----

(see comment #13 to know why this didn't work)

Instead of having the following gyp dependency chain (for a regular build), here '->' means 'depends on': 

'chrome'->|'chrome_main_dll'
----------|'chrome_child_dll'

we know have the following one (when chrome_pgo==1):
'chrome'->|'chrome_main_dll' |->'chrome_pgo_optimize'->|'chrome_main_dll_pgi'
----------|'chrome_child_dll'|-------------------------|'chrome_child_dll_pgi'


The '*_pgi' target correspond to the instrumented dll, the name of the DLLs produced by target will be terminated by '_pgi'.

During the 'chrome_pgo_optimize' step the instrumented DLLs will be renamed (the '_pgi' suffix will be removed) and Chrome will be run against a set of profile test cases, pgosweep.exe will also be invoked to collect the instrumentation data.

Then the main targets ('chrome_main_dll' and 'chrome_child_dll') will be linked with the flag /LTCG:PGOPTIMIZE, this will produce the optimized DLLs.
--------------------------------------------

R=scottmg@chromium.org

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@257133 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-03-14 16:48:30 +00:00
kerz@chromium.org 651893a8a4 Disable fpo one more time, this time for non-official (canary) builds.
Review URL: https://chromiumcodereview.appspot.com/9373036

git-svn-id: http://src.chromium.org/svn/trunk/src/build@121288 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-09 21:04:32 +00:00
kerz@chromium.org 1a2efd3a1a Really make OmitFramePointers not go.
TBR=eroman@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9358045

git-svn-id: http://src.chromium.org/svn/trunk/src/build@121132 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-09 01:44:26 +00:00
kerz@chromium.org 0c0ae69b02 Set OmitFramePointers to false for official builds to do some tests.
BUG=NONE 
TBR=eroman@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9346022

git-svn-id: http://src.chromium.org/svn/trunk/src/build@120793 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-02-07 18:47:04 +00:00
siggi@chromium.org b6c605bd25 With this change, each target can select an optimization level for Windows official builds by setting a variable name "optimize" to one of three possible values:
- "size"; optimizes for minimal code size, the default.
- "speed"; optimizes for speed over code size.
- "max"; turns on link time code generation and whole
   program optimization, which is very expensive and should
   be used sparingly.

Note that this change by itself lowers the optimization level to "size" for all targets. Separate changes to the V8 and WebKit repos will be needed to bring up their optimization levels to WPO. 

BUG=108167
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@115187 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-20 21:37:37 +00:00
siggi@chromium.org 819fbbc648 Tell the linker in advance to expect a large output size.
This may reduce memory fragmentation, which may eke out a few more weeks of time on our official builds.
Also turn down linker log verbosity.

R=maruel@chromium.org
BUG=None
TEST=Official Windows build doesn't fail with linker OOM.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@114808 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-16 16:35:56 +00:00
siggi@chromium.org 570f50ede4 Add verbose logging to linker flags in offial builds.
R=maruel@chromium.org
BUG=
TEST=Verified that this produces verbose debug spew in VS2008 official builds.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@114536 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-12-15 00:06:30 +00:00
timurrrr@chromium.org 5a0bef9ab2 Make OmitFramePointer adjustable for Win/Release build.
Also, remove the Optimization hard-coded flags that turned out not to be adjustable as well.

TEST=vimdiff against ipc\ipc.vcproj of three different versions:
1) old
2) new (matches "old" except for the addition of OmitFramePointers="true" for Release x64)
3) new with `GYP_DEFINES=win_release_OmitFramePointers=0 win_release_Optimization=2`

BUG=99446,96326

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@104904 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-10-11 15:47:33 +00:00
siggi@chromium.org fe27d84d65 Add the /profile flag to linker options for official builds.
This deposits "FIXUPS" in the PDB, which grows the PDB file by 5% or so, but does otherwise not the generated binaries.

BUG=none
TESt=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@87607 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-06-02 14:51:01 +00:00
maruel@chromium.org 5b2b8122bc Remove /OPT:NOWIN98 / OptimizeForWindows98=1
It's not supported by VS2008 and later.

NO CODE CHANGE.

R=nsylvain@chromium.org
BUG=
TEST=not necessary.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@83051 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-04-26 18:33:16 +00:00
bradnelson@google.com 4370e0e6b8 Fixing several typos in gyp files detected by jeanluc's forthcoming changes to gyp.
BUG=None
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@71082 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-01-11 21:25:52 +00:00
maruel@chromium.org bcf2edc06f Fix official build as per Microsoft recommendation.
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=521439

BUG=LTCG build breaks
TEST=none
Review URL: http://codereview.chromium.org/1507003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@42890 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-03-27 02:16:29 +00:00
bradnelson@google.com f7808d21eb Dropping unconnected obsolete vsprops files.
BUG=8042
TEST=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@38016 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-02-03 21:03:27 +00:00
bradnelson@google.com 7a2eabc7e3 Removing the last remaining vsprops files (that are hooked in).
Also pulling in a newer nacl version.
Switching to use AdditionalOptions in list form.

BUG=None
TEST=None
TBR=mmentovai

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@35449 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-01-04 06:40:16 +00:00
bradnelson@google.com 6262e642eb Dropping unneeded set of vsprops.
These vsprops used to be used to setup the branding #defines.
This is now handled in common.gypi.
This is an incremental step toward dropping vsprops entirely for release.

BUG=None
TEST=None
TBR=maruel


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@35367 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-12-30 04:39:17 +00:00
cpu@chromium.org 6906fa5983 Remove the xcopy step from the PGO optimize vsprops
The DLL has different name on VS2008. This is best done outside the build phase.

BUG=none
TEST=pgo instrument build completes with zero errors in VS2008


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@27928 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-10-03 02:44:59 +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
ajwong@chromium.org a45ce3b66e Enable TR1 in windows build for gmock's use in VS2008 SP1.
Review URL: http://codereview.chromium.org/115977

git-svn-id: http://src.chromium.org/svn/trunk/src/build@17430 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-06-02 20:52:41 +00:00
ben@chromium.org bd6482f0c9 didn't mean to check these in
git-svn-id: http://src.chromium.org/svn/trunk/src/build@16516 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-20 20:09:10 +00:00
ben@chromium.org 0d15dc46c4 these strings were somehow removed in my earlier revert. add back to fix the build.
git-svn-id: http://src.chromium.org/svn/trunk/src/build@16515 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-05-20 20:08:19 +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
sgk@google.com d8441ad6bf Remove the checked-in scons configuration files.
Review URL: http://codereview.chromium.org/53121

git-svn-id: http://src.chromium.org/svn/trunk/src/build@12982 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-04-01 22:05:12 +00:00
hclam@chromium.org fb1b1c3bbe Uses FFmpeg in chrome/renderer
- Have chrome/renderer to use FFmpeg
  - Added using_media.vsprops to all affected projects that depends
    on chrome/renderer.
  - Added lib path "$(OutDir)\lib" to essential.vsprops

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@12071 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-03-19 01:35:36 +00:00
maruel@chromium.org 3663547e91 Add the fastbuild build type. FAST_BUILD_TYPE=fastbuild will cause no debug symbol to be generated to make the Windows try slaves faster.
Review URL: http://codereview.chromium.org/27009

git-svn-id: http://src.chromium.org/svn/trunk/src/build@10120 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-02-20 20:42:06 +00:00
mal@chromium.org c254048432 Rename README.google to README.chromium.
No code change.

B=4380
Review URL: http://codereview.chromium.org/19501

git-svn-id: http://src.chromium.org/svn/trunk/src/build@8988 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-01-30 21:24:17 +00:00
maruel@chromium.org 9c01ef5a49 Reverting 7573.
Doing a full build seems always fine. The issue is for incremental builds, it corrupts the PDBs. Errors look like:

glue.lib(autofill_form.obj) : fatal error LNK1318: Unexpected PDB error; RPC (23) '(0x000006BA)'
...\xmemory(155) : error C2471: cannot update program database '...\debug\obj\plugin_tests\vc80.pdb'

We'll probably need to upgrade to VS2008 to add it back.
Review URL: http://codereview.chromium.org/17208

git-svn-id: http://src.chromium.org/svn/trunk/src/build@7603 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-01-06 20:15:16 +00:00
brettw@chromium.org a3c856a592 Enable parallel compiles. This speeds up builds on 4-processor systems by about 30%, and at least doesn't hurt 2-processor systems.
Review URL: http://codereview.chromium.org/16521

git-svn-id: http://src.chromium.org/svn/trunk/src/build@7573 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-01-06 00:22:05 +00:00
jungshik@google.com e85c6d53b4 PSDK v6.1 does not have VC/Include and VC/LIB directories. So, they have to be removed from essential.vsprops.
This should have been a part of r7520 ( http://src.chromium.org/viewvc/chrome?view=rev&revision=7520 )

TBR=nsylvain
Review URL: http://codereview.chromium.org/16501

git-svn-id: http://src.chromium.org/svn/trunk/src/build@7533 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2009-01-01 04:18:38 +00:00
jungshik@google.com 2968af63e2 Update build files to use PSDK 6.1 (platformsdk_win2008_6_1). This is necessary for
dynamic font support.

This is a re-run of http://codereview.chromium.org/14908/show (except that chrome_dll.deps file which needs to be updated along with the actual code change)

This will be followed by http://codereview.chromium.org/16494 (actual webkit code change) and changes in webkit/build

BUG=1303


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@7520 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-12-31 01:06:00 +00:00
jungshik@google.com 4ce6b5d979 Revert sdk 6.1 upgrade changes.
TBR=nsylvain

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@7501 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-12-30 19:14:31 +00:00
jungshik@google.com 00e286ec4e Change build-related files to use Windows SDK 6.1 instead of Windows SDK 6.0.
SDK upgrade is necessary to support dynamic/webfont because SDK 6.0 does not have
t2embapi.h and t2embed.lib. SDK 6.1 is compatible with WIn XP and VS 2005 or later.

FYI:
http://codereview.chromium.org/14084/show is the CL for adding web/dynamic font support. 
Review URL: http://codereview.chromium.org/14908

git-svn-id: http://src.chromium.org/svn/trunk/src/build@7500 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-12-30 18:59:47 +00:00
sgk@google.com a552ae6ed8 Convert from using env['PLATFORM'] directly to using the more flexible
and better-thought-out Hammer env.Bits() idioms:
* env['PLATFORM'] == 'win32' => env.Bit('windows')
* env['PLATFORM'] == 'posix' => env.Bit('linux')
* env['PLATFORM'] == 'darwin' => env.Bit('mac')
New idioms:
* env.Bit('posix') => really does mean "any POSIX platform"
* env.AnyBits('mac', 'linux') => specifically mac or linux, excluding
  other POSIX platforms
Where we were using compound conditionals (e.g., "env['PLATFORM'] in
('posix', 'darwin')") I tried to take my best shot at translating
the intent (i.e., "env.Bits('posix')" for something POSIX, "not
env.Bits('mac')" for something not yet ported to Mac, etc.)
Review URL: http://codereview.chromium.org/15051

git-svn-id: http://src.chromium.org/svn/trunk/src/build@7270 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-12-18 23:26:29 +00:00
maruel@chromium.org 41b7b001db Switch back svn:eol-style=native for .sln, .vcproj and .vsprops files.
Patch fails otherwise on non-Windows platforms.
Review URL: http://codereview.chromium.org/14478

git-svn-id: http://src.chromium.org/svn/trunk/src/build@7093 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-12-16 20:56:44 +00:00
rvargas@google.com 926b0ccd1c Remove DCHECKS from official builds.
We keep the current behavior for regular builds:
- debug: DCHECKS enabled.
- release: DCHECKS present but inactive; can be activated through the command line.

Now we add a new behavior for official builds:
- dchecks optimized away.

B=4555

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@6830 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-12-11 22:10:17 +00:00
bradnelson@chromium.org 273a2f8afc Allows scons build to use local copy of platformsdk if one is not bundled side-by-side.
Review URL: http://codereview.chromium.org/12915

git-svn-id: http://src.chromium.org/svn/trunk/src/build@6305 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-12-03 20:45:47 +00:00
sgk@google.com 958772d1b3 Fix syntax errors in _official and _dom_stats.scons.
Review URL: http://codereview.chromium.org/13089

git-svn-id: http://src.chromium.org/svn/trunk/src/build@6285 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-12-03 12:05:47 +00:00
sgk@google.com cbf8f0b1cb Fixes and enhancements
* Configurable CHROME_BUILD_TYPE command line or external environment
  variable for selecting appropriate release_impl*.scons settings
  (_checksenabled, _coverage, _dom_stats, _official, _purify).
* Configurable CHROMIUM_BUILD command line or external environment
  variable for selecting appropriate chromium_build*.scons settings
  (_google_chrome).
* Configurable /INCREMENTAL linking via command line or external
  environment variable ($INCREMENTAL), through appropriate setting
  of an internal $CHROMIUM_INCREMENTAL_FLAGS construction variable.
* Full link of release builds by default.
* Alphabetize *.scons files in the mac_env.FilterOut() list.
* Explicitly set _checksenabled.scons link flags.
Review URL: http://codereview.chromium.org/13039

git-svn-id: http://src.chromium.org/svn/trunk/src/build@6210 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-12-02 07:36:03 +00:00
maruel@chromium.org 7725116886 It was brought to my attention that defining _HAS_TR1=0 helps with Visual Studio 2008 compilation and causes no adverse effect on Visual Studio 2005.
Thanks to Daniel A. White for the tip.
Review URL: http://codereview.chromium.org/12607

git-svn-id: http://src.chromium.org/svn/trunk/src/build@5959 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-11-25 02:15:23 +00:00
sgk@google.com 9615c1176a Purify support:
* Add third_party/purify/pure_api.c to the base\base_lib.scons sources.
* Support specification of CHROME_BUILD_TYPE (and CHROMIUM_BUILD
  while we're here) either on the command line or as an
  external environment variable.
* Fix syntax error in release_impl_purify.scons (previously unused).
* Add a central $CHROMIUM_CC_OPT_FLAGS variable (included in $CCFLAGS)
  that can be used to set explicitly the optimization level without
  having to worry about optimization flags being pulled in from other
  settings files.
Review URL: http://codereview.chromium.org/11368

git-svn-id: http://src.chromium.org/svn/trunk/src/build@5887 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-11-22 01:10:01 +00:00
sgk@google.com 208bd6d9b4 Finish release (opt) builds on Windows, including the parallel
build\*.scons structure (mirroring build\*.vsprops files):
* Use env.ApplySConscript() instead of env.SConscript with a
  hand-crafted dictionary defining 'env'.
* Move various CPPPATH, CCFLAGS, CPPDEFINES, LIBS and LIBPATH
  definitions from build/SConscript.main and target-specific 
  *.scons files into the build\*.scons files that mirror the
  existing build\*.vsprops hierarchy.
* Use the new build\{debug,release}.scons files to update the
  windows_dbg and windows_opt construction environments.
* Mirror current support for CHROME_BUILD_TYPE and CHROMIUM_BUILD
  external environment variables.
* Remove hard-coded /TP options.
* Massage $CXXFLAGS to remove $CCFLAGS, avoiding duplication of options
  on command lines.  Handle the ripple effect in $PCHCOM by adding
  $CCFLAGS back to that command line.
* Delete hammer's default settings of {CC,LINK}FLAGS_{DEBUG,OPTIMIZED}
  so they don't pollute our construction environments.
* Update chrome config to link against v8 for opt, v8_g for dbg.
* Get rid of fragile by-hand order of using_net.scons before other
  using_*.scons files.  We're now using --start-group and --end-group
  on Linux to deal with dependency cycles in libraries.
Review URL: http://codereview.chromium.org/11478

git-svn-id: http://src.chromium.org/svn/trunk/src/build@5741 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-11-20 01:12:38 +00:00
brettw@google.com 14f11e29ef Remove the network state notifier and the corresponding DLL. This is likely causing some startup performance regressions, and we don't really need it now anyway. We should have a different design when we implement this in the future.
BUG=3076
Review URL: http://codereview.chromium.org/6404

git-svn-id: http://src.chromium.org/svn/trunk/src/build@2808 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-10-02 20:40:49 +00:00
tc@google.com 295f6efb3b Merge the chrome_webkit_merge_branch back on to trunk. This brings us
up to webkit@36102.


git-svn-id: http://src.chromium.org/svn/trunk/src/build@2778 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-10-01 22:31:35 +00:00
niranjan@google.com 9789404016 Creating a coverage specific build configuration. This used to be a part of the _purify build configuration.
git-svn-id: http://src.chromium.org/svn/trunk/src/build@1397 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-08-26 19:55:34 +00:00
erikkay@google.com 29eed91eb5 Undo a change which had added /PROFILE to purify builds.
git-svn-id: http://src.chromium.org/svn/trunk/src/build@1383 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-08-26 16:42:07 +00:00
maruel@google.com 8bd9a63069 Disable linker warning LNK4221: "no public symbols found; archive member will be inaccessible" since it is unnecessary and clutter the build output.
git-svn-id: http://src.chromium.org/svn/trunk/src/build@1381 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-08-26 13:43:30 +00:00
maruel@google.com 2b03cecfc8 Disable Frame Pointer Omission optimization in default release, the CHECK ENABLED and the DOM STATS builds.
OmitFramePointers="false" doesn't work since this attribute would have needed to be tri-state to work correctly.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@1284 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-08-23 22:34:50 +00:00