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

Side by Side Diff: chrome/chrome_dll.gypi

Issue 19572013: reland of http://crrev.com/212230 Create top-level separate targets for... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix delegate dispatch and test gyp deps Created 7 years, 5 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 | « chrome/chrome_common.gypi ('k') | chrome/chrome_syzygy.gyp » ('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',
11 'dependencies': [ 11 'dependencies': [
12 'chrome_main_dll', 12 'chrome_main_dll',
13 ], 13 ],
14 'conditions': [ 14 'conditions': [
15 ['OS=="mac" and component=="shared_library"', { 15 ['OS=="mac" and component=="shared_library"', {
16 'type': 'shared_library', 16 'type': 'shared_library',
17 'includes': [ 'chrome_dll_bundle.gypi' ], 17 'includes': [ 'chrome_dll_bundle.gypi' ],
18 'xcode_settings': { 18 'xcode_settings': {
19 'OTHER_LDFLAGS': [ 19 'OTHER_LDFLAGS': [
20 '-Wl,-reexport_library,<(PRODUCT_DIR)/libchrome_main_dll.dylib ', 20 '-Wl,-reexport_library,<(PRODUCT_DIR)/libchrome_main_dll.dylib ',
21 ], 21 ],
22 }, 22 },
23 }], # OS=="mac" 23 }], # OS=="mac"
24 ['chrome_multiple_dll==1', {
25 'dependencies': [
26 'chrome_child_dll',
27 ],
28 }],
24 ['incremental_chrome_dll==1', { 29 ['incremental_chrome_dll==1', {
25 # Linking to a different directory and then hardlinking back 30 # Linking to a different directory and then hardlinking back
26 # to OutDir is a workaround to avoid having the .ilk for 31 # to OutDir is a workaround to avoid having the .ilk for
27 # chrome.exe and chrome.dll conflicting. See crbug.com/92528 32 # chrome.exe and chrome.dll conflicting. See crbug.com/92528
28 # for more information. Done on the dll instead of the exe so 33 # for more information. Done on the dll instead of the exe so
29 # that people launching from VS don't need to modify 34 # that people launching from VS don't need to modify
30 # $(TargetPath) for the exe. 35 # $(TargetPath) for the exe.
31 'actions': [ 36 'actions': [
32 { 37 {
33 'action_name': 'hardlink_to_output', 38 'action_name': 'hardlink_to_output',
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 ] 73 ]
69 }, 74 },
70 { 75 {
71 'target_name': 'chrome_main_dll', 76 'target_name': 'chrome_main_dll',
72 'type': 'shared_library', 77 'type': 'shared_library',
73 'variables': { 78 'variables': {
74 'enable_wexit_time_destructors': 1, 79 'enable_wexit_time_destructors': 1,
75 }, 80 },
76 'dependencies': [ 81 'dependencies': [
77 '<@(chromium_browser_dependencies)', 82 '<@(chromium_browser_dependencies)',
78 '<@(chromium_child_dependencies)',
79 '../content/content.gyp:content_worker',
80 'app/policy/cloud_policy_codegen.gyp:policy', 83 'app/policy/cloud_policy_codegen.gyp:policy',
81 ], 84 ],
82 'conditions': [ 85 'conditions': [
83 ['use_aura==1', { 86 ['use_aura==1', {
84 'dependencies': [ 87 'dependencies': [
85 '../ui/compositor/compositor.gyp:compositor', 88 '../ui/compositor/compositor.gyp:compositor',
86 ], 89 ],
87 }], 90 }],
88 ['OS=="win" and target_arch=="ia32"', { 91 ['OS=="win" and target_arch=="ia32"', {
89 # Add a dependency to custom import library for user32 delay 92 # Add a dependency to custom import library for user32 delay
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 'wininet.dll', 217 'wininet.dll',
215 'winspool.drv', 218 'winspool.drv',
216 'ws2_32.dll', 219 'ws2_32.dll',
217 'wsock32.dll', 220 'wsock32.dll',
218 ], 221 ],
219 }, 222 },
220 'VCManifestTool': { 223 'VCManifestTool': {
221 'AdditionalManifestFiles': '$(ProjectDir)\\app\\chrome.dll.man ifest', 224 'AdditionalManifestFiles': '$(ProjectDir)\\app\\chrome.dll.man ifest',
222 }, 225 },
223 }, 226 },
224 }], # OS=="win" 227 }],
228 ['chrome_multiple_dll==1', {
229 'defines': [
230 'CHROME_MULTIPLE_DLL_BROWSER',
231 ],
232 }, {
233 'dependencies': [
234 '<@(chromium_child_dependencies)',
235 '../content/content.gyp:content_app_child',
236 '../content/content.gyp:content_worker',
237 ],
238 }],
225 ['OS=="mac" and component!="shared_library"', { 239 ['OS=="mac" and component!="shared_library"', {
226 'includes': [ 'chrome_dll_bundle.gypi' ], 240 'includes': [ 'chrome_dll_bundle.gypi' ],
227 }], 241 }],
228 ['OS=="mac" and component=="shared_library"', { 242 ['OS=="mac" and component=="shared_library"', {
229 'xcode_settings': { 'OTHER_LDFLAGS': [ '-Wl,-ObjC' ], }, 243 'xcode_settings': { 'OTHER_LDFLAGS': [ '-Wl,-ObjC' ], },
230 }], 244 }],
231 ['chrome_split_dll', {
232 'sources': [
233 # See comment in .cc for explanation.
234 'split_dll_fake_entry.cc',
235 ],
236 'msvs_settings': {
237 'VCLinkerTool': {
238 'AdditionalOptions': ['/splitlink'],
239 },
240 }
241 }],
242 ['OS=="mac"', { 245 ['OS=="mac"', {
243 'xcode_settings': { 246 'xcode_settings': {
244 # Define the order of symbols within the framework. This 247 # Define the order of symbols within the framework. This
245 # sets -order_file. 248 # sets -order_file.
246 'ORDER_FILE': 'app/framework.order', 249 'ORDER_FILE': 'app/framework.order',
247 }, 250 },
248 'sources': [ 251 'sources': [
249 'app/chrome_command_ids.h', 252 'app/chrome_command_ids.h',
250 'app/chrome_dll_resource.h', 253 'app/chrome_dll_resource.h',
251 'app/chrome_main.cc', 254 'app/chrome_main.cc',
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 # more details. 326 # more details.
324 'DebugInformationFormat': '3', 327 'DebugInformationFormat': '3',
325 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/chrome.dll.pdb', 328 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/chrome.dll.pdb',
326 }, 329 },
327 }, 330 },
328 }], 331 }],
329 ], 332 ],
330 }, 333 },
331 ], 334 ],
332 }], 335 }],
336 ['chrome_multiple_dll', {
337 'targets': [
338 {
339 'target_name': 'chrome_child_dll',
340 'type': 'shared_library',
341 'product_name': 'chrome_child',
342 'variables': {
343 'enable_wexit_time_destructors': 1,
344 },
345 'dependencies': [
346 '<@(chromium_child_dependencies)',
347 '../content/content.gyp:content_app_child',
348 '../content/content.gyp:content_worker',
349 'policy_path_parser',
350 ],
351 'defines': [
352 'CHROME_MULTIPLE_DLL_CHILD',
353 ],
354 'sources': [
355 'app/chrome_main.cc',
356 'app/chrome_main_delegate.cc',
357 'app/chrome_main_delegate.h',
358 ],
359 }, # target chrome_child_dll
360 ],
361 }],
333 ], 362 ],
334 } 363 }
OLDNEW
« no previous file with comments | « chrome/chrome_common.gypi ('k') | chrome/chrome_syzygy.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698