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