Index: SConstruct |
diff --git a/SConstruct b/SConstruct |
index 82b001c30ae647b7723ea50ffc7043bf938d6a58..8d31d3b1b22cbf7cee63dffd357c662797de1f42 100644 |
--- a/SConstruct |
+++ b/SConstruct |
@@ -5,7 +5,7 @@ |
import os |
import sys |
-SOURCES=['chromeos_power.cc', 'chromeos_mount.cc', |
+SOURCES=['chromeos_power.cc', 'chromeos_language.cc', 'chromeos_mount.cc', |
'chromeos_network.cc', 'marshal.cc', |
'version_check.cc', 'chromeos_synaptics.cc'] |
@@ -20,20 +20,21 @@ env = Environment( |
'../../third_party/chrome'], |
) |
-# glib and dbug environment |
-env.ParseConfig('pkg-config --cflags --libs dbus-1 glib-2.0 dbus-glib-1 libpcrecpp') |
+# glib, dbus, and ibus environment |
+env.ParseConfig('pkg-config --cflags --libs dbus-1 glib-2.0 dbus-glib-1 ibus-1.0 libpcrecpp') |
env.SharedLibrary('cros', SOURCES) |
# so test |
env_so = Environment ( |
CPPPATH=[ '.', '../../common', '..', '../../third_party/chrome/files'], |
- CCFLAGS=['-m32', '-fno-exceptions'], |
+ CCFLAGS=['-m32', '-fno-exceptions', '-ggdb'], |
LINKFLAGS=['-m32' ], |
LIBS = ['base', 'dl', 'rt'], |
LIBPATH=['../../common', '../../third_party/chrome'], |
) |
env_so.ParseConfig('pkg-config --cflags --libs gobject-2.0') |
env_so.Program('monitor_power', ['monitor_power.cc', 'load.cc']) |
+env_so.Program('monitor_language', ['monitor_language.cc', 'load.cc']) |
env_so.Program('monitor_network', ['monitor_network.cc', 'load.cc']) |
env_so.Program('monitor_mount', ['monitor_mount.cc', 'load.cc']) |