1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//chrome/version.gni")
9 "chrome_watcher_main_api.cc",
10 "chrome_watcher_main_api.h",
17 process_version("chrome_watcher_resources") {
18 template_file = chrome_version_rc_template
22 output = "$target_gen_dir/chrome_watcher_version.rc"
25 shared_library("chrome_watcher") {
27 "chrome_watcher_main.cc",
33 ":chrome_watcher_resources",
35 "//chrome/installer/util",
37 "//build/config/sanitizers:deps",
38 "//components/browser_watcher",
40 ldflags = [ "/DEF:" + rebase_path("chrome_watcher.def", root_build_dir) ]
41 configs -= [ "//build/config/win:console" ]
42 configs += [ "//build/config/win:windowed" ]