summaryrefslogtreecommitdiffstats
path: root/chrome/chrome.gyp
diff options
context:
space:
mode:
authorsgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-08 12:55:49 +0000
committersgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-08 12:55:49 +0000
commit653bd5f03ef74274adbec816df10cdfd046b6eea (patch)
treec96f3829422d2fec66cb3a5bc00995bbba914110 /chrome/chrome.gyp
parent74484851bb8f9f1954014a08c81305e74f9b0bda (diff)
downloadchromium_src-653bd5f03ef74274adbec816df10cdfd046b6eea.zip
chromium_src-653bd5f03ef74274adbec816df10cdfd046b6eea.tar.gz
chromium_src-653bd5f03ef74274adbec816df10cdfd046b6eea.tar.bz2
Basic underpinnings of the gyp equivalent of the Linux SHARED=1 build:
parameterize the 'type' setting of the various library targets, with a default of 'static_library'. (Hat tip to Craig Schlenter.) Review URL: http://codereview.chromium.org/62127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13345 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome.gyp')
-rw-r--r--chrome/chrome.gyp18
1 files changed, 9 insertions, 9 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index 8fe9522..a77909f 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -77,7 +77,7 @@
},
{
'target_name': 'common',
- 'type': 'static_library',
+ 'type': '<(library)',
'dependencies': [
'resources',
'../base/base.gyp:base',
@@ -357,7 +357,7 @@
},
{
'target_name': 'browser',
- 'type': 'static_library',
+ 'type': '<(library)',
'dependencies': [
'common',
'resources',
@@ -1382,7 +1382,7 @@
},
{
'target_name': 'renderer',
- 'type': 'static_library',
+ 'type': '<(library)',
'dependencies': [
'common',
'resources',
@@ -1736,7 +1736,7 @@
# This target contains mocks and test utilities that don't belong in
# production libraries but are used by more than one test executable.
'target_name': 'test_support_common',
- 'type': 'static_library',
+ 'type': '<(library)',
'dependencies': [
'browser',
'common',
@@ -1799,7 +1799,7 @@
},
{
'target_name': 'test_support_ui',
- 'type': 'static_library',
+ 'type': '<(library)',
'dependencies': [
'test_support_common',
'resources',
@@ -1834,7 +1834,7 @@
},
{
'target_name': 'test_support_unit',
- 'type': 'static_library',
+ 'type': '<(library)',
'dependencies': [
'test_support_common',
'resources',
@@ -2468,7 +2468,7 @@
{ 'targets': [
{
'target_name': 'views',
- 'type': 'static_library',
+ 'type': '<(library)',
'dependencies': [
'common',
'resources',
@@ -2736,7 +2736,7 @@
{ 'targets': [
{
'target_name': 'plugin',
- 'type': 'static_library',
+ 'type': '<(library)',
'dependencies': [
'common',
'resources',
@@ -2792,7 +2792,7 @@
},
{
'target_name': 'worker',
- 'type': 'static_library',
+ 'type': '<(library)',
'dependencies': [
'../base/base.gyp:base',
'../webkit/webkit.gyp:webkit',