summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
authorsgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-27 04:27:01 +0000
committersgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-27 04:27:01 +0000
commitc13fcbd8fa1d88271f31da179fe920bb08007c55 (patch)
treec0cc8f79d62690c42317ac2a970549e7cb265edd /build/common.gypi
parent0757e770ac9ce685ee0db0179271f1a3dba47cb0 (diff)
downloadchromium_src-c13fcbd8fa1d88271f31da179fe920bb08007c55.zip
chromium_src-c13fcbd8fa1d88271f31da179fe920bb08007c55.tar.gz
chromium_src-c13fcbd8fa1d88271f31da179fe920bb08007c55.tar.bz2
Build in a ../sconsbuild directory by default:
* Deps roll for ../sconsbuild support in gyp. * Add a 'scons_settings': { 'sconsbuild_dir' } setting to common.gypi. * Change uses of $DESTINATION_ROOT to $TOP_BUILDDIR. Review URL: http://codereview.chromium.org/53133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12636 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/common.gypi b/build/common.gypi
index eb1bc37..d3709ac 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -135,7 +135,7 @@
'LIBPATH': ['$LIB_DIR'],
# Linking of large files uses lots of RAM, so serialize links
# using the handy flock command from util-linux.
- 'FLOCK_LINK': ['flock', '$DESTINATION_ROOT/linker.lock', '$LINK'],
+ 'FLOCK_LINK': ['flock', '$TOP_BUILDDIR/linker.lock', '$LINK'],
# We have several cases where archives depend on each other in
# a cyclic fashion. Since the GNU linker does only a single
@@ -304,6 +304,9 @@
],
}],
],
+ 'scons_settings': {
+ 'sconsbuild_dir': '<(DEPTH)/sconsbuild',
+ },
'xcode_settings': {
# The Xcode generator will look for an xcode_settings section at the root
# of each dict and use it to apply settings on a file-wide basis. Most