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

Unified Diff: build/common.gypi

Issue 62127: Basic underpinnings of the gyp equivalent of the Linux SHARED=1 build:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/base.gyp ('k') | build/temp_gyp/breakpad.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
===================================================================
--- build/common.gypi (revision 13288)
+++ build/common.gypi (working copy)
@@ -31,6 +31,14 @@
# project file called "coverage".
# Currently ignored on Windows.
'coverage%': 0,
+
+ # To do a shared build on linux we need to be able to choose between type
+ # static_library and shared_library. We default to doing a static build
+ # but you can override this with "gyp -Dlibrary=shared_library" or you
+ # can add the following line (without the #) to ~/.gyp/include.gypi
+ # {'variables': {'library': 'shared_library'}}
+ # to compile as shared by default
+ 'library%': 'static_library',
},
'target_defaults': {
'conditions': [
« no previous file with comments | « base/base.gyp ('k') | build/temp_gyp/breakpad.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698