diff options
author | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-04 19:34:31 +0000 |
---|---|---|
committer | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-04 19:34:31 +0000 |
commit | 6fbfff588336c50ee0b86ed1164bad1c618be862 (patch) | |
tree | b4b355933d054a345e25c7a4ed9907d732a60214 /chrome/test/interactive_ui | |
parent | 64cd3c333c5524da0cf4620035797500f6d42655 (diff) | |
download | chromium_src-6fbfff588336c50ee0b86ed1164bad1c618be862.zip chromium_src-6fbfff588336c50ee0b86ed1164bad1c618be862.tar.gz chromium_src-6fbfff588336c50ee0b86ed1164bad1c618be862.tar.bz2 |
More SCons renaming:
* Rename two SConscript files that needed fixing in response to
environment changes in the calling SConscript hierarchy:
chrome\test\interactive_ui\SConscript => interactive_ui_tests.scons
chrome\browser\debugger\SConscript => debugger.scons
* Add the google_update library to LIBS in the using_google_update.scons file.
Review URL: http://codereview.chromium.org/9309
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4629 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/interactive_ui')
-rw-r--r-- | chrome/test/interactive_ui/SConscript | 98 | ||||
-rw-r--r-- | chrome/test/interactive_ui/interactive_ui_tests.scons | 105 |
2 files changed, 105 insertions, 98 deletions
diff --git a/chrome/test/interactive_ui/SConscript b/chrome/test/interactive_ui/SConscript deleted file mode 100644 index 7b0fdda..0000000 --- a/chrome/test/interactive_ui/SConscript +++ /dev/null @@ -1,98 +0,0 @@ -# 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_test') - -env_test = env_test.Clone() - - -env_test.Prepend( - CPPDEFINES = [ - 'UI_TEST', - 'UNIT_TEST', - 'LIBXSLT_STATIC', - 'LIBXML_STATIC', - ], - CPPPATH = [ - '$GTEST_DIR/include', - '$GTEST_DIR', - '$SKIA_DIR/include', - '$SKIA_DIR/include/corecg', - '$SKIA_DIR/platform', - '$CHROME_SRC_DIR', - '$CHROME_DIR/third_party/wtl/include', - '$LIBXSLT_DIR', - '$LIBXML_DIR/include', - ], - LIBS = [ - 'automation', - 'base', - 'base_gfx', - 'browser', - 'browser_views', - 'bzip2', - 'common', - 'debugger', - 'glue', - 'googleurl', - 'gtest', - 'hunspell', - env_test['ICU_LIBS'], # TODO(sgk): '$ICU_LIBS' when scons is fixed - 'libpng', - 'modp_b64', - 'net', - 'renderer', - 'skia', - 'sqlite', - 'views', - 'v8', - 'WebCore', - 'zlib', - ], -) - -env_test.Prepend( - LINKFLAGS = [ - '/INCREMENTAL', - '/DEBUG', - - '/DELAYLOAD:"dwmapi.dll"', - '/DELAYLOAD:"uxtheme.dll"', - - '/MACHINE:X86', - '/FIXED:No', - - '/safeseh', - '/dynamicbase', - '/ignore:4199', - '/nxcompat', - ], - LIBS = [ - 'comsupp.lib', - 'oleacc.lib', - 'psapi.lib', - 'rpcrt4.lib', - 'winmm.lib', - ], -) - -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/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', - '$CHROME_DIR/test/interactive_ui/npapi_interactive_test.cc', - '$CHROME_DIR/test/test_file_util$OBJSUFFIX', - - 'view_event_test_base.cc', -] - -exe = env_test.ChromeTestProgram('interactive_ui_tests', input_files) -i = env_test.Install('$TARGET_ROOT', exe) - -env_test.Alias('chrome', i) 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) |