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

Side by Side Diff: chrome/chrome_dll.gypi

Issue 506013004: Improve the ScopedHandle verifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « chrome/app/close_handle_hook_win.cc ('k') | no next file » | 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 }], 70 }],
71 ] 71 ]
72 }, 72 },
73 { 73 {
74 # GN version: //chrome:main_dll 74 # GN version: //chrome:main_dll
75 'target_name': 'chrome_main_dll', 75 'target_name': 'chrome_main_dll',
76 'type': 'shared_library', 76 'type': 'shared_library',
77 'variables': { 77 'variables': {
78 'enable_wexit_time_destructors': 1, 78 'enable_wexit_time_destructors': 1,
79 }, 79 },
80 'sources': [
81 'app/chrome_command_ids.h',
82 'app/chrome_dll_resource.h',
83 'app/chrome_main.cc',
84 'app/chrome_main_delegate.cc',
85 'app/chrome_main_delegate.h',
86 'app/chrome_main_mac.mm',
87 'app/chrome_main_mac.h',
88 'app/close_handle_hook_win.cc',
89 'app/close_handle_hook_win.h',
90 'app/delay_load_hook_win.cc',
91 'app/delay_load_hook_win.h',
92 '../base/win/dllmain.cc',
93 ],
80 'dependencies': [ 94 'dependencies': [
81 '<@(chromium_browser_dependencies)', 95 '<@(chromium_browser_dependencies)',
82 '../content/content.gyp:content_app_browser', 96 '../content/content.gyp:content_app_browser',
83 ], 97 ],
84 'conditions': [ 98 'conditions': [
85 ['OS=="win"', { 99 ['OS=="win"', {
86 'dependencies': [ 100 'dependencies': [
87 '<(DEPTH)/chrome_elf/chrome_elf.gyp:chrome_elf', 101 '<(DEPTH)/chrome_elf/chrome_elf.gyp:chrome_elf',
88 ], 102 ],
89 }], 103 }],
(...skipping 20 matching lines...) Expand all
110 # On Windows, link the dependencies (libraries) that make 124 # On Windows, link the dependencies (libraries) that make
111 # up actual Chromium functionality into this .dll. 125 # up actual Chromium functionality into this .dll.
112 'chrome_version_resources', 126 'chrome_version_resources',
113 '../chrome/chrome_resources.gyp:chrome_unscaled_resources', 127 '../chrome/chrome_resources.gyp:chrome_unscaled_resources',
114 '../content/app/resources/content_resources.gyp:content_resource s', 128 '../content/app/resources/content_resources.gyp:content_resource s',
115 '../crypto/crypto.gyp:crypto', 129 '../crypto/crypto.gyp:crypto',
116 '../net/net.gyp:net_resources', 130 '../net/net.gyp:net_resources',
117 '../ui/views/views.gyp:views', 131 '../ui/views/views.gyp:views',
118 ], 132 ],
119 'sources': [ 133 'sources': [
120 'app/chrome_command_ids.h',
121 'app/chrome_dll.rc', 134 'app/chrome_dll.rc',
122 'app/chrome_dll_resource.h', 135
123 'app/chrome_main.cc',
124 'app/chrome_main_delegate.cc',
125 'app/chrome_main_delegate.h',
126 'app/delay_load_hook_win.cc',
127 'app/delay_load_hook_win.h',
128
129 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/chrome_dll_version.rc ', 136 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/chrome_dll_version.rc ',
130 '../base/win/dllmain.cc',
131 137
132 # Cursors. 138 # Cursors.
133 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.r c', 139 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.r c',
134 ], 140 ],
135 'include_dirs': [ 141 'include_dirs': [
136 '<(DEPTH)/third_party/wtl/include', 142 '<(DEPTH)/third_party/wtl/include',
137 ], 143 ],
138 'configurations': { 144 'configurations': {
139 'Debug_Base': { 145 'Debug_Base': {
140 'msvs_settings': { 146 'msvs_settings': {
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 }], 271 }],
266 ['OS=="mac" and component=="shared_library"', { 272 ['OS=="mac" and component=="shared_library"', {
267 'xcode_settings': { 'OTHER_LDFLAGS': [ '-Wl,-ObjC' ], }, 273 'xcode_settings': { 'OTHER_LDFLAGS': [ '-Wl,-ObjC' ], },
268 }], 274 }],
269 ['OS=="mac"', { 275 ['OS=="mac"', {
270 'xcode_settings': { 276 'xcode_settings': {
271 # Define the order of symbols within the framework. This 277 # Define the order of symbols within the framework. This
272 # sets -order_file. 278 # sets -order_file.
273 'ORDER_FILE': 'app/framework.order', 279 'ORDER_FILE': 'app/framework.order',
274 }, 280 },
275 'sources': [
276 'app/chrome_command_ids.h',
277 'app/chrome_dll_resource.h',
278 'app/chrome_main.cc',
279 'app/chrome_main_delegate.cc',
280 'app/chrome_main_delegate.h',
281 'app/chrome_main_mac.mm',
282 'app/chrome_main_mac.h',
283 ],
284 'dependencies': [ 281 'dependencies': [
285 '../pdf/pdf.gyp:pdf', 282 '../pdf/pdf.gyp:pdf',
286 ], 283 ],
287 'include_dirs': [ 284 'include_dirs': [
288 '<(grit_out_dir)', 285 '<(grit_out_dir)',
289 ], 286 ],
290 'postbuilds': [ 287 'postbuilds': [
291 { 288 {
292 # This step causes an error to be raised if the .order file 289 # This step causes an error to be raised if the .order file
293 # does not account for all global text symbols. It 290 # does not account for all global text symbols. It
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 'policy_path_parser', 340 'policy_path_parser',
344 ], 341 ],
345 'defines': [ 342 'defines': [
346 'CHROME_MULTIPLE_DLL_CHILD', 343 'CHROME_MULTIPLE_DLL_CHILD',
347 ], 344 ],
348 'sources': [ 345 'sources': [
349 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/chrome_dll_version.rc', 346 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/chrome_dll_version.rc',
350 'app/chrome_main.cc', 347 'app/chrome_main.cc',
351 'app/chrome_main_delegate.cc', 348 'app/chrome_main_delegate.cc',
352 'app/chrome_main_delegate.h', 349 'app/chrome_main_delegate.h',
350 'app/close_handle_hook_win.cc',
351 'app/close_handle_hook_win.h',
353 ], 352 ],
354 'conditions': [ 353 'conditions': [
355 ['OS=="win"', { 354 ['OS=="win"', {
356 'dependencies': [ 355 'dependencies': [
357 '<(DEPTH)/chrome_elf/chrome_elf.gyp:chrome_elf', 356 '<(DEPTH)/chrome_elf/chrome_elf.gyp:chrome_elf',
358 ], 357 ],
359 'conditions': [ 358 'conditions': [
360 ['chrome_pgo_phase==1', { 359 ['chrome_pgo_phase==1', {
361 'msvs_settings': { 360 'msvs_settings': {
362 'VCLinkerTool': { 361 'VCLinkerTool': {
363 'LinkTimeCodeGeneration': '2', 362 'LinkTimeCodeGeneration': '2',
364 }, 363 },
365 }, 364 },
366 }], 365 }],
367 ['chrome_pgo_phase==2', { 366 ['chrome_pgo_phase==2', {
368 'msvs_settings': { 367 'msvs_settings': {
369 'VCLinkerTool': { 368 'VCLinkerTool': {
370 'LinkTimeCodeGeneration': '3', 369 'LinkTimeCodeGeneration': '3',
371 }, 370 },
372 }, 371 },
373 }], 372 }],
374 ] 373 ]
375 }], 374 }],
376 ], 375 ],
377 }, # target chrome_child_dll 376 }, # target chrome_child_dll
378 ], 377 ],
379 }], 378 }],
380 ], 379 ],
381 } 380 }
OLDNEW
« no previous file with comments | « chrome/app/close_handle_hook_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698