| Index: chrome_elf/BUILD.gn
|
| diff --git a/chrome_elf/BUILD.gn b/chrome_elf/BUILD.gn
|
| index 8d859f0fbb775332a935692f3e207544313dc8c7..9e97c5a3c193b2ebbc37f3998fe068aacec63318 100644
|
| --- a/chrome_elf/BUILD.gn
|
| +++ b/chrome_elf/BUILD.gn
|
| @@ -22,13 +22,8 @@
|
| type = "dll"
|
| }
|
|
|
| -# We should move chrome_result_codes.h to another target which does not bring
|
| -# in the world.
|
| shared_library("chrome_elf") {
|
| sources = [
|
| - "//chrome/app/chrome_crash_reporter_client_win.cc",
|
| - "//chrome/app/chrome_crash_reporter_client_win.h",
|
| - "//chrome/common/chrome_result_codes.h",
|
| "chrome_elf.def",
|
| "chrome_elf_main.cc",
|
| "chrome_elf_main.h",
|
| @@ -39,27 +34,12 @@
|
| ":chrome_elf_manifest",
|
| ":chrome_elf_resources",
|
| ":common",
|
| - "//base",
|
| - "//build/config/sanitizers:deps",
|
| - "//chrome/install_static:install_static_util",
|
| - "//components/crash/content/app",
|
| - "//components/crash/core/common",
|
| - "//content/public/common:result_codes",
|
| + "//build/config/sanitizers:deps",
|
| + "//chrome/install_static:install_static_util",
|
| ]
|
| configs += [ "//build/config/win:windowed" ]
|
| configs -= [ "//build/config/win:console" ]
|
| - ldflags = [
|
| - "/NODEFAULTLIB:user32.lib",
|
| - "/DELAYLOAD:dbghelp.dll",
|
| - "/DELAYLOAD:ole32.dll",
|
| - "/DELAYLOAD:psapi.dll",
|
| - "/DELAYLOAD:rpcrt4.dll",
|
| - "/DELAYLOAD:shell32.dll",
|
| - "/DELAYLOAD:user32.dll",
|
| - "/DELAYLOAD:winhttp.dll",
|
| - "/DELAYLOAD:winmm.dll",
|
| - "/DELAYLOAD:ws2_32.dll",
|
| - ]
|
| + ldflags = [ "/NODEFAULTLIB:user32.lib" ]
|
| if (current_cpu == "x86") {
|
| # Don"t set an x64 base address (to avoid breaking HE-ASLR).
|
| ldflags += [ "/BASE:0x01c20000" ]
|
|
|