OLD | NEW |
---|---|
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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
64 '$(OutDir)\\initial\\chrome.dll.pdb', | 64 '$(OutDir)\\initial\\chrome.dll.pdb', |
65 '$(OutDir)\\chrome.dll.pdb'], | 65 '$(OutDir)\\chrome.dll.pdb'], |
66 } | 66 } |
67 ] | 67 ] |
68 }] | 68 }] |
69 ], | 69 ], |
70 }], | 70 }], |
71 ] | 71 ] |
72 }, | 72 }, |
73 { | 73 { |
74 # GN version: //chrome:main_dll | 74 # GN version: //chrome:main_dll |
sky
2014/08/25 19:58:49
Do you need to update gn files too?
rvargas (doing something else)
2014/08/25 21:25:48
Done. I was looking at chrome/app/build.gn and I m
| |
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 'dependencies': [ | 80 'dependencies': [ |
81 '<@(chromium_browser_dependencies)', | 81 '<@(chromium_browser_dependencies)', |
82 '../content/content.gyp:content_app_browser', | 82 '../content/content.gyp:content_app_browser', |
83 ], | 83 ], |
84 'conditions': [ | 84 'conditions': [ |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
116 '../net/net.gyp:net_resources', | 116 '../net/net.gyp:net_resources', |
117 '../ui/views/views.gyp:views', | 117 '../ui/views/views.gyp:views', |
118 ], | 118 ], |
119 'sources': [ | 119 'sources': [ |
120 'app/chrome_command_ids.h', | 120 'app/chrome_command_ids.h', |
121 'app/chrome_dll.rc', | 121 'app/chrome_dll.rc', |
122 'app/chrome_dll_resource.h', | 122 'app/chrome_dll_resource.h', |
123 'app/chrome_main.cc', | 123 'app/chrome_main.cc', |
124 'app/chrome_main_delegate.cc', | 124 'app/chrome_main_delegate.cc', |
125 'app/chrome_main_delegate.h', | 125 'app/chrome_main_delegate.h', |
126 'app/close_handle_hook_win.cc', | |
sky
2014/08/25 19:58:49
I think you should create a 'sources' section that
rvargas (doing something else)
2014/08/25 21:25:48
Done. Do you want me to add *.rc to the common sou
sky
2014/08/25 22:49:06
If we do that for other rc files, yes.
| |
127 'app/close_handle_hook_win.h', | |
126 'app/delay_load_hook_win.cc', | 128 'app/delay_load_hook_win.cc', |
127 'app/delay_load_hook_win.h', | 129 'app/delay_load_hook_win.h', |
128 | 130 |
129 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/chrome_dll_version.rc ', | 131 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/chrome_dll_version.rc ', |
130 '../base/win/dllmain.cc', | 132 '../base/win/dllmain.cc', |
131 | 133 |
132 # Cursors. | 134 # Cursors. |
133 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.r c', | 135 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.r c', |
134 ], | 136 ], |
135 'include_dirs': [ | 137 'include_dirs': [ |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
343 'policy_path_parser', | 345 'policy_path_parser', |
344 ], | 346 ], |
345 'defines': [ | 347 'defines': [ |
346 'CHROME_MULTIPLE_DLL_CHILD', | 348 'CHROME_MULTIPLE_DLL_CHILD', |
347 ], | 349 ], |
348 'sources': [ | 350 'sources': [ |
349 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/chrome_dll_version.rc', | 351 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/chrome_dll_version.rc', |
350 'app/chrome_main.cc', | 352 'app/chrome_main.cc', |
351 'app/chrome_main_delegate.cc', | 353 'app/chrome_main_delegate.cc', |
352 'app/chrome_main_delegate.h', | 354 'app/chrome_main_delegate.h', |
355 'app/close_handle_hook_win.cc', | |
356 'app/close_handle_hook_win.h', | |
353 ], | 357 ], |
354 'conditions': [ | 358 'conditions': [ |
355 ['OS=="win"', { | 359 ['OS=="win"', { |
356 'dependencies': [ | 360 'dependencies': [ |
357 '<(DEPTH)/chrome_elf/chrome_elf.gyp:chrome_elf', | 361 '<(DEPTH)/chrome_elf/chrome_elf.gyp:chrome_elf', |
358 ], | 362 ], |
359 'conditions': [ | 363 'conditions': [ |
360 ['chrome_pgo_phase==1', { | 364 ['chrome_pgo_phase==1', { |
361 'msvs_settings': { | 365 'msvs_settings': { |
362 'VCLinkerTool': { | 366 'VCLinkerTool': { |
363 'LinkTimeCodeGeneration': '2', | 367 'LinkTimeCodeGeneration': '2', |
364 }, | 368 }, |
365 }, | 369 }, |
366 }], | 370 }], |
367 ['chrome_pgo_phase==2', { | 371 ['chrome_pgo_phase==2', { |
368 'msvs_settings': { | 372 'msvs_settings': { |
369 'VCLinkerTool': { | 373 'VCLinkerTool': { |
370 'LinkTimeCodeGeneration': '3', | 374 'LinkTimeCodeGeneration': '3', |
371 }, | 375 }, |
372 }, | 376 }, |
373 }], | 377 }], |
374 ] | 378 ] |
375 }], | 379 }], |
376 ], | 380 ], |
377 }, # target chrome_child_dll | 381 }, # target chrome_child_dll |
378 ], | 382 ], |
379 }], | 383 }], |
380 ], | 384 ], |
381 } | 385 } |
OLD | NEW |