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 | 7 |
8 env = env.Clone() | 8 env = env.Clone() |
9 | 9 |
10 env.ApplySConscript([ | 10 env.ApplySConscript([ |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 '/nxcompat', | 50 '/nxcompat', |
51 ], | 51 ], |
52 LIBS = [ | 52 LIBS = [ |
53 'comsupp', | 53 'comsupp', |
54 'oleacc', | 54 'oleacc', |
55 'rpcrt4', | 55 'rpcrt4', |
56 'shlwapi', | 56 'shlwapi', |
57 ], | 57 ], |
58 ) | 58 ) |
59 | 59 |
60 input_files = [ | 60 input_files = ChromeFileList([ |
| 61 'chrome_mini_installer.cc', |
| 62 'chrome_mini_installer.h', |
| 63 'mini_installer_test_constants.cc', |
| 64 'mini_installer_test_constants.h', |
| 65 '$CHROME_DIR/installer/util/run_all_unittests$OBJSUFFIX', |
61 '$CHROME_DIR/installer/setup/setup_constants$OBJSUFFIX', | 66 '$CHROME_DIR/installer/setup/setup_constants$OBJSUFFIX', |
62 '$CHROME_DIR/installer/util/run_all_unittests$OBJSUFFIX', | |
63 'chrome_mini_installer.cc', | |
64 'mini_installer_test_constants.cc', | |
65 'test.cc', | 67 'test.cc', |
66 ] | 68 ]) |
67 | 69 |
68 # TODO(port): | 70 # TODO(port): |
69 if env.Bit('windows'): | 71 if env.Bit('windows'): |
70 env.ChromeTestProgram('mini_installer_test', input_files) | 72 env.ChromeTestProgram('mini_installer_test', input_files) |
71 | 73 |
72 env.ChromeMSVSProject('$CHROME_DIR/test/mini_installer_test/mini_installer_test.
vcproj', | 74 p = env.ChromeMSVSProject('mini_installer_test.vcproj', |
73 dependencies = [ | 75 dest=('$CHROME_SRC_DIR/chrome/test/' |
74 '$BASE_DIR/build/base.vcproj', | 76 + 'mini_installer_test/' |
75 '$ICU38_DIR/build/icu.vcproj', | 77 + 'mini_installer_test.vcproj'), |
76 '$TESTING_DIR/gtest.vcproj', | 78 guid='{4B6E199A-034A-49BD-AB93-458DD37E45B1}', |
77 '$CHROME_DIR/installer/util/util.vcproj', | 79 keyword='Win32Proj', |
78 ], | 80 dependencies = [ |
79 guid='{4B6E199A-034A-49BD-AB93-458DD37E45B1}') | 81 '$BASE_DIR/build/base.vcproj', |
| 82 '$ICU38_DIR/build/icu.vcproj', |
| 83 '$TESTING_DIR/gtest.vcproj', |
| 84 '$CHROME_DIR/installer/util/util.vcproj', |
| 85 ], |
| 86 # TODO(sgk): when we can intuit the hierarchy |
| 87 # from the built targets. |
| 88 #buildtargets=TODO, |
| 89 files=input_files, |
| 90 local_directory_prefix='./', |
| 91 ConfigurationType='1') |
| 92 |
| 93 |
| 94 p.AddConfig('Debug|Win32', |
| 95 InheritedPropertySheets=[ |
| 96 '$(SolutionDir)../build/common.vsprops', |
| 97 '$(SolutionDir)../build/debug.vsprops', |
| 98 '$(SolutionDir)/tools/build/win/unit_test.vsprops', |
| 99 '$(SolutionDir)../testing/using_gtest.vsprops', |
| 100 ], |
| 101 tools=[ |
| 102 'VCPreBuildEventTool', |
| 103 'VCCustomBuildTool', |
| 104 'VCXMLDataGeneratorTool', |
| 105 'VCWebServiceProxyGeneratorTool', |
| 106 'VCMIDLTool', |
| 107 'VCCLCompilerTool', |
| 108 'VCManagedResourceCompilerTool', |
| 109 'VCResourceCompilerTool', |
| 110 'VCPreLinkEventTool', |
| 111 MSVSTool('VCLinkerTool', |
| 112 IgnoreDefaultLibraryNames=''), |
| 113 'VCALinkTool', |
| 114 MSVSTool('VCManifestTool', |
| 115 AdditionalManifestFiles=('$(SolutionDir)installer/' |
| 116 + 'mini_installer/' |
| 117 + 'mini_installer.exe.manifest')), |
| 118 'VCXDCMakeTool', |
| 119 'VCBscMakeTool', |
| 120 'VCFxCopTool', |
| 121 'VCAppVerifierTool', |
| 122 'VCWebDeploymentTool', |
| 123 'VCPostBuildEventTool', |
| 124 ]) |
| 125 |
| 126 p.AddConfig('Release|Win32', |
| 127 InheritedPropertySheets=[ |
| 128 '$(SolutionDir)../build/common.vsprops', |
| 129 '$(SolutionDir)../build/release.vsprops', |
| 130 '$(SolutionDir)/tools/build/win/unit_test.vsprops', |
| 131 '$(SolutionDir)../testing/using_gtest.vsprops', |
| 132 ], |
| 133 tools=[ |
| 134 'VCPreBuildEventTool', |
| 135 'VCCustomBuildTool', |
| 136 'VCXMLDataGeneratorTool', |
| 137 'VCWebServiceProxyGeneratorTool', |
| 138 'VCMIDLTool', |
| 139 'VCCLCompilerTool', |
| 140 'VCManagedResourceCompilerTool', |
| 141 'VCResourceCompilerTool', |
| 142 'VCPreLinkEventTool', |
| 143 'VCLinkerTool', |
| 144 'VCALinkTool', |
| 145 MSVSTool('VCManifestTool', |
| 146 AdditionalManifestFiles=('$(SolutionDir)installer/' |
| 147 + 'mini_installer/' |
| 148 + 'mini_installer.exe.manifest')), |
| 149 'VCXDCMakeTool', |
| 150 'VCBscMakeTool', |
| 151 'VCFxCopTool', |
| 152 'VCAppVerifierTool', |
| 153 'VCWebDeploymentTool', |
| 154 'VCPostBuildEventTool', |
| 155 ]) |
OLD | NEW |