| 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 p = ARGUMENTS.get('PROGRESS') | 10 p = ARGUMENTS.get('PROGRESS') |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 TESTING_DIR = '$OBJ_ROOT/testing', | 64 TESTING_DIR = '$OBJ_ROOT/testing', |
| 65 THIRD_PARTY_DIR = '$OBJ_ROOT/third_party', | 65 THIRD_PARTY_DIR = '$OBJ_ROOT/third_party', |
| 66 V8_DIR = '$OBJ_ROOT/v8', | 66 V8_DIR = '$OBJ_ROOT/v8', |
| 67 WEBKIT_DIR = '$OBJ_ROOT/webkit', | 67 WEBKIT_DIR = '$OBJ_ROOT/webkit', |
| 68 | 68 |
| 69 GTEST_DIR = '$TESTING_DIR/gtest', | 69 GTEST_DIR = '$TESTING_DIR/gtest', |
| 70 | 70 |
| 71 BSDIFF_DIR = '$THIRD_PARTY_DIR/bsdiff', | 71 BSDIFF_DIR = '$THIRD_PARTY_DIR/bsdiff', |
| 72 BSPATCH_DIR = '$THIRD_PARTY_DIR/bspatch', | 72 BSPATCH_DIR = '$THIRD_PARTY_DIR/bspatch', |
| 73 BZIP2_DIR = '$THIRD_PARTY_DIR/bzip2', | 73 BZIP2_DIR = '$THIRD_PARTY_DIR/bzip2', |
| 74 DMG_FP_DIR = '$THIRD_PARTY_DIR/dmg_fp', |
| 74 ICU38_DIR = '$THIRD_PARTY_DIR/icu38', | 75 ICU38_DIR = '$THIRD_PARTY_DIR/icu38', |
| 75 LIBEVENT_DIR = '$THIRD_PARTY_DIR/libevent', | 76 LIBEVENT_DIR = '$THIRD_PARTY_DIR/libevent', |
| 76 LIBJPEG_DIR = '$THIRD_PARTY_DIR/libjpeg', | 77 LIBJPEG_DIR = '$THIRD_PARTY_DIR/libjpeg', |
| 77 LIBPNG_DIR = '$THIRD_PARTY_DIR/libpng', | 78 LIBPNG_DIR = '$THIRD_PARTY_DIR/libpng', |
| 78 LIBXML_DIR = '$THIRD_PARTY_DIR/libxml', | 79 LIBXML_DIR = '$THIRD_PARTY_DIR/libxml', |
| 79 LIBXSLT_DIR = '$THIRD_PARTY_DIR/libxslt', | 80 LIBXSLT_DIR = '$THIRD_PARTY_DIR/libxslt', |
| 80 LZMA_SDK_DIR = '$THIRD_PARTY_DIR/lzma_sdk', | 81 LZMA_SDK_DIR = '$THIRD_PARTY_DIR/lzma_sdk', |
| 81 MODP_B64_DIR = '$THIRD_PARTY_DIR/modp_b64', | 82 MODP_B64_DIR = '$THIRD_PARTY_DIR/modp_b64', |
| 82 NPAPI_DIR = '$THIRD_PARTY_DIR/npapi', | 83 NPAPI_DIR = '$THIRD_PARTY_DIR/npapi', |
| 83 ZLIB_DIR = '$THIRD_PARTY_DIR/zlib', | 84 ZLIB_DIR = '$THIRD_PARTY_DIR/zlib', |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 if LoadComponent('skia'): | 205 if LoadComponent('skia'): |
| 205 sconscripts.append('$SKIA_DIR/SConscript') | 206 sconscripts.append('$SKIA_DIR/SConscript') |
| 206 | 207 |
| 207 if LoadComponent('testing'): | 208 if LoadComponent('testing'): |
| 208 sconscripts.append('$TESTING_DIR/SConscript.gtest') | 209 sconscripts.append('$TESTING_DIR/SConscript.gtest') |
| 209 | 210 |
| 210 if LoadComponent('third_party'): | 211 if LoadComponent('third_party'): |
| 211 sconscripts.extend([ | 212 sconscripts.extend([ |
| 212 '$BSDIFF_DIR/SConscript', | 213 '$BSDIFF_DIR/SConscript', |
| 213 '$BZIP2_DIR/bzip2.scons', | 214 '$BZIP2_DIR/bzip2.scons', |
| 215 '$DMG_FP_DIR/dmg_fp.scons', |
| 214 '$ICU38_DIR/icu38.scons', | 216 '$ICU38_DIR/icu38.scons', |
| 215 '$LIBPNG_DIR/libpng.scons', | 217 '$LIBPNG_DIR/libpng.scons', |
| 216 '$LZMA_SDK_DIR/SConscript', | 218 '$LZMA_SDK_DIR/SConscript', |
| 217 '$MODP_B64_DIR/modp_b64.scons', | 219 '$MODP_B64_DIR/modp_b64.scons', |
| 218 '$ZLIB_DIR/zlib.scons', | 220 '$ZLIB_DIR/zlib.scons', |
| 219 '$LIBJPEG_DIR/SConscript', | 221 '$LIBJPEG_DIR/SConscript', |
| 220 '$LIBXML_DIR/SConscript', | 222 '$LIBXML_DIR/SConscript', |
| 221 '$LIBXSLT_DIR/SConscript', | 223 '$LIBXSLT_DIR/SConscript', |
| 222 '$BSPATCH_DIR/SConscript', | 224 '$BSPATCH_DIR/SConscript', |
| 223 ]) | 225 ]) |
| (...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 716 'all_libraries', | 718 'all_libraries', |
| 717 'all_languages', | 719 'all_languages', |
| 718 'all_programs', | 720 'all_programs', |
| 719 'all_test_programs', | 721 'all_test_programs', |
| 720 ], projects = [p], | 722 ], projects = [p], |
| 721 COMPONENT_VS_PROJECT_SCRIPT_PATH=( | 723 COMPONENT_VS_PROJECT_SCRIPT_PATH=( |
| 722 'cd $$(ProjectDir)/$VS_PROJECT_TO_MAIN_DIR && hammer.bat'), | 724 'cd $$(ProjectDir)/$VS_PROJECT_TO_MAIN_DIR && hammer.bat'), |
| 723 ) | 725 ) |
| 724 | 726 |
| 725 # ------------------------------------------------------------------------- | 727 # ------------------------------------------------------------------------- |
| OLD | NEW |