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

Side by Side Diff: chrome/BUILD.gn

Issue 2412983006: [Windows MSVC CFG] Add support for CFG, and enable on chrome.exe & chrome_elf.dll. (Closed)
Patch Set: Code review nit fixes. Created 4 years, 2 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 | « build/config/win/BUILD.gn ('k') | chrome_elf/BUILD.gn » ('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 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 configs += [ "//build/config/win:windowed" ] 191 configs += [ "//build/config/win:windowed" ]
192 } 192 }
193 193
194 ldflags = [ 194 ldflags = [
195 "/DELAYLOAD:dbghelp.dll", 195 "/DELAYLOAD:dbghelp.dll",
196 "/DELAYLOAD:dwmapi.dll", 196 "/DELAYLOAD:dwmapi.dll",
197 "/DELAYLOAD:uxtheme.dll", 197 "/DELAYLOAD:uxtheme.dll",
198 "/DELAYLOAD:ole32.dll", 198 "/DELAYLOAD:ole32.dll",
199 "/DELAYLOAD:oleaut32.dll", 199 "/DELAYLOAD:oleaut32.dll",
200 ] 200 ]
201
202 # Turn on CFG for this project.
203 configs += [ "//build/config/win:win_msvc_cfg" ]
201 } else if (use_aura) { 204 } else if (use_aura) {
202 # Non-Windows aura entrypoint. 205 # Non-Windows aura entrypoint.
203 sources += [ "app/chrome_exe_main_aura.cc" ] 206 sources += [ "app/chrome_exe_main_aura.cc" ]
204 } 207 }
205 208
206 if (is_linux) { 209 if (is_linux) {
207 sources += [ 210 sources += [
208 "app/chrome_dll_resource.h", 211 "app/chrome_dll_resource.h",
209 "app/chrome_main.cc", 212 "app/chrome_main.cc",
210 "app/chrome_main_delegate.cc", 213 "app/chrome_main_delegate.cc",
(...skipping 1314 matching lines...) Expand 10 before | Expand all | Expand 10 after
1525 "//chrome/app/theme/$branding_path_component/product_logo_48.png", 1528 "//chrome/app/theme/$branding_path_component/product_logo_48.png",
1526 "//chrome/tools/build/linux/chrome-wrapper", 1529 "//chrome/tools/build/linux/chrome-wrapper",
1527 "//third_party/xdg-utils/scripts/xdg-mime", 1530 "//third_party/xdg-utils/scripts/xdg-mime",
1528 "//third_party/xdg-utils/scripts/xdg-settings", 1531 "//third_party/xdg-utils/scripts/xdg-settings",
1529 ] 1532 ]
1530 outputs = [ 1533 outputs = [
1531 "$root_out_dir/{{source_file_part}}", 1534 "$root_out_dir/{{source_file_part}}",
1532 ] 1535 ]
1533 } 1536 }
1534 } 1537 }
OLDNEW
« no previous file with comments | « build/config/win/BUILD.gn ('k') | chrome_elf/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698