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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 THIRD_PARTY_DIR = '#/$BUILD_TYPE/third_party', | 55 THIRD_PARTY_DIR = '#/$BUILD_TYPE/third_party', |
56 V8_DIR = '#/$BUILD_TYPE/v8', | 56 V8_DIR = '#/$BUILD_TYPE/v8', |
57 WEBKIT_DIR = '#/$BUILD_TYPE/webkit', | 57 WEBKIT_DIR = '#/$BUILD_TYPE/webkit', |
58 | 58 |
59 GTEST_DIR = '$TESTING_DIR/gtest', | 59 GTEST_DIR = '$TESTING_DIR/gtest', |
60 | 60 |
61 BSDIFF_DIR = '$THIRD_PARTY_DIR/bsdiff', | 61 BSDIFF_DIR = '$THIRD_PARTY_DIR/bsdiff', |
62 BSPATCH_DIR = '$THIRD_PARTY_DIR/bspatch', | 62 BSPATCH_DIR = '$THIRD_PARTY_DIR/bspatch', |
63 BZIP2_DIR = '$THIRD_PARTY_DIR/bzip2', | 63 BZIP2_DIR = '$THIRD_PARTY_DIR/bzip2', |
64 ICU38_DIR = '$THIRD_PARTY_DIR/icu38', | 64 ICU38_DIR = '$THIRD_PARTY_DIR/icu38', |
| 65 LIBEVENT_DIR = '$THIRD_PARTY_DIR/libevent', |
65 LIBJPEG_DIR = '$THIRD_PARTY_DIR/libjpeg', | 66 LIBJPEG_DIR = '$THIRD_PARTY_DIR/libjpeg', |
66 LIBPNG_DIR = '$THIRD_PARTY_DIR/libpng', | 67 LIBPNG_DIR = '$THIRD_PARTY_DIR/libpng', |
67 LIBXML_DIR = '$THIRD_PARTY_DIR/libxml', | 68 LIBXML_DIR = '$THIRD_PARTY_DIR/libxml', |
68 LIBXSLT_DIR = '$THIRD_PARTY_DIR/libxslt', | 69 LIBXSLT_DIR = '$THIRD_PARTY_DIR/libxslt', |
69 LZMA_SDK_DIR = '$THIRD_PARTY_DIR/lzma_sdk', | 70 LZMA_SDK_DIR = '$THIRD_PARTY_DIR/lzma_sdk', |
70 MODP_B64_DIR = '$THIRD_PARTY_DIR/modp_b64', | 71 MODP_B64_DIR = '$THIRD_PARTY_DIR/modp_b64', |
71 NPAPI_DIR = '$THIRD_PARTY_DIR/npapi', | 72 NPAPI_DIR = '$THIRD_PARTY_DIR/npapi', |
72 ZLIB_DIR = '$THIRD_PARTY_DIR/zlib', | 73 ZLIB_DIR = '$THIRD_PARTY_DIR/zlib', |
73 | 74 |
74 THIRD_PARTY_WEBKIT_DIR = '$THIRD_PARTY_DIR/WebKit', | 75 THIRD_PARTY_WEBKIT_DIR = '$THIRD_PARTY_DIR/WebKit', |
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
500 '$MODP_B64_DIR/SConscript', | 501 '$MODP_B64_DIR/SConscript', |
501 '$ZLIB_DIR/SConscript', | 502 '$ZLIB_DIR/SConscript', |
502 ]) | 503 ]) |
503 # Temporary until we get these building on Mac. | 504 # Temporary until we get these building on Mac. |
504 if env['PLATFORM'] != 'darwin': | 505 if env['PLATFORM'] != 'darwin': |
505 sconscripts.extend([ | 506 sconscripts.extend([ |
506 '$LIBJPEG_DIR/SConscript', | 507 '$LIBJPEG_DIR/SConscript', |
507 '$LIBXML_DIR/SConscript', | 508 '$LIBXML_DIR/SConscript', |
508 '$LIBXSLT_DIR/SConscript', | 509 '$LIBXSLT_DIR/SConscript', |
509 ]) | 510 ]) |
| 511 if env['PLATFORM'] == 'posix': |
| 512 sconscripts.extend([ |
| 513 '$LIBEVENT_DIR/SConscript', |
| 514 ]) |
510 # This is temporary until we get this lib to build on other platforms. | 515 # This is temporary until we get this lib to build on other platforms. |
511 if env['PLATFORM'] == 'win32': | 516 if env['PLATFORM'] == 'win32': |
512 sconscripts.extend([ | 517 sconscripts.extend([ |
513 '$BSPATCH_DIR/SConscript', | 518 '$BSPATCH_DIR/SConscript', |
514 ]) | 519 ]) |
515 | 520 |
516 if LoadComponent('v8') and env.Dir('#/../v8').exists(): | 521 if LoadComponent('v8') and env.Dir('#/../v8').exists(): |
517 env.SConscript('SConscript.v8', | 522 env.SConscript('SConscript.v8', |
518 exports=['env']) | 523 exports=['env']) |
519 | 524 |
(...skipping 26 matching lines...) Expand all Loading... |
546 initial_indent = ' '*32, | 551 initial_indent = ' '*32, |
547 subsequent_indent = ' '*32, | 552 subsequent_indent = ' '*32, |
548 ) | 553 ) |
549 components = tw.fill(', '.join(components)) | 554 components = tw.fill(', '.join(components)) |
550 | 555 |
551 Help(help_fmt % components) | 556 Help(help_fmt % components) |
552 | 557 |
553 | 558 |
554 Import('build_component') | 559 Import('build_component') |
555 Default(build_component) | 560 Default(build_component) |
OLD | NEW |