Index: chrome_elf/BUILD.gn |
diff --git a/chrome_elf/BUILD.gn b/chrome_elf/BUILD.gn |
index 9e97c5a3c193b2ebbc37f3998fe068aacec63318..b84ab4d251955962dd74f873c36cbc3cefdf34d8 100644 |
--- a/chrome_elf/BUILD.gn |
+++ b/chrome_elf/BUILD.gn |
@@ -22,8 +22,13 @@ windows_manifest("chrome_elf_manifest") { |
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", |
@@ -34,8 +39,12 @@ shared_library("chrome_elf") { |
":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", |
] |
configs += [ "//build/config/win:windowed" ] |
configs -= [ "//build/config/win:console" ] |