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 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
499 '$MODP_B64_DIR/SConscript', | 500 '$MODP_B64_DIR/SConscript', |
500 '$ZLIB_DIR/SConscript', | 501 '$ZLIB_DIR/SConscript', |
501 ]) | 502 ]) |
502 # Temporary until we get these building on Mac. | 503 # Temporary until we get these building on Mac. |
503 if env['PLATFORM'] != 'darwin': | 504 if env['PLATFORM'] != 'darwin': |
504 sconscripts.extend([ | 505 sconscripts.extend([ |
505 '$LIBJPEG_DIR/SConscript', | 506 '$LIBJPEG_DIR/SConscript', |
506 '$LIBXML_DIR/SConscript', | 507 '$LIBXML_DIR/SConscript', |
507 '$LIBXSLT_DIR/SConscript', | 508 '$LIBXSLT_DIR/SConscript', |
508 ]) | 509 ]) |
| 510 if env['PLATFORM'] == 'posix': |
| 511 sconscripts.extend([ |
| 512 '$LIBEVENT_DIR/SConscript', |
| 513 ]) |
509 # This is temporary until we get this lib to build on other platforms. | 514 # This is temporary until we get this lib to build on other platforms. |
510 if env['PLATFORM'] == 'win32': | 515 if env['PLATFORM'] == 'win32': |
511 sconscripts.extend([ | 516 sconscripts.extend([ |
512 '$BSPATCH_DIR/SConscript', | 517 '$BSPATCH_DIR/SConscript', |
513 ]) | 518 ]) |
514 | 519 |
515 if LoadComponent('v8') and env.Dir('#/../v8').exists(): | 520 if LoadComponent('v8') and env.Dir('#/../v8').exists(): |
516 env.SConscript('SConscript.v8', | 521 env.SConscript('SConscript.v8', |
517 exports=['env']) | 522 exports=['env']) |
518 | 523 |
(...skipping 26 matching lines...) Expand all Loading... |
545 initial_indent = ' '*32, | 550 initial_indent = ' '*32, |
546 subsequent_indent = ' '*32, | 551 subsequent_indent = ' '*32, |
547 ) | 552 ) |
548 components = tw.fill(', '.join(components)) | 553 components = tw.fill(', '.join(components)) |
549 | 554 |
550 Help(help_fmt % components) | 555 Help(help_fmt % components) |
551 | 556 |
552 | 557 |
553 Import('build_component') | 558 Import('build_component') |
554 Default(build_component) | 559 Default(build_component) |
OLD | NEW |