OLD | NEW |
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 Import('env') | 5 Import('env') |
6 | 6 |
7 env = env.Clone() | 7 env = env.Clone() |
8 | 8 |
9 env.ApplySConscript([ | 9 env.ApplySConscript([ |
10 '$BASE_DIR/using_base.scons', | 10 '$BASE_DIR/using_base.scons', |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 '/FIXED:No', | 56 '/FIXED:No', |
57 ], | 57 ], |
58 LIBS = [ | 58 LIBS = [ |
59 'comsupp', | 59 'comsupp', |
60 'oleacc', | 60 'oleacc', |
61 'psapi', | 61 'psapi', |
62 'rpcrt4', | 62 'rpcrt4', |
63 ], | 63 ], |
64 ) | 64 ) |
65 | 65 |
66 input_files = [ | 66 input_files = ChromeFileList([ |
| 67 # TODO(sgk): violate standard indentation so we don't have to |
| 68 # reindent too much when we remove the explicit MSVSFilter() calls |
| 69 # in favor of generating the hierarchy to reflect the file system. |
| 70 MSVSFilter('Common', [ |
| 71 '$CHROME_DIR/tools/build/win/precompiled_wtl$OBJSUFFIX', |
| 72 '$CHROME_DIR/tools/build/win/precompiled_wtl.h', |
| 73 '$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX', |
| 74 '$CHROME_DIR/test/testing_browser_process.h', |
| 75 '$CHROME_DIR/test/ui/ui_test$OBJSUFFIX', |
| 76 '$CHROME_DIR/test/ui/ui_test.h', |
| 77 '$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX', |
| 78 ]), |
| 79 MSVSFilter('MemoryUsage', [ |
| 80 '$CHROME_DIR/test/perf/mem_usage$OBJSUFFIX', |
| 81 '$CHROME_DIR/test/perf/mem_usage.h', |
| 82 ]), |
| 83 MSVSFilter('AutomatedUITest', [ |
67 'automated_ui_tests.cc', | 84 'automated_ui_tests.cc', |
| 85 'automated_ui_tests.h', |
| 86 ]), |
| 87 ]) |
68 | 88 |
69 '$CHROME_DIR/test/perf/mem_usage$OBJSUFFIX', | 89 if not env.Bit('windows'): |
70 '$CHROME_DIR/test/ui/run_all_unittests$OBJSUFFIX', | 90 input_files.Remove( |
71 '$CHROME_DIR/test/ui/ui_test$OBJSUFFIX', | 91 '$CHROME_DIR/tools/build/win/precompiled_wtl$OBJSUFFIX', |
72 '$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX', | 92 '$CHROME_DIR/tools/build/win/precompiled_wtl.h', |
73 ] | 93 ) |
74 | 94 |
75 # TODO(port): | 95 # TODO(port): |
76 if env.Bit('windows'): | 96 if env.Bit('windows'): |
77 env.ChromeTestProgram('automated_ui_tests', input_files) | 97 env.ChromeTestProgram('automated_ui_tests', input_files) |
78 | 98 |
79 env.ChromeMSVSProject('$CHROME_DIR/test/automated_ui_tests/automated_ui_tests.vc
proj', | 99 p = env.ChromeMSVSProject('automated_ui_tests.vcproj', |
80 dependencies = [ | 100 dest=('$CHROME_SRC_DIR/chrome/test/' |
81 '$CHROME_DIR/test/automation/automation.vcproj', | 101 + 'automated_ui_tests/' |
82 '$BASE_DIR/build/base.vcproj', | 102 + 'automated_ui_tests.vcproj'), |
83 '$LIBXML_DIR/build/libxml_config.vcproj', | 103 root_namespace='page_cycler_tests', |
84 '$NET_DIR/build/net.vcproj', | 104 guid='{D2250C20-3A94-4FB9-AF73-11BC5B73884B}', |
85 '$CHROME_DIR/browser/browser.vcproj', | 105 dependencies = [ |
86 '$MODP_B64_DIR/modp_b64.vcproj', | 106 '$CHROME_DIR/test/automation/automation.vcproj', |
87 '$CHROME_DIR/app/chrome_exe.vcproj', | 107 '$BASE_DIR/build/base.vcproj', |
88 '$ZLIB_DIR/zlib.vcproj', | 108 '$LIBXML_DIR/build/libxml_config.vcproj', |
89 '$CHROME_DIR/common/common.vcproj', | 109 '$NET_DIR/build/net.vcproj', |
90 '$ICU38_DIR/build/icu.vcproj', | 110 '$CHROME_DIR/browser/browser.vcproj', |
91 '$BASE_DIR/build/base_gfx.vcproj', | 111 '$MODP_B64_DIR/modp_b64.vcproj', |
92 '$TESTING_DIR/gtest.vcproj', | 112 '$CHROME_DIR/app/chrome_exe.vcproj', |
93 '$LIBPNG_DIR/libpng.vcproj', | 113 '$ZLIB_DIR/zlib.vcproj', |
94 '$SKIA_DIR/skia.vcproj', | 114 '$CHROME_DIR/common/common.vcproj', |
95 '$GOOGLEURL_DIR/build/googleurl.vcproj', | 115 '$ICU38_DIR/build/icu.vcproj', |
96 '$LIBXML_DIR/build/libxml.vcproj', | 116 '$BASE_DIR/build/base_gfx.vcproj', |
97 '$CHROME_DIR/browser/views/browser_views.vcproj', | 117 '$TESTING_DIR/gtest.vcproj', |
98 ], | 118 '$LIBPNG_DIR/libpng.vcproj', |
99 guid='{D2250C20-3A94-4FB9-AF73-11BC5B73884B}') | 119 '$SKIA_DIR/skia.vcproj', |
| 120 '$GOOGLEURL_DIR/build/googleurl.vcproj', |
| 121 '$LIBXML_DIR/build/libxml.vcproj', |
| 122 '$CHROME_DIR/browser/views/browser_views.vcproj', |
| 123 ], |
| 124 # TODO(sgk): when we can intuit the hierarchy |
| 125 # from the built targets. |
| 126 #buildtargets=TODO, |
| 127 files=input_files, |
| 128 local_directory_prefix='./', |
| 129 tools=[ |
| 130 'VCPreBuildEventTool', |
| 131 'VCCustomBuildTool', |
| 132 'VCXMLDataGeneratorTool', |
| 133 'VCWebServiceProxyGeneratorTool', |
| 134 'VCMIDLTool', |
| 135 'VCCLCompilerTool', |
| 136 'VCManagedResourceCompilerTool', |
| 137 'VCResourceCompilerTool', |
| 138 'VCPreLinkEventTool', |
| 139 'VCLinkerTool', |
| 140 'VCALinkTool', |
| 141 'VCManifestTool', |
| 142 'VCXDCMakeTool', |
| 143 'VCBscMakeTool', |
| 144 'VCFxCopTool', |
| 145 'VCAppVerifierTool', |
| 146 'VCWebDeploymentTool', |
| 147 'VCPostBuildEventTool', |
| 148 ], |
| 149 ConfigurationType='1') |
| 150 |
| 151 |
| 152 p.AddConfig('Debug|Win32', |
| 153 InheritedPropertySheets=[ |
| 154 '$(SolutionDir)../build/common.vsprops', |
| 155 '$(SolutionDir)../build/debug.vsprops', |
| 156 '../../tools/build/win/precompiled_wtl.vsprops', |
| 157 '../../tools/build/win/unit_test.vsprops', |
| 158 '../../tools/build/win/ui_test.vsprops', |
| 159 '$(SolutionDir)../skia/using_skia.vsprops', |
| 160 ('$(SolutionDir)../' |
| 161 + 'third_party/libxml/build/using_libxml.vsprops'), |
| 162 '$(SolutionDir)../third_party/icu38/build/using_icu.vsprops', |
| 163 '../../tools/build/win/test_memory_usage.vsprops', |
| 164 '$(SolutionDir)../testing/using_gtest.vsprops', |
| 165 ]) |
| 166 |
| 167 p.AddConfig('Release|Win32', |
| 168 InheritedPropertySheets=[ |
| 169 '$(SolutionDir)../build/common.vsprops', |
| 170 '$(SolutionDir)../build/release.vsprops', |
| 171 '../../tools/build/win/unit_test.vsprops', |
| 172 '../../tools/build/win/ui_test.vsprops', |
| 173 '../../tools/build/win/test_memory_usage.vsprops', |
| 174 '$(SolutionDir)../skia/using_skia.vsprops', |
| 175 ('$(SolutionDir)../' |
| 176 + 'third_party/libxml/build/using_libxml.vsprops'), |
| 177 '$(SolutionDir)../third_party/icu38/build/using_icu.vsprops', |
| 178 '$(SolutionDir)../testing/using_gtest.vsprops', |
| 179 ]) |
| 180 |
| 181 p.AddFileConfig('../../tools/build/win/precompiled_wtl.cc', |
| 182 'Debug|Win32', |
| 183 tools=[ |
| 184 MSVSTool('VCCLCompilerTool', |
| 185 UsePrecompiledHeader='1'), |
| 186 ]) |
OLD | NEW |