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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 ], | 55 ], |
56 LIBS = [ | 56 LIBS = [ |
57 'comsupp', | 57 'comsupp', |
58 'oleacc', | 58 'oleacc', |
59 'psapi', | 59 'psapi', |
60 'rpcrt4', | 60 'rpcrt4', |
61 'winmm', | 61 'winmm', |
62 ], | 62 ], |
63 ) | 63 ) |
64 | 64 |
65 input_files = [ | 65 input_files = ChromeFileList([ |
| 66 # TODO(sgk): violate standard indentation so we don't have to |
| 67 # reindent too much when we remove the explicit MSVSFilter() calls |
| 68 # in favor of generating the hierarchy to reflect the file system. |
| 69 MSVSFilter('Common', [ |
| 70 '$CHROME_DIR/tools/build/win/precompiled_wtl$OBJSUFFIX', |
| 71 '$CHROME_DIR/tools/build/win/precompiled_wtl.h', |
| 72 'reliability_test_suite.h', |
| 73 'run_all_unittests.cc', |
| 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', [ |
66 '$CHROME_DIR/test/perf/mem_usage$OBJSUFFIX', | 80 '$CHROME_DIR/test/perf/mem_usage$OBJSUFFIX', |
67 '$CHROME_DIR/test/ui/ui_test$OBJSUFFIX', | 81 '$CHROME_DIR/test/perf/mem_usage.h', |
68 '$CHROME_DIR/test/ui/ui_test_suite$OBJSUFFIX', | 82 ]), |
| 83 MSVSFilter('TestPageLoader', [ |
69 'page_load_test.cc', | 84 'page_load_test.cc', |
70 'run_all_unittests.cc', | 85 'page_load_test.h', |
71 ] | 86 ]), |
| 87 ]) |
| 88 |
| 89 if not env.Bit('windows'): |
| 90 # Windows-specific. |
| 91 input_files.Remove( |
| 92 '$CHROME_DIR/tools/build/win/precompiled_wtl$OBJSUFFIX', |
| 93 '$CHROME_DIR/tools/build/win/precompiled_wtl.h', |
| 94 ) |
72 | 95 |
73 # TODO(port): | 96 # TODO(port): |
74 if env.Bit('windows'): | 97 if env.Bit('windows'): |
75 env.ChromeTestProgram('reliability_tests', input_files) | 98 env.ChromeTestProgram('reliability_tests', input_files) |
76 | 99 |
77 env.ChromeMSVSProject('$CHROME_DIR/test/reliability/reliability_tests.vcproj', | 100 p = env.ChromeMSVSProject('reliability_tests.vcproj', |
78 dependencies = [ | 101 dest=('$CHROME_SRC_DIR/chrome/' |
79 '$CHROME_DIR/test/automation/automation.vcproj', | 102 + 'test/reliability/reliability_tests.vcproj'), |
80 '$BASE_DIR/build/base.vcproj', | 103 guid='{8A3E1774-1DE9-445C-982D-3EE37C8A752A}', |
81 '$NET_DIR/build/net.vcproj', | 104 dependencies = [ |
82 '$CHROME_DIR/browser/browser.vcproj', | 105 '$CHROME_DIR/test/automation/automation.vcproj', |
83 '$MODP_B64_DIR/modp_b64.vcproj', | 106 '$BASE_DIR/build/base.vcproj', |
84 '$CHROME_DIR/app/chrome_exe.vcproj', | 107 '$NET_DIR/build/net.vcproj', |
85 '$ZLIB_DIR/zlib.vcproj', | 108 '$CHROME_DIR/browser/browser.vcproj', |
86 '$CHROME_DIR/common/common.vcproj', | 109 '$MODP_B64_DIR/modp_b64.vcproj', |
87 '$ICU38_DIR/build/icu.vcproj', | 110 '$CHROME_DIR/app/chrome_exe.vcproj', |
88 '$BASE_DIR/build/base_gfx.vcproj', | 111 '$ZLIB_DIR/zlib.vcproj', |
89 '$TESTING_DIR/gtest.vcproj', | 112 '$CHROME_DIR/common/common.vcproj', |
90 '$LIBPNG_DIR/libpng.vcproj', | 113 '$ICU38_DIR/build/icu.vcproj', |
91 '$SKIA_DIR/skia.vcproj', | 114 '$BASE_DIR/build/base_gfx.vcproj', |
92 '$GOOGLEURL_DIR/build/googleurl.vcproj', | 115 '$TESTING_DIR/gtest.vcproj', |
93 '$CHROME_DIR/browser/views/browser_views.vcproj', | 116 '$LIBPNG_DIR/libpng.vcproj', |
94 ], | 117 '$SKIA_DIR/skia.vcproj', |
95 guid='{8A3E1774-1DE9-445C-982D-3EE37C8A752A}') | 118 '$GOOGLEURL_DIR/build/googleurl.vcproj', |
| 119 '$CHROME_DIR/browser/views/browser_views.vcproj', |
| 120 ], |
| 121 # TODO(sgk): when we can intuit the hierarchy |
| 122 # from the built targets. |
| 123 #buildtargets=TODO, |
| 124 files=input_files, |
| 125 local_directory_prefix='./', |
| 126 tools=[ |
| 127 'VCPreBuildEventTool', |
| 128 'VCCustomBuildTool', |
| 129 'VCXMLDataGeneratorTool', |
| 130 'VCWebServiceProxyGeneratorTool', |
| 131 'VCMIDLTool', |
| 132 'VCCLCompilerTool', |
| 133 'VCManagedResourceCompilerTool', |
| 134 'VCResourceCompilerTool', |
| 135 'VCPreLinkEventTool', |
| 136 MSVSTool('VCLinkerTool', |
| 137 AdditionalDependencies='winmm.lib'), |
| 138 'VCALinkTool', |
| 139 'VCManifestTool', |
| 140 'VCXDCMakeTool', |
| 141 'VCBscMakeTool', |
| 142 'VCFxCopTool', |
| 143 'VCAppVerifierTool', |
| 144 'VCWebDeploymentTool', |
| 145 'VCPostBuildEventTool', |
| 146 ], |
| 147 ConfigurationType='1') |
| 148 |
| 149 |
| 150 p.AddConfig('Debug|Win32', |
| 151 InheritedPropertySheets=[ |
| 152 '$(SolutionDir)../build/common.vsprops', |
| 153 '$(SolutionDir)../build/debug.vsprops', |
| 154 '../../tools/build/win/precompiled_wtl.vsprops', |
| 155 '../../tools/build/win/unit_test.vsprops', |
| 156 '../../tools/build/win/ui_test.vsprops', |
| 157 '../../tools/build/win/test_memory_usage.vsprops', |
| 158 '../../tools/build/win/reliability_test.vsprops', |
| 159 '$(SolutionDir)../skia/using_skia.vsprops', |
| 160 '$(SolutionDir)../testing/using_gtest.vsprops', |
| 161 ]) |
| 162 |
| 163 p.AddConfig('Release|Win32', |
| 164 InheritedPropertySheets=[ |
| 165 '$(SolutionDir)../build/common.vsprops', |
| 166 '$(SolutionDir)../build/release.vsprops', |
| 167 '../../tools/build/win/unit_test.vsprops', |
| 168 '../../tools/build/win/ui_test.vsprops', |
| 169 '../../tools/build/win/test_memory_usage.vsprops', |
| 170 '../../tools/build/win/reliability_test.vsprops', |
| 171 '$(SolutionDir)../skia/using_skia.vsprops', |
| 172 '$(SolutionDir)../testing/using_gtest.vsprops', |
| 173 ]) |
| 174 |
| 175 p.AddFileConfig('../../tools/build/win/precompiled_wtl.cc', |
| 176 'Debug|Win32', |
| 177 tools=[ |
| 178 MSVSTool('VCCLCompilerTool', |
| 179 UsePrecompiledHeader='1'), |
| 180 ]) |
OLD | NEW |