Fix some files in chrome directory for Windows GN build.
Review URL: https://codereview.chromium.org/854503004
Cr-Commit-Position: refs/heads/master@{#312487}
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index 8c8c2b6..a9abd93a 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -485,6 +485,8 @@
if (use_x11) {
sources +=
rebase_path(gypi_values.chrome_browser_x11_sources, ".", "//chrome")
+ } else {
+ sources -= [ "password_manager/password_store_x.cc" ]
}
if (is_posix && !is_mac && !is_ios) {
sources += [
@@ -640,6 +642,7 @@
deps += [
"//chrome:version_header",
"//chrome/installer/util:strings",
+ "//google_update",
"//third_party/iaccessible2",
"//third_party/isimpledom",
"//third_party/wtl",
@@ -648,7 +651,6 @@
#"../chrome_elf/chrome_elf.gyp:chrome_elf", TODO(GYP)
#"../chrome_elf/chrome_elf.gyp:chrome_elf_constants", TODO(GYP)
#"../chrome_elf/chrome_elf.gyp:dll_hash", TODO(GYP)
- #"../google_update/google_update.gyp:google_update", TODO(GYP)
"//ui/metro_viewer",
"//win8:metro_viewer",
]