summaryrefslogtreecommitdiffstats
path: root/chrome/test/interactive_ui/interactive_ui_tests.scons
blob: f9cc21a9b0dc7d5798835e4fb9485f8509587bd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
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)