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 if not env.Dir('$CHROME_SRC_DIR/v8').exists(): | 9 if not env.Dir('$CHROME_SRC_DIR/v8').exists(): |
10 Return() | 10 Return() |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 | 76 |
77 env.Install('$TARGET_ROOT', v8[0]) | 77 env.Install('$TARGET_ROOT', v8[0]) |
78 env.Install('$LIBS_DIR', v8[1]) | 78 env.Install('$LIBS_DIR', v8[1]) |
79 env.Install('$V8_DIR', '$V8_MODE_DIR/snapshot-empty${OBJSUFFIX}') | 79 env.Install('$V8_DIR', '$V8_MODE_DIR/snapshot-empty${OBJSUFFIX}') |
80 | 80 |
81 # To satisfy tests expecting the following .exe name. | 81 # To satisfy tests expecting the following .exe name. |
82 if env.Bit('windows'): | 82 if env.Bit('windows'): |
83 # TODO(evanm): this may be necessary on other platforms(?) | 83 # TODO(evanm): this may be necessary on other platforms(?) |
84 i = env.InstallAs('$TARGET_ROOT/v8_shell_sample${PROGSUFFIX}', v8[0]) | 84 i = env.InstallAs('$TARGET_ROOT/v8_shell_sample${PROGSUFFIX}', v8[0]) |
85 | 85 |
86 env.ChromeStaticLibrary('v8_snapshot', | 86 env.ChromeLibrary('v8_snapshot', |
87 ['$V8_MODE_DIR/libraries-empty${OBJSUFFIX}', | 87 ['$V8_MODE_DIR/libraries-empty${OBJSUFFIX}', |
88 '$V8_MODE_DIR/snapshot${OBJSUFFIX}']) | 88 '$V8_MODE_DIR/snapshot${OBJSUFFIX}']) |
89 | 89 |
90 env.ChromeMSVSProject('$V8_DIR/tools/visual_studio/v8.vcproj', | 90 env.ChromeMSVSProject('$V8_DIR/tools/visual_studio/v8.vcproj', |
91 dependencies = [ | 91 dependencies = [ |
92 '$V8_DIR/tools/visual_studio/v8_base.vcproj', | 92 '$V8_DIR/tools/visual_studio/v8_base.vcproj', |
93 ], | 93 ], |
94 guid='{21E22961-22BF-4493-BD3A-868F93DA5179}') | 94 guid='{21E22961-22BF-4493-BD3A-868F93DA5179}') |
95 | 95 |
96 env.ChromeMSVSProject('$V8_DIR/tools/visual_studio/v8_base.vcproj', | 96 env.ChromeMSVSProject('$V8_DIR/tools/visual_studio/v8_base.vcproj', |
97 guid='{EC8B7909-62AF-470D-A75D-E1D89C837142}') | 97 guid='{EC8B7909-62AF-470D-A75D-E1D89C837142}') |
98 | 98 |
99 env.ChromeMSVSProject('$V8_DIR/tools/visual_studio/v8_mksnapshot.vcproj', | 99 env.ChromeMSVSProject('$V8_DIR/tools/visual_studio/v8_mksnapshot.vcproj', |
100 dependencies = [ | 100 dependencies = [ |
101 '$V8_DIR/tools/visual_studio/v8.vcproj', | 101 '$V8_DIR/tools/visual_studio/v8.vcproj', |
102 ], | 102 ], |
103 guid='{865575D0-37E2-405E-8CBA-5F6C485B5A26}') | 103 guid='{865575D0-37E2-405E-8CBA-5F6C485B5A26}') |
104 | 104 |
105 env.ChromeMSVSProject('$V8_DIR/tools/visual_studio/v8_shell_sample.vcproj', | 105 env.ChromeMSVSProject('$V8_DIR/tools/visual_studio/v8_shell_sample.vcproj', |
106 dependencies = [ | 106 dependencies = [ |
107 '$V8_DIR/tools/visual_studio/v8_snapshot.vcproj', | 107 '$V8_DIR/tools/visual_studio/v8_snapshot.vcproj', |
108 ], | 108 ], |
109 guid='{2DE20FFA-6F5E-48D9-84D8-09B044A5B119}') | 109 guid='{2DE20FFA-6F5E-48D9-84D8-09B044A5B119}') |
110 | 110 |
111 env.ChromeMSVSProject('$V8_DIR/tools/visual_studio/v8_snapshot.vcproj', | 111 env.ChromeMSVSProject('$V8_DIR/tools/visual_studio/v8_snapshot.vcproj', |
112 dependencies = [ | 112 dependencies = [ |
113 '$V8_DIR/tools/visual_studio/v8_mksnapshot.vcproj', | 113 '$V8_DIR/tools/visual_studio/v8_mksnapshot.vcproj', |
114 '$V8_DIR/tools/visual_studio/v8_base.vcproj', | 114 '$V8_DIR/tools/visual_studio/v8_base.vcproj', |
115 ], | 115 ], |
116 guid='{C0334F9A-1168-4101-9DD8-C30FB252D435}') | 116 guid='{C0334F9A-1168-4101-9DD8-C30FB252D435}') |
OLD | NEW |