| Index: chrome/chrome_watcher/BUILD.gn
|
| diff --git a/chrome/chrome_watcher/BUILD.gn b/chrome/chrome_watcher/BUILD.gn
|
| index c31088feccfafd27ce33c3c46ce4e8460e348a97..67c993dbb989c3f20d4d7684a2d90bc86c5412e0 100644
|
| --- a/chrome/chrome_watcher/BUILD.gn
|
| +++ b/chrome/chrome_watcher/BUILD.gn
|
| @@ -3,6 +3,7 @@
|
| # found in the LICENSE file.
|
|
|
| import("//chrome/version.gni")
|
| +import("//third_party/kasko/kasko.gni")
|
|
|
| source_set("client") {
|
| sources = [
|
| @@ -14,6 +15,26 @@ source_set("client") {
|
| ]
|
| }
|
|
|
| +if (enable_kasko) {
|
| + source_set("kasko_util") {
|
| + sources = [
|
| + "kasko_util.cc",
|
| + "kasko_util.h",
|
| + ]
|
| + deps = [
|
| + "//base",
|
| + "//components/crash/content/app",
|
| + "//third_party/kasko",
|
| + ]
|
| + }
|
| +} else {
|
| + group("kasko_util") {
|
| + public_deps = [
|
| + "//third_party/kasko:kasko_features",
|
| + ]
|
| + }
|
| +}
|
| +
|
| process_version("chrome_watcher_resources") {
|
| template_file = chrome_version_rc_template
|
| sources = [
|
| @@ -32,13 +53,12 @@ shared_library("chrome_watcher") {
|
| deps = [
|
| ":chrome_watcher_resources",
|
| ":client",
|
| + ":kasko_util",
|
| "//base",
|
| "//base:base_static",
|
| "//build/config/sanitizers:deps",
|
| "//chrome/installer/util:with_no_strings",
|
| "//components/browser_watcher",
|
| - "//components/crash/content/app",
|
| - "//third_party/kasko",
|
| ]
|
| ldflags = [ "/DEF:" + rebase_path("chrome_watcher.def", root_build_dir) ]
|
| configs -= [ "//build/config/win:console" ]
|
|
|