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