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 23 matching lines...) Expand all Loading... |
34 '/ignore:4199', | 34 '/ignore:4199', |
35 '/nxcompat', | 35 '/nxcompat', |
36 | 36 |
37 '/DEBUG', | 37 '/DEBUG', |
38 ], | 38 ], |
39 LIBS = [ | 39 LIBS = [ |
40 'winmm.lib', | 40 'winmm.lib', |
41 ], | 41 ], |
42 ) | 42 ) |
43 | 43 |
44 input_files = [ | 44 input_files = ChromeFileList([ |
45 'test_chrome_plugin.cc', | 45 'test_chrome_plugin.cc', |
46 ] | 46 'test_chrome_plugin.def', |
| 47 'test_chrome_plugin.h', |
| 48 ]) |
47 | 49 |
48 if env.Bit('windows'): | 50 if not env.Bit('windows'): |
49 input_files.extend([ | 51 input_files.Remove( |
50 'test_chrome_plugin.def', | 52 'test_chrome_plugin.def', |
51 ]) | 53 ) |
52 | 54 |
53 env.ChromeSharedLibrary('test_chrome_plugin', input_files) | 55 env.ChromeSharedLibrary('test_chrome_plugin', input_files) |
54 | 56 |
55 env.ChromeMSVSProject('$CHROME_DIR/test/chrome_plugin/test_chrome_plugin.vcproj'
, | 57 p = env.ChromeMSVSProject('test_chrome_plugin.vcproj', |
56 dependencies = [ | 58 dest=('$CHROME_SRC_DIR/chrome/test/' |
57 '$BASE_DIR/build/base.vcproj', | 59 + 'chrome_plugin/test_chrome_plugin.vcproj'), |
58 '$ICU38_DIR/build/icu.vcproj', | 60 root_namespace='startup_tests', |
59 '$ICU38_DIR/build/icudt.vcproj', | 61 guid='{7F0A70F6-BE3F-4C19-B435-956AB8F30BA4}', |
60 '$GOOGLEURL_DIR/build/googleurl.vcproj', | 62 dependencies = [ |
61 ], | 63 '$BASE_DIR/build/base.vcproj', |
62 guid='{7F0A70F6-BE3F-4C19-B435-956AB8F30BA4}') | 64 '$ICU38_DIR/build/icu.vcproj', |
| 65 '$ICU38_DIR/build/icudt.vcproj', |
| 66 '$GOOGLEURL_DIR/build/googleurl.vcproj', |
| 67 ], |
| 68 # TODO(sgk): when we can intuit the hierarchy |
| 69 # from the built targets. |
| 70 #buildtargets=TODO, |
| 71 files=input_files, |
| 72 relative_path_prefix='./', |
| 73 ConfigurationType='2') |
| 74 |
| 75 |
| 76 p.AddConfig('Debug|Win32', |
| 77 InheritedPropertySheets=[ |
| 78 '$(SolutionDir)../build/debug.vsprops', |
| 79 './test_chrome_plugin.vsprops', |
| 80 ], |
| 81 tools=[ |
| 82 'VCPreBuildEventTool', |
| 83 'VCCustomBuildTool', |
| 84 'VCXMLDataGeneratorTool', |
| 85 'VCWebServiceProxyGeneratorTool', |
| 86 'VCMIDLTool', |
| 87 MSVSTool('VCCLCompilerTool', |
| 88 UsePrecompiledHeader='0'), |
| 89 'VCManagedResourceCompilerTool', |
| 90 'VCResourceCompilerTool', |
| 91 'VCPreLinkEventTool', |
| 92 MSVSTool('VCLinkerTool', |
| 93 AdditionalDependencies='winmm.lib'), |
| 94 'VCALinkTool', |
| 95 'VCManifestTool', |
| 96 'VCXDCMakeTool', |
| 97 'VCBscMakeTool', |
| 98 'VCFxCopTool', |
| 99 'VCAppVerifierTool', |
| 100 'VCWebDeploymentTool', |
| 101 'VCPostBuildEventTool', |
| 102 ]) |
| 103 |
| 104 p.AddConfig('Release|Win32', |
| 105 InheritedPropertySheets=[ |
| 106 '$(SolutionDir)../build/release.vsprops', |
| 107 './test_chrome_plugin.vsprops', |
| 108 ], |
| 109 tools=[ |
| 110 'VCPreBuildEventTool', |
| 111 'VCCustomBuildTool', |
| 112 'VCXMLDataGeneratorTool', |
| 113 'VCWebServiceProxyGeneratorTool', |
| 114 'VCMIDLTool', |
| 115 'VCCLCompilerTool', |
| 116 'VCManagedResourceCompilerTool', |
| 117 'VCResourceCompilerTool', |
| 118 'VCPreLinkEventTool', |
| 119 MSVSTool('VCLinkerTool', |
| 120 AdditionalDependencies='winmm.lib'), |
| 121 'VCALinkTool', |
| 122 'VCManifestTool', |
| 123 'VCXDCMakeTool', |
| 124 'VCBscMakeTool', |
| 125 'VCFxCopTool', |
| 126 'VCAppVerifierTool', |
| 127 'VCWebDeploymentTool', |
| 128 'VCPostBuildEventTool', |
| 129 ]) |
OLD | NEW |