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

Unified Diff: build/SConscript.main

Issue 16477: Mass convert ChromeStaticLibrary -> ChromeLibrary, including pulling the (Closed)
Patch Set: Created 12 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « breakpad/SConscript ('k') | build/SConscript.v8 » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/SConscript.main
diff --git a/build/SConscript.main b/build/SConscript.main
index 5e6bfb1dd63274addaf52b2d6f7cb5a62970b871..1b70f11fc03b0062fa92c3ba5791fcc24a2223d7 100644
--- a/build/SConscript.main
+++ b/build/SConscript.main
@@ -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:
« no previous file with comments | « breakpad/SConscript ('k') | build/SConscript.v8 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698