Chromium Code Reviews| 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 __doc__ = """ | 5 __doc__ = """ |
| 6 Master configuration for building chrome components. | 6 Master configuration for building chrome components. |
| 7 """ | 7 """ |
| 8 | 8 |
| 9 Import('env') | 9 Import('env') |
| 10 | 10 |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 31 # NOTE: the / after $CHROME_SRC_DIR/chrome/ is required because | 31 # NOTE: the / after $CHROME_SRC_DIR/chrome/ is required because |
| 32 # version.bat assumes a path with a trailing slash. | 32 # version.bat assumes a path with a trailing slash. |
| 33 CHROME_VERSION_RC_COM = | 33 CHROME_VERSION_RC_COM = |
| 34 '$VERSION_BAT $SOURCE $CHROME_SRC_DIR/chrome/ $PWD $TARGET', | 34 '$VERSION_BAT $SOURCE $CHROME_SRC_DIR/chrome/ $PWD $TARGET', |
| 35 VERSION_BAT = env.File( | 35 VERSION_BAT = env.File( |
| 36 '$CHROME_SRC_DIR/chrome/tools/build/win/version.bat'), | 36 '$CHROME_SRC_DIR/chrome/tools/build/win/version.bat'), |
| 37 PWD = Dir('.'), | 37 PWD = Dir('.'), |
| 38 ) | 38 ) |
| 39 | 39 |
| 40 | 40 |
| 41 sconscript_files = [ | 41 sconscript_files = env.ChromiumLoadComponentSConscripts( |
| 42 'SConscript', | 42 'SConscript', |
| 43 | 43 |
| 44 'browser/browser.scons', | 44 LOAD_NAMES = ['chrome'], |
| 45 'browser/debugger/debugger.scons', | 45 |
| 46 'common/common.scons', | 46 browser = 'browser/browser.scons', |
| 47 'common/ipc_tests.scons', | 47 debugger = 'browser/debugger/debugger.scons', |
| 48 'installer/mini_installer/installer_unittests.scons', | 48 common = 'common/common.scons', |
| 49 'installer/mini_installer/mini_installer.scons', | 49 ipc_tests = 'common/ipc_tests.scons', |
| 50 'installer/setup/setup.scons', | 50 installer_unittests = 'installer/mini_installer/installer_unittests.scons', |
| 51 'installer/util/util.scons', | 51 mini_installer = 'installer/mini_installer/mini_installer.scons', |
| 52 'plugin/plugin.scons', | 52 setup = 'installer/setup/setup.scons', |
| 53 'renderer/renderer.scons', | 53 util = 'installer/util/util.scons', |
| 54 'test/activex_test_control/activex_test_control.scons', | 54 plugin = 'plugin/plugin.scons', |
| 55 'test/automated_ui_tests/automated_ui_tests.scons', | 55 renderer = 'renderer/renderer.scons', |
| 56 'test/automation/automation.scons', | 56 activex_test_controls = 'test/activex_test_control/activex_test_control.scon s', |
|
Evan Martin
2008/11/20 21:11:42
80 columns :\
sgk
2008/11/21 01:06:28
Done.
| |
| 57 'test/chrome_plugin/test_chrome_plugin.scons', | 57 automated_ui_tests = 'test/automated_ui_tests/automated_ui_tests.scons', |
| 58 'test/interactive_ui/interactive_ui_tests.scons', | 58 automtion = 'test/automation/automation.scons', |
| 59 'test/memory_test/memory_test.scons', | 59 test_chrome_plugin = 'test/chrome_plugin/test_chrome_plugin.scons', |
| 60 'test/mini_installer_test/mini_installer_test.scons', | 60 interactive_ui_tests = 'test/interactive_ui/interactive_ui_tests.scons', |
| 61 'test/page_cycler/page_cycler_tests.scons', | 61 memory_test = 'test/memory_test/memory_test.scons', |
| 62 'test/plugin/plugin_tests.scons', | 62 mini_installer_test = 'test/mini_installer_test/mini_installer_test.scons', |
| 63 'test/reliability/reliability_tests.scons', | 63 page_cycler_tests = 'test/page_cycler/page_cycler_tests.scons', |
| 64 'test/security_tests/security_tests.scons', | 64 plugin_tests = 'test/plugin/plugin_tests.scons', |
| 65 'test/selenium/selenium_tests.scons', | 65 reliability_tests = 'test/reliability/reliability_tests.scons', |
| 66 'test/startup/startup_tests.scons', | 66 security_tests = 'test/security_tests/security_tests.scons', |
| 67 'test/tab_switching/tab_switching_test.scons', | 67 selenium_tests = 'test/selenium/selenium_tests.scons', |
| 68 'test/ui/ui_tests.scons', | 68 startup_tests = 'test/startup/startup_tests.scons', |
| 69 'test/unit/unit_tests.scons', | 69 tab_switching_test = 'test/tab_switching/tab_switching_test.scons', |
| 70 'tools/crash_service/crash_service.scons', | 70 ui_tests = 'test/ui/ui_tests.scons', |
| 71 'tools/perf/flush_cache/flush_cache.scons', | 71 unit_tests = 'test/unit/unit_tests.scons', |
| 72 'tools/test/image_diff/image_diff.scons', | 72 crash_service = 'tools/crash_service/crash_service.scons', |
| 73 ] | 73 flush_cache = 'tools/perf/flush_cache/flush_cache.scons', |
| 74 image_diff = 'tools/test/image_diff/image_diff.scons', | |
| 75 ) | |
| 74 | 76 |
| 75 # TODO(port) | 77 # TODO(port) |
| 76 if env['PLATFORM'] != 'win32': | 78 if env['PLATFORM'] != 'win32': |
| 77 remove_files = [ | 79 remove_files = [ |
| 78 'browser/debugger/debugger.scons', | 80 'browser/debugger/debugger.scons', |
| 79 'installer/mini_installer/installer_unittests.scons', | 81 'installer/mini_installer/installer_unittests.scons', |
| 80 'installer/mini_installer/mini_installer.scons', | 82 'installer/mini_installer/mini_installer.scons', |
| 81 'installer/setup/setup.scons', | 83 'installer/setup/setup.scons', |
| 82 'installer/util/util.scons', | 84 'installer/util/util.scons', |
| 83 'test/activex_test_control/activex_test_control.scons', | 85 'test/activex_test_control/activex_test_control.scons', |
| 84 'test/automated_ui_tests/automated_ui_tests.scons', | 86 'test/automated_ui_tests/automated_ui_tests.scons', |
| 85 'test/automation/automation.scons', | 87 'test/automation/automation.scons', |
| 86 'test/interactive_ui/interactive_ui_tests.scons', | 88 'test/interactive_ui/interactive_ui_tests.scons', |
| 87 'test/memory_test/memory_test.scons', | 89 'test/memory_test/memory_test.scons', |
| 88 'test/mini_installer_test/mini_installer_test.scons', | 90 'test/mini_installer_test/mini_installer_test.scons', |
| 89 'test/page_cycler/page_cycler_tests.scons', | 91 'test/page_cycler/page_cycler_tests.scons', |
| 90 'test/plugin/plugin_tests.scons', | 92 'test/plugin/plugin_tests.scons', |
| 91 'test/reliability/reliability_tests.scons', | 93 'test/reliability/reliability_tests.scons', |
| 92 'test/security_tests/security_tests.scons', | 94 'test/security_tests/security_tests.scons', |
| 93 'test/selenium/selenium_tests.scons', | 95 'test/selenium/selenium_tests.scons', |
| 94 'test/startup/startup_tests.scons', | 96 'test/startup/startup_tests.scons', |
| 95 'test/tab_switching/tab_switching_test.scons', | 97 'test/tab_switching/tab_switching_test.scons', |
| 96 'test/ui/ui_tests.scons', | 98 'test/ui/ui_tests.scons', |
| 97 'tools/crash_service/crash_service.scons', | 99 'tools/crash_service/crash_service.scons', |
| 98 'tools/perf/flush_cache/flush_cache.scons', | 100 'tools/perf/flush_cache/flush_cache.scons', |
| 99 ] | 101 ] |
| 100 for remove in remove_files: | 102 sconscript_files = list(set(sconscript_files) - set(remove_files)) |
| 101 sconscript_files.remove(remove) | |
| 102 | 103 |
| 103 SConscript(sconscript_files, exports=['env']) | 104 SConscript(sconscript_files, exports=['env']) |
| OLD | NEW |