blob: c31088feccfafd27ce33c3c46ce4e8460e348a97 [file] [log] [blame]
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//chrome/version.gni")
source_set("client") {
sources = [
"chrome_watcher_main_api.cc",
"chrome_watcher_main_api.h",
]
deps = [
"//base",
]
}
process_version("chrome_watcher_resources") {
template_file = chrome_version_rc_template
sources = [
"chrome_watcher.ver",
]
output = "$target_gen_dir/chrome_watcher_version.rc"
}
shared_library("chrome_watcher") {
sources = [
"chrome_watcher_main.cc",
]
inputs = [
"chrome_watcher.def",
]
deps = [
":chrome_watcher_resources",
":client",
"//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" ]
configs += [ "//build/config/win:windowed" ]
}