| 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 '$CHROME_SRC_DIR/tools/grit/build/using_generated_resources.scons', |
| 11 '$SKIA_DIR/using_skia.scons', | 12 '$SKIA_DIR/using_skia.scons', |
| 12 ]) | 13 ]) |
| 13 | 14 |
| 14 env.Prepend( | 15 env.Prepend( |
| 15 CPPPATH = [ | 16 CPPPATH = [ |
| 16 '$CHROME_SRC_DIR', | 17 '$CHROME_SRC_DIR', |
| 17 ], | 18 ], |
| 18 ) | 19 ) |
| 19 | 20 |
| 20 input_files = ChromeFileList([ | 21 input_files = ChromeFileList([ |
| 21 'autocomplete_edit_proxy.cc', | 22 'autocomplete_edit_proxy.cc', |
| 22 'autocomplete_edit_proxy.h', | 23 'autocomplete_edit_proxy.h', |
| 23 'automation_constants.h', | 24 'automation_constants.h', |
| 24 'automation_handle_tracker.cc', | 25 'automation_handle_tracker.cc', |
| 25 'automation_handle_tracker.h', | 26 'automation_handle_tracker.h', |
| 26 'automation_messages.h', | 27 'automation_messages.h', |
| 27 'automation_messages_internal.h', | 28 'automation_messages_internal.h', |
| 28 'automation_proxy.cc', | 29 'automation_proxy.cc', |
| 29 'automation_proxy.h', | 30 'automation_proxy.h', |
| 30 'browser_proxy.cc', | 31 'browser_proxy.cc', |
| 31 'browser_proxy.h', | 32 'browser_proxy.h', |
| 32 'constrained_window_proxy.cc', | 33 'constrained_window_proxy.cc', |
| 33 'constrained_window_proxy.h', | 34 'constrained_window_proxy.h', |
| 34 'tab_proxy.cc', | 35 'tab_proxy.cc', |
| 35 'tab_proxy.h', | 36 'tab_proxy.h', |
| 36 'window_proxy.cc', | 37 'window_proxy.cc', |
| 37 'window_proxy.h', | 38 'window_proxy.h', |
| 38 ]) | 39 ]) |
| 39 | 40 |
| 40 # TODO(port): | 41 if not env.Bit('windows'): |
| 41 if env.Bit('windows'): | 42 # TODO(port): port. |
| 42 env.ChromeLibrary('automation', input_files) | 43 input_files.Remove( |
| 44 'autocomplete_edit_proxy.cc', |
| 45 'browser_proxy.cc', |
| 46 'constrained_window_proxy.cc', |
| 47 'tab_proxy.cc', |
| 48 'window_proxy.cc', |
| 49 ) |
| 50 |
| 51 env.ChromeLibrary('automation', input_files) |
| 43 | 52 |
| 44 p = env.ChromeMSVSProject('automation.vcproj', | 53 p = env.ChromeMSVSProject('automation.vcproj', |
| 45 dest=('$CHROME_SRC_DIR/chrome/' | 54 dest=('$CHROME_SRC_DIR/chrome/' |
| 46 + 'test/automation/automation.vcproj'), | 55 + 'test/automation/automation.vcproj'), |
| 47 guid='{1556EF78-C7E6-43C8-951F-F6B43AC0DD12}', | 56 guid='{1556EF78-C7E6-43C8-951F-F6B43AC0DD12}', |
| 48 # TODO(sgk): when we can intuit the hierarchy | 57 # TODO(sgk): when we can intuit the hierarchy |
| 49 # from the built targets. | 58 # from the built targets. |
| 50 #buildtargets=TODO, | 59 #buildtargets=TODO, |
| 51 files=input_files, | 60 files=input_files, |
| 52 relative_path_prefix='./', | 61 relative_path_prefix='./', |
| (...skipping 21 matching lines...) Expand all Loading... |
| 74 InheritedPropertySheets=[ | 83 InheritedPropertySheets=[ |
| 75 '$(SolutionDir)../build/debug.vsprops', | 84 '$(SolutionDir)../build/debug.vsprops', |
| 76 './automation.vsprops', | 85 './automation.vsprops', |
| 77 ]) | 86 ]) |
| 78 | 87 |
| 79 p.AddConfig('Release|Win32', | 88 p.AddConfig('Release|Win32', |
| 80 InheritedPropertySheets=[ | 89 InheritedPropertySheets=[ |
| 81 '$(SolutionDir)../build/release.vsprops', | 90 '$(SolutionDir)../build/release.vsprops', |
| 82 './automation.vsprops', | 91 './automation.vsprops', |
| 83 ]) | 92 ]) |
| OLD | NEW |