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

Side by Side Diff: chrome/chrome_dll.gypi

Issue 11968015: Workaround for pdb size being exceeded for Debug non-shared_library builds (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/empty_pdb_workaround.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 { 4 {
5 'conditions': [ 5 'conditions': [
6 ['OS=="mac" or OS=="win"', { 6 ['OS=="mac" or OS=="win"', {
7 'targets': [ 7 'targets': [
8 { 8 {
9 'target_name': 'chrome_dll', 9 'target_name': 'chrome_dll',
10 'type': 'none', 10 'type': 'none',
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 '$(OutDir)\\chrome.dll.pdb'], 61 '$(OutDir)\\chrome.dll.pdb'],
62 'msvs_cygwin_shell': 0, 62 'msvs_cygwin_shell': 0,
63 } 63 }
64 ] 64 ]
65 }] 65 }]
66 ], 66 ],
67 }], 67 }],
68 ] 68 ]
69 }, 69 },
70 { 70 {
71 # This target is only depended upon on Windows.
72 'target_name': 'chrome_dll_pdb_workaround',
73 'type': 'static_library',
74 'sources': [ 'empty_pdb_workaround.cc' ],
75 'msvs_settings': {
76 'VCCLCompilerTool': {
77 # This *in the compile phase* must match the pdb name that's
78 # output by the final link. See empty_pdb_workaround.cc for
79 # more details.
80 'DebugInformationFormat': '3',
81 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/chrome.dll.pdb',
82 },
83 },
84 },
85 {
71 'target_name': 'chrome_main_dll', 86 'target_name': 'chrome_main_dll',
72 'type': 'shared_library', 87 'type': 'shared_library',
73 'variables': { 88 'variables': {
74 'enable_wexit_time_destructors': 1, 89 'enable_wexit_time_destructors': 1,
75 }, 90 },
76 'dependencies': [ 91 'dependencies': [
77 '<@(chromium_dependencies)', 92 '<@(chromium_dependencies)',
78 'app/policy/cloud_policy_codegen.gyp:policy', 93 'app/policy/cloud_policy_codegen.gyp:policy',
79 ], 94 ],
80 'conditions': [ 95 'conditions': [
81 ['use_aura==1', { 96 ['use_aura==1', {
82 'dependencies': [ 97 'dependencies': [
83 '../ui/compositor/compositor.gyp:compositor', 98 '../ui/compositor/compositor.gyp:compositor',
84 ], 99 ],
85 }], 100 }],
86 ['use_ash==1', { 101 ['use_ash==1', {
87 'sources': [ 102 'sources': [
88 '<(SHARED_INTERMEDIATE_DIR)/ash/ash_resources/ash_wallpaper_reso urces.rc', 103 '<(SHARED_INTERMEDIATE_DIR)/ash/ash_resources/ash_wallpaper_reso urces.rc',
89 ], 104 ],
90 }], 105 }],
91 ['OS=="win"', { 106 ['OS=="win"', {
92 'product_name': 'chrome', 107 'product_name': 'chrome',
93 'dependencies': [ 108 'dependencies': [
94 # On Windows, link the dependencies (libraries) that make 109 # On Windows, link the dependencies (libraries) that make
95 # up actual Chromium functionality into this .dll. 110 # up actual Chromium functionality into this .dll.
111 'chrome_dll_pdb_workaround',
96 'chrome_resources.gyp:chrome_resources', 112 'chrome_resources.gyp:chrome_resources',
97 'chrome_version_resources', 113 'chrome_version_resources',
98 '../chrome/chrome_resources.gyp:chrome_unscaled_resources', 114 '../chrome/chrome_resources.gyp:chrome_unscaled_resources',
99 '../content/content.gyp:content_worker', 115 '../content/content.gyp:content_worker',
100 '../crypto/crypto.gyp:crypto', 116 '../crypto/crypto.gyp:crypto',
101 '../printing/printing.gyp:printing', 117 '../printing/printing.gyp:printing',
102 '../net/net.gyp:net_resources', 118 '../net/net.gyp:net_resources',
103 '../third_party/cld/cld.gyp:cld', 119 '../third_party/cld/cld.gyp:cld',
104 '../ui/views/views.gyp:views', 120 '../ui/views/views.gyp:views',
105 '../webkit/support/webkit_support.gyp:webkit_resources', 121 '../webkit/support/webkit_support.gyp:webkit_resources',
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 ], 277 ],
262 }], 278 }],
263 ], # conditions 279 ], # conditions
264 }], # OS=="mac" 280 }], # OS=="mac"
265 ], # conditions 281 ], # conditions
266 }, # target chrome_dll 282 }, # target chrome_dll
267 ], # targets 283 ], # targets
268 }], # OS=="mac" or OS=="win" 284 }], # OS=="mac" or OS=="win"
269 ], 285 ],
270 } 286 }
OLDNEW
« no previous file with comments | « no previous file | chrome/empty_pdb_workaround.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698