| 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 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 # determines implicit dependencies from .rc files. | 384 # determines implicit dependencies from .rc files. |
| 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/perf/flush_cache/SConscript', | |
| 395 'tools/test/image_diff/SConscript', | 394 'tools/test/image_diff/SConscript', |
| 396 'third_party/hunspell/SConscript', | 395 'third_party/hunspell/SConscript', |
| 397 '$THIRD_PARTY_DIR/sqlite/SConscript', | 396 '$THIRD_PARTY_DIR/sqlite/SConscript', |
| 398 ] | 397 ] |
| 399 | 398 |
| 400 # TODO(port) | 399 # TODO(port) |
| 401 if env['PLATFORM'] == 'win32': | 400 if env['PLATFORM'] == 'win32': |
| 402 sconscript_files.extend([ | 401 sconscript_files.extend([ |
| 403 'app/resources/SConscript', | 402 'app/resources/SConscript', |
| 404 'app/theme/SConscript', | 403 'app/theme/SConscript', |
| 405 'browser/views/SConscript', | 404 'browser/views/SConscript', |
| 406 'installer/mini_installer/SConscript', | 405 'installer/mini_installer/SConscript', |
| 407 'installer/setup/SConscript', | 406 'installer/setup/SConscript', |
| 408 'installer/util/SConscript', | 407 'installer/util/SConscript', |
| 409 'test/activex_test_control/SConscript', | 408 'test/activex_test_control/SConscript', |
| 410 'test/automation/SConscript', | 409 'test/automation/SConscript', |
| 411 'test/memory_test/SConscript', | 410 'test/memory_test/SConscript', |
| 412 'test/mini_installer_test/SConscript', | 411 'test/mini_installer_test/SConscript', |
| 413 'test/page_cycler/SConscript', | 412 'test/page_cycler/SConscript', |
| 414 'test/plugin/SConscript', | 413 'test/plugin/SConscript', |
| 415 'test/reliability/SConscript', | 414 'test/reliability/SConscript', |
| 416 'test/security_tests/SConscript', | 415 'test/security_tests/SConscript', |
| 417 'test/selenium/SConscript', | 416 'test/selenium/SConscript', |
| 418 'test/startup/SConscript', | 417 'test/startup/SConscript', |
| 419 'test/tab_switching/SConscript', | 418 'test/tab_switching/SConscript', |
| 420 'tools/crash_service/SConscript', | 419 'tools/crash_service/SConscript', |
| 420 'tools/perf/flush_cache/SConscript', |
| 421 'views/SConscript', | 421 'views/SConscript', |
| 422 ]) | 422 ]) |
| 423 | 423 |
| 424 env.SConscript(sconscript_files, exports=['env', 'env_res', 'env_test']) | 424 env.SConscript(sconscript_files, exports=['env', 'env_res', 'env_test']) |
| 425 | 425 |
| 426 # TODO(port) | 426 # TODO(port) |
| 427 if env['PLATFORM'] == 'win32': | 427 if env['PLATFORM'] == 'win32': |
| 428 env.InstallAs('$LIBS_DIR/${LIBPREFIX}jscre${LIBSUFFIX}', | 428 env.InstallAs('$LIBS_DIR/${LIBPREFIX}jscre${LIBSUFFIX}', |
| 429 '$WEBKIT_DIR/JavaScriptCore_pcre.lib') | 429 '$WEBKIT_DIR/JavaScriptCore_pcre.lib') |
| 430 | 430 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 444 env.Alias('chrome', i) | 444 env.Alias('chrome', i) |
| 445 | 445 |
| 446 | 446 |
| 447 i = env.Command('$TARGET_ROOT/resources/inspector', | 447 i = env.Command('$TARGET_ROOT/resources/inspector', |
| 448 '$CHROME_SRC_DIR/webkit/port/page/inspector', | 448 '$CHROME_SRC_DIR/webkit/port/page/inspector', |
| 449 Copy('$TARGET', '$SOURCE'), | 449 Copy('$TARGET', '$SOURCE'), |
| 450 source_scanner=DirScanner) | 450 source_scanner=DirScanner) |
| 451 env.Alias('chrome', i) | 451 env.Alias('chrome', i) |
| 452 | 452 |
| 453 env.Alias('chrome', env.Alias('webkit')) | 453 env.Alias('chrome', env.Alias('webkit')) |
| OLD | NEW |