summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_dll.gypi
diff options
context:
space:
mode:
authorscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-23 23:00:37 +0000
committerscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-23 23:00:37 +0000
commit42caaad1efc3b92a48b2becf43d3bed789be4234 (patch)
tree419b3459e12df47c1210ec517e9535fe6c9dd279 /chrome/chrome_dll.gypi
parent32e7a9b5af36ff4c9288defd8c58c21b6217871b (diff)
downloadchromium_src-42caaad1efc3b92a48b2becf43d3bed789be4234.zip
chromium_src-42caaad1efc3b92a48b2becf43d3bed789be4234.tar.gz
chromium_src-42caaad1efc3b92a48b2becf43d3bed789be4234.tar.bz2
move chrome_dll_pdb_workaround into win-only section
Was only depended upon on Windows before, but when building All avoid having it build too (on Mac). R=avi@chromium.org TBR=thakis@chromium.org Review URL: https://chromiumcodereview.appspot.com/12033061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178409 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_dll.gypi')
-rw-r--r--chrome/chrome_dll.gypi34
1 files changed, 19 insertions, 15 deletions
diff --git a/chrome/chrome_dll.gypi b/chrome/chrome_dll.gypi
index 65b7096..78f0fe3 100644
--- a/chrome/chrome_dll.gypi
+++ b/chrome/chrome_dll.gypi
@@ -68,21 +68,6 @@
]
},
{
- # This target is only depended upon on Windows.
- 'target_name': 'chrome_dll_pdb_workaround',
- 'type': 'static_library',
- 'sources': [ 'empty_pdb_workaround.cc' ],
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- # This *in the compile phase* must match the pdb name that's
- # output by the final link. See empty_pdb_workaround.cc for
- # more details.
- 'DebugInformationFormat': '3',
- 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/chrome.dll.pdb',
- },
- },
- },
- {
'target_name': 'chrome_main_dll',
'type': 'shared_library',
'variables': {
@@ -282,5 +267,24 @@
}, # target chrome_dll
], # targets
}], # OS=="mac" or OS=="win"
+ ['OS=="win"', {
+ 'targets': [
+ {
+ # This target is only depended upon on Windows.
+ 'target_name': 'chrome_dll_pdb_workaround',
+ 'type': 'static_library',
+ 'sources': [ 'empty_pdb_workaround.cc' ],
+ 'msvs_settings': {
+ 'VCCLCompilerTool': {
+ # This *in the compile phase* must match the pdb name that's
+ # output by the final link. See empty_pdb_workaround.cc for
+ # more details.
+ 'DebugInformationFormat': '3',
+ 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/chrome.dll.pdb',
+ },
+ },
+ },
+ ],
+ }],
],
}