Mass convert ChromeStaticLibrary -> ChromeLibrary, including pulling the updated ICU dep that uses it as well.
Add a SHARED scons command-line flag to build shared libraries. Review URL: http://codereview.chromium.org/16477 git-svn-id: http://src.chromium.org/svn/trunk/src/build@7479 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
ae58d35d3e
Коммит
9362db329e
|
@ -513,6 +513,10 @@ if ARGUMENTS.get('PROFILE') == '1':
|
|||
if ARGUMENTS.get('SYMBOLS') == '1':
|
||||
linux_env.Append(CCFLAGS=['-g'])
|
||||
|
||||
# Build shared libraries (useful for fast links) when SHARED=1.
|
||||
if ARGUMENTS.get('SHARED') == '1':
|
||||
linux_env.Replace(COMPONENT_STATIC=False)
|
||||
|
||||
# Build with system-provided NSS and GTK.
|
||||
if root_env['PLATFORM'] in ['linux', 'linux2', 'posix']:
|
||||
try:
|
||||
|
|
|
@ -83,9 +83,9 @@ if env.Bit('windows'):
|
|||
# TODO(evanm): this may be necessary on other platforms(?)
|
||||
i = env.InstallAs('$TARGET_ROOT/v8_shell_sample${PROGSUFFIX}', v8[0])
|
||||
|
||||
env.ChromeStaticLibrary('v8_snapshot',
|
||||
['$V8_MODE_DIR/libraries-empty${OBJSUFFIX}',
|
||||
'$V8_MODE_DIR/snapshot${OBJSUFFIX}'])
|
||||
env.ChromeLibrary('v8_snapshot',
|
||||
['$V8_MODE_DIR/libraries-empty${OBJSUFFIX}',
|
||||
'$V8_MODE_DIR/snapshot${OBJSUFFIX}'])
|
||||
|
||||
env.ChromeMSVSProject('$V8_DIR/tools/visual_studio/v8.vcproj',
|
||||
dependencies = [
|
||||
|
|
|
@ -46,7 +46,7 @@ input_files = [
|
|||
'src/url_util.cc',
|
||||
]
|
||||
|
||||
env.ChromeStaticLibrary('googleurl', input_files)
|
||||
env.ChromeLibrary('googleurl', input_files)
|
||||
|
||||
env.ChromeMSVSProject('$GOOGLEURL_DIR/build/googleurl.vcproj',
|
||||
guid='{EF5E94AB-B646-4E5B-A058-52EF07B8351C}')
|
||||
|
|
Загрузка…
Ссылка в новой задаче