summaryrefslogtreecommitdiffstats
path: root/base/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'base/SConscript')
-rw-r--r--base/SConscript11
1 files changed, 5 insertions, 6 deletions
diff --git a/base/SConscript b/base/SConscript
index ef462d9..2d7e8a7 100644
--- a/base/SConscript
+++ b/base/SConscript
@@ -11,7 +11,7 @@ env.Prepend(
CPPPATH = [
'$ICU38_DIR/public/common',
'$ICU38_DIR/public/i18n',
- '$ROOT_DIR',
+ '..',
],
CPPDEFINES = [
'U_STATIC_IMPLEMENTATION',
@@ -191,7 +191,7 @@ env_tests.Prepend(
'$LIBPNG_DIR',
'$ICU38_DIR/public/common',
'$ICU38_DIR/public/i18n',
- '$ROOT_DIR',
+ '..',
],
CPPDEFINES = [
'UNIT_TEST',
@@ -304,7 +304,7 @@ test_files = [
if env['PLATFORM'] == 'win32':
# These tests aren't really Windows-specific, they're just here until
# we have the port versions working.
- env_tests.ChromeProgram('debug_message', ['debug_message.cc'])
+ env_tests.ChromeTestProgram('debug_message', ['debug_message.cc'])
test_files.extend([
'directory_watcher_unittest.cc',
@@ -336,9 +336,8 @@ if env['PLATFORM'] == 'darwin':
base_unittests = env_tests.ChromeTestProgram('base_unittests', test_files)
-# Temporarily put things where the buildbot expects them.
-installed_base_unittests = env.Replicate('$MAIN_DIR/Hammer', base_unittests)
-env.Requires(installed_base_unittests, '$MAIN_DIR/Hammer/icudt38.dll')
+# Install up a level to allow unit test path assumptions to be valid.
+installed_base_unittests = env.Install('$TARGET_ROOT', base_unittests)
sconscript_dirs = [