summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi3
-rw-r--r--build/linux/system.gyp5
2 files changed, 7 insertions, 1 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 97863a9..c9f219e 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -314,6 +314,9 @@
# whether to compile in the sources for the GPU plugin / process.
'enable_gpu%': 1,
+ # Use GConf, the GNOME configuration system.
+ 'use_gconf%': 1,
+
# Use OpenSSL instead of NSS. Currently in development.
'use_openssl%': 0,
diff --git a/build/linux/system.gyp b/build/linux/system.gyp
index ed88a0a..271feef 100644
--- a/build/linux/system.gyp
+++ b/build/linux/system.gyp
@@ -188,11 +188,14 @@
'target_name': 'gconf',
'type': 'settings',
'conditions': [
- ['_toolset=="target"', {
+ ['use_gconf==1 and _toolset=="target"', {
'direct_dependent_settings': {
'cflags': [
'<!@(<(pkg-config) --cflags gconf-2.0)',
],
+ 'defines': [
+ 'USE_GCONF',
+ ],
},
'link_settings': {
'ldflags': [