v8/build
jochen@chromium.org d426cd1012 Use abstract configurations to switch between opt debug settings
The problem is that conditions are evaluated before configuration inheritance is resolved, so we can't just define a configuration like this:

'Optdebug': {
  'inherits_from': ['Debug'],
  'variables': {
    'v8_optimized_debug': 2,
  }
}

Instead, we have to put the different settings depending on the optimization level into separate configurations, and use conditions inside the concrete configurations to inherit from the correct base class.

Common settings go in the base configuration DebugBaseCommon, and v8_optimized_debug dependent settings go into DebugBase{0,1,2}

The new Debug configuration inherits from DebugBaseCommon and DebugBase<(v8_optimized_debug), while the new configuration Optdebug inherits from DebugBaseCommon and DebugBase2.

BUG=v8:3252
R=machenbach@chromium.org, jkummerow@chromium.org
LOG=n

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20605 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-09 09:54:49 +00:00
..
all.gyp Add parser-shell. 2014-03-24 14:43:41 +00:00
android.gypi Enable x64 build for Android 2014-03-24 15:56:35 +00:00
features.gypi Use abstract configurations to switch between opt debug settings 2014-04-09 09:54:49 +00:00
gyp_v8 Make build/gyp_v8 cope with ninja on linux 2014-04-03 07:40:32 +00:00
gyp_v8.py Revert r18435 "... Roll gyp 1685:1806" 2014-01-02 15:13:53 +00:00
README.txt Fix outdated build/README.txt 2013-04-22 13:32:40 +00:00
shim_headers.gypi Add dependency to ICU 4.6 2013-07-01 08:32:41 +00:00
standalone.gypi Use abstract configurations to switch between opt debug settings 2014-04-09 09:54:49 +00:00
toolchain.gypi Use abstract configurations to switch between opt debug settings 2014-04-09 09:54:49 +00:00

For build instructions, please refer to:

https://code.google.com/p/v8/wiki/BuildingWithGYP

TL;DR version on *nix:
$ make dependencies        # Only needed once.
$ make ia32.release -j8
$ make ia32.release.check  # Optionally: run tests.