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

Side by Side Diff: chrome/BUILD.gn

Issue 2239533002: Don't disable incremental linking for chrome.dll in component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | « no previous file | 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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/chrome_build.gni") 6 import("//build/config/chrome_build.gni")
7 import("//build/config/compiler/compiler.gni") 7 import("//build/config/compiler/compiler.gni")
8 import("//build/config/features.gni") 8 import("//build/config/features.gni")
9 import("//build/config/locales.gni") 9 import("//build/config/locales.gni")
10 import("//build/config/sanitizers/sanitizers.gni") 10 import("//build/config/sanitizers/sanitizers.gni")
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 defines += [ "CHROME_MULTIPLE_DLL" ] 275 defines += [ "CHROME_MULTIPLE_DLL" ]
276 data_deps += [ ":chrome_child" ] 276 data_deps += [ ":chrome_child" ]
277 } 277 }
278 } 278 }
279 } # !is_android && !is_mac 279 } # !is_android && !is_mac
280 280
281 if (is_win) { 281 if (is_win) {
282 # This target is a forwarding target to compile the necessary DLLs used 282 # This target is a forwarding target to compile the necessary DLLs used
283 # by Chrome. 283 # by Chrome.
284 group("chrome_dll") { 284 group("chrome_dll") {
285 # TODO(GYP) support incremental_chrome_dll on Windows for faster links in
286 # developer component builds. When that's supported, this target will need
287 # to become more complicated.
288 data_deps = [ 285 data_deps = [
289 ":main_dll", 286 ":main_dll",
290 ] 287 ]
291 if (is_multi_dll_chrome) { 288 if (is_multi_dll_chrome) {
292 data_deps += [ ":chrome_child" ] 289 data_deps += [ ":chrome_child" ]
293 } 290 }
294 } 291 }
295 292
296 shared_library("main_dll") { 293 shared_library("main_dll") {
297 configs += [ "//build/config/compiler:wexit_time_destructors" ] 294 configs += [ "//build/config/compiler:wexit_time_destructors" ]
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 "/DELAYLOAD:iphlpapi.dll", 343 "/DELAYLOAD:iphlpapi.dll",
347 "/DELAYLOAD:setupapi.dll", 344 "/DELAYLOAD:setupapi.dll",
348 "/DELAYLOAD:urlmon.dll", 345 "/DELAYLOAD:urlmon.dll",
349 "/DELAYLOAD:winhttp.dll", 346 "/DELAYLOAD:winhttp.dll",
350 "/DELAYLOAD:wininet.dll", 347 "/DELAYLOAD:wininet.dll",
351 "/DELAYLOAD:winspool.drv", 348 "/DELAYLOAD:winspool.drv",
352 "/DELAYLOAD:ws2_32.dll", 349 "/DELAYLOAD:ws2_32.dll",
353 "/DELAYLOAD:wsock32.dll", 350 "/DELAYLOAD:wsock32.dll",
354 ] 351 ]
355 352
356 # This is a large module that can't do incremental linking in some cases. 353 if (!is_component_build) {
357 configs -= [ "//build/config/win:default_incremental_linking" ] 354 # This is a large module that can't do incremental linking in some cases .
brettw 2016/08/10 23:29:48 80 col rapping.
scottmg 2016/08/10 23:40:39 I really need to fix that in gn format some day. S
358 configs += 355 configs -= [ "//build/config/win:default_incremental_linking" ]
359 [ "//build/config/win:default_large_module_incremental_linking" ] 356 configs +=
357 [ "//build/config/win:default_large_module_incremental_linking" ]
358 }
360 } 359 }
361 360
362 if (use_aura) { 361 if (use_aura) {
363 deps += [ "//ui/compositor" ] 362 deps += [ "//ui/compositor" ]
364 } 363 }
365 364
366 if (is_multi_dll_chrome) { 365 if (is_multi_dll_chrome) {
367 defines += [ "CHROME_MULTIPLE_DLL_BROWSER" ] 366 defines += [ "CHROME_MULTIPLE_DLL_BROWSER" ]
368 deps += [ "//content/public/app:browser" ] 367 deps += [ "//content/public/app:browser" ]
369 } else { 368 } else {
(...skipping 1397 matching lines...) Expand 10 before | Expand all | Expand 10 after
1767 "//chrome/app/theme/$branding_path_component/product_logo_48.png", 1766 "//chrome/app/theme/$branding_path_component/product_logo_48.png",
1768 "//chrome/tools/build/linux/chrome-wrapper", 1767 "//chrome/tools/build/linux/chrome-wrapper",
1769 "//third_party/xdg-utils/scripts/xdg-mime", 1768 "//third_party/xdg-utils/scripts/xdg-mime",
1770 "//third_party/xdg-utils/scripts/xdg-settings", 1769 "//third_party/xdg-utils/scripts/xdg-settings",
1771 ] 1770 ]
1772 outputs = [ 1771 outputs = [
1773 "$root_out_dir/{{source_file_part}}", 1772 "$root_out_dir/{{source_file_part}}",
1774 ] 1773 ]
1775 } 1774 }
1776 } 1775 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698