| 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 import shutil | 6 import shutil |
| 7 import sys | 7 import sys |
| 8 | 8 |
| 9 | 9 |
| 10 if sys.platform == 'win32': | 10 if sys.platform == 'win32': |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 | 81 |
| 82 CHROME_SRC_DIR = '$MAIN_DIR/..', | 82 CHROME_SRC_DIR = '$MAIN_DIR/..', |
| 83 DESTINATION_ROOT = '$MAIN_DIR/$BUILD_TARGET_DIR', | 83 DESTINATION_ROOT = '$MAIN_DIR/$BUILD_TARGET_DIR', |
| 84 | 84 |
| 85 # Where ComponentTestProgram() will build test executables. | 85 # Where ComponentTestProgram() will build test executables. |
| 86 TESTS_DIR = '$DESTINATION_ROOT', | 86 TESTS_DIR = '$DESTINATION_ROOT', |
| 87 | 87 |
| 88 # Where ComponentProgram() will build program executables. | 88 # Where ComponentProgram() will build program executables. |
| 89 STAGING_DIR = '$DESTINATION_ROOT', | 89 STAGING_DIR = '$DESTINATION_ROOT', |
| 90 | 90 |
| 91 # Where ComponentLibrary() will build libraries. | |
| 92 LIBS_DIR = '$COMPONENT_LIBRARY_DIR', | |
| 93 | |
| 94 # TODO(hammer): when Hammer supports this... | 91 # TODO(hammer): when Hammer supports this... |
| 95 # Have Hammer prefix all Library aliases with lib_ (to avoid | 92 # Have Hammer prefix all Library aliases with lib_ (to avoid |
| 96 # collisions with the component names themselves). | 93 # collisions with the component names themselves). |
| 97 #COMPONENT_LIBRARY_ALIAS = 'lib_$LIBNAME', | 94 #COMPONENT_LIBRARY_ALIAS = 'lib_$LIBNAME', |
| 98 | 95 |
| 99 # Disable running of tests thru scons for now. | 96 # Disable running of tests thru scons for now. |
| 100 COMPONENT_TEST_RUNNABLE = False, | 97 COMPONENT_TEST_RUNNABLE = False, |
| 101 | 98 |
| 102 BASE_DIR = '$OBJ_ROOT/base', | 99 BASE_DIR = '$OBJ_ROOT/base', |
| 103 BREAKPAD_DIR = '$OBJ_ROOT/breakpad', | 100 BREAKPAD_DIR = '$OBJ_ROOT/breakpad', |
| (...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 849 'all_libraries', | 846 'all_libraries', |
| 850 'all_languages', | 847 'all_languages', |
| 851 'all_programs', | 848 'all_programs', |
| 852 'all_test_programs', | 849 'all_test_programs', |
| 853 ], projects = [p], | 850 ], projects = [p], |
| 854 COMPONENT_VS_PROJECT_SCRIPT_PATH=( | 851 COMPONENT_VS_PROJECT_SCRIPT_PATH=( |
| 855 'cd $$(ProjectDir)/$VS_PROJECT_TO_MAIN_DIR && hammer.bat'), | 852 'cd $$(ProjectDir)/$VS_PROJECT_TO_MAIN_DIR && hammer.bat'), |
| 856 ) | 853 ) |
| 857 | 854 |
| 858 # ------------------------------------------------------------------------- | 855 # ------------------------------------------------------------------------- |
| OLD | NEW |