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 if sys.platform == 'win32': | 10 if sys.platform == 'win32': |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 GOOGLE_UPDATE_DIR = '$OBJ_ROOT/google_update', | 106 GOOGLE_UPDATE_DIR = '$OBJ_ROOT/google_update', |
107 GOOGLEURL_DIR = '$OBJ_ROOT/googleurl', | 107 GOOGLEURL_DIR = '$OBJ_ROOT/googleurl', |
108 MEDIA_DIR = '$OBJ_ROOT/media', | 108 MEDIA_DIR = '$OBJ_ROOT/media', |
109 NET_DIR = '$OBJ_ROOT/net', | 109 NET_DIR = '$OBJ_ROOT/net', |
110 RLZ_DIR = '$OBJ_ROOT/rlz', | 110 RLZ_DIR = '$OBJ_ROOT/rlz', |
111 SANDBOX_DIR = '$OBJ_ROOT/sandbox', | 111 SANDBOX_DIR = '$OBJ_ROOT/sandbox', |
112 SDCH_DIR = '$OBJ_ROOT/sdch', | 112 SDCH_DIR = '$OBJ_ROOT/sdch', |
113 SKIA_DIR = '$OBJ_ROOT/skia', | 113 SKIA_DIR = '$OBJ_ROOT/skia', |
114 TESTING_DIR = '$OBJ_ROOT/testing', | 114 TESTING_DIR = '$OBJ_ROOT/testing', |
115 THIRD_PARTY_DIR = '$OBJ_ROOT/third_party', | 115 THIRD_PARTY_DIR = '$OBJ_ROOT/third_party', |
| 116 TOOLS_DIR = '$OBJ_ROOT/tools', |
116 V8_DIR = '$OBJ_ROOT/v8', | 117 V8_DIR = '$OBJ_ROOT/v8', |
117 WEBKIT_DIR = '$OBJ_ROOT/webkit', | 118 WEBKIT_DIR = '$OBJ_ROOT/webkit', |
118 | 119 |
119 GTEST_DIR = '$TESTING_DIR/gtest', | 120 GTEST_DIR = '$TESTING_DIR/gtest', |
120 | 121 |
121 BSDIFF_DIR = '$THIRD_PARTY_DIR/bsdiff', | 122 BSDIFF_DIR = '$THIRD_PARTY_DIR/bsdiff', |
122 BSPATCH_DIR = '$THIRD_PARTY_DIR/bspatch', | 123 BSPATCH_DIR = '$THIRD_PARTY_DIR/bspatch', |
123 BZIP2_DIR = '$THIRD_PARTY_DIR/bzip2', | 124 BZIP2_DIR = '$THIRD_PARTY_DIR/bzip2', |
124 ICU38_DIR = '$THIRD_PARTY_DIR/icu38', | 125 ICU38_DIR = '$THIRD_PARTY_DIR/icu38', |
125 LIBEVENT_DIR = '$THIRD_PARTY_DIR/libevent', | 126 LIBEVENT_DIR = '$THIRD_PARTY_DIR/libevent', |
126 LIBJPEG_DIR = '$THIRD_PARTY_DIR/libjpeg', | 127 LIBJPEG_DIR = '$THIRD_PARTY_DIR/libjpeg', |
127 LIBPNG_DIR = '$THIRD_PARTY_DIR/libpng', | 128 LIBPNG_DIR = '$THIRD_PARTY_DIR/libpng', |
128 LIBXML_DIR = '$THIRD_PARTY_DIR/libxml', | 129 LIBXML_DIR = '$THIRD_PARTY_DIR/libxml', |
129 LIBXSLT_DIR = '$THIRD_PARTY_DIR/libxslt', | 130 LIBXSLT_DIR = '$THIRD_PARTY_DIR/libxslt', |
130 LZMA_SDK_DIR = '$THIRD_PARTY_DIR/lzma_sdk', | 131 LZMA_SDK_DIR = '$THIRD_PARTY_DIR/lzma_sdk', |
131 MODP_B64_DIR = '$THIRD_PARTY_DIR/modp_b64', | 132 MODP_B64_DIR = '$THIRD_PARTY_DIR/modp_b64', |
132 NPAPI_DIR = '$THIRD_PARTY_DIR/npapi', | 133 NPAPI_DIR = '$THIRD_PARTY_DIR/npapi', |
133 SQLITE_DIR = '$THIRD_PARTY_DIR/sqlite', | 134 SQLITE_DIR = '$THIRD_PARTY_DIR/sqlite', |
134 ZLIB_DIR = '$THIRD_PARTY_DIR/zlib', | 135 ZLIB_DIR = '$THIRD_PARTY_DIR/zlib', |
135 | 136 |
136 THIRD_PARTY_WEBKIT_DIR = '$THIRD_PARTY_DIR/WebKit', | 137 THIRD_PARTY_WEBKIT_DIR = '$THIRD_PARTY_DIR/WebKit', |
137 | 138 |
| 139 GTK_CLIP_DUMP_DIR = '$TOOLS_DIR/gtk_clipboard_dump', |
| 140 |
138 PYTHON=sys.executable, | 141 PYTHON=sys.executable, |
139 | 142 |
140 PERL = 'perl', | 143 PERL = 'perl', |
141 PERL_INCLUDE_FLAG = '-I ', | 144 PERL_INCLUDE_FLAG = '-I ', |
142 PERL_INCLUDE_SUFFIX = '', | 145 PERL_INCLUDE_SUFFIX = '', |
143 _PERL_INCLUDE_FLAGS = ('${_concat(PERL_INCLUDE_FLAG, ' | 146 _PERL_INCLUDE_FLAGS = ('${_concat(PERL_INCLUDE_FLAG, ' |
144 'PERL_INCLUDE_PATH, ' | 147 'PERL_INCLUDE_PATH, ' |
145 'PERL_INCLUDE_SUFFIX,' | 148 'PERL_INCLUDE_SUFFIX,' |
146 '__env__, RDirs, TARGET, SOURCE)}'), | 149 '__env__, RDirs, TARGET, SOURCE)}'), |
147 ) | 150 ) |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 '$BZIP2_DIR/bzip2.scons', | 209 '$BZIP2_DIR/bzip2.scons', |
207 '$ICU38_DIR/icu38.scons', | 210 '$ICU38_DIR/icu38.scons', |
208 '$LIBJPEG_DIR/libjpeg.scons', | 211 '$LIBJPEG_DIR/libjpeg.scons', |
209 '$LIBPNG_DIR/libpng.scons', | 212 '$LIBPNG_DIR/libpng.scons', |
210 '$LIBXML_DIR/libxml.scons', | 213 '$LIBXML_DIR/libxml.scons', |
211 '$LIBXSLT_DIR/libxslt.scons', | 214 '$LIBXSLT_DIR/libxslt.scons', |
212 '$LZMA_SDK_DIR/lzma_sdk.scons', | 215 '$LZMA_SDK_DIR/lzma_sdk.scons', |
213 '$MODP_B64_DIR/modp_b64.scons', | 216 '$MODP_B64_DIR/modp_b64.scons', |
214 '$ZLIB_DIR/zlib.scons', | 217 '$ZLIB_DIR/zlib.scons', |
215 ], | 218 ], |
| 219 tools = '$GTK_CLIP_DUMP_DIR/gcd.scons', |
216 v8 = '$OBJ_ROOT/build/SConscript.v8', | 220 v8 = '$OBJ_ROOT/build/SConscript.v8', |
217 webkit = '$WEBKIT_DIR/webkit.scons', | 221 webkit = '$WEBKIT_DIR/webkit.scons', |
218 ) | 222 ) |
219 | 223 |
220 # Add the final list into the root environment to be build in BuildComponents. | 224 # Add the final list into the root environment to be build in BuildComponents. |
221 root_env.Append(BUILD_SCONSCRIPTS = sconscripts) | 225 root_env.Append(BUILD_SCONSCRIPTS = sconscripts) |
222 | 226 |
223 | 227 |
224 | 228 |
225 # -------------------------------------------------------------------------- | 229 # -------------------------------------------------------------------------- |
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
806 'all_libraries', | 810 'all_libraries', |
807 'all_languages', | 811 'all_languages', |
808 'all_programs', | 812 'all_programs', |
809 'all_test_programs', | 813 'all_test_programs', |
810 ], projects = [p], | 814 ], projects = [p], |
811 COMPONENT_VS_PROJECT_SCRIPT_PATH=( | 815 COMPONENT_VS_PROJECT_SCRIPT_PATH=( |
812 'cd $$(ProjectDir)/$VS_PROJECT_TO_MAIN_DIR && hammer.bat'), | 816 'cd $$(ProjectDir)/$VS_PROJECT_TO_MAIN_DIR && hammer.bat'), |
813 ) | 817 ) |
814 | 818 |
815 # ------------------------------------------------------------------------- | 819 # ------------------------------------------------------------------------- |
OLD | NEW |