Index: SConstruct |
diff --git a/SConstruct b/SConstruct |
index 57ef87a937d2dba8a6e9847459f2ad8457beda2c..04b3b62ac631a303f6a7d33409b73f440f99f1c2 100644 |
--- a/SConstruct |
+++ b/SConstruct |
@@ -8,9 +8,7 @@ import sys |
SOURCES=['chromeos/dbus/abstract_dbus_service.cc', |
'chromeos/dbus/dbus.cc', |
'chromeos/dbus/service_constants.cc', |
- 'chromeos/process.cc', |
'chromeos/string.cc', |
- 'chromeos/syslog_logging.cc', |
'chromeos/utility.cc'] |
env = Environment( |
@@ -42,7 +40,7 @@ if ARGUMENTS.get('debug', 0): |
env_test = env.Clone() |
env_test.Append( |
- LIBS = ['gtest', 'base', 'rt'], |
+ LIBS = ['gtest', 'chromeos', 'base', 'rt'], |
LIBPATH = ['.', '../third_party/chrome'], |
) |
for key in Split('CC CXX AR RANLIB LD NM CFLAGS CCFLAGS'): |
@@ -50,14 +48,12 @@ for key in Split('CC CXX AR RANLIB LD NM CFLAGS CCFLAGS'): |
if value: |
env_test[key] = Split(value) |
-# Use libchromeos instead of passing in LIBS in order to always |
-# get the version we just built, not what was previously installed. |
-unittest_sources =['chromeos/glib/object_unittest.cc', |
- 'chromeos/process_test.cc', |
- 'libchromeos.a'] |
+unittest_sources =['chromeos/glib/object_unittest.cc'] |
unittest_main = ['testrunner.cc'] |
unittest_cmd = env_test.Program('unittests', |
unittest_sources + unittest_main) |
Clean(unittest_cmd, Glob('*.gcda') + Glob('*.gcno') + Glob('*.gcov') + |
Split('html app.info')) |
+ |
+ |