Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(484)

Side by Side Diff: build/SConscript.main

Issue 39080: Move the main entry point *.scons files in the key remaining components... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/chrome.scons » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 environment_list = [] 185 environment_list = []
186 components = [] 186 components = []
187 187
188 # Figure out what SConscript files to load based on the user's request. 188 # Figure out what SConscript files to load based on the user's request.
189 # Default is to load all SConscript files for a full-tree build. 189 # Default is to load all SConscript files for a full-tree build.
190 # The keyword arguments in the call below (base, breakpad, etc.) can be 190 # The keyword arguments in the call below (base, breakpad, etc.) can be
191 # specified in the LOAD= argument to cut down on the build. 191 # specified in the LOAD= argument to cut down on the build.
192 sconscript_map = dict( 192 sconscript_map = dict(
193 base = '$BASE_DIR/base_main${_GYP}.scons', 193 base = '$BASE_DIR/base_main${_GYP}.scons',
194 breakpad = '$BREAKPAD_DIR/SConscript', 194 breakpad = '$BREAKPAD_DIR/SConscript',
195 chrome = '$CHROME_DIR/chrome.scons', 195 chrome = '$CHROME_DIR/chrome_main${_GYP}.scons',
196 gears = '$GEARS_DIR/SConscript', 196 gears = '$GEARS_DIR/SConscript',
197 google_update = '$GOOGLE_UPDATE_DIR/SConscript', 197 google_update = '$GOOGLE_UPDATE_DIR/SConscript',
198 googleurl = '$GOOGLEURL_DIR/googleurl.scons', 198 googleurl = '$GOOGLEURL_DIR/googleurl.scons',
199 media = '$MEDIA_DIR/media.scons', 199 media = '$MEDIA_DIR/media.scons',
200 net = '$NET_DIR/net.scons', 200 net = '$NET_DIR/net_main${_GYP}.scons',
201 printing = '$PRINTING_DIR/printing.scons', 201 printing = '$PRINTING_DIR/printing.scons',
202 rlz = '$RLZ_DIR/SConscript', 202 rlz = '$RLZ_DIR/SConscript',
203 sandbox = '$SANDBOX_DIR/sandbox.scons', 203 sandbox = '$SANDBOX_DIR/sandbox.scons',
204 sdch = '$SDCH_DIR/SConscript', 204 sdch = '$SDCH_DIR/SConscript',
205 skia = '$SKIA_DIR/SConscript', 205 skia = '$SKIA_DIR/SConscript',
206 testing = '$TESTING_DIR/SConscript.gtest', 206 testing = '$TESTING_DIR/SConscript.gtest',
207 third_party = [ 207 third_party = [
208 '$BSDIFF_DIR/bsdiff.scons', 208 '$BSDIFF_DIR/bsdiff.scons',
209 '$BSPATCH_DIR/bspatch.scons', 209 '$BSPATCH_DIR/bspatch.scons',
210 '$BZIP2_DIR/bzip2.scons', 210 '$BZIP2_DIR/bzip2.scons',
211 '$ICU38_DIR/icu38_main${_GYP}.scons', 211 '$ICU38_DIR/icu38_main${_GYP}.scons',
212 '$LIBJPEG_DIR/libjpeg${_GYP}.scons', 212 '$LIBJPEG_DIR/libjpeg${_GYP}.scons',
213 '$LIBPNG_DIR/libpng${_GYP}.scons', 213 '$LIBPNG_DIR/libpng${_GYP}.scons',
214 '$LIBXML_DIR/libxml.scons', 214 '$LIBXML_DIR/libxml.scons',
215 '$LIBXSLT_DIR/libxslt.scons', 215 '$LIBXSLT_DIR/libxslt.scons',
216 '$LZMA_SDK_DIR/lzma_sdk.scons', 216 '$LZMA_SDK_DIR/lzma_sdk.scons',
217 '$MODP_B64_DIR/modp_b64.scons', 217 '$MODP_B64_DIR/modp_b64.scons',
218 '$ZLIB_DIR/zlib${_GYP}.scons', 218 '$ZLIB_DIR/zlib${_GYP}.scons',
219 ], 219 ],
220 tools = '$GTK_CLIP_DUMP_DIR/gcd.scons', 220 tools = '$GTK_CLIP_DUMP_DIR/gcd.scons',
221 v8 = '$OBJ_ROOT/build/SConscript.v8', 221 v8 = '$OBJ_ROOT/build/SConscript.v8',
222 webkit = '$WEBKIT_DIR/webkit.scons', 222 webkit = '$WEBKIT_DIR/webkit_main${_GYP}.scons',
223 ) 223 )
224 224
225 if root_env.get('_GYP'): 225 if root_env.get('_GYP'):
226 Import('build_component') 226 Import('build_component')
227 sconscripts = [sconscript_map[build_component]] 227 sconscripts = [sconscript_map[build_component]]
228 components = [build_component] 228 components = [build_component]
229 else: 229 else:
230 sconscripts = root_env.ChromiumLoadComponentSConscripts(**sconscript_map) 230 sconscripts = root_env.ChromiumLoadComponentSConscripts(**sconscript_map)
231 231
232 # Add the final list into the root environment to be build in BuildComponents. 232 # Add the final list into the root environment to be build in BuildComponents.
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 LINK = '$CXX', 634 LINK = '$CXX',
635 ) 635 )
636 mac_env.FilterOut(SHCCFLAGS = ['-fPIC']) 636 mac_env.FilterOut(SHCCFLAGS = ['-fPIC'])
637 mac_env.FilterOut(SHLINKFLAGS = ['-fPIC']) 637 mac_env.FilterOut(SHLINKFLAGS = ['-fPIC'])
638 638
639 mac_env.FilterOut( 639 mac_env.FilterOut(
640 BUILD_SCONSCRIPTS = [ 640 BUILD_SCONSCRIPTS = [
641 '$BREAKPAD_DIR/SConscript', 641 '$BREAKPAD_DIR/SConscript',
642 '$BSDIFF_DIR/bsdiff.scons', 642 '$BSDIFF_DIR/bsdiff.scons',
643 '$BSPATCH_DIR/bspatch.scons', 643 '$BSPATCH_DIR/bspatch.scons',
644 '$CHROME_DIR/chrome.scons', 644 '$CHROME_DIR/chrome_main${_GYP}.scons',
645 '$GOOGLE_UPDATE_DIR/SConscript', 645 '$GOOGLE_UPDATE_DIR/SConscript',
646 '$LIBJPEG_DIR/libjpeg.scons', 646 '$LIBJPEG_DIR/libjpeg.scons',
647 '$LIBXML_DIR/libxml.scons', 647 '$LIBXML_DIR/libxml.scons',
648 '$LIBXSLT_DIR/libxslt.scons', 648 '$LIBXSLT_DIR/libxslt.scons',
649 '$RLZ_DIR/SConscript', 649 '$RLZ_DIR/SConscript',
650 '$SANDBOX_DIR/sandbox.scons', 650 '$SANDBOX_DIR/sandbox.scons',
651 '$WEBKIT_DIR/SConscript', 651 '$WEBKIT_DIR/SConscript',
652 'build/SConscript.v8', 652 'build/SConscript.v8',
653 ], 653 ],
654 ) 654 )
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
853 'all_libraries', 853 'all_libraries',
854 'all_languages', 854 'all_languages',
855 'all_programs', 855 'all_programs',
856 'all_test_programs', 856 'all_test_programs',
857 ], projects = [p], 857 ], projects = [p],
858 COMPONENT_VS_PROJECT_SCRIPT_PATH=( 858 COMPONENT_VS_PROJECT_SCRIPT_PATH=(
859 'cd $$(ProjectDir)/$VS_PROJECT_TO_MAIN_DIR && hammer.bat'), 859 'cd $$(ProjectDir)/$VS_PROJECT_TO_MAIN_DIR && hammer.bat'),
860 ) 860 )
861 861
862 # ------------------------------------------------------------------------- 862 # -------------------------------------------------------------------------
OLDNEW
« no previous file with comments | « no previous file | chrome/chrome.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698