| 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 source_set("kasko_util") { |
| 18 sources = [ |
| 19 "kasko_util.cc", |
| 20 "kasko_util.h", |
| 21 ] |
| 22 deps = [ |
| 23 "//base", |
| 24 "//components/crash/content/app", |
| 25 "//third_party/kasko", |
| 26 ] |
| 27 } |
| 28 |
| 17 process_version("chrome_watcher_resources") { | 29 process_version("chrome_watcher_resources") { |
| 18 template_file = chrome_version_rc_template | 30 template_file = chrome_version_rc_template |
| 19 sources = [ | 31 sources = [ |
| 20 "chrome_watcher.ver", | 32 "chrome_watcher.ver", |
| 21 ] | 33 ] |
| 22 output = "$target_gen_dir/chrome_watcher_version.rc" | 34 output = "$target_gen_dir/chrome_watcher_version.rc" |
| 23 } | 35 } |
| 24 | 36 |
| 25 shared_library("chrome_watcher") { | 37 shared_library("chrome_watcher") { |
| 26 sources = [ | 38 sources = [ |
| 27 "chrome_watcher_main.cc", | 39 "chrome_watcher_main.cc", |
| 28 ] | 40 ] |
| 29 inputs = [ | 41 inputs = [ |
| 30 "chrome_watcher.def", | 42 "chrome_watcher.def", |
| 31 ] | 43 ] |
| 32 deps = [ | 44 deps = [ |
| 33 ":chrome_watcher_resources", | 45 ":chrome_watcher_resources", |
| 34 ":client", | 46 ":client", |
| 47 ":kasko_util", |
| 35 "//base", | 48 "//base", |
| 36 "//base:base_static", | 49 "//base:base_static", |
| 37 "//build/config/sanitizers:deps", | 50 "//build/config/sanitizers:deps", |
| 38 "//chrome/installer/util:with_no_strings", | 51 "//chrome/installer/util:with_no_strings", |
| 39 "//components/browser_watcher", | 52 "//components/browser_watcher", |
| 40 "//components/crash/content/app", | |
| 41 "//third_party/kasko", | |
| 42 ] | 53 ] |
| 43 ldflags = [ "/DEF:" + rebase_path("chrome_watcher.def", root_build_dir) ] | 54 ldflags = [ "/DEF:" + rebase_path("chrome_watcher.def", root_build_dir) ] |
| 44 configs -= [ "//build/config/win:console" ] | 55 configs -= [ "//build/config/win:console" ] |
| 45 configs += [ "//build/config/win:windowed" ] | 56 configs += [ "//build/config/win:windowed" ] |
| 46 } | 57 } |
| OLD | NEW |