summaryrefslogtreecommitdiffstats
path: root/chrome/test/interactive_ui/interactive_ui_tests.scons
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/interactive_ui/interactive_ui_tests.scons')
-rw-r--r--chrome/test/interactive_ui/interactive_ui_tests.scons105
1 files changed, 105 insertions, 0 deletions
diff --git a/chrome/test/interactive_ui/interactive_ui_tests.scons b/chrome/test/interactive_ui/interactive_ui_tests.scons
new file mode 100644
index 0000000..f9cc21a
--- /dev/null
+++ b/chrome/test/interactive_ui/interactive_ui_tests.scons
@@ -0,0 +1,105 @@
+# Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+Import('env')
+
+env = env.Clone()
+
+env.SConscript([
+ '$BASE_DIR/gfx/using_base_gfx.scons',
+ '$BASE_DIR/using_base.scons',
+ '$BZIP2_DIR/using_bzip2.scons',
+ '$CHROME_DIR/third_party/hunspell/using_hunspell.scons',
+ '$CHROME_DIR/third_party/wtl/using_wtl.scons',
+ '$CHROME_SRC_DIR/build/using_googleurl.scons',
+ '$GOOGLE_UPDATE_DIR/using_google_update.scons',
+ '$GTEST_DIR/../using_gtest.scons',
+ '$ICU38_DIR/using_icu38.scons',
+ '$LIBJPEG_DIR/using_libjpeg.scons',
+ '$LIBPNG_DIR/using_libpng.scons',
+ '$LIBXML_DIR/using_libxml.scons',
+ '$LIBXSLT_DIR/using_libxslt.scons',
+ '$MODP_B64_DIR/using_modp_b64.scons',
+ '$NET_DIR/using_net.scons',
+ '$NPAPI_DIR/using_npapi.scons',
+ '$SKIA_DIR/using_skia.scons',
+ '$ZLIB_DIR/using_zlib.scons',
+], {'env':env})
+
+env.Prepend(
+ CPPDEFINES = [
+ 'UI_TEST',
+ ],
+ CPPPATH = [
+ '$CHROME_SRC_DIR',
+ ],
+ LIBS = [
+ 'automation',
+ 'browser',
+ 'browser_views',
+ 'common',
+ 'debugger',
+ 'default_plugin',
+ 'glue',
+ #'jscre',
+ 'JavaScriptCore_pcre',
+ 'plugin',
+ 'port',
+ 'renderer',
+ 'sqlite',
+ 'test_chrome_plugin',
+ 'util',
+ 'views',
+ 'v8',
+ 'v8_snapshot',
+ 'V8Bindings',
+ 'WebCore',
+ 'WTF',
+ ],
+)
+
+if env['PLATFORM'] == 'win32':
+ env.Prepend(
+ LINKFLAGS = [
+ '/INCREMENTAL',
+ '/DEBUG',
+
+ '/DELAYLOAD:"dwmapi.dll"',
+ '/DELAYLOAD:"uxtheme.dll"',
+
+ '/MACHINE:X86',
+ '/FIXED:No',
+
+ '/safeseh',
+ '/dynamicbase',
+ '/ignore:4199',
+ '/nxcompat',
+ ],
+ LIBS = [
+ 'activex_shim',
+ 'comsupp',
+ 'oleacc',
+ 'psapi',
+ 'rpcrt4',
+ 'winmm',
+ ],
+ )
+
+input_files = [
+ '$CHROME_DIR/browser/browser_focus_uitest.cc',
+ '$CHROME_DIR/browser/views/bookmark_bar_view_test.cc',
+ '$CHROME_DIR/browser/views/constrained_window_impl_interactive_uitest.cc',
+ '$CHROME_DIR/browser/views/tabs/tab_dragging_test.cc',
+ '$CHROME_DIR/test/interactive_ui/npapi_interactive_test.cc',
+ '$CHROME_DIR/test/test_file_util$OBJSUFFIX',
+ '$CHROME_DIR/test/testing_profile$OBJSUFFIX',
+ '$CHROME_DIR/test/ui/npapi_test_helper$OBJSUFFIX',
+ '$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX',
+ '$CHROME_DIR/test/ui/ui_test$OBJSUFFIX',
+ '$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX',
+
+ 'view_event_test_base.cc',
+]
+
+env.ChromeTestProgram('interactive_ui_tests', input_files)