summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authoralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-03 17:02:27 +0000
committeralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-03 17:02:27 +0000
commit84352455e708fc771809f34476d4db9ca79e4bc9 (patch)
treeb47b875ea7ade05db1d924ddc48f1c8f3c6f97ea /build
parent882f0ccbf250af3ff242da94706f26bb2f09c5b0 (diff)
downloadchromium_src-84352455e708fc771809f34476d4db9ca79e4bc9.zip
chromium_src-84352455e708fc771809f34476d4db9ca79e4bc9.tar.gz
chromium_src-84352455e708fc771809f34476d4db9ca79e4bc9.tar.bz2
Changes necessary to compile gpu demos on linux. It is not functional yet just compiling.
BUG=26099 Review URL: http://codereview.chromium.org/552240 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37977 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi7
1 files changed, 5 insertions, 2 deletions
diff --git a/build/common.gypi b/build/common.gypi
index a100fa1..877679b 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -78,6 +78,10 @@
# Set to 1 to enable fast builds. It disables debug info for fastest
# compilation.
'fastbuild%': 0,
+
+ # Set to 1 compile with -fPIC cflag on linux. This is a must for shared
+ # libraries on linux x86-64 and arm.
+ 'linux_fpic%': 0,
},
# Define branding and buildtype on the basis of their settings within the
@@ -90,6 +94,7 @@
'chromeos%': '<(chromeos)',
'inside_chromium_build%': '<(inside_chromium_build)',
'fastbuild%': '<(fastbuild)',
+ 'linux_fpic%': '<(linux_fpic)',
# The release channel that this build targets. This is used to restrict
# channel-specific build options, like which installer packages to create.
@@ -187,8 +192,6 @@
# Enable TCMalloc.
'linux_use_tcmalloc%': 0,
- 'linux_fpic%': 0,
-
# Set to select the Title Case versions of strings in GRD files.
'use_titlecase_in_grd_files%': 0,