| 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 os | 5 import os |
| 6 | 6 |
| 7 Import(['env']) | 7 Import(['env']) |
| 8 | 8 |
| 9 env_res = env.Clone() | 9 env_res = env.Clone() |
| 10 env_test = env.Clone() | 10 env_test = env.Clone() |
| (...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 709 InheritedPropertySheets=[ | 709 InheritedPropertySheets=[ |
| 710 '$(SolutionDir)../build/common.vsprops', | 710 '$(SolutionDir)../build/common.vsprops', |
| 711 '$(SolutionDir)../build/release.vsprops', | 711 '$(SolutionDir)../build/release.vsprops', |
| 712 ]) | 712 ]) |
| 713 | 713 |
| 714 | 714 |
| 715 ############################################################################## | 715 ############################################################################## |
| 716 # TODO(sgk): move to separate .scons file for browser_resources ############# | 716 # TODO(sgk): move to separate .scons file for browser_resources ############# |
| 717 | 717 |
| 718 sconscript_files = [ | 718 sconscript_files = [ |
| 719 'app/theme/SConscript', |
| 719 'browser/views/SConscript', | 720 'browser/views/SConscript', |
| 720 'views/SConscript', | 721 'views/SConscript', |
| 721 ] | 722 ] |
| 722 | 723 |
| 723 if not env.WantSystemLib('hunspell'): | 724 if not env.WantSystemLib('hunspell'): |
| 724 sconscript_files.append('third_party/hunspell/SConscript') | 725 sconscript_files.append('third_party/hunspell/SConscript') |
| 725 | 726 |
| 726 # TODO(port) | 727 # TODO(port) |
| 727 if env.Bit('windows'): | 728 if env.Bit('windows'): |
| 728 sconscript_files.extend([ | 729 sconscript_files.extend([ |
| 729 'app/resources/SConscript', | 730 'app/resources/SConscript', |
| 730 'app/theme/SConscript', | |
| 731 ]) | 731 ]) |
| 732 | 732 |
| 733 env.SConscript(sconscript_files, exports=['env', 'env_res', 'env_test']) | 733 env.SConscript(sconscript_files, exports=['env', 'env_res', 'env_test']) |
| 734 | 734 |
| 735 # TODO(port) | 735 # TODO(port) |
| 736 if env.Bit('windows'): | 736 if env.Bit('windows'): |
| 737 env.InstallAs('$LIBS_DIR/${LIBPREFIX}jscre${LIBSUFFIX}', | 737 env.InstallAs('$LIBS_DIR/${LIBPREFIX}jscre${LIBSUFFIX}', |
| 738 '$WEBKIT_DIR/JavaScriptCore_pcre.lib') | 738 '$WEBKIT_DIR/JavaScriptCore_pcre.lib') |
| 739 | 739 |
| 740 | 740 |
| 741 env.Install('$DESTINATION_ROOT', install_targets) | 741 env.Install('$DESTINATION_ROOT', install_targets) |
| 742 | 742 |
| 743 | 743 |
| 744 gears_plugins = [ | 744 gears_plugins = [ |
| 745 '$GEARS_DIR/binaries/gears.dll', | 745 '$GEARS_DIR/binaries/gears.dll', |
| 746 '$GEARS_DIR/binaries/gears.pdb', | 746 '$GEARS_DIR/binaries/gears.pdb', |
| 747 ] | 747 ] |
| 748 | 748 |
| 749 # TODO(port) | 749 # TODO(port) |
| 750 if env.Bit('windows'): | 750 if env.Bit('windows'): |
| 751 env.Install('$DESTINATION_ROOT/plugins/gears', gears_plugins) | 751 env.Install('$DESTINATION_ROOT/plugins/gears', gears_plugins) |
| 752 | 752 |
| 753 env.Command('$DESTINATION_ROOT/resources/inspector', | 753 env.Command('$DESTINATION_ROOT/resources/inspector', |
| 754 '$CHROME_SRC_DIR/third_party/WebKit/WebCore/inspector/front-end', | 754 '$CHROME_SRC_DIR/third_party/WebKit/WebCore/inspector/front-end', |
| 755 Copy('$TARGET', '$SOURCE'), | 755 Copy('$TARGET', '$SOURCE'), |
| 756 source_scanner=DirScanner) | 756 source_scanner=DirScanner) |
| OLD | NEW |