| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//chrome/version.gni") | 5 import("//chrome/version.gni") |
| 6 | 6 |
| 7 source_set("client") { | 7 source_set("client") { |
| 8 sources = [ | 8 sources = [ |
| 9 "chrome_watcher_main_api.cc", | 9 "chrome_watcher_main_api.cc", |
| 10 "chrome_watcher_main_api.h", | 10 "chrome_watcher_main_api.h", |
| 11 ] | 11 ] |
| 12 deps = [ | 12 deps = [ |
| 13 "//base", | 13 "//base", |
| 14 ] | 14 ] |
| 15 } | 15 } |
| 16 | 16 |
| 17 process_version("chrome_watcher_resources") { | 17 process_version("chrome_watcher_resources") { |
| 18 template_file = chrome_version_rc_template | 18 template_file = chrome_version_rc_template |
| 19 sources = [ | 19 sources = [ |
| 20 "chrome_watcher.ver", | 20 "chrome_watcher.ver", |
| 21 ] | 21 ] |
| 22 output = "$target_gen_dir/chrome_watcher_version.rc" | 22 output = "$target_gen_dir/chrome_watcher_version.rc" |
| 23 } | 23 } |
| 24 | 24 |
| 25 shared_library("chrome_watcher") { | 25 shared_library("chrome_watcher") { |
| 26 sources = [ | 26 sources = [ |
| 27 "chrome_watcher_main.cc", | 27 "chrome_watcher_main.cc", |
| 28 "wait_chain_util_win.cc", |
| 29 "wait_chain_util_win.h", |
| 28 ] | 30 ] |
| 29 inputs = [ | 31 inputs = [ |
| 30 "chrome_watcher.def", | 32 "chrome_watcher.def", |
| 31 ] | 33 ] |
| 32 deps = [ | 34 deps = [ |
| 33 ":chrome_watcher_resources", | 35 ":chrome_watcher_resources", |
| 34 ":client", | 36 ":client", |
| 35 "//base", | 37 "//base", |
| 36 "//base:base_static", | 38 "//base:base_static", |
| 37 "//build/config/sanitizers:deps", | 39 "//build/config/sanitizers:deps", |
| 38 "//chrome/installer/util:with_no_strings", | 40 "//chrome/installer/util:with_no_strings", |
| 39 "//components/browser_watcher", | 41 "//components/browser_watcher", |
| 40 "//components/crash/content/app", | 42 "//components/crash/content/app", |
| 41 "//third_party/kasko", | 43 "//third_party/kasko", |
| 42 ] | 44 ] |
| 43 ldflags = [ "/DEF:" + rebase_path("chrome_watcher.def", root_build_dir) ] | 45 ldflags = [ "/DEF:" + rebase_path("chrome_watcher.def", root_build_dir) ] |
| 44 configs -= [ "//build/config/win:console" ] | 46 configs -= [ "//build/config/win:console" ] |
| 45 configs += [ "//build/config/win:windowed" ] | 47 configs += [ "//build/config/win:windowed" ] |
| 46 } | 48 } |
| OLD | NEW |