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