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.Prepend( | 9 env.Prepend( |
10 CPPPATH = [ | 10 CPPPATH = [ |
(...skipping 22 matching lines...) Expand all Loading... |
33 ], | 33 ], |
34 LIBS = [ | 34 LIBS = [ |
35 'comsuppw.lib', | 35 'comsuppw.lib', |
36 ], | 36 ], |
37 ) | 37 ) |
38 | 38 |
39 # TODO(port): | 39 # TODO(port): |
40 if env.Bit('windows'): | 40 if env.Bit('windows'): |
41 env.TypeLibrary('activex_test_control.idl') | 41 env.TypeLibrary('activex_test_control.idl') |
42 | 42 |
43 input_files = [ | 43 input_files = ChromeFileList([ |
| 44 # TODO(sgk): violate standard indentation so we don't have to |
| 45 # reindent too much when we remove the explicit MSVSFilter() calls |
| 46 # in favor of generating the hierarchy to reflect the file system. |
| 47 MSVSFilter('resource', [ |
| 48 'activex_test_control.rc', |
| 49 'activex_test_control.rgs', |
| 50 'chrome_test_control.bmp', |
| 51 'chrome_test_control.rgs', |
| 52 ]), |
44 'activex_test_control.cc', | 53 'activex_test_control.cc', |
45 'activex_test_control.def', | 54 'activex_test_control.def', |
| 55 'activex_test_control.idl', |
46 'chrome_test_control.cc', | 56 'chrome_test_control.cc', |
47 ] | 57 'chrome_test_control.h', |
| 58 'chrome_test_control_cp.h', |
| 59 'resource.h', |
| 60 ]) |
48 | 61 |
49 # TODO(port): | 62 # TODO(port): |
50 if env.Bit('windows'): | 63 if env.Bit('windows'): |
51 env.ChromeSharedLibrary('activex_test_control', input_files) | 64 env.ChromeSharedLibrary('activex_test_control', input_files) |
52 | 65 |
53 env.ChromeMSVSProject(('$CHROME_DIR/test/activex_test_control/' + | 66 p = env.ChromeMSVSProject('activex_test_control.vcproj', |
54 'activex_test_control.vcproj'), | 67 dest=('$CHROME_SRC_DIR/chrome/test/' |
55 guid='{414D4D24-5D65-498B-A33F-3A29AD3CDEDC}') | 68 + 'activex_test_control/' |
| 69 + 'activex_test_control.vcproj'), |
| 70 keyword='AtlProj', |
| 71 guid='{414D4D24-5D65-498B-A33F-3A29AD3CDEDC}', |
| 72 # TODO(sgk): when we can intuit the hierarchy |
| 73 # from the built targets. |
| 74 #buildtargets=TODO, |
| 75 files=input_files, |
| 76 relative_path_prefix='./', |
| 77 tools=[ |
| 78 'VCPreBuildEventTool', |
| 79 'VCCustomBuildTool', |
| 80 'VCXMLDataGeneratorTool', |
| 81 'VCWebServiceProxyGeneratorTool', |
| 82 'VCMIDLTool', |
| 83 'VCCLCompilerTool', |
| 84 'VCManagedResourceCompilerTool', |
| 85 'VCResourceCompilerTool', |
| 86 'VCPreLinkEventTool', |
| 87 'VCLinkerTool', |
| 88 'VCALinkTool', |
| 89 'VCManifestTool', |
| 90 'VCXDCMakeTool', |
| 91 'VCBscMakeTool', |
| 92 'VCFxCopTool', |
| 93 'VCAppVerifierTool', |
| 94 'VCWebDeploymentTool', |
| 95 'VCPostBuildEventTool', |
| 96 ], |
| 97 ConfigurationType='2') |
| 98 |
| 99 |
| 100 p.AddConfig('Debug|Win32', |
| 101 InheritedPropertySheets=[ |
| 102 './activex_test_control.vsprops', |
| 103 '$(SolutionDir)../build/debug.vsprops', |
| 104 ]) |
| 105 |
| 106 p.AddConfig('Release|Win32', |
| 107 InheritedPropertySheets=[ |
| 108 './activex_test_control.vsprops', |
| 109 '$(SolutionDir)../build/release.vsprops', |
| 110 ]) |
OLD | NEW |