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 '$CHROME_DIR/third_party/wtl/using_wtl.scons', | 10 '$CHROME_DIR/third_party/wtl/using_wtl.scons', |
11 '$SKIA_DIR/using_skia.scons', | 11 '$SKIA_DIR/using_skia.scons', |
12 ]) | 12 ]) |
13 | 13 |
14 env.Prepend( | 14 env.Prepend( |
15 CPPPATH = [ | 15 CPPPATH = [ |
16 '$CHROME_SRC_DIR', | 16 '$CHROME_SRC_DIR', |
17 ], | 17 ], |
18 ) | 18 ) |
19 | 19 |
20 input_files = [ | 20 input_files = ChromeFileList([ |
21 'autocomplete_edit_proxy.cc', | 21 'autocomplete_edit_proxy.cc', |
| 22 'autocomplete_edit_proxy.h', |
| 23 'automation_constants.h', |
22 'automation_handle_tracker.cc', | 24 'automation_handle_tracker.cc', |
| 25 'automation_handle_tracker.h', |
| 26 'automation_messages.h', |
| 27 'automation_messages_internal.h', |
23 'automation_proxy.cc', | 28 'automation_proxy.cc', |
| 29 'automation_proxy.h', |
24 'browser_proxy.cc', | 30 'browser_proxy.cc', |
| 31 'browser_proxy.h', |
25 'constrained_window_proxy.cc', | 32 'constrained_window_proxy.cc', |
| 33 'constrained_window_proxy.h', |
26 'tab_proxy.cc', | 34 'tab_proxy.cc', |
| 35 'tab_proxy.h', |
27 'window_proxy.cc', | 36 'window_proxy.cc', |
28 ] | 37 'window_proxy.h', |
| 38 ]) |
29 | 39 |
30 # TODO(port): | 40 # TODO(port): |
31 if env.Bit('windows'): | 41 if env.Bit('windows'): |
32 env.ChromeLibrary('automation', input_files) | 42 env.ChromeLibrary('automation', input_files) |
33 | 43 |
34 env.ChromeMSVSProject('$CHROME_DIR/test/automation/automation.vcproj', | 44 p = env.ChromeMSVSProject('automation.vcproj', |
35 guid='{1556EF78-C7E6-43C8-951F-F6B43AC0DD12}') | 45 dest=('$CHROME_SRC_DIR/chrome/' |
| 46 + 'test/automation/automation.vcproj'), |
| 47 guid='{1556EF78-C7E6-43C8-951F-F6B43AC0DD12}', |
| 48 # TODO(sgk): when we can intuit the hierarchy |
| 49 # from the built targets. |
| 50 #buildtargets=TODO, |
| 51 files=input_files, |
| 52 relative_path_prefix='./', |
| 53 tools=[ |
| 54 'VCPreBuildEventTool', |
| 55 'VCCustomBuildTool', |
| 56 'VCXMLDataGeneratorTool', |
| 57 'VCWebServiceProxyGeneratorTool', |
| 58 'VCMIDLTool', |
| 59 'VCCLCompilerTool', |
| 60 'VCManagedResourceCompilerTool', |
| 61 'VCResourceCompilerTool', |
| 62 'VCPreLinkEventTool', |
| 63 'VCLibrarianTool', |
| 64 'VCALinkTool', |
| 65 'VCXDCMakeTool', |
| 66 'VCBscMakeTool', |
| 67 'VCFxCopTool', |
| 68 'VCPostBuildEventTool', |
| 69 ], |
| 70 ConfigurationType='4') |
| 71 |
| 72 |
| 73 p.AddConfig('Debug|Win32', |
| 74 InheritedPropertySheets=[ |
| 75 '$(SolutionDir)../build/debug.vsprops', |
| 76 './automation.vsprops', |
| 77 ]) |
| 78 |
| 79 p.AddConfig('Release|Win32', |
| 80 InheritedPropertySheets=[ |
| 81 '$(SolutionDir)../build/release.vsprops', |
| 82 './automation.vsprops', |
| 83 ]) |
OLD | NEW |