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 | 6 |
7 Import(['env']) | 7 Import(['env']) |
8 | 8 |
9 env_res = env.Clone() | 9 env_res = env.Clone() |
10 env_test = env.Clone() | 10 env_test = env.Clone() |
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 env_flat.Depends(browser_res, flats_out) | 385 env_flat.Depends(browser_res, flats_out) |
386 | 386 |
387 | 387 |
388 # TODO(port) | 388 # TODO(port) |
389 env_test.Object('test/test_file_util.cc', | 389 env_test.Object('test/test_file_util.cc', |
390 CPPPATH=['..'] + env['CPPPATH']) | 390 CPPPATH=['..'] + env['CPPPATH']) |
391 | 391 |
392 sconscript_files = [ | 392 sconscript_files = [ |
393 'test/chrome_plugin/SConscript', | 393 'test/chrome_plugin/SConscript', |
394 'tools/test/image_diff/SConscript', | 394 'tools/test/image_diff/SConscript', |
395 'third_party/hunspell/SConscript', | |
396 '$THIRD_PARTY_DIR/sqlite/SConscript', | |
397 ] | 395 ] |
398 | 396 |
| 397 if not env.WantSystemLib('hunspell'): |
| 398 sconscript_files.append('third_party/hunspell/SConscript') |
| 399 if not env.WantSystemLib('sqlite'): |
| 400 sconscript_files.append('$THIRD_PARTY_DIR/sqlite/SConscript') |
| 401 |
399 # TODO(port) | 402 # TODO(port) |
400 if env['PLATFORM'] == 'win32': | 403 if env['PLATFORM'] == 'win32': |
401 sconscript_files.extend([ | 404 sconscript_files.extend([ |
402 'app/resources/SConscript', | 405 'app/resources/SConscript', |
403 'app/theme/SConscript', | 406 'app/theme/SConscript', |
404 'browser/views/SConscript', | 407 'browser/views/SConscript', |
405 'installer/mini_installer/SConscript', | 408 'installer/mini_installer/SConscript', |
406 'installer/setup/SConscript', | 409 'installer/setup/SConscript', |
407 'installer/util/SConscript', | 410 'installer/util/SConscript', |
408 'test/activex_test_control/SConscript', | 411 'test/activex_test_control/SConscript', |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
444 env.Alias('chrome', i) | 447 env.Alias('chrome', i) |
445 | 448 |
446 | 449 |
447 i = env.Command('$TARGET_ROOT/resources/inspector', | 450 i = env.Command('$TARGET_ROOT/resources/inspector', |
448 '$CHROME_SRC_DIR/webkit/port/page/inspector', | 451 '$CHROME_SRC_DIR/webkit/port/page/inspector', |
449 Copy('$TARGET', '$SOURCE'), | 452 Copy('$TARGET', '$SOURCE'), |
450 source_scanner=DirScanner) | 453 source_scanner=DirScanner) |
451 env.Alias('chrome', i) | 454 env.Alias('chrome', i) |
452 | 455 |
453 env.Alias('chrome', env.Alias('webkit')) | 456 env.Alias('chrome', env.Alias('webkit')) |
OLD | NEW |